[jboss-as7-dev] How to deploy war contained GAE components on Jboss as 7?

Stuart Douglas stuart.w.douglas at gmail.com
Mon Feb 25 23:09:51 EST 2013


This list is for the discussion of AS7 development. Please use the forum 
for user questions.

GAE components are proprietary, they are not part of the Java EE spec, 
and GAE applications will not run out of the box on Java EE application 
servers.

There however the Capedwarf project that aims to support GAE apps on 
JBoss AS (http://www.jboss.org/capedwarf/). You should check it out.

Stuart

asd wrote:
> hi, all.
>        i was beset by a problem for a few days.
>        I  has developed a web project which used some GAE components
> like data nucleus .etc, for requirements reason, i  can not remove
> those components from this project.
>        When i  packed them and try to deploy onto jboss as 7,   the
> server failed to deploy and logged error:
>
>        11:38:40,934 ERROR [org.jboss.msc.service.fail] (MSC service
> thread 1-2) MSC00001: Failed to start s
> ervice jboss.deployment.unit."ActivationServer.war".INSTALL:
> org.jboss.msc.service.StartException in
>   service jboss.deployment.unit."ActivationServer.war".INSTALL: Failed
> to process phase INSTALL of de
> ployment "ActivationServer.war"
>          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseServic
> e.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.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:1110)
> [rt.jar:1
> .7.0_02]
>          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [rt.jar:1
> .7.0_02]
>          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_02]
> Caused by: javax.persistence.PersistenceException: JBAS011466:
> PersistenceProvider 'org.datanucleus.
> store.appengine.jpa.DatastorePersistenceProvider' not found
>          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.lookupProvider(PersistenceU
> nitDeploymentProcessor.java:546)
>          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUni
> tDeploymentProcessor.java:279)
>          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(Persist
> enceUnitDeploymentProcessor.java:194)
>          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeplo
> ymentProcessor.java:118)
>          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseServic
> e.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
>          ... 5 more
>
> 11:38:40,994 INFO  [org.jboss.as.server] (DeploymentScanner-threads -
> 2) JBAS015870: Deploy of deplo
> yment "ActivationServer.war" was rolled back with failure message
> {"JBAS014671: Failed services" =>
> {"jboss.deployment.unit.\"ActivationServer.war\".INSTALL" =>
> "org.jboss.msc.service.StartException i
> n service jboss.deployment.unit.\"ActivationServer.war\".INSTALL:
> Failed to process phase INSTALL of
>   deployment \"ActivationServer.war\""}}
> 11:38:42,614 INFO  [org.jboss.as.server.deployment] (MSC service
> thread 1-3) JBAS015877: Stopped dep
> loyment ActivationServer.war in 1622ms
> 11:38:42,624 INFO  [org.jboss.as.controller]
> (DeploymentScanner-threads - 2) JBAS014774: Service sta
> tus report
> JBAS014777:   Services which failed to start:      service
> jboss.deployment.unit."ActivationServer.w
> ar".INSTALL: org.jboss.msc.service.StartException in service
> jboss.deployment.unit."ActivationServer
> .war".INSTALL: Failed to process phase INSTALL of deployment
> "ActivationServer.war"
>
> 11:38:42,634 ERROR [org.jboss.as.server.deployment.scanner]
> (DeploymentScanner-threads - 1) {"JBAS01
> 4653: Composite operation failed and was rolled back. Steps that
> failed:" =>  {"Operation step-2" =>
> {"JBAS014671: Failed services" =>
> {"jboss.deployment.unit.\"ActivationServer.war\".INSTALL" =>  "org.
> jboss.msc.service.StartException in service
> jboss.deployment.unit.\"ActivationServer.war\".INSTALL:
> Failed to process phase INSTALL of deployment \"ActivationServer.war\""}}}}
>
> can someone kindly help me fix this error?
> Any comments will be appreciated.
>
> Best Regards
>
> murphy.cn
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


More information about the jboss-as7-dev mailing list