Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3214

Fresh 4.0.4GA/EJB3 install fails to boot because server/default/conf/jboss-service.xml is missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.5.CR1
    • JBossAS-4.0.4.GA
    • Installer
    • None

      As per instructions in the release notes I installed JBoss 4.0.4GA using:

      java -jar jboss-4.0.4.GA-installer.jar -installGroup ejb3 installpath=/Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3

      When I boot this instance it fails with the following message:

      % ~/Development/JBoss/JBoss-4.0.4-EJB3 % bin/run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3

      JAVA: /usr/bin/java

      JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh

      CLASSPATH: /Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/bin/run.jar:/usr/lib/tools.jar

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

      14:59:12,489 INFO [Server] Starting JBoss (MX MicroKernel)...
      14:59:12,517 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605131402)
      14:59:12,555 INFO [Server] Home Dir: /Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3
      14:59:12,556 INFO [Server] Home URL: file:/Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/
      14:59:12,560 INFO [Server] Patch URL: null
      14:59:12,564 INFO [Server] Server Name: default
      14:59:12,565 INFO [Server] Server Home Dir: /Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/server/default
      14:59:12,566 INFO [Server] Server Home URL: file:/Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/server/default/
      14:59:12,567 INFO [Server] Server Log Dir: /Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/server/default/log
      14:59:12,568 INFO [Server] Server Temp Dir: /Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/server/default/tmp
      14:59:12,570 INFO [Server] Root Deployment Filename: jboss-service.xml
      14:59:15,654 INFO [ServerInfo] Java version: 1.5.0_06,Apple Computer, Inc.
      14:59:15,657 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-64,"Apple Computer, Inc."
      jndi.properties standardjaws.xml
      login-config.xml standardjboss.xml

      14:59:15,660 INFO [ServerInfo] OS-System: Mac OS X 10.4.6,ppc
      14:59:17,561 INFO [Server] Core system initialized
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: url file:/Users/stefan/Development/JBoss/JBoss-4.0.4-EJB3/server/default/conf/jboss-service.xml could not be opened, does it exist?
      at org.jboss.deployment.DeploymentInfo.<init>(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(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: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(Thread.java:613)
      14:59:19,416 INFO [Server] Runtime shutdown hook called, forceHalt: true
      14:59:19,419 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      14:59:19,472 INFO [Server] Shutdown complete

              alex.pinkin Alex Pinkin (Inactive)
              stefanarentz_jira Stefan Arentz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: