error while deploying web application in JBAS 5 beta
by Jaroslaw Kijanowski
Hello,
I try to run a testsuite test, org.jboss.test.web.test.WebIntegrationUnitTestCase. No problem with JBAS4_0_4GA, but JBAS5beta can't pass it successfully:
*************************************
13:35:07,234 INFO [Server] JBoss (MX MicroKernel) [5.0.0.Beta (build: CVSTag=HEAD date=200609011133)] Started in 1m:17s:984ms
13:35:34,968 INFO [EARDeployer] Init J2EE application: file:/D:/jboss-svn5/trunk/testsuite/output/lib/jbosstest-web.ear
13:35:35,546 INFO [WebMetaData] WebMetaData:importJBossWebXml: maxActiveSessions = -1
13:35:35,718 INFO [WebMetaData] WebMetaData:importJBossWebXml: maxActiveSessions = -1
13:35:37,234 INFO [EjbModule] Deploying Entity
13:35:37,453 INFO [EjbModule] Deploying InternalEntity
13:35:37,468 INFO [EjbModule] Deploying ENCBean0
13:35:37,515 INFO [EjbModule] Deploying ENCBean1
13:35:37,531 INFO [EjbModule] Deploying SecuredEJB
13:35:37,546 INFO [EjbModule] Deploying UnsecureRunAsServletWithPrincipalNameTarget
13:35:37,546 INFO [EjbModule] Deploying UnsecureRunAsServletWithPrincipalNameAndRolesTarget
13:35:37,562 INFO [EjbModule] Deploying UnsecuredEJB
13:35:37,578 INFO [EjbModule] Deploying OptimizedEJB
13:35:37,609 INFO [EjbModule] Deploying NotOptimizedEJB
13:35:37,625 INFO [EjbModule] Deploying StatefulEJB
13:35:37,671 INFO [EjbModule] Deploying EntityFacade
13:35:38,796 INFO [EjbModule] Deploying BMPBean
13:35:38,812 INFO [EjbModule] Deploying BMPCallbackBean
13:35:38,828 INFO [EjbModule] Deploying CMPBean
13:35:38,828 INFO [EjbModule] Deploying CMPBeanOptionD
13:35:38,906 INFO [EjbModule] Deploying CMPBean2
13:35:38,906 INFO [EjbModule] Deploying EJBTestRunnerEJB
13:35:38,921 INFO [EjbModule] Deploying StatelessSessionBean
13:35:39,109 INFO [EjbModule] Deploying StatefulSessionBean
13:35:39,125 INFO [EjbModule] Deploying BMTStatefulSessionBean
13:35:39,140 INFO [EjbModule] Deploying FacadeStatefulSessionBean
13:35:39,140 INFO [EjbModule] Deploying StrictlyPooledStatelessBean
13:35:39,156 INFO [EjbModule] Deploying StrictlyPooledCreateExceptionBean
13:35:39,156 INFO [EjbModule] Deploying StrictlyPooledStatefulBean
13:35:39,171 INFO [EjbModule] Deploying CallerSessionBean
13:35:39,187 INFO [EjbModule] Deploying CalleeSessionBean
13:35:39,187 INFO [EjbModule] Deploying LongWaitStatefulSessionBean
13:35:39,203 INFO [EjbModule] Deploying StrictlyPooledMDB
13:35:39,265 INFO [EjbModule] Deploying SubclassMDB
13:35:41,015 INFO [EjbModule] Deploying SessionBean
13:35:41,109 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../tmp/deploy/tmp40017jbosstest-web.ear-contents/root-web-exp.war/
13:35:41,453 INFO [TomcatDeployer] deploy, ctxPath=/jbosstest, warUrl=.../tmp/deploy/tmp40017jbosstest-web.ear-contents/jbosstest-web-exp.war/
13:35:41,593 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of SecuredEJB in web.xml of jbosstest-web.war it might not be deployed yet
13:35:41,593 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-local-ref> of interface org.jboss.test.web.interfaces.StatelessSessionLocal and ejbLink of ENCBean0 in web.xml of jbosstest-web.war it might not be deployed yet
.
.
.
13:35:41,656 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of
interface org.jboss.test.web.interfaces.StatelessSession and ejbLink of NotOpti
mizedEJB in web.xml of jbosstest-web.war it might not be deployed yet
13:35:41,703 ERROR [BaseModelMBean] Exception invoking method addChild
java.lang.NoClassDefFoundError: org/jboss/test/web/util/EJBManifestClass
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.getDeclaredMethods(Class.java:1763)
at org.jboss.injection.InjectionUtil.processMethodAnnotations(InjectionU
til.java:96)
Any ideas why the test runs successfully in JBAS4 but not JBAS5?
18 years, 3 months