greetings,
i am trying to use RMI from my servlet and i get security error whilst
trying to connect to the TMI server, security.checkConnect. i know how
i would take care of it if i used java 2 by customizing the security
policy, but ApacheJServ-1.1b3 requires jdk 1.1. is this an apache
configuration question? if so, what needs to be done? i would really
appreciate some help solving this problem. tia
p.s. this is the exception that is trown:
java.rmi.RMISecurityException: security.checkConnect: rmiserver:1099
at
java.rmi.RMISecurityManager.checkConnect(RMISecurityManager.java:268)
at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:105)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:67)
at
sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
at java.rmi.Naming.lookup(Naming.java:53)
at BillDemo.init(BillDemo.java:46)
at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:569)
at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:488)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java)
--
Aaron Stromas | "Tick-tick-tick!!!... ja, Pantani is weg..."
Oracle Corp | BRTN commentator
+1 703.708.68.21 | L'Alpe d'Huez
1995 Tour de France
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]