1 Reply Latest reply on Apr 4, 2008 11:24 AM by jaikiran pai

    Could not create deployment: file:/opt/jboss-4.0.3SP1/server

    Ram kumar Imayavaramban Newbie

      Hi Everybody,

      This is very urgent.
      Actually my requirement is deploy the application in Linux environment.
      I have installed jdk 1.5
      I have extracted Jboss 4.0.3SP1 server.
      and I have set the environment variables like this.

      export JAVA_HOME=/opt/jdk1.5.0_15
      export PATH=$JAVA_HOME/bin:$PATH
      export JBOSS_DIST=$JBOSS_DIST:/opt/jboss 4.0.3SP1
      my linux version is suse 9
      I have attached the full error what I am getting in the console.

      blr-rkt-sd68:/opt/jboss-4.0.3SP1/bin # sh run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /opt/jboss-4.0.3SP1

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

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

      CLASSPATH: :/opt/jboss-4.0.3SP1/lib/commons-httpclient.jar:/opt/jboss-4.0.3SP1
      /lib/commons-logging.jar:/opt/jboss-4.0.3SP1/lib/concurrent.jar:/opt/jboss-4.0.3
      SP1/lib/dom4j.jar:/opt/jboss-4.0.3SP1/lib/getopt.jar:/opt/jboss-4.0.3SP1/lib/cgn
      u-regexp.jar:/opt/jboss-4.0.3SP1/lib/jboss-common.jar:/opt/jboss-4.0.3SP1/lib/jb
      oss-jmx.jar:/opt/jboss-4.0.3SP1/lib/jboss-system.jar:/opt/jboss-4.0.3SP1/lib/log
      4j-boot.jar:/opt/jboss-4.0.3SP1/lib/namespace.jar:/opt/jboss-4.0.3SP1/lib/webdav
      lib.jar:/opt/jboss-4.0.3SP1/lib/endorsed/resolver.jar:/opt/jboss-4.0.3SP1/lib/en
      dorsed/xalan.jarxalan.jar:/opt/jboss-4.0.3SP1/lib/endorsed/xercesImpl.jar:/opt/j
      boss-4.0.3SP1/lib/endorsed/xml-apis.jar:/opt/jboss-4.0.3SP1/lib/commons-httpclie
      nt.jar:/opt/jboss-4.0.3SP1/lib/commons-logging.jar:/opt/jboss-4.0.3SP1/lib/concu
      rrent.jar:/opt/jboss-4.0.3SP1/lib/dom4j.jar:/opt/jboss-4.0.3SP1/lib/getopt.jar:/
      opt/jboss-4.0.3SP1/lib/cgnu-regexp.jar:/opt/jboss-4.0.3SP1/lib/jboss-common.jar:
      /opt/jboss-4.0.3SP1/lib/jboss-jmx.jar:/opt/jboss-4.0.3SP1/lib/jboss-system.jar:/
      opt/jboss-4.0.3SP1/lib/log4j-boot.jar:/opt/jboss-4.0.3SP1/lib/namespace.jar:/opt
      /jboss-4.0.3SP1/lib/webdavlib.jar:/opt/jboss-4.0.3SP1/lib/endorsed/resolver.jar:
      /opt/jboss-4.0.3SP1/lib/endorsed/xalan.jarxalan.jar:/opt/jboss-4.0.3SP1/lib/endo
      rsed/xercesImpl.jar:/opt/jboss-4.0.3SP1/lib/endorsed/xml-apis.jar:/opt/jboss-4.0
      .3SP1/lib/commons-httpclient.jar:/opt/jboss-4.0.3SP1/lib/commons-logging.jar:/op
      t/jboss-4.0.3SP1/lib/concurrent.jar:/opt/jboss-4.0.3SP1/lib/dom4j.jar:/opt/jboss
      -4.0.3SP1/lib/getopt.jar:/opt/jboss-4.0.3SP1/lib/cgnu-regexp.jar:/opt/jboss-4.0.
      3SP1/lib/jboss-common.jar:/opt/jboss-4.0.3SP1/lib/jboss-jmx.jar:/opt/jboss-4.0.3
      SP1/lib/jboss-system.jar:/opt/jboss-4.0.3SP1/lib/log4j-boot.jar:/opt/jboss-4.0.3
      SP1/lib/namespace.jar:/opt/jboss-4.0.3SP1/lib/webdavlib.jar:/opt/jboss-4.0.3SP1/
      lib/endorsed/resolver.jar:/opt/jboss-4.0.3SP1/lib/endorsed/xalan.jarxalan.jar:/o
      pt/jboss-4.0.3SP1/lib/endorsed/xercesImpl.jar:/opt/jboss-4.0.3SP1/lib/endorsed/x ml-apis.jar:/opt/jboss-4.0.3SP1/bin/run.jar:/opt/jdk1.5.0_15/lib/tools.jar

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

      13:14:33,856 INFO [Server] Starting JBoss (MX MicroKernel)...
      13:14:33,858 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo ss_4_0_3_SP1 date=200510231054)
      13:14:33,859 INFO [Server] Home Dir: /opt/jboss-4.0.3SP1
      13:14:33,860 INFO [Server] Home URL: file:/opt/jboss-4.0.3SP1/
      13:14:33,861 INFO [Server] Patch URL: null
      13:14:33,862 INFO [Server] Server Name: default
      13:14:33,863 INFO [Server] Server Home Dir: /opt/jboss-4.0.3SP1/server/default
      13:14:33,864 INFO [Server] Server Home URL: file:/opt/jboss-4.0.3SP1/server/def ault/
      13:14:33,864 INFO [Server] Server Temp Dir: /opt/jboss-4.0.3SP1/server/default/ tmp
      13:14:33,865 INFO [Server] Root Deployment Filename: jboss-service.xml
      13:14:34,448 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
      13:14:34,632 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04 ,Sun Microsystems Inc.
      13:14:34,633 INFO [ServerInfo] OS-System: Linux 2.6.11.4-20a-default,i386
      13:14:36,064 INFO [Server] Core system initialized
      13:14:38,866 ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-4.0.3SP1/server/default/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:178)
      at org.jboss.system.ServiceController.install(ServiceController.java:215)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      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:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1189)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:431)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
      ... 36 more
      Failed to boot JBoss:
      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:178)
      at org.jboss.system.ServiceController.install(ServiceController.java:215)
      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:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      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:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain
      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:475)
      at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:377)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1189)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:271)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:329)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:431)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153)
      ... 36 more
      13:14:38,889 INFO [Server] Runtime shutdown hook called, forceHalt: true
      13:14:38,889 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      Shutting down
      13:14:38,897 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM

      Thanks in advance,
      Thanks and Regards,
      Ram kumar.I

        • 1. Re: Could not create deployment: file:/opt/jboss-4.0.3SP1/se
          jaikiran pai Master

           

          CLASSPATH: :/opt/jboss-4.0.3SP1/lib/commons-httpclient.jar:/opt/jboss-4.0.3SP1
          /lib/commons-logging.jar:/opt/jboss-4.0.3SP1/lib/concurrent.jar:/opt/jboss-4.0.3
          SP1/lib/dom4j.jar:/opt/jboss-4.0.3SP1/lib/getopt.jar:/opt/jboss-4.0.3SP1/lib/cgn
          u-regexp.jar:/opt/jboss-4.0.3SP1/lib/jboss-common.jar:/opt/jboss-4.0.3SP1/lib/jb
          oss-jmx.jar:/opt/jboss-4.0.3SP1/lib/jboss-system.jar:/opt/jboss-4.0.3SP1/lib/log
          4j-boot.jar:/opt/jboss-4.0.3SP1/lib/namespace.jar:/opt/jboss-4.0.3SP1/lib/webdav
          lib.jar:/opt/jboss-4.0.3SP1/lib/endorsed/resolver.jar:/opt/jboss-4.0.3SP1/lib/en
          dorsed/xalan.jarxalan.jar:/opt/jboss-4.0.3SP1/lib/endorsed/xercesImpl.jar:/opt/j
          boss-4.0.3SP1/lib/endorsed/xml-apis.jar:/opt/jboss-4.0.3SP1/lib/commons-httpclie
          nt.jar:/opt/jboss-4.0.3SP1/lib/commons-logging.jar:/opt/jboss-4.0.3SP1/lib/concu
          rrent.jar:/opt/jboss-4.0.3SP1/lib/dom4j.jar:/opt/jboss-4.0.3SP1/lib/getopt.jar:/
          opt/jboss-4.0.3SP1/lib/cgnu-regexp.jar:/opt/jboss-4.0.3SP1/lib/jboss-common.jar:
          /opt/jboss-4.0.3SP1/lib/jboss-jmx.jar:/opt/jboss-4.0.3SP1/lib/jboss-system.jar:/
          opt/jboss-4.0.3SP1/lib/log4j-boot.jar:/opt/jboss-4.0.3SP1/lib/namespace.jar:/opt
          /jboss-4.0.3SP1/lib/webdavlib.jar:/opt/jboss-4.0.3SP1/lib/endorsed/resolver.jar:
          /opt/jboss-4.0.3SP1/lib/endorsed/xalan.jarxalan.jar:/opt/jboss-4.0.3SP1/lib/endo
          rsed/xercesImpl.jar:/opt/jboss-4.0.3SP1/lib/endorsed/xml-apis.jar:/opt/jboss-4.0
          .3SP1/lib/commons-httpclient.jar:/opt/jboss-4.0.3SP1/lib/commons-logging.jar:/op
          t/jboss-4.0.3SP1/lib/concurrent.jar:/opt/jboss-4.0.3SP1/lib/dom4j.jar:/opt/jboss
          -4.0.3SP1/lib/getopt.jar:/opt/jboss-4.0.3SP1/lib/cgnu-regexp.jar:/opt/jboss-4.0.
          3SP1/lib/jboss-common.jar:/opt/jboss-4.0.3SP1/lib/jboss-jmx.jar:/opt/jboss-4.0.3
          SP1/lib/jboss-system.jar:/opt/jboss-4.0.3SP1/lib/log4j-boot.jar:/opt/jboss-4.0.3
          SP1/lib/namespace.jar:/opt/jboss-4.0.3SP1/lib/webdavlib.jar:/opt/jboss-4.0.3SP1/
          lib/endorsed/resolver.jar:/opt/jboss-4.0.3SP1/lib/endorsed/xalan.jarxalan.jar:/o
          pt/jboss-4.0.3SP1/lib/endorsed/xercesImpl.jar:/opt/jboss-4.0.3SP1/lib/endorsed/x ml-apis.jar:/opt/jboss-4.0.3SP1/bin/run.jar:/opt/jdk1.5.0_15/lib/tools.jar


          Did you change anything in the run.sh file? I don't use Linux, but on Windows, i haven't seen the CLASSPATH printing out all these jars.

          Also, please do not post the same question multiple times http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133063. And as i said in the other thread 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.