Re: Cocoon 2.2 WebApp in JBoss 7
Fawzib Rojas <[email protected]>
| Newsgroups | gmane.text.xml.cocoon.user |
|---|---|
| Message-ID | <[email protected]> |
In every jar in the war archive? I hope not. Maybe another question: I'm putting the war in the standalone/deployments directory so it gets autodeployed. Is there a way to deploy in Jboss and tell it "It is a war, not osgi bundle"? On 3/8/2013 2:29 PM, gelo1234 wrote: > Hi Fawzib, > > Looks like you are trying to deploy spectron.war as an OSGi > bundle/application, so you need OSGi-compatible META-INF/MANIFEST > file in every .jar > > Greetings, > Greg > > > 2013/3/8 Fawzib Rojas <[email protected] > <mailto:[email protected]>> > > Anyone tried running a cocoon 2.2 webapp (war) in JBoss 7? I have > run a simple cocoon 2.2 app (just says Cocoon 2.2 runs!) in > Glassfish and Jetty8 but is giving me an error in JBoss 7.1.1 > > 10:45:26,737 DEBUG > [org.jboss.osgi.framework.internal.AbstractFrameworkService] (MSC > service thread 1-1) Starting: service jbosgi.Framework.ACTIVATOR > in mode ON_DEMAND > > 10:45:26,741 DEBUG [org.jboss.as.osgi] (MSC service thread 1-6) > Starting: service jboss.osgi.deployment."spectron.war" in mode ACTIVE > 10:45:26,746 ERROR [org.jboss.msc.service.fail] (MSC service > thread 1-6) MSC00001: Failed to start service > jboss.osgi.deployment."spectron.war": > org.jboss.msc.service.StartException in service > jboss.osgi.deployment."spectron.war": JBAS011966: Failed to > install deployment: [:1.0.0,location=spectron.war] > at > org.jboss.as.osgi.deployment.BundleInstallService.start(BundleInstallService.java:100) > > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://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 <http://1.0.2.GA>] > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > [rt.jar:1.6.0_18] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > [rt.jar:1.6.0_18] at java.lang.Thread.run(Thread.java:619) > [rt.jar:1.6.0_18] > Caused by: java.lang.IllegalArgumentException: Empty name segment > is not allowed for 8 > at org.jboss.msc.service.ServiceName.of(ServiceName.java:85) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>] > at > org.jboss.osgi.framework.internal.BundleManager.getServiceNameInternal(BundleManager.java:245) > > at > org.jboss.osgi.framework.internal.BundleManager.getServiceName(BundleManager.java:234) > > at > org.jboss.osgi.framework.internal.HostBundleInstalledService.addService(HostBundleInstalledService.java:39) > > at > org.jboss.osgi.framework.internal.BundleManager.installBundle(BundleManager.java:392) > > at > org.jboss.as.osgi.deployment.BundleInstallService.start(BundleInstallService.java:97) > ... 5 more > > 10:45:26,776 INFO [org.jboss.as.server] > (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment > "spectron.war" was rolled back with failure message {"JBAS014671: > Failed services" => {"jboss.osgi.deployment.\"spectron.war\"" => > "org.jboss.msc.service.StartException in service > jboss.osgi.deployment.\"spectron.war\": JBAS011966: Failed to > install deployment: [:1.0.0,location=spectron.war]"}} > > 10:45:26,783 ERROR [org.jboss.as.server.deployment] (MSC service > thread 1-5) JBAS015892: Deployment unit processor > org.jboss.as.jpa.processor.PersistenceProviderProcessor@43285f7a > unexpectedly threw an exception during undeploy phase INSTALL of > deployment "spectron.war": java.lang.NullPointerException > at > org.jboss.as.jpa.processor.PersistenceProviderProcessor.allDeploymentModuleClassLoaders(PersistenceProviderProcessor.java:138) > at > org.jboss.as.jpa.processor.PersistenceProviderProcessor.undeploy(PersistenceProviderProcessor.java:122) > at > org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:167) > [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] > at > org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:161) > [jboss-as-server-7.1.1.Final.jar:7.1.1.Final] > at > org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>] > at > org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>] > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > [rt.jar:1.6.0_18] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > [rt.jar:1.6.0_18] > at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_18] > > 10:45:26,862 INFO [org.jboss.as.server.deployment] (MSC service > thread 1-1) JBAS015877: Stopped deployment spectron.war in 84ms > 10:45:26,866 INFO [org.jboss.as.controller] > (DeploymentScanner-threads - 2) JBAS014774: Service status report > JBAS014777: Services which failed to start: service > jboss.osgi.deployment."spectron.war": > org.jboss.msc.service.StartException in service > jboss.osgi.deployment."spectron.war": JBAS011966: Failed to > install deployment: [:1.0.0,location=spectron.war] > 10:45:26,874 ERROR [org.jboss.as.server.deployment.scanner] > (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation > failed and was rolled back. Steps that failed:" => {"Operation > step-2" => {"JBAS014671: Failed services" => > {"jboss.osgi.deployment.\"spectron.war\"" => > "org.jboss.msc.service.StartException in service > jboss.osgi.deployment.\"spectron.war\": JBAS011966: Failed to > install deployment: [:1.0.0,location=spectron.war]"}}}} > >