File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "java.lang.SecurityException" Watch "java.lang.SecurityException" New topic


santu Naid

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(
at com.infosys.ipsp.transactions.TransactionServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
at org.apache.tomcat.util.threads.ThreadPool$
at Source)
Nitesh Kant

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!
I agree. Here's the link:
subject: java.lang.SecurityException
It's not a secret anymore!