[jboss-jira] [JBoss JIRA] Commented: (JBAS-3214) Fresh 4.0.4GA/EJB3 install fails to boot because server/default/conf/jboss-service.xml is missing

Maciek Kolesnik (JIRA) jira-events at lists.jboss.org
Wed Jun 27 00:19:04 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-3214?page=comments#action_12366958 ] 
            
Maciek Kolesnik commented on JBAS-3214:
---------------------------------------

btw: the file actually exists in the right place but the server is still complaining:

[rms at utilasheqrms01 ~]$ RMS/bin/run.sh
=========================================================================

  JBoss Bootstrap Environment

  SERVER_ROOT: /home/rms/rms-server-2

  JBOSS_HOME: /opt/jboss-4.0.5.GA-ejb3

  JAVA: /opt/jdk1.5.0_07/bin/java

  JAVA_OPTS: -Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m -Dprogram.name=run.sh -server  -Djboss.server.name=rms-server-2 -Djboss.server.home.dir=/home/rms/rms-server-2 -Djboss.server.home.url=file://home/rms/rms-server-2 -Ddeploy.root=/home/rms/RMS -Djava.util.logging.config.file=/logging.properties -Duser.timezone=GMT -Djava.util.prefs.PreferencesFactory=COM.soundbite.base.dbpreferences.DBPreferencesFactory -Djava.security.auth.policy==/home/rms/RMS/etc/auth/authLogin.policy -Djava.security.auth.login.config=/home/rms/RMS/etc/auth/ntlogin.conf -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true

  CLASSPATH: /opt/jboss-4.0.5.GA-ejb3/bin/run.jar:/opt/jdk1.5.0_07/lib/tools.jar

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

04:07:34,617 INFO  [Server] Starting JBoss (MX MicroKernel)...
04:07:34,618 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
04:07:34,619 INFO  [Server] Home Dir: /opt/jboss-4.0.5.GA-ejb3
04:07:34,620 INFO  [Server] Home URL: file:/opt/jboss-4.0.5.GA-ejb3/
04:07:34,622 INFO  [Server] Patch URL: null
04:07:34,623 INFO  [Server] Server Name: rms-server-2
04:07:34,623 INFO  [Server] Server Home Dir: /home/rms/rms-server-2
04:07:34,623 INFO  [Server] Server Home URL: file://home/rms/rms-server-2/
04:07:34,623 INFO  [Server] Server Log Dir: /home/rms/rms-server-2/log
04:07:34,623 INFO  [Server] Server Temp Dir: /home/rms/rms-server-2/tmp
04:07:34,624 INFO  [Server] Root Deployment Filename: jboss-service.xml
04:07:34,919 INFO  [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc.
04:07:34,919 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc.
04:07:34,920 INFO  [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386
04:07:35,181 INFO  [Server] Core system initialized
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: url file://home/rms/rms-server-2/conf/jboss-service.xml could not be opened, does it exist?
        at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


> Fresh 4.0.4GA/EJB3 install fails to boot because server/default/conf/jboss-service.xml is missing
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-3214
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3214
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Installer
>    Affects Versions: JBossAS-4.0.4.GA
>         Environment: OS X 10.4.6, JDK 1.5, JBoss 4.0.4.GA
>            Reporter: Stefan Arentz
>         Assigned To: Alex Pinkin
>             Fix For: JBossAS-4.0.5.CR1
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list