cancel
Showing results for 
Search instead for 
Did you mean: 

Problem about session lose when use domain

Former Member
0 Kudos

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!!~

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member541575
Participant
0 Kudos

Hi

Have you set Ip Address http://tar.ban.com.cn/tzjh/kyoby in web.xml file.

Regards

atul

Former Member
0 Kudos

thanks for ur reply~

how to set?

use url-pattern tag?

can u explain it in detail?

Edited by: kyoby on Mar 2, 2009 2:22 PM