Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Deploying simple applet that references a WL4.5.1 stateless session bean.

4 views
Skip to first unread message

Paul Dougless

unread,
Mar 31, 2000, 3:00:00 AM3/31/00
to
I created a simple applet calling a stateless session bean in Weblogic 4.5.1
using VC 3.1 Enterprise,
when I moved the applet to web server and browsed, the following message
occurs...

[Root exception is java.lang.ClassNotFoundException:
weblogic.jndi.TengahInitialContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class:
weblogic.jndi.TengahInitialContextFactory

at javax/naming/spi/NamingManager.getDefaultInitialContextFactory
at javax/naming/spi/NamingManager.getInitialContext
at javax/naming/InitialContext.getDefaultInitCtx
at javax/naming/InitialContext.<init>
at Client.getInitialContext
at Client.init
at com/ms/applet/AppletPanel.securedCall0
at com/ms/applet/AppletPanel.securedCall
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run

The HTML file contains...

<html>
<applet codebase="javaclasses" archive="swingall.jar, symbeans.jar, sfc.jar,
JNDI.jar, WLJNDI.jar, HelloWorldClient.jar"
code="Client.class" width="850" height="425"></applet>
</html>

The "TengahInitialContextFactory" class is in the WLJNDI.jar file. All of
these jar files were put in the path
and the classpath of the web server along with the references to them in the
HTML file. The Weblogic server is also installed on the web server in the
\inetpub\wwwroot\weblogic directory. I must have overlooked some simple
procedure in the moving of the applet to the web server.

I would appreciate any help with this matter.

Paul

Symantec/Kevin Quah

unread,
Mar 31, 2000, 3:00:00 AM3/31/00
to
Hi Paul,
Welcome to Symantec's Technical Support Forums.

> The "TengahInitialContextFactory" class is in the WLJNDI.jar file.

From the information provided, it appears that the jar file contains the
"TengahInitialContextFactory" class and I see that you have specified that
jar file in the archive list in your html file. So if you have verified that
the jar file is actually on the server and in the location specified, it
does appear that the browser is not picking up the class for some reason.

What browser are you using? Some browsers may not handle multiple jar
files well. You can never really be sure what browser your clients may be
using, so we recommend that you use the Java Plug-in from Sun to avoid all
these different browser issues. This document shows you the steps you need
to take:
http://service1.symantec.com/SUPPORT/devtools.nsf/docid/1999111913040405
Or refer to the Help menu>Help Topic "Deploying Applets in Java 2".

Let us know if you have any questions.


Kevin Quah
Symantec Corp.
Internet Tools Technical Support

Note: Please send replies to this newsgroup.

0 new messages