tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From A Leg <hale_in...@yahoo.com>
Subject ServletException
Date Tue, 22 Jun 2004 18:55:01 GMT
Hi

I have a servlet communicating with some JINI services.
This was good working with Tomcat 4.2 and Jini 1.21
I just upgrade to tomcat 5.0 and Jini 2.0 and I get these error

Servlet seems to start OK but it fail systematicaly on Jini 
checkConstraint method.
TcpServerEndpoint exist in my jar, so I don't understand.
I have tried stting policy to grant all, without success.

Any idea welcome.

Andre


HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented 
it from fulfilling this request.

exception

javax.servlet.ServletException
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
   
 org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:184)
   
 org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:147)
   
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:513)
   
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
   
 org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
   
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
   
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:647)
   
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:499)
   
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
   
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
    java.lang.Thread.run(Thread.java:534)

root cause

java.lang.NoClassDefFoundError
   
 net.jini.jeri.tcp.TcpServerEndpoint.checkConstraints(TcpServerEndpoint.java:345)
   
 net.jini.jeri.BasicInvocationDispatcher.checkConstraints(BasicInvocationDispatcher.java:337)
   
 net.jini.jeri.BasicInvocationDispatcher.(BasicInvocationDispatcher.java:315)
   
 net.jini.jeri.BasicILFactory.createInvocationDispatcher(BasicILFactory.java:194)
   
 net.jini.jeri.AbstractILFactory.createInstances(AbstractILFactory.java:490)
    net.jini.jeri.BasicJeriExporter.export(BasicJeriExporter.java:623)
    com.sun.rio.event.BasicEventConsumer.(BasicEventConsumer.java:178)
    com.sun.rio.event.BasicEventConsumer.(BasicEventConsumer.java:119)
   
 org.compiere.mfg_scm.mfg_Servlet.controller.WebClientServiceManager.(Unknown 
Source)
   
 org.compiere.mfg_scm.mfg_Servlet.controller.ControllerServlet.init(Unknown 
Source)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:324)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:254)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:265)
   
 org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:184)
   
 org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:147)
   
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:513)
   
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
   
 org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
   
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
   
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:647)
   
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:499)
   
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
   
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
    java.lang.Thread.run(Thread.java:534)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message