Hello,

I have the following problem: I would use servlets ordered 
into packages as rmi-servers in Tomcat 3.2.1, but I failed.
I followed the advices of Tomcat's app.dev.guide, using the
proposed code-layout, but if servlets are put into packages,
the stubs could'nt be found. I got the following: (servlets 
have <load-on-startup> attribute)


2001-08-08 02:43:26 - ContextManager: Adding context Ctx
( /examples )
2001-08-08 02:43:26 - ContextManager: Adding context Ctx
( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-08-08 02:43:26 - ContextManager: Adding context Ctx(  )
2001-08-08 02:43:26 - ContextManager: Adding context Ctx
( /test )
2001-08-08 02:43:26 - ContextManager: Adding context Ctx
( /maxwell )
Failed to connect to RMI registry RemoteException occurred 
in server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling 
arguments; nested exception is:
        java.lang.ClassNotFoundException: 
Managers.PiNewsMgr_Stub
Failed to connect to RMI registry RemoteException occurred 
in server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling 
arguments; nested exception is:
        java.lang.ClassNotFoundException: 
Managers.NewspaperMgr_Stub
2001-08-08 02:43:29 - PoolTcpConnector: Starting 
HttpConnectionHandler on 8080
2001-08-08 02:43:29 - PoolTcpConnector: Starting 
Ajp12ConnectionHandler on 8007


Could anyone help me?
I've already set the tomcat.properties: wrapper.env.copyall 
= true
as well as server.xml:
        <RequestInterceptor 
className="org.apache.tomcat.request.Jdk12Interceptor" />
but none of them helped...
Platform: WinNT 4.0 

Remarks & suggestions more than welcome
Gabor

Reply via email to