I've got a jini-based servlet which operates under JServ but not under
Tomcat.

Tomcat (or more likely, my servlet, but the stack trace doesn't seem to
get back to me) throws a ClassNotFound exception
com.sun.jini.reggie.RegistrarProxy, which is typical if the class can
not be downloaded.  The servlet does not do this under JServ, and the
main() bypass works fine from the command line.

Djava-security-policy is set ot JINI_HOME\example\lookup\policy.all
Djava-rmi-server-codebase is set to my -dl.jar
The lookup service downloads my jar.
The only difference appears to be Tomcat vs JServ.

The servlet has a debugging switch which varifies that the servlet is
starting up under the JINI group I want, and the classpath looks
correct.   The servlet will display this info even as these exceptions
are being thrown (I think they are thrown in the discovery thread).

Is there some security config I need to do in servlet.xml or web.xml for
Tomcat to be happy?

Thanks
-Chris

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to