You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by albert <al...@smpdirect.com> on 2001/07/02 09:12:09 UTC

Why sid:null for the first time ?

Dear Tomcat user,
Do anybody can help me for this problem ?

everytime i run the Tomcat, it always give me blank page for the first time
loading
after i refresh the web page, than everything run smoothly
It seems that the servlet doesn't have smgr.props.url but i don't know how
to fix this
I use ver 3.1

this is the error message

## ServletSessionManager: No 'smgr.props.url' system property defined.
## ServiceLocator:  Loaded plugin com.ecential.RMI.ServiceLocatorPlugin
## Trying to read properties from http://127.0.0.1:8080/smp/127.0.0.1.props
## Failed: java.io.FileNotFoundException:
http://127.0.0.1:8080/smp/127.0.0.1.pr
ops
## Trying to read properties from http://127.0.0.1:8080/127.0.0.1.props
## Failed: java.io.FileNotFoundException:
http://127.0.0.1:8080/127.0.0.1.props
## Cannot locate a config file 127.0.0.1.props under /smp
java.rmi.RemoteException: Could not restore site properties from sid: null
        at com.ecential.Document.StandaloneSessionManager.<init>(Unknown
Source)

        at com.ecential.Document.ServletSessionManager.<init>(Unknown
Source)
        at com.ecential.Document.ServletSessionManager.<init>(Unknown
Source)
        at
smp._0002fsmp_0002fsample_00033_0002ejspsample3_jsp_0._jspService(_00
02fsmp_0002fsample_00033_0002ejspsample3_jsp_0.java:154)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
        at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
        at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
        at java.lang.Thread.run(Thread.java:484)


thanks,

Albert Oscarina
System Specialist
Solution Made Pocketable
http://www.SMPdirect.com
Phone : (65) 276 7624
Fax   : (65) 274 4770
mail : albertoscarina@smpdirect.com

"If we have a strong reason, we will find the way"
(Bits & Pieces, The Economics Press)