RequestFacade.getSession is null

S

skajotde

I have applications on JBoss (4.0.3SP1). I'm using AdapterHttp class
with request member:

private transient HttpServletRequest request;

Problem is with Session, function request.getSession() returns null.
It's only sometimes, When I turn debug on, problem is not appear.
(maybe logging causes lattency, and my session is created very slow??,
strange)

This is from my log file (logging turn on for only this class
AdapterHttp, and problem exist. When I turn on debug for all clasess in
my appilications problem not exist)

request=org.apache.catalina.connector.RequestFacade@1854be
request.getSession()=null

Any suggestions?

I've asked on this forum
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89186, mayby
this explain more my problem.

Thanks in advance.
Kamil
 
S

skajotde

private transient HttpServletRequest request;

problem is the same when I remove transient keyword.

Any ideas where I should seek bug fix. Accoring to me There is
interesing that problem disappears when I turn debug on for whole
module in which there is the AddapterHttp.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,072
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top