Menu

JBuilder6 JBoss Integration Problems

Rolf
2004-02-26
2004-04-21
  • Rolf

    Rolf - 2004-02-26

    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

     
    • Olivier

      Olivier - 2004-04-21

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.