Try updating the jboss-as-maven-plugin to 7.4.Final in the pom.xml. I think I had to do that when I was testing against 8.0-alpha so EAP 6.1 may be the same.
On 4/22/2013 1:10 PM, Tom Coleman wrote: > > > On Apr 22, 2013, at 9:19 AM, Bill Burke wrote: > >> That's a bad example to use as its a container agnostic example. I >> might remove it. Instead look at this example: >> >> https://github.com/resteasy/Resteasy/tree/3.0-beta-4/jaxrs/examples/oreilly-workbook-as7/ex11_1 >> >> Using EJBs + JAX-RS is a lot simpler in a EE6+ application server then >> the ejb-integration-test shows! >> > > I don't think the ex_11 example will deploy as-is in eap-6.1. > > The mvn clean install hangs at this message: > > Apr 22, 2013 12:47:14 PM org.xnio.Xnio <clinit> > INFO: XNIO Version 3.0.3.GA > Apr 22, 2013 12:47:14 PM org.xnio.nio.NioXnio <clinit> > INFO: XNIO NIO Implementation Version 3.0.3.GA > Apr 22, 2013 12:47:14 PM org.jboss.remoting3.EndpointImpl <clinit> > INFO: JBoss Remoting version 3.2.3.GA > > and when interrupted the server produces the ugly stack trace below. > > This is the ex11_1 example from 2.3.6.Final. > > I'm looking for an example that builds an ear. The README says this builds > an ear, but all I can find is a war. > > 12:13:08,496 INFO [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1 > 12:13:08,607 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA > 12:13:08,655 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss > EAP 6.1.0.Alpha1 (AS 7.2.0.Alpha1-redhat-4) starting > 12:13:08,660 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured > system properties: > [Standalone] = > ... > 12:13:08,662 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM > Arguments: -D[Standalone] -Xms1303m -Xmx1303m -XX:MaxPermSize=256m > -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman > -Djava.awt.headless=true > -Dorg.jboss.boot.log.file=/usr/local/Applications/JBoss/jboss-eap-6.1/standalone/log/server.log > > -Dlogging.configuration=file:/usr/local/Applications/JBoss/jboss-eap-6.1/standalone/configuration/logging.properties > 12:13:09,174 INFO [org.xnio] (MSC service thread 1-11) XNIO Version 3.0.7.GA > 12:13:09,181 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS015888: > Creating http management service using socket-binding (management-http) > 12:13:09,184 INFO [org.xnio.nio] (MSC service thread 1-11) XNIO NIO > Implementation Version 3.0.7.GA > 12:13:09,190 INFO [org.jboss.remoting] (MSC service thread 1-11) JBoss > Remoting version 3.2.14.GA > 12:13:09,208 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread > Pool -- 29) JBAS010280: Activating Infinispan subsystem. > 12:13:09,213 INFO [org.jboss.as.security] (ServerService Thread Pool -- 42) > JBAS013171: Activating Security Subsystem > 12:13:09,216 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 35) > JBAS012605: Activated the following JSF Implementations: [main, 1.2] > 12:13:09,217 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 37) > JBAS011800: Activating Naming Subsystem > 12:13:09,220 INFO [org.jboss.as.security] (MSC service thread 1-1) > JBAS013170: Current PicketBox version=4.0.15.Final > 12:13:09,225 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- > 46) JBAS015537: Activating WebServices Extension > 12:13:09,245 INFO [org.jboss.as.connector.logging] (MSC service thread 1-6) > JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final) > 12:13:09,254 INFO [org.jboss.as.naming] (MSC service thread 1-13) > JBAS011802: Starting Naming Service > 12:13:09,255 INFO [org.jboss.as.mail.extension] (MSC service thread 1-11) > JBAS015400: Bound mail session [java:jboss/mail/Default] > 12:13:09,293 INFO [org.jboss.as.connector.subsystems.datasources] > (ServerService Thread Pool -- 25) JBAS010403: Deploying JDBC-compliant driver > class org.h2.Driver (version 1.3) > 12:13:09,311 INFO [org.jboss.ws.common.management] (MSC service thread 1-4) > JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final > 12:13:09,390 INFO [org.apache.coyote.http11] (MSC service thread 1-1) > JBWEB003001: Coyote HTTP/1.1 initializing on : http-/127.0.0.1:8080 > 12:13:09,401 INFO [org.apache.coyote.http11] (MSC service thread 1-1) > JBWEB003000: Coyote HTTP/1.1 starting on: http-/127.0.0.1:8080 > 12:13:09,439 INFO [org.jboss.as.server.deployment.scanner] (MSC service > thread 1-10) JBAS015012: Started FileSystemDeploymentService for directory > /usr/local/Applications/JBoss/jboss-eap-6.1/standalone/deployments > 12:13:09,452 INFO [org.jboss.as.remoting] (MSC service thread 1-7) > JBAS017100: Listening on 127.0.0.1:9999 > 12:13:09,452 INFO [org.jboss.as.remoting] (MSC service thread 1-3) > JBAS017100: Listening on 127.0.0.1:4447 > 12:13:09,479 INFO [org.jboss.as.connector.subsystems.datasources] (MSC > service thread 1-1) JBAS010400: Bound data source > [java:jboss/datasources/ExampleDS] > 12:13:09,502 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http > management interface listening on http://127.0.0.1:9990/management > 12:13:09,502 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin > console listening on http://127.0.0.1:9990 > 12:13:09,502 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss > EAP 6.1.0.Alpha1 (AS 7.2.0.Alpha1-redhat-4) started in 1254ms - Started 121 > of 175 services (53 services are passive or on-demand) > 12:16:17,805 INFO [org.jboss.as.repository] (management-handler-thread - 2) > JBAS014900: Content added at location > /usr/local/Applications/JBoss/jboss-eap-6.1/standalone/data/content/5f/a858dfe3ed2ac710f325d914049bd9b04a0f64/content > 12:16:17,823 INFO [org.jboss.as.server.deployment] (MSC service thread 1-12) > JBAS015876: Starting deployment of "ex11_1.war" (runtime-name: "ex11_1.war") > 12:16:17,832 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-10) > MSC00001: Failed to start service > jboss.deployment.unit."ex11_1.war".STRUCTURE: > org.jboss.msc.service.StartException in service > jboss.deployment.unit."ex11_1.war".STRUCTURE: JBAS018733: Failed to process > phase STRUCTURE of deployment "ex11_1.war" > at > org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) > [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) > [jboss-msc-1.0.4.GA.jar:1.0.4.GA] > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) > [jboss-msc-1.0.4.GA.jar:1.0.4.GA] > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > [classes.jar:1.6.0_26] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > [classes.jar:1.6.0_26] > at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_26] > Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: > JBAS018740: Failed to mount deployment content > at > org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:92) > [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] > at > org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) > [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] > ... 5 more > Caused by: java.util.zip.ZipException: error in opening zip file > at java.util.zip.ZipFile.open(Native Method) [classes.jar:1.6.0_26] > at java.util.zip.ZipFile.<init>(ZipFile.java:127) [classes.jar:1.6.0_26] > at java.util.zip.ZipFile.<init>(ZipFile.java:144) [classes.jar:1.6.0_26] > at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:845) > [jboss-vfs-3.1.0.Final.jar:3.1.0.Final] > at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:536) > [jboss-vfs-3.1.0.Final.jar:3.1.0.Final] > at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:567) > [jboss-vfs-3.1.0.Final.jar:3.1.0.Final] > at > org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:97) > [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] > at > org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:88) > [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4] > ... 6 more > > 12:16:17,835 ERROR [org.jboss.as.server] (management-handler-thread - 2) > JBAS015870: Deploy of deployment "ex11_1.war" was rolled back with the > following failure message: > {"JBAS014671: Failed services" => > {"jboss.deployment.unit.\"ex11_1.war\".STRUCTURE" => > "org.jboss.msc.service.StartException in service > jboss.deployment.unit.\"ex11_1.war\".STRUCTURE: JBAS018733: Failed to process > phase STRUCTURE of deployment \"ex11_1.war\" > Caused by: > org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018740: > Failed to mount deployment content > Caused by: java.util.zip.ZipException: error in opening zip file"}} > 12:16:17,837 INFO [org.jboss.as.server.deployment] (MSC service thread 1-10) > JBAS015877: Stopped deployment ex11_1.war (runtime-name: ex11_1.war) in 1ms > 12:16:27,122 INFO [org.apache.catalina.core] (MSC service thread 1-14) > JBWEB001079: Container > org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not > been started > 12:16:27,123 INFO [org.jboss.as.connector.subsystems.datasources] (MSC > service thread 1-8) JBAS010409: Unbound data source > [java:jboss/datasources/ExampleDS] > 12:16:27,134 INFO [org.apache.coyote.http11] (MSC service thread 1-2) > JBWEB003075: Coyote HTTP/1.1 pausing on: http-/127.0.0.1:8080 > 12:16:27,134 INFO [org.apache.coyote.http11] (MSC service thread 1-2) > JBWEB003077: Coyote HTTP/1.1 stopping on : http-/127.0.0.1:8080 > 12:16:27,138 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015950: JBoss > EAP 6.1.0.Alpha1 (AS 7.2.0.Alpha1-redhat-4) stopped in 14ms > > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users