|
Hi all,
Recently I've tried to
migrate my java application server from Jrun 2.3.3 to 3.0
After I've finished the configuration I gave a try. Surprise
this error occurs and I have no clue why.
I did not modified any of my sources...
This is the exception that occured when I tried to get a the
real path for a specific variable.
If someone has a little clue about what's going on here please
let me know ASAP. Thanks.
The piece of code I've called is
public
void init( ServletConfig conf )
{ ... if ( conf != null ) {
ServletContext ctxSrv = conf.getServletContext();
String strPath=ctxSrv.getRealPath(
AppResource.getString("path.webbase") );
...
} } The path.webbase is usually
/.
The exception
is
java.lang.IllegalStateException
at allaire.jrun.resource.NilResourceContainer.getRealPath(NilResourceContainer.java:84) at allaire.jrun.resource.ResourceContainerProxy.getRealPath(ResourceContainerProxy.java:102) at allaire.jrun.resource.ResourceContainerManager.getRealPath(ResourceContainerManager.java, Compiled Code) at allaire.jrun.servlet.JRunResourceManager.getRealPath(JRunResourceManager.java:227) at allaire.jrun.servlet.JRunSE.getRealPath(JRunSE.java:1471) at jrun__jsp__Administrator2ejsp16._jspService(jrun__jsp__Administrator2ejsp16.java:84) at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java:40) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code) at allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34) at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java:174) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013) at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code) at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88) at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131) at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330) at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:354) at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code) at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code) |
