0 Replies Latest reply: Jun 21, 2011 12:48 PM by Utkarsh Shinde RSS

error deploying portlet to jboss portal 5.1

Utkarsh Shinde Newbie

hi,

I create a portlet which i deploy in jboss portal platform 5.1 but error arises....

 

011-06-21 21:56:01,001 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PostClassLoader: name=vfszip:/D:/jboss-epp-5.1/jboss-as/server/default/deploy/WebContent/WEB-INF/lib/portlet.jar/ 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:179)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

    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:403)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

    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.RuntimeException: java.lang.ClassNotFoundException: PORTLET.SESSION1.model.SESSION1ModelSessionEJBBean from BaseClassLoader@94fde1{vfszip:/D:/jboss-epp-5.1/jboss-as/server/default/deploy/WebContent/WEB-INF/lib/portlet.jar/}

    at org.jboss.deployers.plugins.annotations.WeakClassLoaderHolder.loadClass(WeakClassLoaderHolder.java:76)

    at org.jboss.deployers.plugins.annotations.AbstractElement.getOwner(AbstractElement.java:73)

    at org.jboss.deployment.OptAnnotationMetaDataDeployer.getClasses(OptAnnotationMetaDataDeployer.java:172)

    at org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossMetaData(OptAnnotationMetaDataDeployer.java:133)

    at org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:84)

    at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)

    ... 31 more

Caused by: java.lang.ClassNotFoundException: PORTLET.SESSION1.model.SESSION1ModelSessionEJBBean from BaseClassLoader@94fde1{vfszip:/D:/jboss-epp-5.1/jboss-as/server/default/deploy/WebContent/WEB-INF/lib/portlet.jar/}

    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.Class.forName0(Native Method)

    at java.lang.Class.forName(Unknown Source)

    at org.jboss.deployers.plugins.annotations.WeakClassLoaderHolder.loadClass(WeakClassLoaderHolder.java:72)

    ... 36 more

2011-06-21 21:56:03,366 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PostClassLoader: name=vfsfile:/D:/jboss-epp-5.1/jboss-as/server/default/deploy/WebContent/WEB-INF/web.xml state=ClassLoader mode=Manual requiredState=PostClassLoader

org.jboss.deployers.spi.DeploymentException: java.lang.ClassNotFoundException: PORTLET.SESSION1.model.SESSION1ModelSessionEJBLocal from BaseClassLoader@262adc{vfsfile:/D:/jboss-epp-5.1/jboss-as/server/default/deploy/WebContent/WEB-INF/web.xml}

    at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:174)

    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentLast(DeployersImpl.java:1314)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1115)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

    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:403)

    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

    at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

    at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

    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: PORTLET.SESSION1.model.SESSION1ModelSessionEJBLocal from BaseClassLoader@262adc{vfsfile:/D:/jboss-epp-5.1/jboss-as/server/default/deploy/WebContent/WEB-INF/web.xml}

    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbInterface(MappedReferenceMetaDataResolverDeployer.java:1142)

    at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbLocalRefs(MappedReferenceMetaDataResolverDeployer.java:877)

    at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolve(MappedReferenceMetaDataResolverDeployer.java:743)

    at org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:170)

    ... 31 more