7 Replies Latest reply on Aug 2, 2006 10:44 AM by Ronald van Kuijk

    jbpm-server crashes on start

    fernando gamba Newbie

      hi, i downloaded the starter kit and when i want to run the example in jbpm-server/run.sh it gave the following error:

      run.sh: Missing file: /lib/tools.jar
      run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server

      JAVA: java

      JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

      CLASSPATH: /home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server/bin/run.jar:/lib/tools.jar

      =========================================================================

      15:41:59,722 INFO [Server] Starting JBoss (MX MicroKernel)...
      15:41:59,744 INFO [Server] Release ID: JBoss [Zion] 4.0.3 (build: CVSTag=JBoss_4_0_3 date=200510042324)
      15:41:59,772 INFO [Server] Home Dir: /home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server
      15:41:59,775 INFO [Server] Home URL: file:/home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server/
      15:41:59,817 INFO [Server] Patch URL: null
      15:41:59,819 INFO [Server] Server Name: default
      15:41:59,821 INFO [Server] Server Home Dir: /home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server/server/default
      15:41:59,823 INFO [Server] Server Home URL: file:/home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server/server/default/
      15:41:59,826 INFO [Server] Server Temp Dir: /home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server/server/default/tmp
      15:41:59,829 INFO [Server] Root Deployment Filename: jboss-service.xml
      15:42:00,999 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.
      15:42:01,001 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_06-b05,Sun Microsystems Inc.
      15:42:01,003 INFO [ServerInfo] OS-System: Linux 2.6.16-1-k7,i386
      15:42:02,523 INFO [Server] Core system initialized
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: url file:/home/fgamba/jboss/jbpm-starters-kit-3.1/jbpm-server/server/default/conf/jboss-service.xml could not be opened, does it exist?
      at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:191)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:752)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      15:42:02,890 INFO [Server] Runtime shutdown hook called, forceHalt: true
      15:42:02,893 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      15:42:02,906 INFO [Server] Shutdown complete
      Shutdown complete

      my system is a debian etch kernel 2.6.16, thanks for any suggestions