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

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



Hi Kaj,

Try to put the -classpath "blalba" before the intuitive.audit.Audit
com.webobjects._bootstrap.WOBootstrap.

If this doesn't work try my settings (just edit the Xbootclasspath,
wouserdirectory, and the classpath):

java -Xrunpri:startAudit=t -Xboundthreads -Xbootclasspath/a:/Users/saito/dow
n/OptimizeitSuiteDemo/lib/oibcp.jar -XX:NewSize=2m -Xmx64m -Xms32m -DWORootD
irectory="/System" -DWOLocalRootDirectory="" -DWOUserDirectory="/Users/saito
/woprojects/applications/AcomHome/build/AcomHome.woa" -DWOEnvClassPath="" -D
WOApplicationClass=Application -DWOPlatform=MacOS -Dcom.webobjects.pid=1066 
-classpath
"/Users/saito/woprojects/applications/AcomHome/build/AcomHome.woa/WOBootstra
p.jar:/Users/saito/down/OptimizeitSuiteDemo/lib/optit.jar"
com.webobjects._bootstrap.WOBootstrap

I also have these variables in the shell env:
OPTITHOME=/Users/saito/down/OptimizeitSuiteDemo
OI_DYLD_LIBRARY_PATH=/Users/saito/down/OptimizeitSuiteDemo/lib
DYLD_LIBRARY_PATH=/Users/saito/down/OptimizeitSuiteDemo/lib
OPTIT_HOME=/Users/saito/down/OptimizeitSuiteDemo

Hope this helps !!

----------------------------------------------------
Ricardo T Saito - ricardo.saito@xxxxxxxxxxxxxxxxx
Computer Engineer
Americanas.com - Sao Paulo - Brazil

-----Original Message-----
From: Kaj Hejer [mailto:kaj.hejer@xxxxxxxxxxx]
Sent: Thursday, March 20, 2003 6:14 PM
To: Ricardo T Saito; webobjects-dev@xxxxxxxxxxxxx
Subject: RE: 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/m
e
>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/me
dark.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/k
ajh/src/webobjects/medark/build/medark.woa/Contents/Resources/Java/medark.ja
r:/sw/share/java/junit/junit.jar:.:/Users/kajh/src/webobjects/medark/build/m
edark.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/webobject
s/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 :)