Google Grupper støtter ikke lenger nye Usenet-innlegg eller -abonnementer. Historisk innhold er fortsatt synlig.

Applet Client Using SSL

Sett 4 ganger
Hopp til første uleste melding

Raees Kader

ulest,
19. feb. 2003, 02:06:2419.02.2003
til

Hi,

I want my Applet to make a secure connection to an EJB deployed on the server(Weblogic
Server 7.0). But i get the following exception..

java.lang.RuntimeException: Missing license file for: WebLogic Platform 7.0
at weblogic.security.utils.SSLSetup.getLicenseLevel(SSLSetup.java:135)
at weblogic.security.utils.SSLSetup.getWrapperClass(SSLSetup.java:187)
at weblogic.security.utils.SSLContextWrapper.getInstance(SSLContextWrapper.java:24)
at weblogic.security.utils.SSLSetup.getSSLContext(SSLSetup.java:381)
at weblogic.rjvm.t3.T3SJVMConnection.newSocket(T3SJVMConnection.java:95)
at weblogic.rjvm.t3.T3JVMConnection.newSocketWithRetry(T3JVMConnection.java:358)
at weblogic.rjvm.t3.T3JVMConnection.connect(T3JVMConnection.java:239)
at weblogic.rjvm.t3.T3SJVMConnection.createConnection(T3SJVMConnection.java:83)
at weblogic.rjvm.Protocol.createConnection(Protocol.java:231)
at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1269)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:418)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:300)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:233)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:190)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:196)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:162)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:262)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:323)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at WLClientApplet.init(WLClientApplet.java:53)
at sun.applet.AppletPanel.run(AppletPanel.java:341)
at java.lang.Thread.run(Thread.java:536)

The Applet works well in non-secure mode(using t3 instead of t3s).

The same code works as an Application(secure). Here i have to include the directory
containing the file "license.bea" in the classpath. But in case of Applet, including
the license file in the jar file doesn't help

Regards
Raees

kirann

ulest,
24. feb. 2003, 18:33:2124.02.2003
til
client license issues were resolve in 70sp2 i believe.
"Raees Kader" <ra...@iceindia.com> wrote in message
news:3e532cf0$1...@newsgroups.bea.com...

Raees Kader

ulest,
14. mars 2003, 02:41:1614.03.2003
til

Hi,

The issue is that to make SSL work we need to specify the bea.home property mentioning
the license_file_directory. How can this be achieved in case of Applet where the
license.bea file is not present in the client.


Regards
Raees

Tomy

ulest,
23. juni 2003, 10:19:5723.06.2003
til

Hi,

I found a simple solution. Just copy the license.bea to the class path and omit
the parameter bea.home

Regards

0 nye meldinger