This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Weblogic - JNDI Datasource Lookup Issues" Watch "Weblogic - JNDI Datasource Lookup Issues" New topic

Weblogic - JNDI Datasource Lookup Issues

Eric Rodriguez

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?


I agree. Here's the link:
subject: Weblogic - JNDI Datasource Lookup Issues
It's not a secret anymore!