jndi.properties for applets and ias
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Dirk_Schultebraucks
Posted On:   Tuesday, March 27, 2001 02:49 AM

Who knows, what parameter i need to run a applet outside of JBuilder 4.0 to get a connection to my JavaBeans? I have tried: java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory java.naming.context.provider_url=ldap://smde0202:8080 with this message: -- Initializing bean access. -- Failed initializing bean access. javax.naming.CommunicationException: localhost:389. Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:389 connect,resolve) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.la   More>>

Who knows, what parameter i need to run a applet outside of JBuilder 4.0 to get a connection to my JavaBeans?

I have tried:

java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
java.naming.context.provider_url=ldap://smde0202:8080

with this message:

-- Initializing bean access. -- Failed initializing bean access. javax.naming.CommunicationException: localhost:389. Root exception is java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:389 connect,resolve) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkConnect(Unknown Source) at java.net.Socket. (Unknown Source) at java.net.Socket. (Unknown Source) at com.sun.jndi.ldap.Connection. (Unknown Source) at com.sun.jndi.ldap.LdapClient. (Unknown Source) at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source) at com.sun.jndi.ldap.LdapCtx. (Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext. (Unknown Source) at firma.FirmaBeanClient. (FirmaBeanClient.java:32) at firma.AppletFirma. (AppletFirma.java:31) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

   <<Less
About | Sitemap | Contact