6 Replies Latest reply on Jul 22, 2008 9:35 AM by jaikiran pai

    ERROR [MainDeployer] could not create deployment: file:/home

    Gopal Newbie

      Hello All,
      while i'm deploying a new .ear file in one of my server instance with name cassanctions, i got the below exceptions. please let me know what to do??.

      More Info: Jboss is installed on Linux

      [jboss@lot3app bin]$ ./run.sh -c cassanctions
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /home/jboss-4.0.0

      JAVA: /home/jdk1.5.0_08//bin/java

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

      CLASSPATH: /home/jboss-4.0.0/bin/run.jar:/home/jdk1.5.0_08//lib/tools.jar

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

      18:01:52,335 INFO [Server] Starting JBoss (MX MicroKernel)...
      18:01:52,336 INFO [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)
      18:01:52,337 INFO [Server] Home Dir: /home/jboss-4.0.0
      18:01:52,337 INFO [Server] Home URL: file:/home/jboss-4.0.0/
      18:01:52,337 INFO [Server] Library URL: file:/home/jboss-4.0.0/lib/
      18:01:52,338 INFO [Server] Patch URL: null
      18:01:52,339 INFO [Server] Server Name: cassanctions
      18:01:52,339 INFO [Server] Server Home Dir: /home/jboss-4.0.0/server/cassanctions
      18:01:52,341 INFO [Server] Server Home URL: file:/home/jboss-4.0.0/server/cassanctions/
      18:01:52,341 INFO [Server] Server Data Dir: /home/jboss-4.0.0/server/cassanctions/data
      18:01:52,342 INFO [Server] Server Temp Dir: /home/jboss-4.0.0/server/cassanctions/tmp
      18:01:52,342 INFO [Server] Server Config URL: file:/home/jboss-4.0.0/server/cassanctions/conf/
      18:01:52,343 INFO [Server] Server Library URL: file:/home/jboss-4.0.0/server/cassanctions/lib/
      18:01:52,343 INFO [Server] Root Deployment Filename: jboss-service.xml
      18:01:52,348 INFO [Server] Starting General Purpose Architecture (GPA)...
      18:01:52,768 INFO [ServerInfo] Java version: 1.5.0_08,Sun Microsystems Inc.
      18:01:52,768 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_08-b03,Sun Microsystems Inc.
      18:01:52,768 INFO [ServerInfo] OS-System: Linux 2.6.9-5.ELsmp,i386
      18:01:53,569 INFO [Server] Core system initialized

      ??????????? Exceptions From here ????????????

      ERROR [MainDeployer] could not create deployment: file:/home/jboss-4.0.0/server/cassanctions/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
      at org.jboss.system.ServiceController.install(ServiceController.java:200)
      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:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
      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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
      at org.jboss.Main.boot(Main.java:151)
      at org.jboss.Main$1.run(Main.java:405)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:463)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1183)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:269)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:327)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:149)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      ... 36 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
      at org.jboss.system.ServiceController.install(ServiceController.java:200)
      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:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693)
      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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293)
      at org.jboss.Main.boot(Main.java:151)
      at org.jboss.Main$1.run(Main.java:405)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindingManager
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:463)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1183)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:269)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:327)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:149)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      ... 36 more
      18:01:57,523 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      18:01:57,536 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      [jboss@lot3app bin]$

        • 1. Re: ERROR [MainDeployer] could not create deployment: file:/
          Abhijit N Newbie

          Did you get any solution for this? I am running two instances of jboss by changing binding ports to port-01 & default in conf/jboss-service.xml of both instances.
          I am getting this error on one machine whereas same configuration changes works on another

          • 2. Re: ERROR [MainDeployer] could not create deployment: file:/
            jaikiran pai Master

            You will have to post more details about your setup. The version of JBoss and Java you are using, the operating system and the exception that you are seeing. Also post the changes you have done in the xml files.

            P.S:While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted

            • 3. Re: ERROR [MainDeployer] could not create deployment: file:/
              Come On Newbie

              im getting the same error mentioned below can any one help me im new to jboss

              • 4. Re: ERROR [MainDeployer] could not create deployment: file:/
                Peter Johnson Master

                serach4u2003, how can we help you solve the problem if you do not provide the information that jaikiran asked for?

                • 5. ERROR [MainDeployer] Could not create deployment
                  Muthu Aro Newbie

                  16:52:18,990 INFO [Server] Root Deployment Filename: jboss-service.xml
                  16:52:19,580 INFO [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
                  16:52:19,580 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.
                  16:52:19,581 INFO [ServerInfo] OS-System: Linux 2.4.21-32.ELsmp,i386
                  16:52:20,330 INFO [Server] Core system initialized
                  16:52:23,560 ERROR [MainDeployer] Could not create deployment: file:/u01/jboss/server/jboss01/conf/jboss-service.xml
                  org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain)
                  at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
                  at org.jboss.system.ServiceController.install(ServiceController.java:226)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                  I installed JBoss-4.2.3 with JDK1.5. During deployment I am getting above messages and the deployment fails.

                  Thanks
                  Muthu

                  • 6. Re: ERROR [MainDeployer] could not create deployment: file:/
                    jaikiran pai Master

                     

                    16:52:23,560 ERROR [MainDeployer] Could not create deployment: file:/u01/jboss/server/jboss01/conf/jboss-service.xml


                    How did you create the "jboss01" server? Are you sure you have copied all the required jars which creating this server?