0 Replies Latest reply on May 23, 2012 8:04 AM by sarahfr

    it's urgent "ejb in Jboss 7.1"

    sarahfr Newbie

      Hi,

      I try deploy my application with Ejb 2;

      In file ejb-jar.xml, I have this header:

      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

      and I have this errors:

       

      Calling "C:\travail\jboss-as-7.1.1.Final\bin\standalone.conf.bat"

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

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: C:\travail\jboss-as-7.1.1.Final

       

       

        JAVA: C:\Java\bin\java

       

       

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

       

       

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

       

       

      Listening for transport dt_socket at address: 8787

      13:56:35,084 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      13:56:35,191 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      13:56:35,222 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      13:56:35,729 INFO  [org.xnio] XNIO Version 3.0.3.GA

      13:56:35,730 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      13:56:35,739 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      13:56:35,746 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      13:56:39,470 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry xpp3.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-run.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,608 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry stax-api.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-run.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,609 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry wstx-asl.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-run.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,617 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry serializer.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/xalan.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,620 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry bcel.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,621 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry xpp3.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,622 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry stax-api.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,623 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-10) Class Path entry wstx-asl.jar in "/C:/travail/jboss-as-7.1.1.Final/bin/content/cart.ear/lib/jibx-bind.jar"  does not point to a valid jar for a Class-Path reference.

      13:56:39,670 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'

      13:56:39,858 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.deployment.subunit."cart.ear"."cart.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."cart.ear"."cart.jar".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "cart.jar" of deployment "cart.ear"

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_25]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_25]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_25]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014402: Could not merge data for com.accesscommerce.cart.CartControllerEJB

              at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:75)

              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              ... 5 more

      Caused by: java.lang.RuntimeException: Error getting reflective information for class com.accesscommerce.cart.CartControllerEJBBean with ClassLoader ModuleClassLoader for Module "deployment.cart.ear.cart.jar:main" from Service Module Loader

              at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.ejb3.deployment.processors.merging.InitMethodMergingProcessor.handleDeploymentDescriptor(InitMethodMergingProcessor.java:80)

              at org.jboss.as.ejb3.deployment.processors.merging.InitMethodMergingProcessor.handleDeploymentDescriptor(InitMethodMergingProcessor.java:52)

              at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.processComponentConfig(AbstractMergingProcessor.java:93)

              at org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:73)

              ... 6 more

      Caused by: java.lang.NoClassDefFoundError: cic/eAdvancedPricing/CICAdjustment

              at java.lang.Class.getDeclaredMethods0(Native Method) [rt.jar:1.6.0_25]

              at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) [rt.jar:1.6.0_25]

              at java.lang.Class.getDeclaredMethods(Class.java:1791) [rt.jar:1.6.0_25]

              at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:65) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

              ... 10 more

      Caused by: java.lang.ClassNotFoundException: cic.eAdvancedPricing.CICAdjustment from [Module "deployment.cart.ear.cart.jar:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]

              ... 15 more

       

       

      13:56:39,926 ERROR [org.jboss.as] (MSC service thread 1-2) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 4992ms - Started 240 of 351 services (16 services failed or missing dependencies, 94 services are passive or on-demand)

      13:56:40,135 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"cart.ear\".\"cart.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"cart.ear\".\"cart.jar\".POST_MODULE: Failed to process phase POST_MODULE of subdeployment \"cart.jar\" of deployment \"cart.ear\""},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\".ValidatorFactoryjboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\"Missing[jboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\".ValidatorFactoryjboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\"]","jboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\".ValidatorFactoryjboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorba

      ManagerEJB\"Missing[jboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\".ValidatorFactoryjboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\"]","jboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\".Validatorjboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\"Missing[jboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\".Validatorjboss.naming.context.java.comp.cart.CICCore.\"cic.CICCorbaManagerEJB\"]","jboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\".Validatorjboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\"Missing[jboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\".Validatorjboss.naming.context.java.comp.cart.CICCore.\"cic.CICObjectOMM\"]","jboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBean.Validatorjboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBeanMissing[jboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBean.Validatorjboss.namin

      g.context.java.comp.cart.ReportGenerator.ReportEngineBean]","jboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBean.ValidatorFactoryjboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBeanMissing[jboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBean.ValidatorFactoryjboss.naming.context.java.comp.cart.ReportGenerator.ReportEngineBean]"]}}}

       

      please I need your help, thanks.