This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes java.lang.SecurityException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.lang.SecurityException" Watch "java.lang.SecurityException" New topic
Author

java.lang.SecurityException

santu Naid
Greenhorn

Joined: Jan 06, 2008
Posts: 11
I am getting this exception, for the first when i restart my tomcat server,
and then after it works fine.

java.lang.SecurityException: Could not retrieve session details for user.
at com.infosys.ipsp.transactions.TransactionServlet.doGet(TransactionServlet.java:47)
at com.infosys.ipsp.transactions.TransactionServlet.doPost(TransactionServlet.java:27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

The only thing i can get from the stacktrace is that com.infosys.ipsp.transactions.TransactionServlet.doGet method does a security check that does not pass.
Just have a look at the code and see what security check it does. If you can not get anything out of if, kindly post the code.


apigee, a better way to API!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: java.lang.SecurityException
 
Similar Threads
Struts error cannot find bean
Servlet processing
Email cound not be sent in web app
getting Nullpointer exception what to do,
NullPointerException