1 Reply Latest reply on Mar 7, 2005 4:38 AM by Vishal Sharma

    Deployment Exception Plz help

    Siva VP Newbie


      D:\jboss-4.0.1>run
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: D:\jboss-4.0.1\bin\\..
      .
      JAVA: D:\j2sdk1.4.2_04\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
      .
      CLASSPATH: D:\j2sdk1.4.2_04\lib\tools.jar;D:\jboss-4.0.1\bin\\run.jar
      .
      ===============================================================================
      .
      13:59:19,484 INFO [Server] Starting JBoss (MX MicroKernel)...
      13:59:19,484 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)
      13:59:19,484 INFO [Server] Home Dir: D:\jboss-4.0.1
      13:59:19,484 INFO [Server] Home URL: file:/D:/jboss-4.0.1/
      13:59:19,484 INFO [Server] Library URL: file:/D:/jboss-4.0.1/lib/
      13:59:19,484 INFO [Server] Patch URL: null
      13:59:19,484 INFO [Server] Server Name: default
      13:59:19,484 INFO [Server] Server Home Dir: D:\jboss-4.0.1\server\default
      13:59:19,484 INFO [Server] Server Home URL: file:/D:/jboss-4.0.1/server/default/
      13:59:19,484 INFO [Server] Server Data Dir: D:\jboss-4.0.1\server\default\data
      13:59:19,484 INFO [Server] Server Temp Dir: D:\jboss-4.0.1\server\default\tmp
      13:59:19,500 INFO [Server] Server Config URL: file:/D:/jboss-4.0.1/server/default/conf/
      13:59:19,500 INFO [Server] Server Library URL: file:/D:/jboss-4.0.1/server/default/lib/
      13:59:19,500 INFO [Server] Root Deployment Filename: jboss-service.xml
      13:59:19,500 INFO [Server] Starting General Purpose Architecture (GPA)...
      13:59:20,468 INFO [ServerInfo] Java version: 1.4.2_04,Sun Microsystems Inc.
      13:59:20,468 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_04-b05,Sun Microsystems Inc.
      13:59:20,468 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      13:59:21,140 INFO [Server] Core system initialized
      13:59:24,140 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      13:59:24,343 INFO [WebService] Using RMI server codebase: http://Aphrodite:8083/
      13:59:24,625 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=
      /0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
      13:59:32,359 INFO [Embedded] Catalina naming disabled
      13:59:33,593 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
      13:59:33,656 INFO [Catalina] Initialization processed in 1156 ms
      13:59:33,656 INFO [StandardService] Starting service jboss.web
      13:59:33,671 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
      13:59:33,703 INFO [StandardHost] XML validation disabled
      13:59:33,750 INFO [Catalina] Server startup in 94 ms
      13:59:34,000 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/D:/jboss-4.0.1/server/default/deplo
      y/http-invoker.sar/invoker.war/
      13:59:35,453 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/D:/jboss-4.0.1/server/default/tmp/dep
      loy/tmp641jboss-ws4ee-exp.war/
      13:59:35,781 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/D:/jboss-4.0.1/server/default/deploy/jboss
      web-tomcat50.sar/ROOT.war/
      13:59:36,265 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/D:/jboss-4.0.1/server/defaul
      t/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      13:59:40,000 INFO [MailService] Mail Service bound to java:/Mail
      13:59:40,890 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/D:/jboss-4.0.1
      /server/default/deploy/jboss-local-jdbc.rar
      13:59:41,156 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/D:/jboss-4.0.1
      /server/default/deploy/jboss-xa-jdbc.rar
      13:59:41,437 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/D:/jboss-4.0.1
      /server/default/deploy/jms/jms-ra.rar
      13:59:41,687 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/D:/jboss-4.0.1
      /server/default/deploy/mail-ra.rar
      13:59:42,703 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionMana
      ger 'jboss.jca:name=OracleDS,service=DataSourceBinding to JNDI name 'java:OracleDS'
      13:59:43,812 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-4.0.1/server/default/deploy/Stri
      ngProcessor.jar
      org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean StringProcessor: The abstract-s
      chema-name must be specified for CMP 2.x Beans
      at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:328)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:151)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:484)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      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:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScann
      er.java:204)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:
      277)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      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:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:416)
      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      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:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      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(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
      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: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:534)
      13:59:44,187 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D:/jboss-4.0.1/server/default/d
      eploy/jmx-console.war/
      13:59:45,578 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/D:/jboss-4.0.1/server/default/d
      eploy/management/web-console.war/
      13:59:46,625 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Packages waiting for a deployer:
      org.jboss.deployment.DeploymentInfo@d9bf7ef8 { url=file:/D:/jboss-4.0.1/server/default/deploy/hsqldb-ds.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-4.0.1/server/default/deploy/hsqldb-ds.xml
      altDD: null
      lastDeployed: 1110184181765
      lastModified: 1110184182000
      mbeans:

      org.jboss.deployment.DeploymentInfo@26f6db33 { url=file:/D:/jboss-4.0.1/server/default/deploy/jms/jms-ds.xml }

      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-4.0.1/server/default/deploy/jms/jms-ds.xml
      altDD: null
      lastDeployed: 1110184181781
      lastModified: 1110184182000
      mbeans:

      Incompletely deployed packages:
      org.jboss.deployment.DeploymentInfo@d9bf7ef8 { url=file:/D:/jboss-4.0.1/server/default/deploy/hsqldb-ds.xml }
      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-4.0.1/server/default/deploy/hsqldb-ds.xml
      altDD: null
      lastDeployed: 1110184181765
      lastModified: 1110184182000
      mbeans:

      org.jboss.deployment.DeploymentInfo@26f6db33 { url=file:/D:/jboss-4.0.1/server/default/deploy/jms/jms-ds.xml }

      deployer: null
      status: null
      state: INIT_WAITING_DEPLOYER
      watch: file:/D:/jboss-4.0.1/server/default/deploy/jms/jms-ds.xml
      altDD: null
      lastDeployed: 1110184181781
      lastModified: 1110184182000
      mbeans:

      org.jboss.deployment.DeploymentInfo@a59acb45 { url=file:/D:/jboss-4.0.1/server/default/deploy/StringProcessor.
      jar }
      deployer: org.jboss.ejb.EJBDeployer@1e6e305
      status: Deployment FAILED reason: Error in ejb-jar.xml for Entity Bean StringProcessor: The abstract-schema-
      name must be specified for CMP 2.x Beans
      state: FAILED
      watch: file:/D:/jboss-4.0.1/server/default/deploy/StringProcessor.jar
      altDD: null
      lastDeployed: 1110184183765
      lastModified: 1110184184000
      mbeans:

      MBeans waiting for other MBeans:
      ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
      state: CONFIGURED
      I Depend On: jboss.mq:service=Invoker
      jboss.web:service=WebServer

      Depends On Me:
      ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
      state: CONFIGURED
      I Depend On: jboss:service=TransactionManager
      jboss.jca:name=DefaultDS,service=DataSourceBinding

      Depends On Me:
      ObjectName: jboss.mq:service=StateManager
      state: CONFIGURED
      I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding

      Depends On Me: jboss.mq:service=DestinationManager

      ObjectName: jboss.mq:service=DestinationManager
      state: CONFIGURED
      I Depend On: jboss.mq:service=MessageCache
      jboss.mq:service=PersistenceManager
      jboss.mq:service=StateManager

      Depends On Me: jboss.mq.destination:name=testTopic,service=Topic
      jboss.mq.destination:name=securedTopic,service=Topic
      jboss.mq.destination:name=testDurableTopic,service=Topic
      jboss.mq.destination:name=testQueue,service=Queue
      jboss.mq.destination:name=A,service=Queue
      jboss.mq.destination:name=B,service=Queue
      jboss.mq.destination:name=C,service=Queue
      jboss.mq.destination:name=D,service=Queue
      jboss.mq.destination:name=ex,service=Queue
      jboss.mq:service=SecurityManager
      jboss.mq.destination:name=DLQ,service=Queue

      ObjectName: jboss.mq:service=PersistenceManager
      state: CONFIGURED
      I Depend On: jboss.jca:name=DefaultDS,service=DataSourceBinding

      Depends On Me: jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:name=testTopic,service=Topic
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=securedTopic,service=Topic
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=testDurableTopic,service=Topic
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=testQueue,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=A,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=B,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=C,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=D,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me:
      ObjectName: jboss.mq.destination:name=ex,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me:
      ObjectName: jboss.mq:service=Invoker
      state: CONFIGURED
      I Depend On: jboss.mq:service=TracingInterceptor

      Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP
      jboss.mq:service=InvocationLayer,type=JVM
      jboss.mq:service=InvocationLayer,type=UIL2

      ObjectName: jboss.mq:service=TracingInterceptor
      state: CONFIGURED
      I Depend On: jboss.mq:service=SecurityManager

      Depends On Me: jboss.mq:service=Invoker

      ObjectName: jboss.mq:service=SecurityManager
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me: jboss.mq.destination:name=testTopic,service=Topic
      jboss.mq.destination:name=securedTopic,service=Topic
      jboss.mq.destination:name=testDurableTopic,service=Topic
      jboss.mq.destination:name=testQueue,service=Queue
      jboss.mq:service=TracingInterceptor
      jboss.mq.destination:name=DLQ,service=Queue

      ObjectName: jboss.mq.destination:name=DLQ,service=Queue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me:
      ObjectName: jboss.mq:service=InvocationLayer,type=JVM
      state: CONFIGURED
      I Depend On: jboss.mq:service=Invoker

      Depends On Me:
      ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
      state: CONFIGURED
      I Depend On: jboss.mq:service=Invoker

      Depends On Me:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: jboss:service=KeyGeneratorFactory,type=HiLo
      jboss.mq:service=StateManager
      jboss.mq:service=PersistenceManager


      13:59:46,968 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      13:59:47,250 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      13:59:47,281 INFO [JkMain] Jk running ID=0 time=0/141 config=null
      13:59:47,296 INFO [Server] JBoss (MX MicroKernel) [4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944)] Start
      ed in 27s:328ms

        • 1. Re: Deployment Exception Plz help
          Vishal Sharma Expert

          org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean StringProcessor: The abstract-s
          chema-name must be specified for CMP 2.x Beans

          By the looks of it you are missing schema -name of yr database in the deployment descriptors in ejb-jar.xml
          You have to have this

          <abstract-schema-name>YR DB SCHEMA NAME HERE</abstract-schema-name>
          as shown below in code snippet.
          Check yr ejb-jar.xml file.

          <ejb-class>au.com.tusc.cmp.ItemCMP</ejb-class>
           <persistence-type>Container</persistence-type>
           <prim-key-class>java.lang.String</prim-key-class>
           <reentrant>False</reentrant>
           <cmp-version>2.x</cmp-version>
           <abstract-schema-name>MyStoreItem</abstract-schema-name>
          
          <cmp-field >
           <description>[CDATA[Returns the itemID]]</description>
          



          I use xdoclet to generate the descriptors..
          @ejb.bean name="Item"
           * jndi-name="ItemBean"
           * type="CMP"
           * primkey-field="itemID"
           * schema="MyStoreItem"
           * cmp-version="2.x"
           * view-type="local"
           **/
          


          I hope this helps
          Vishal