Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

weblogic can't start with this message  RSS feed

 
z zsrui
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
E:\work\newdomain\mydomain>echo off
CLASSPATH=C:\bea\jdk131_02\lib\tools.jar;C:\bea\weblogic700\server\lib\weblogic_
sp.jar;C:\bea\weblogic700\server\lib\weblogic.jar;.;C:\j2sdk1.4.1_01\lib;"C:\Pro
gram Files\Java\j2re1.4.1_01\lib\ext\QTJava.zip"
PATH=.;C:\bea\weblogic700\server\bin;C:\bea\jdk131_02\bin;C:\WINNT\system32;C:\W
INNT;C:\WINNT\System32\Wbem;C:\j2sdk1.4.1_01\bin;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN;C:\Program Files\Symantec\pcAnywhere\
***************************************************
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
***************************************************
E:\work\newdomain\mydomain>"C:\bea\jdk131_02\bin\java" -hotspot -Xms32m -Xmx200m
-Dweblogic.security.SSL.trustedCAKeyStore=C:\bea\weblogic700\server\lib\cacerts
-classpath "C:\bea\jdk131_02\lib\tools.jar;C:\bea\weblogic700\server\lib\weblog
ic_sp.jar;C:\bea\weblogic700\server\lib\weblogic.jar;.;C:\j2sdk1.4.1_01\lib;"C:\
Program Files\Java\j2re1.4.1_01\lib\ext\QTJava.zip"" -Dweblogic.Name=newserver -
Dbea.home="C:\bea" -Dweblogic.management.username= -Dweblogic.management.passwor
d= -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\bea\weblogic700\
server\lib\weblogic.policy" weblogic.Server
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\j2re1/4/1_
01\lib\ext\QTJava/zip
E:\work\newdomain\mydomain>ENDLOCAL
E:\work\newdomain\mydomain>ENDLOCAL
E:\work\newdomain\mydomain>
the error meybe this
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\j2re1/4/1_
01\lib\ext\QTJava/zip
so how can i fix it
thanks from a new jsper -
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The problem is in your classpath.
Firstly, I'm not too sure what is QTJava.zip for.
Do you really need it?
If not, remove it from your classpath.
If you really need it, then move it to a location where there is no white spaces in the directory path
e.g.
c:\Program\jre\1.4.1\lib\ext
and update your classpath accordingly.
Cheers.

Han Ming
 
Eddie Sheffield
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Couple of things to add. The classpath would probably be OK *IF* you get rid of the incorrectly nested quotes. The path for the QTJava.zip lib file is surrounded by quotes in the CLASSPATH= declaration, but then the whole classpath is again surrounded by quotes in the actual program execution line. Eliminate one set or the other and it will probably be OK.
Another thing that I've done with similar problems is to use the "8.3" form of directories that have spaces. For example,
C:\Program Files\Java\j2re1.4.1_01\lib\ext\QTJava.zip
becomes (probably)
C:\Progra~1\Java\j2re1.4.1_01\lib\ext\QTJava.zip
You can use dir /x to see a directory listing with both long names and 8.3 names so you can find out the exact name to use.
HTH!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!