Skip to Content
0
Former Member
Feb 27, 2009 at 03:34 PM

Problem about session lose when use domain

40 Views

We deploy our J2EE application on tomcat and SAP NetWeaver

the application server's IP is: 10.157.7.6 and port:50000

we mount this ip and port on the domain: http://tar.ban.com.cn/tzjh

and the application's context name: kyoby

when application on tomcat, the application is allright, via http://10.157.7.6:50000/kyoby or http://tar.ban.com.cn/tzjh/kyoby

the application is all right.

and when application on NetWeaver, it's OK when use http://10.157.7.6:50000/kyoby ,

but it have problem when we use http://tar.ban.com.cn/tzjh/kyoby

the session is lost every action.

for example

the user login and we set the user object in the LoginAction,and forward to a jsp page,

in the jsp page,we sendRedirect to another page, then in that page, we can't get user object from session,

we use findbug to check, find every action ,the server all set a jessionid cookie, so the session created a new on every action.

how can i resolve the problem?

excuse my poor English!!~