7 Replies Latest reply on Aug 10, 2005 10:05 AM by bonfarj

    how can i star the jbpm?

    bonfarj

      i don't know how... i read the documentation but i didn't understand :(

        • 1. Re: how can i star the jbpm?
          peterj

          What do you mean by "start the jbpm"? Do you just want to run the example program? If so, the best bet is to download the jbpm-starters-kits-with-eclipse-3.0 package and unzip it, go to the jbpm-server/bin directory and 'run -c jbpm', and then point your browser at "http://localhost:8080/jbpm"

          • 2. Re: how can i star the jbpm?
            bonfarj

            i did it, but at the end of the run.bat script i received the msgs:

            ...
             at org.jboss.system.ServiceConfigurator.intall<ServiceConfigurator.java:118>
             ... 36 more
            09:15:15,125 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
            Shuting down
            09:15:15,125 INFO [Server] Shutdown complete
            Halting VM
            
            



            why the server start and shutdown soon? :(


            and thx for the help!

            • 3. Re: how can i star the jbpm?
              bonfarj

              i did it, but at the end of the run.bat script i received the msgs:

              ...
               at org.jboss.system.ServiceConfigurator.intall<ServiceConfigurator.java:118>
               ... 36 more
              09:15:15,125 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
              Shuting down
              09:15:15,125 INFO [Server] Shutdown complete
              Shutdown complete
              Halting VM
              



              why the server start and shutdown soon? :(


              and thx for the help!

              • 4. Re: how can i star the jbpm?
                bonfarj

                i saw the entire log and get this:

                ________________________________________________________

                ===============================================================================
                .
                JBoss Bootstrap Environment
                .
                JBOSS_HOME: F:\projeto_webflowah\testes\jbpm-starters-kit-3.0\jbpm-server\bin\\..
                .
                JAVA: C:\Arquivos de programas\Java\jdk1.5.0_03\bin\java
                .
                JAVA_OPTS: -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dprogram.name=run.bat -Xms128m -Xmx512m
                .
                CLASSPATH: C:\Arquivos de programas\Java\jdk1.5.0_03\lib\tools.jar;F:\projeto_webflowah\testes\jbpm-starters-kit-3.0\jbpm-server\bin\\run.jar
                .
                ===============================================================================
                .
                Listening for transport dt_socket at address: 8787
                11:18:31,640 INFO [Server] Starting JBoss (MX MicroKernel)...
                11:18:31,640 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
                11:18:31,640 INFO [Server] Home Dir: F:\projeto_webflowah\testes\jbpm-starters-kit-3.0\jbpm-server
                11:18:31,640 INFO [Server] Home URL: file:/F:/projeto_webflowah/testes/jbpm-starters-kit-3.0/jbpm-server/
                11:18:31,640 INFO [Server] Library URL: file:/F:/projeto_webflowah/testes/jbpm-starters-kit-3.0/jbpm-server/lib/
                11:18:31,640 INFO [Server] Patch URL: null
                11:18:31,640 INFO [Server] Server Name: jbpm
                11:18:31,640 INFO [Server] Server Home Dir: F:\projeto_webflowah\testes\jbpm-starters-kit-3.0\jbpm-server\server\jbpm
                11:18:31,656 INFO [Server] Server Home URL: file:/F:/projeto_webflowah/testes/jbpm-starters-kit-3.0/jbpm-server/server/jbpm/
                11:18:31,656 INFO [Server] Server Data Dir: F:\projeto_webflowah\testes\jbpm-starters-kit-3.0\jbpm-server\server\jbpm\data
                11:18:31,656 INFO [Server] Server Temp Dir: F:\projeto_webflowah\testes\jbpm-starters-kit-3.0\jbpm-server\server\jbpm\tmp
                11:18:31,656 INFO [Server] Server Config URL: file:/F:/projeto_webflowah/testes/jbpm-starters-kit-3.0/jbpm-server/server/jbpm/conf/
                11:18:31,656 INFO [Server] Server Library URL: file:/F:/projeto_webflowah/testes/jbpm-starters-kit-3.0/jbpm-server/server/jbpm/lib/
                11:18:31,656 INFO [Server] Root Deployment Filename: jboss-service.xml
                11:18:31,656 INFO [Server] Starting General Purpose Architecture (GPA)...
                11:18:31,984 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
                11:18:31,984 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_03-b07,Sun Microsystems Inc.
                11:18:31,984 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                11:18:32,421 INFO [Server] Core system initialized
                11:18:32,531 ERROR [MainDeployer] could not create deployment: file:/F:/projeto_webflowah/testes/jbpm-starters-kit-3.0/jbpm-server/server/jbpm/conf/jboss-service.xml
                org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain)

                at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
                at org.jboss.system.ServiceController.install(ServiceController.java:202)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy4.install(Unknown Source)
                at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                at $Proxy5.deploy(Unknown Source)
                at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
                at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
                at org.jboss.Main.boot(Main.java:195)
                at org.jboss.Main$1.run(Main.java:463)
                at java.lang.Thread.run(Thread.java:595)
                Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain
                at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
                at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
                at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1189)
                at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
                at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
                at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
                at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
                at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
                ... 36 more
                11:18:32,531 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
                Shutting down
                11:18:32,546 INFO [Server] Shutdown complete
                Shutdown complete
                Halting VM


                ________________________________________________________

                what is this? :(

                • 5. Re: how can i star the jbpm?
                  peterj

                  I checked my setup and I am using the same JVM that you are (Sun's 1.5.0_03-b07) and I am also running on Windows XP, and it works on my system. Sorry that I can't be of more help.

                  • 6. Re: how can i star the jbpm?
                    bonfarj

                    I installed the jBoss 4.0.2 and try to run; everything works fine. So i copied jbpm-starters-kit-3.0\jbpm-server\server\jbpm to jboss-4.0.2\server\jbpm and execute run -c jbpm... didn't work.

                    i don't know what to do.. :(

                    • 7. Re: how can i star the jbpm?
                      bonfarj

                      Now i decide rename the directory jboss-4.0.2\server\default to jboss-4.0.2\server\jbpm. As described in http://docs.jboss.com/jbpm/v3/userguide/deployment.html#d0e1597, to run jBpm in jBoss we only need to put the runtime libraries into the global classpath of your application server. I realized that the libraries are already in the jbpm-3.0\lib\ and now I ask you:

                      Do I need to do other things?
                      How can I run a process archive?



                      thx my friends!! :)