6 Replies Latest reply on May 29, 2009 4:30 AM by jaikiran pai

    JBoss 5 RC1 / RC2 and JRE 1.5 / JRE 1.6

    Celinio Fernandes Novice

      well, i tried it all :
      JBOSS 5 RC1 with JRE 1.5 then JRE 1.6
      JBOSS 5 RC2 with JRE 1.5 then JRE 1.6

      I am trying to deploy an EAR that contains several webapps (one with Struts 2), one EJB 3 module.

      I always get the same error :

      18:28:26,783 INFO [CopyMechanism] VFS temp dir: D:\DeveloppementEJB3\jboss-5.0.0.CR2\server\default\tmp
      18:28:26,890 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      18:28:27,988 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
      18:28:27,988 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun Microsystems Inc.
      18:28:27,989 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
      18:28:28,025 INFO [JMXKernel] Legacy JMX core initialized
      18:28:29,077 INFO [MetaDataAwareProfile] Using profile root:D:\DeveloppementEJB3\jboss-5.0.0.CR2\server\default
      18:28:30,308 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      18:28:39,488 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
      18:28:39,773 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@10fa4b8 for BaseClassLoader@16269c{vfsfile:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/ejb3-interceptors-aop.xml}
      18:28:46,691 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfszip:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/VenteEnLigne.ear state=ClassLoader mode=Manual requiredState=PostClassLoader
      org.jboss.deployers.spi.DeploymentException: Cannot process metadata
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181)
       at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.ClassNotFoundException: Main from BaseClassLoader@20ba4d{VFSClassLoaderPolicy@a7478f{name=vfszip:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/VenteEnLigne.ear domain=ClassLoaderDomain@ad2c30{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.system.NoAnnotationURLClassLoader@1971afc} roots=[MemoryContextHandler@4925357[path= context=vfsmemory://5c4o156-14h4id-fnrog4zr-1-fnrogfos-1r real=vfsmemory://5c4o156-14h4id-fnrog4zr-1-fnrogfos-1r], DelegatingHandler@1704524[path=VenteEnLigne.ear context=file:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/ real=file:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/VenteEnLigne.ear], DelegatingHandler@26004647[path=VenteEnLigne.ear/VenteEnLigneClient.jar context=file:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/ real=file:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/VenteEnLigne.ear/VenteEnLigneClient.jar], DelegatingHandler@13641289[path=VenteEnLigne.ear/VenteEnLigneEJB.jar context=file:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/ real=file:/D:/DeveloppementEJB3/jboss-5.0.0.CR2/server/default/deploy/VenteEnLigne.ear/VenteEnLigneEJB.jar]] delegates=null exported=[com.eni.dvtejb.metier.services, com.eni.dvtejb.metier.sessions, com.eni.dvtejb.tests, com.eni.dvtejb.metier.mdb, com.eni.dvtejb.client, META-INF, com.eni.dvtejb.metier.entities] <IMPORT-ALL>NON_EMPTY}}
       at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:381)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossClientMetaData(OptAnnotationMetaDataDeployer.java:115)
       at org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:82)
       at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)
       ... 21 more
      18:28:49,689 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
      18:28:49,745 INFO [MailService] Mail Service bound to java:/Mail
      18:28:50,588 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
      18:28:50,588 INFO [NativeServerConfig] 3.0.3.GA
      18:28:51,597 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
      18:28:51,790 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      18:28:51,790 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      18:28:52,001 INFO [TransactionManagerService] Initializing recovery manager
      18:28:52,168 INFO [TransactionManagerService] Recovery manager configured
      18:28:52,169 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      18:28:52,189 INFO [TransactionManagerService] Starting transaction recovery manager
      18:28:52,571 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\DeveloppementEJB3\jre1.6.0_07\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:/DeveloppementEJB3/jre1.6.0_07/bin/client;D:
      18:28:52,642 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8085
      18:28:52,650 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:28:52,650 INFO [Catalina] Initialization processed in 249 ms
      


      Does anyone have a fix for this ?
      Thanks