[mevenide-user] EAR-Deployment Version 3.1

Cyrill Rüttimann <[email protected]> Sun, 27 Apr 2008 14:54:37 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
Hi,

I just tried to deploy my enterprise application with the new feature  
found in version 3.1 of the mevenide with Netbeans 6.1 RC2.  
Unfortunately, the application did not startup. Following the stack  
trace of the startup which shows that there are some problems with the  
classpath. I have attached two screenshots:

1) The Netbeas-Screenshot shows the structure generated by mevenide.

2)  The MacOS X-Screenshot shows the exploded ear in the glassfish  
domain when I deploy the maven generated EAR through the deployment  
manager.

At the moment I have no glue how the dist directory will be deployed  
to glassfish. If you can give me some pointers I will try to track  
down the problem. If I compare the two structures, they are very  
different.


Regards,

Cyrill

Cannot load org.jboss.seam.servlet.SeamFilter reason :  
org.jboss.seam.servlet.SeamFilter
java.lang.ClassNotFoundException: org.jboss.seam.servlet.SeamFilter
        at  
com 
.sun 
.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:718)
        at  
com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java: 
631)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at  
com 
.sun 
.enterprise 
.deployment 
.annotation.impl.ModuleScanner.getElements(ModuleScanner.java:174)
        at  
com 
.sun 
.enterprise 
.deployment 
.annotation 
.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:127)
        at  
com 
.sun 
.enterprise 
.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
        at  
com 
.sun 
.enterprise 
.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
        at  
com 
.sun 
.enterprise 
.deployment 
.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
        at  
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java: 
213)
        at  
com 
.sun 
.enterprise 
.deployment 
.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java: 
763)
        at  
com 
.sun 
.enterprise 
.deployment 
.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java: 
744)
        at  
com 
.sun 
.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java: 
349)
        at  
com 
.sun 
.enterprise 
.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java: 
423)
        at  
com 
.sun 
.enterprise 
.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:157)
        at  
com 
.sun 
.enterprise 
.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java: 
179)
        at  
com 
.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java: 
191)
        at  
com 
.sun 
.enterprise 
.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java: 
108)
        at  
com 
.sun 
.enterprise 
.deployment 
.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
        at  
com 
.sun 
.enterprise 
.deployment 
.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at  
com 
.sun 
.enterprise 
.deployment 
.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
        at  
com 
.sun 
.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at  
com 
.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java: 
223)
Unresolved <ejb-link>: CustomerRegistrationBean
Exception occured in J2EEC Phasejava.lang.RuntimeException: Error:  
Unresolved <ejb-link>: CustomerRegistrationBean
com.sun.enterprise.deployment.backend.IASDeploymentException: Error  
loading deployment descriptors for module  
[com.hcrtraining_TrainingPlatform_ear_1.0-SNAPSHOT] -- Error:  
Unresolved <ejb-link>: CustomerRegistrationBean
        at  
com 
.sun 
.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java: 
390)
        at  
com 
.sun 
.enterprise 
.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java: 
423)
        at  
com 
.sun 
.enterprise 
.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:157)
        at  
com 
.sun 
.enterprise 
.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java: 
179)
        at  
com 
.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java: 
191)
        at  
com 
.sun 
.enterprise 
.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java: 
108)
        at  
com 
.sun 
.enterprise 
.deployment 
.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
        at  
com 
.sun 
.enterprise 
.deployment 
.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
        at  
com 
.sun 
.enterprise 
.deployment 
.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
        at  
com 
.sun 
.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
        at  
com 
.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java: 
223)
Caused by: java.lang.RuntimeException: Error: Unresolved <ejb-link>:  
CustomerRegistrationBean
        at  
com 
.sun 
.enterprise 
.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:530)
        at  
com 
.sun 
.enterprise 
.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1406)
        at  
com 
.sun 
.enterprise 
.deployment.archivist.WebArchivist.validate(WebArchivist.java:188)
        at  
com 
.sun 
.enterprise 
.deployment 
.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java: 
790)
        at  
com 
.sun 
.enterprise 
.deployment 
.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java: 
744)
        at  
com 
.sun 
.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java: 
349)
        ... 10 more
Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03)  
for context ''

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
netbeans.jpg (image/jpeg, 69.8 KB) - not displayed
macosx.jpg (image/jpeg, 139.8 KB) - not displayed