[ 
https://issues.apache.org/jira/browse/DELTASPIKE-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerhard Petracek resolved DELTASPIKE-498.
-----------------------------------------

    Resolution: Not A Problem

> Deltaspike 0.6-SNAPSHOT failing on JBoss 7 and Wildfly
> ------------------------------------------------------
>
>                 Key: DELTASPIKE-498
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-498
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 0.6
>         Environment: Ubuntu , Eclipse IDE(Kepler) , Java 7 
>            Reporter: Paa Kojo Konduah Amos
>
> I set out to try the Data Module of Deltaspike. So i have the following for 
> example;
> @Repository
> public interface SomeInterface extends EntityRepository<SomeEntity, Long>{}
> Now according to the online documentation, it reads ,"The implementation of 
> the method is done automatically by the CDI extension."
> So, i try to inject this SomeInterface into a controller, thinking the 
> implementation is done automatically. Eclipse warns that (No bean is eligible 
> for injection to the injection point [JSR-299 ยง5.2.1]).
> So i migrate from 0.5 to 0.6 thinking that would be resolved. Still i get 
> that and when i try to deploy in JBoss 7 or Wild fly, please find below the 
> error stack.
> 05:33:18,226 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) 
> JBAS015876: Starting deployment of "geniidm.war"
> 05:33:18,685 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) 
> MSC00001: Failed to start service 
> jboss.deployment.unit."geniidm.war".STRUCTURE: 
> org.jboss.msc.service.StartException in service 
> jboss.deployment.unit."geniidm.war".STRUCTURE: Failed to process phase 
> STRUCTURE of deployment "geniidm.war"
>       at 
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
>  [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>       at 
> org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
>  [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
>       at 
> org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
>  [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  [rt.jar:1.7.0_45]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  [rt.jar:1.7.0_45]
>       at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: 
> org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018037: 
> Failed to process WEB-INF/lib: "/home/pkkamos/Application 
> Servers/Brontes-Master/standalone/deployments/geniidm.war/WEB-INF/lib/deltaspike-jsf-module-impl-0.6-SNAPSHOT.jar"
>       at 
> org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:120)
>       at 
> org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
>  [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
>       ... 5 more
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: 
> JBAS018037: Failed to process WEB-INF/lib: "/home/pkkamos/Application 
> Servers/Brontes-Master/standalone/deployments/geniidm.war/WEB-INF/lib/deltaspike-jsf-module-impl-0.6-SNAPSHOT.jar"
>       at 
> org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:175)
>       at 
> org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createResourceRoots(WarStructureDeploymentProcessor.java:153)
>       at 
> org.jboss.as.web.deployment.WarStructureDeploymentProcessor.deploy(WarStructureDeploymentProcessor.java:114)
>       ... 6 more
> Caused by: java.util.zip.ZipException: error in opening zip file
>       at java.util.zip.ZipFile.open(Native Method) [rt.jar:1.7.0_45]
>       at java.util.zip.ZipFile.<init>(ZipFile.java:215) [rt.jar:1.7.0_45]
>       at java.util.zip.ZipFile.<init>(ZipFile.java:145) [rt.jar:1.7.0_45]
>       at java.util.jar.JarFile.<init>(JarFile.java:153) [rt.jar:1.7.0_45]
>       at java.util.jar.JarFile.<init>(JarFile.java:117) [rt.jar:1.7.0_45]
>       at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:97)
>       at org.jboss.vfs.spi.JavaZipFileSystem.<init>(JavaZipFileSystem.java:83)
>       at org.jboss.vfs.VFS.mountZip(VFS.java:408)
>       at org.jboss.vfs.VFS.mountZip(VFS.java:434)
>       at 
> org.jboss.as.web.deployment.WarStructureDeploymentProcessor.createWebInfLibResources(WarStructureDeploymentProcessor.java:170)
>       ... 8 more



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to