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:
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
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.
Thanks for the tip. I am enjoying your book and might even buy it once I get this classpath situation under control. g.
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
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?
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.
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
java -ms64m -mx64m -classpath d:\weblogic\classes\boot
d:\weblogic\lib\weblogicaux.jar; d:\weblogic\myserver\serverclasses weblogic.Server
can anybody help me to rectify this error.
thanks for any help.