0 Replies Latest reply on Feb 9, 2005 11:50 AM by ketan shah

    error.....org.jboss.deployment.DeploymentException: Failed t

    ketan shah Newbie

      hi,
      i am newbie for jboss. while starting jboss i got the following errors....
      pl. help me out....


      ********
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /usr/local/lib/jboss

      JAVA: /usr/local/lib/jdk/bin/java

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

      CLASSPATH: /usr/local/lib/jboss/bin/run.jar:/usr/local/lib/jdk/lib/tools.jar

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

      log4j:ERROR setFile(null,false) call failed.
      java.io.FileNotFoundException: /usr/local/lib/jboss-4.0.1/server/default/log/boo
      t.log (Permission denied)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.(FileOutputStream.java:179)
      at java.io.FileOutputStream.(FileOutputStream.java:102)
      at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
      at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
      at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
      47)
      at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
      ava:123)
      at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j
      ava:87)
      at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura
      tor.java:645)
      at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura
      tor.java:603)
      at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC
      onfigurator.java:500)
      at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
      r.java:406)
      at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato
      r.java:432)
      at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon
      verter.java:460)
      at org.apache.log4j.LogManager.(LogManager.java:113)
      at org.jboss.logging.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:63)
      at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:320)
      at org.jboss.logging.Logger.(Logger.java:78)
      at org.jboss.logging.Logger.getLogger(Logger.java:291)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.(JBossN
      otificationBroadcasterSupport.java:32)
      at org.jboss.system.server.ServerImpl.doInit(ServerImpl.java:141)
      at org.jboss.system.server.ServerImpl.init(ServerImpl.java:126)
      at org.jboss.Main.boot(Main.java:157)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      17:27:25,085 INFO [Server] Starting JBoss (MX MicroKernel)...
      17:27:25,100 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_
      4_0_1 date=200412230944)
      17:27:25,101 INFO [Server] Home Dir: /usr/local/lib/jboss-4.0.1
      17:27:25,102 INFO [Server] Home URL: file:/usr/local/lib/jboss-4.0.1/
      17:27:25,103 INFO [Server] Library URL: file:/usr/local/lib/jboss-4.0.1/lib/
      17:27:25,107 INFO [Server] Patch URL: null
      17:27:25,134 INFO [Server] Server Name: default
      17:27:25,135 INFO [Server] Server Home Dir: /usr/local/lib/jboss-4.0.1/server/d
      efault
      17:27:25,136 INFO [Server] Server Home URL: file:/usr/local/lib/jboss-4.0.1/ser
      ver/default/
      17:27:25,137 INFO [Server] Server Data Dir: /usr/local/lib/jboss-4.0.1/server/d
      efault/data
      17:27:25,138 INFO [Server] Server Temp Dir: /usr/local/lib/jboss-4.0.1/server/d
      efault/tmp
      17:27:25,139 INFO [Server] Server Config URL: file:/usr/local/lib/jboss-4.0.1/s
      erver/default/conf/
      17:27:25,139 INFO [Server] Server Library URL: file:/usr/local/lib/jboss-4.0.1/
      server/default/lib/
      17:27:25,140 INFO [Server] Root Deployment Filename: jboss-service.xml
      17:27:25,153 INFO [Server] Starting General Purpose Architecture (GPA)...
      17:27:28,633 INFO [ServerInfo] Java version: 1.5.0_01,Sun Microsystems Inc.
      17:27:28,634 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_01-b08
      ,Sun Microsystems Inc.
      17:27:28,635 INFO [ServerInfo] OS-System: Linux 2.4.25-1-386,i386
      17:27:31,793 INFO [Server] Core system initialized
      17:27:32,120 ERROR [MainDeployer] Could not make local copy for file:/usr/local/
      lib/jboss-4.0.1/server/default/conf/jboss-service.xml
      java.io.IOException: No such file or directory
      at java.io.UnixFileSystem.createFileExclusively(Native Method)
      at java.io.File.checkAndCreate(File.java:1345)
      at java.io.File.createTempFile(File.java:1434)
      at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:111
      8)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:807)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:131)
      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:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      17:27:32,597 ERROR [MainDeployer] Could not initialise deployment: file:/usr/loc
      al/lib/jboss-4.0.1/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.
      xml
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:533)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:140)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:131)
      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:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.
      xml
      at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:533)
      at org.jboss.deployment.SARDeployer.init(SARDeployer.java:140)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765)
      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(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
      er.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
      or.java:122)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
      BeanOperationInterceptor.java:131)
      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:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
      at org.jboss.Main.boot(Main.java:162)
      at org.jboss.Main$1.run(Main.java:423)
      at java.lang.Thread.run(Thread.java:595)
      17:27:32,655 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      17:27:32,675 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      *************

      summary of error.....
      1) log4j: Error setfile(null,false) call failed java.io.filenotFound.exception...

      2) could not make local copy for file
      /usr/local/lib/jboss-4.0.1/server/default/conf/jboss-service.xml
      java.io.IOException no such file or directory

      3) could not initialise deployment file:
      /usr/local/lib/jboss-4.0.1/server/default/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException
      failed to find META-INF/jboss-service.xml

      your help is appriciated...

      thanks in advanced...

      ketan