Andreas,

To get additional jar's to load I switched from "java -jar orion.jar" to
running the actual ApplicationServer startup class.
i.e.

CLASSPATH=...
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se
rver=y,suspend=y com.evermind.server.ApplicationServer

the following is the complete startup script that we use here...

local_home=`echo /temp/x | sed 's!/!\\\!g'`
CLASSPATH=orion.jar\;$local_home/evista_build/jar/classes12_01.zip
export CLASSPATH
PATH=/cygnus/CYGWIN~1/H-I586~1/bin:/WINNT/system32:/WINNT:/vim/vim56:/usr/lo
cal/bin:/jdk1.2.2/bin:/temp/x/build/jpda/bin
export PATH
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,se
rver=y,suspend=y -Dd4n=orion -DinitialProperties=file://localhost//temp/x/bu
ild/config/InitialProperties.txt -DpropertyReader=com.delfour.properties.D4S
tandardPropertyReader com.evermind.server.ApplicationServer

and I was able to get Netbeans to connect to the VM remotely.

Regards,

Rob Lapensee
Director of Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christian Sell
Sent: Thursday, August 03, 2000 11:28 AM
To: Orion-Interest
Subject: Re: debugging with netbeans

I would suggest doing what the java runtime also suggests:
Use -Xbootclasspath to specify the path to tools.jar.

-----Original Message-----
From: Andreas Reckmann <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Donnerstag, 3. August 2000 21:49
Subject: debugging with netbeans


>Hi,
>
>I want to debug JSP,ejb with netbeans.
>I try
>java -Xdebug -Djava.compiler=NONE
>-Xrunjdwp:transport=dt_shmem,server=y,suspend=y -jar orion.jar
>I get
>Exception in thread "main" java.lang.IllegalArgumentException: Tool classes
>not loaded correctly. Use -Xbootclasspath to specify the path to tools.jar
>at sun.tools.agent.Agent.boot(Agent.java:1957)
>Could not create the Java virtual machine.
>
>Can anybody help me, how to debug with netbeans.
>
>Thanks,
>   Andreas
>


Reply via email to