aspose file tools*
The moose likes Applets and the fly likes Weblogic - JNDI Datasource Lookup Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Weblogic - JNDI Datasource Lookup Issues" Watch "Weblogic - JNDI Datasource Lookup Issues" New topic
Author

Weblogic - JNDI Datasource Lookup Issues

Eric Rodriguez
Greenhorn

Joined: Dec 13, 2012
Posts: 1
I have an applet that attempts to do a JNDI lookup on a given data source and then once the data source is found use the associated db connection.

Here is my code:


I have created a jar file from this class and signed it. I need some classes in the weblogic.jar and wlthint3client.jar archives so I signed those as well.

When I run the using the applet viewer (C:\Work\Applet_Test\viewer>appletviewer -J-classpath -Jweblogic.jar;wlthint3client.jar t.html) I get the following exception:



When I run from a browser I accept the certificate and the applet just hangs where the InitialContext is instantiated.

This seems to be security related but having signed my jars I don't know what else it could be looking for.

Any ideas?

Thanks...

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic - JNDI Datasource Lookup Issues