cancel
Showing results for 
Search instead for 
Did you mean: 

Session expired application Webdynpro java

Former Member
0 Kudos

HI:

I am developing an application in WebDynpro Java (J2EE Engine 7.0), which does not run in the portal but is simply displayed on the WAS server.

The problem is I need to catch the exception from the code to not get the error 500: session expired.

I can not change the session time from the properties of the application because it is a customer requirement with 15 minutes session expires.

How I can resolve this?

Thanks and best regards.

Maria Elena

Accepted Solutions (0)

Answers (3)

Answers (3)

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Maria Elena,

please check the note:

#795699 - Customizing default error messages for HTTP

(http://service.sap.com/sap/support/notes/795699)

Best Regards,

Ervin

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Maria Elena,

please have a look at the note:

#842635 - Session Handling of Web Dynpro Applications

(http://service.sap.com/sap/support/notes/842635)

Best Regards,

Ervin

former_member214651
Active Contributor
0 Kudos

Hi,

If the session time out is configured at the server level, there is nothing you do about it. You will get the 500 error.

Regards,

Poojith MV

Former Member
0 Kudos

Hi:

Is there no way to catch the exception from the code?

Thanks and best regards.

Maria Elena

Former Member
0 Kudos

HI:

Is there any way to change the error page in the J2EE?

Thanks and best regards.

Maria Elena

former_member214651
Active Contributor
0 Kudos

Hi,

Check this link which has a similar problem:

Regards,

Poojith MV

Former Member
0 Kudos

HI:

I've been reading the note and I have a question.

To change the error page, it is in the web.xml, for example:

<error-page>

<error-code>500</error-code>

<location>/customerrors/500.jsp</location>

</error-page>

With this code if I have a 500 error, will launch the jsp (500.jsp).

my question is: where I have the web.xml?

Do I have to develop a J2EE aplicaion or is directly in my WebDynpro application or is on the server?

Thanks and best regards

Former Member
0 Kudos

Hi,

Please have a look at the following threads,

Regards

Saravanan K