Re: starting Jboss using debug mode has error

"Nathan Fiedler" <[email protected]> Wed, 1 Dec 2004 13:42:35 -0800 (PST)
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
FYI, it is PATH, not LD_LIBRARY_PATH, that should have "/usr/java1.4/bin",
but that will not solve the problem you are seeing. Actually, with JDK 1.4
it is unnecessary to set the library path at all. It was only a problem in
JDK 1.2 (and earlier?).

It seems that if you replace "socked" with "socket" in your command
arguments, you may have a better chance for success.

java -server -Xms128m -Xmx512m -Dprogram.name=run-debug.sh -Xdebug
-Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socked,server=y,suspend=n,address=4142
                       ^^^^^^

BTW, make sure you subscribe to this list with the same address with which
you are posting. Your subscription is for "[email protected]" while your
actual address is "[email protected]". Your last message was
discarded and not delivered to the list for this reason.

n


Allen Zhang wrote:
> I forgot to mention in my previous message,
> I did set LD_LIBRARY_PATH as
> /usr/java1.4/bin:/usr/java1.4/jre/lib/sparc
> but it still did not work.