I installed the OpenTool and configured the JBoss 3.x page correctly. I crearted an Session Bean in Jbuilder and deployed it. It said that it deployed it correctly but I didn't see any messages in the JBoss concole window. Then I tried to generated a Test Client, which I can complie with any errors. However I'm not able to run it it always comes back with error (see bwlow)
Any suggestions are very much appreciated or a document which describes the whole process from a to z
It is too slow to work like this. Start your server in a command line shell.
Add the following argument on your command line:
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=10000,server=y,suspend=n
After you have start your JBoss and compile your bean, place the .jar in the deploy directory (D:\jboss-3.2.3\server\default\deploy) and it will be automaticaly deployed.
To debug your EJB, start the debugger in JBuilder.
In Run > Configuration... , choose the debug Tab, enable remote debugging, Attach, hostname = localhost or the computer that is running JBoss, Transport Type = dt_socket, Address = 10000.
Regards,
Olivier.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I installed the OpenTool and configured the JBoss 3.x page correctly. I crearted an Session Bean in Jbuilder and deployed it. It said that it deployed it correctly but I didn't see any messages in the JBoss concole window. Then I tried to generated a Test Client, which I can complie with any errors. However I'm not able to run it it always comes back with error (see bwlow)
Any suggestions are very much appreciated or a document which describes the whole process from a to z
Cheers
Rolf
-- IOException starting Java debug process --
java.io.IOException: CreateProcess: D:\Java\bin\javaw -classpath "D:\jboss-3.2.3\bin\run.jar;D:\Java\lib\tools.jar" -ms64m -mx64m -Dprogram.name=run.bat -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y org.jboss.Main -c all error=2
Hi,
It is too slow to work like this. Start your server in a command line shell.
Add the following argument on your command line:
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=10000,server=y,suspend=n
After you have start your JBoss and compile your bean, place the .jar in the deploy directory (D:\jboss-3.2.3\server\default\deploy) and it will be automaticaly deployed.
To debug your EJB, start the debugger in JBuilder.
In Run > Configuration... , choose the debug Tab, enable remote debugging, Attach, hostname = localhost or the computer that is running JBoss, Transport Type = dt_socket, Address = 10000.
Regards,
Olivier.