1 Reply Latest reply on Jun 26, 2008 1:40 AM by jaikiran pai

    ERROR [MainDeployer] Could not make local copy for file:/usr

    dayo dayo Newbie

       

      ~$ /usr/jboss-3.2.2RC1_tomcat-4.1.24/bin/./run.sh
      
      
      ================================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /usr/jboss-3.2.2RC1_tomcat-4.1.24
      
       JAVA: /usr/j2sdk1.4.2_17/bin/java
      
       JAVA_OPTS: -server -Dprogram.name=run.sh
      
       CLASSPATH: /usr/jboss-3.2.2RC1_tomcat-4.1.24/bin/run.jar:/usr/j2sdk1.4.2_17/lib/tools.jar
      
      ================================================================================
      
      17:13:07,627 INFO [Server] Starting JBoss (MX MicroKernel)...
      17:13:07,628 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2RC1 (build: CVSTag=JBoss_3_2_2_RC1 date=200306060938)
      17:13:07,628 INFO [Server] Home Dir: /usr/jboss-3.2.2RC1_tomcat-4.1.24
      17:13:07,628 INFO [Server] Home URL: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/
      17:13:07,629 INFO [Server] Library URL: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/lib/
      17:13:07,629 INFO [Server] Patch URL: null
      17:13:07,629 INFO [Server] Server Name: default
      17:13:07,629 INFO [Server] Server Home Dir: /usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default
      17:13:07,630 INFO [Server] Server Home URL: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/
      17:13:07,630 INFO [Server] Server Data Dir: /usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/data
      17:13:07,630 INFO [Server] Server Temp Dir: /usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/tmp
      17:13:07,630 INFO [Server] Server Config URL: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/
      17:13:07,630 INFO [Server] Server Library URL: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/lib/
      17:13:07,630 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      17:13:07,632 INFO [Server] Starting General Purpose Architecture (GPA)...
      17:13:07,743 INFO [ServerInfo] Java version: 1.4.2_17,Sun Microsystems Inc.
      17:13:07,743 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_17-b06,Sun Microsystems Inc.
      17:13:07,743 INFO [ServerInfo] OS-System: Linux 2.6.24-19-generic,i386
      17:13:07,767 INFO [ServiceController] Controller MBean online
      17:13:07,796 INFO [MainDeployer] Creating
      17:13:07,810 INFO [MainDeployer] Created
      17:13:07,811 INFO [MainDeployer] Starting
      17:13:07,811 INFO [MainDeployer] Started
      17:13:07,839 INFO [JARDeployer] Creating
      17:13:07,852 INFO [JARDeployer] Created
      17:13:07,853 INFO [JARDeployer] Starting
      17:13:07,853 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@166aa18
      17:13:07,853 INFO [JARDeployer] Started
      17:13:07,858 INFO [SARDeployer] Creating
      17:13:07,871 INFO [SARDeployer] Created
      17:13:07,871 INFO [SARDeployer] Starting
      17:13:07,871 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@1968e23
      17:13:07,889 INFO [SARDeployer] Started
      17:13:07,889 INFO [Server] Core system initialized
      17:13:07,902 INFO [MainDeployer] Starting deployment of package: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/jboss-service.xml
      17:13:07,903 ERROR [MainDeployer] Could not make local copy for file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/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:1314)
       at java.io.File.createTempFile(File.java:1402)
       at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:985)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:662)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:603)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:587)
       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:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
       at org.jboss.Main.boot(Main.java:150)
       at org.jboss.Main$1.run(Main.java:388)
       at java.lang.Thread.run(Thread.java:534)
      17:13:07,997 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      17:13:07,998 ERROR [Server] Failed to start
      org.jboss.deployment.DeploymentException: exception in init of file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:710)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:603)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:587)
       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:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
       at org.jboss.Main.boot(Main.java:150)
       at org.jboss.Main$1.run(Main.java:388)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
       at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:503)
       at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:684)
       ... 16 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: exception in init of file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:710)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:603)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:587)
       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:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
       at org.jboss.Main.boot(Main.java:150)
       at org.jboss.Main$1.run(Main.java:388)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
       at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:503)
       at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:684)
       ... 16 more
      17:13:08,035 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      17:13:08,035 INFO [MainDeployer] Undeploying file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/jboss-service.xml
      17:13:08,037 ERROR [MainDeployer] Undeployment cleanup failed: file:/usr/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/jboss-service.xml
      java.lang.NullPointerException
       at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:328)
       at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:555)
       at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:471)
       at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:358)
       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:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:808)
       at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:783)
       at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:771)
      17:13:08,037 INFO [MainDeployer] Undeployed 1 deployed packages
      17:13:08,037 INFO [Server] Shutting down all services
      Shutting down
      17:13:08,037 INFO [ServiceController] Stopping 3 services
      17:13:08,038 INFO [SARDeployer] Stopping
      17:13:08,038 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@1968e23
      17:13:08,038 INFO [SARDeployer] Stopped
      17:13:08,039 INFO [JARDeployer] Stopping
      17:13:08,039 INFO [JARDeployer] Stopped
      17:13:08,039 INFO [MainDeployer] Stopping
      17:13:08,039 INFO [MainDeployer] Stopped
      17:13:08,039 INFO [ServiceController] Stopped 3 services
      17:13:08,040 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      ~$
      


      I guess the bold part is where my troubles start. I'm running this on an Ubuntu 8.04 server, with j2sdk1.4.2_17

      java version "1.4.2_17"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_17-b06)
      Java HotSpot(TM) Client VM (build 1.4.2_17-b06, mixed mode)
      


      What am I doing wrong?