Re: starting Jboss using debug mode has error
Nathan Fiedler <[email protected]> Wed, 01 Dec 2004 09:02:07 -0800
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Organization | Blue Marsh Softworks |
| Message-ID | <1101920527.30734.1.camel@nuts> |
You should use the LD_LIBRARY_PATH setting, not PATH. PATH is used by the shell to find executables, where as LD_LIBRARY_PATH is used by the system loader to find dynamically linked libraries. n On Wed, 2004-12-01 at 10:50 -0500, Allen Zhang wrote: > Hi, > > I tried to start JBoss with debug mode and encountered the following > error > > Transport dt_socked failed to initialize, rc = 509. > FATAL ERROR in native method: No transports initialized > > I am using JDK1.4, java version "1.4.2_03" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) > Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode > > under Sun OS8. > > The command I execute is > > java -server -Xms128m -Xmx512m -Dprogram.name=run-debug.sh -Xdebug > -Xnoagent -Djava.compiler=NONE > -Xrunjdwp:transport=dt_socked,server=y,suspend=n,address=4142 > > I read some messages from web saying if I put lib directories containing > libdt_socket.so in PATH , it will work, but it did not work for me. > I want to get help to reslove this problem. > > Thanks > Allen