I downloaded an eval copy of weblogic and am trying to use it on windows 98. Having problems understanding how all the different path and classpaths work. I have tried many different configurations of the classpaths in my autoexec.bat file, but I still get a class not found exception when I try to run the examples beans. Can anyone explain to me exactly how I set these up to run the stateless session bean example?
My path and classpath settings are as follows:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3\BIN;C:\weblogic\bin\oci815_8;c:\Oracle\Ora81\bin;C:\j2sdkee1.2.1\bin;C:\j2sdkee1.2.1\lib;C:\Oracle\Ora81\lib;
SET CLASSPATH=.;C:\jdk1.3\lib;C:\oracle\ora81\bin;C:\oracle\ora81\jdbc\lib\classes12.zip;c:\j2sdkee1.2.1\bin;C:\jdk1.3\bin;C:\j2sdkee1.2.1\libc:\weblogic\classes\boot;c:\weblogic\lib\weblogicaux;c:\weblogic\myserver\serverclasses;%CLASSPATH%
Also,
Java home in my setEnv.cmd is set to jdk1.3/lib/tools.jar
I am hoping to figure this out so that I can run at least one bean before my 30 day license expires. I have jdk1.3 if that makes any difference.
Would appreciate any guidance
Discussions
EJB programming & troubleshooting: Weblogic: can't understand the path settings on windows 98
-
Weblogic: can't understand the path settings on windows 98 (4 messages)
- Posted by: robert briere
- Posted on: August 07 2000 02:52 EDT
Threaded Messages (4)
- Weblogic: can't understand the path settings on windows 98 by Ed Roman on August 07 2000 11:41 EDT
- Weblogic: Reply to Mr. Roman by robert briere on August 07 2000 12:32 EDT
- Weblogic: Where do I download Weblogic for win98 by suchitra B on August 11 2000 10:40 EDT
- Weblogic: Reply to Mr. Roman by SHANDRILA JANARDHANAN on August 12 2000 01:17 EDT
- Weblogic: Reply to Mr. Roman by robert briere on August 07 2000 12:32 EDT
-
Weblogic: can't understand the path settings on windows 98[ Go to top ]
- Posted by: Ed Roman
- Posted on: August 07 2000 11:41 EDT
- in response to robert briere
Well here are a couple of things I noticed right away:
* You have a colon in your classpath instead of a semicolon
* You did not put weblogicaux.jar or weblogicaux.zip (depending on your version of weblogic). Rather you just put 'weblogicaux'.
BEA has some superb docs on how to set the classpath on their web site. I would check out those before consulting this forum. -
Weblogic: Reply to Mr. Roman[ Go to top ]
- Posted by: robert briere
- Posted on: August 07 2000 12:32 EDT
- in response to Ed Roman
Thanks for the tip. I am enjoying your book and might even buy it once I get this classpath situation under control. g.
However,
I took all of those weblogic classes out of my autoexec.bat file and am now trying to use scripts to set the classpaths on the command line. It seems that the files which end in .jar are not being found because the system is replacing the . with a backslash. for example if I type in
-Dweblogic.class.path=c:\weblogic\lib\weblogicaux.jar
I get a message saying that class cweblogic\lib\weblogicaux/jar not found.
Same thing happens when I type -cp c:\jdk1.3\lib\tools.jar
it comes back saying can't find c:\jdk1/3\lib\tools/jar.
Is it me or the system? -
Weblogic: Where do I download Weblogic for win98[ Go to top ]
- Posted by: suchitra B
- Posted on: August 11 2000 10:40 EDT
- in response to robert briere
Please let me know where can I get the eval copy of Weblogic for win98 platform.
I am not able to find it on BEA site.
regards,
suchitra -
Weblogic: Reply to Mr. Roman[ Go to top ]
- Posted by: SHANDRILA JANARDHANAN
- Posted on: August 12 2000 13:17 EDT
- in response to robert briere
Hello
I got the same error. I got it set by giving some more space in front of the path which shows the error.
But then I got a new problem stating
exception in thread main noclassdeffound d:\weblogic\license
the path i set was
set path=c:\jdk1.2.2\bin;d:\weblogic\bin;%path%
java -ms64m -mx64m -classpath d:\weblogic\classes\boot
-Dweblogic.class.path=d:\weblogic\classes; d:\weblogic\license;
d:\weblogic\lib\weblogicaux.jar; d:\weblogic\myserver\serverclasses weblogic.Server
can anybody help me to rectify this error.
thanks for any help.
shandrila