|
ejb
gurus,
I have a more specific exception someone may be able to assist with. I am
running the HelloBean example from Chapter 4 of Master EJB by Ed Roman. This
book is excellent but give no indication as to how to set up the WebLogic app
server, even though it's the one they use throughout the book. I'm get the
following exception when I attempt to run the client.
C:\JBuilder3\java\bin\javaw.exe -classpath
"D:\WebLogic\myserver\clientclasses;C:\JBuilder3\lib\dx3.0.jar;C:\JBuilder3\lib\dx3.0-res.jar;C:\JBuilder3\lib\jbcl3.0.jar;C:\JBuilder3\lib\jbcl3.0-res.jar;C:\JBuilder3\lib\jgl3.1.0.jar;C:\JBuilder3\lib\dbswing3.0.jar;C:\JBuilder3\lib\dbswing3.0-res.jar;C:\JBuilder3\lib\pop3.jar;C:\JBuilder3\dependency\~pop3;C:\JBuilder3\lib\activation.jar;C:\JBuilder3\dependency\~Activation;C:\JBuilder3\lib\j2ee.jar;C:\JBuilder3\dependency\~j2ee;C:\JBuilder3\lib\weblogicaux.jar;C:\JBuilder3\lib\weblogicbeans.jar;C:\JBuilder3\dependency\~WebAux;C:\JBuilder3\java\lib\jdkdep.jar;C:\JBuilder3\java\jre\lib\rt.jar;C:\JBuilder3\java\lib\dt.jar;C:\JBuilder3\java\jre\lib\i18n.jar;C:\JBuilder3\java\lib\tools.jar"
-Djava.naming.factory.initial=D:\WebLogic\classes\weblogic.jndi.WLInitialContextFactory
-Djava.naming.provider.url=t3://localhost:7001 bean.HelloClient
AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version.
Copyright (c) 1997-1999 Inprise Corporation. All Rights
Reserved.
javax.naming.NoInitialContextException: Cannot instantiate class:
D:\WebLogic\classes\weblogic.jndi.WLInitialContextFactory. Root exception is
java.lang.ClassNotFoundException:
D:\WebLogic\classes\weblogic/jndi/WLInitialContextFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:199)
at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:49)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)
at javax.naming.InitialContext.init(InitialContext.java:226)
at
javax.naming.InitialContext.<init>(InitialContext.java:202)
at bean.HelloClient.main(HelloClient.java:26)
I am passing the following parameters to the jvm when I execute from
JBuilder3.
-Djava.naming.factory.initial=D:\WebLogic\classes\weblogic.jndi.WLInitialContextFactory
-Djava.naming.provider.url=t3://localhost:7001
Anyone have any ideas...please????
-jdm-
web app guru(or at least I thought) ClientScience.com, Inc. p 925.373.8700 f 413.793.6603 e [EMAIL PROTECTED] |
- Re: Alright, i'm dopne whining now. John McDonald
- Re: Alright, i'm dopne whining now. Al.Thompson
- Re: Alright, i'm dopne whining now. Floyd Marinescu
- done whining Al.Thompson
- Re: done whining Tom Valesky
- Re: done whining Al Thompson
- Re: Alright, i'm dopne whining now. RBR Reed Roberts
