4 Replies Latest reply on Nov 8, 2009 6:33 AM by Celinio Fernandes

    errors when migrating my application from JBoss 5.0 CR1 to J

    Celinio Fernandes Novice

      Hi,
      I got a lot of settings to make in order to migrate my application from JBoss 5.0 CR1 to JBoss 5.1 GA.

      I got this error when attempting to start and deploy the EAR. The EAR has several web projects, 1 EJB project.

      Any idea ? Thanks

      22:28:09,942 INFO [CopyMechanism] VFS temp dir: K:\ENI\DeveloppementEJB3\jboss-5.1.0.GA.jdk6\server\default\tmp
      22:28:10,028 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      22:28:10,849 INFO [ServerInfo] Java version: 1.6.0_07,Sun Microsystems Inc.
      22:28:10,849 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
      22:28:10,849 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b23,Sun Microsystems Inc.
      22:28:10,849 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
      22:28:10,868 INFO [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252
      22:28:10,898 INFO [JMXKernel] Legacy JMX core initialized
      22:28:12,291 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@11af7bb[domain=default, server=default, name=default]
      22:28:13,915 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      22:28:19,830 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
      22:28:19,831 INFO [NativeServerConfig] 3.1.2.GA
      22:28:20,340 INFO [AttributeCallbackItem] Owner callback not implemented.
      22:28:21,838 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@f2da21[ defaultDomain='jboss' ]
      22:28:39,234 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfszip:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/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:171)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
       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:781)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
       at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
       at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
       at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
       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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
       at org.jboss.Main.boot(Main.java:221)
       at org.jboss.Main$1.run(Main.java:556)
       at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.ClassNotFoundException: Main from BaseClassLoader@15ee9d9{VFSClassLoaderPolicy@4aab64{name=vfszip:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/server/default/deploy/VenteEnLigne.ear/ domain=ClassLoaderDomain@3f4ebd{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@cdedfd} roots=[MemoryContextHandler@3814511[path= context=vfsmemory://5c4o1b1-hmz98f-g1o14ki5-1-g1o152oi-2b real=vfsmemory://5c4o1b1-hmz98f-g1o14ki5-1-g1o152oi-2b], DelegatingHandler@21529952[path=VenteEnLigne.ear context=file:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/server/default/deploy/ real=file:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/server/default/deploy/VenteEnLigne.ear], DelegatingHandler@2924763[path=VenteEnLigne.ear/VenteEnLigneClient.jar context=file:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/server/default/deploy/ real=file:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/server/default/deploy/VenteEnLigne.ear/VenteEnLigneClient.jar], DelegatingHandler@32814608[path=VenteEnLigne.ear/VenteEnLigneEJB.jar context=file:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/server/default/deploy/ real=file:/K:/ENI/DeveloppementEJB3/jboss-5.1.0.GA.jdk6/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:448)
       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)
       ... 32 more