[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO5.2 and optimizeit: Class com.webobjects._bootstrap.WOBootstrap not found.



At 17:50 -0300 20-03-03, Ricardo T Saito wrote:
>Hi there !
>
>The file WOBootstrap.jar is in the classpath, but, just wondering ... Did
>you try do include :
>-classpath
>"/sw/share/java/junit/junit.jar:.:/Users/kajh/src/webobjects/medark/build/me
>dark.woa/WOBootstrap.jar"


Hi!

Thank you for answering!

No, I didn't,  but I did now :) and I got a bit further.

First I added the classpath as you described. Then I got a new errormessage:

    The pri module found by the audit system was not initialized.

Then I found that a workaround for this one is to add

    -Xrunpri:dmp=1

and so i did, and now I'm back at

    Class com.webobjects._bootstrap.WOBootstrap not found.

Here is the full command:

bash-2.05a$ java -Xrunpri:dmp=1 -XX:NewSize=2m -Xmx64m -Xms32m 
-DWORootDirectory="/System" -DWOLocalRootDirectory="" 
-DWOUserDirectory="/Users/kajh/src/webobjects/medark/build" 
-DWOEnvClassPath="" -DWOApplicationClass=Application 
-DWOPlatform=MacOS -Dcom.webobjects.pid=15389 
-Xbootclasspath/a:/usr/local/optimizeit/lib/oibcp.jar 
intuitive.audit.Audit com.webobjects._bootstrap.WOBootstrap -WOPort 
8888 -WOAutoOpenInBrowser false -WODebuggingEnabled true 
-Xboundthreads com.webobjects._bootstrap.WOBootstrap -classpath 
"/sw/share/java/junit/junit.jar:.:/Users/kajh/src/webobjects/medark/build/medark.woa/WOBootstrap.jar" 
com.webobjects._bootstrap.WOBootstrap
Optimizeit Profiler 5.0 build Unknown Audit System.
(c) 1997-2002 Borland.
Port is 1470
OptimizeIt generic Audit System. [Hotspot runtime detected]
Class com.webobjects._bootstrap.WOBootstrap not found.


I have also tried to start my woapp from the OptimiseIt Profiler 
client (the one I start from the commandline with 
/usr/local/optimizeit/OptimizeIt.

Then I also got the same message about 
com.webobjects._bootstrap.WOBootstrap could not be found.

I found the following in the console in the OptimizeIt client:

---
/usr/bin/java -Xrunpri:filter="/var/tmp/tmp.9.XPRPop" -DAUDIT=jni 
-Xbootclasspath/a:"/usr/local/optimizeit/lib/oibcp.jar" 
-XX:NewSize=2m -Xmx64m -Xms32m  -classpath 
"/Users/kajh/src/webobjects/medark/build/medark.woa/WOBootstrap.jar:/Users/kajh/src/webobjects/medark/build/medark.woa/Contents/Resources/Java/medark.jar:/sw/share/java/junit/junit.jar:.:/Users/kajh/src/webobjects/medark/build/medark.woa:/usr/local/optimizeit/lib/optit.jar" 
intuitive.audit.Audit -port 57732  -dllpath 
"/usr/local/optimizeit/lib/native/" 
com.webobjects._bootstrap.WOBootstrap   -DWORootDirectory="/System" 
-DWOLocalRootDirectory="" 
-DWOUserDirectory="/Users/kajh/src/webobjects/medark/build/medark.woa" 
-DWOEnvClassPath="/sw/share/java/junit/junit.jar:.:/Users/kajh/src/webobjects/medark/build/medark.woa/WOBootstrap.jar" 
-DWOApplicationClass=Application -DWOPlatform=MacOS 
-Dcom.webobjects.pid=16456
Launching done

Application com.webobjects._bootstrap.WOBootstrap started on Thu Mar 
20 21:53:15 CET 2003.

Application com.webobjects._bootstrap.WOBootstrap exited on Thu Mar 
20 21:53:24 CET 2003.

---


Thanks again for looking into this issue!


-Kaj :)