6 Replies Latest reply on Jun 18, 2007 10:20 AM by dabd dabd

    Configuring JBoss with Eclipse/Exadel

    dabd dabd Newbie

      Hi,

      I would like to debug my jbpm project, but for that I need to have JBoss configured inside Eclipse. After searching for JBossIDE, I found that it is being replaced by Exadel Studio.

      With Exadel Studio I am having problems adding the JBoss Server that is included in jbpm-jpdl-suite-3.2.GA.

      I pointed the directory C:\jbpm-jpdl-3.2.GA\server as the Application Server Directory in the Servers View in eclipse but it complains that javax.servelt.jar is missing.

      Any hints?

      Thanks.

        • 1. Re: Configuring JBoss with Eclipse/Exadel
          Fady Matar Novice

          It works fine for me, I'm not having that problem at all. Can you elaborate more on this?

          • 2. Re: Configuring JBoss with Eclipse/Exadel
            dabd dabd Newbie

             

            "fady.matar" wrote:
            It works fine for me, I'm not having that problem at all. Can you elaborate more on this?


            Out of despair I copied the jars from C:\jbpm-jpdl-3.2.GA\server\server\jbpm\lib to C:\jbpm-jpdl-3.2.GA\server\server\default (This is the directory that eclipse complained that didn't have the javax.servlet.jar)
            and I managed to add JBoss 4.04 to the Servers View.

            Now I get the following error when starting the server from Eclipse.

            14:56:43,515 INFO [Server] Starting JBoss (MX MicroKernel)...
            14:56:43,515 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
            14:56:43,531 INFO [Server] Home Dir: C:\jbpm-jpdl-3.2.GA\server
            14:56:43,531 INFO [Server] Home URL: file:/C:/jbpm-jpdl-3.2.GA/server/
            14:56:43,531 INFO [Server] Patch URL: null
            14:56:43,531 INFO [Server] Server Name: default
            14:56:43,531 INFO [Server] Server Home Dir: C:\jbpm-jpdl-3.2.GA\server\server\default
            14:56:43,531 INFO [Server] Server Home URL: file:/C:/jbpm-jpdl-3.2.GA/server/server/default/
            14:56:43,531 INFO [Server] Server Log Dir: C:\jbpm-jpdl-3.2.GA\server\server\default\log
            14:56:43,531 INFO [Server] Server Temp Dir: C:\jbpm-jpdl-3.2.GA\server\server\default\tmp
            14:56:43,531 INFO [Server] Root Deployment Filename: jboss-service.xml
            14:56:44,046 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
            14:56:44,046 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc.
            14:56:44,046 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
            14:56:44,390 INFO [Server] Core system initialized
            Failed to boot JBoss:
            org.jboss.deployment.DeploymentException: url file:/C:/jbpm-jpdl-3.2.GA/server/server/default/conf/jboss-service.xml could not be opened, does it exist?
            at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:770)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:464)
            at java.lang.Thread.run(Unknown Source)
            14:56:44,421 INFO [Server] Runtime shutdown hook called, forceHalt: true
            14:56:44,421 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
            14:56:44,421 INFO [Server] Shutdown complete
            Shutdown complete
            Halting VM


            • 3. Re: Configuring JBoss with Eclipse/Exadel
              Fady Matar Novice

              Save your time this hassle an re-install the distribution and don't mess with the server libraries, future versions of the console will handle later versions of JBoss AS

              • 4. Re: Configuring JBoss with Eclipse/Exadel
                dabd dabd Newbie

                 

                "fady.matar" wrote:
                Save your time this hassle an re-install the distribution and don't mess with the server libraries, future versions of the console will handle later versions of JBoss AS


                Are you using jbpm-jpdl-3.2.GA ?

                In the Servers View did you specify the JBoss AS Directory as C:\jbpm-jpdl-3.2.GA\server ?

                Thanks


                • 5. Re: Configuring JBoss with Eclipse/Exadel
                  Fady Matar Novice

                  you don't even need to specify the JBoss home. It's referenced internally from within the project

                  • 6. Re: Configuring JBoss with Eclipse/Exadel
                    dabd dabd Newbie

                     

                    "fady.matar" wrote:
                    you don't even need to specify the JBoss home. It's referenced internally from within the project


                    But isn't it necessary to start the server from Eclipse to be able to debug your code with breakpoints, etc.?