Konstantin Pupkov [
http://community.jboss.org/people/goodidea] created the discussion
"OSGi web app deploy issue"
To view the discussion, visit:
http://community.jboss.org/message/625372#625372
--------------------------------------------------------------
NPE deploing simple web. app. Very simple app won't deploy.
MANIFEST.MF
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven Bundle Plugin
Built-By: c0pupko
Build-Jdk: 1.6.0_25
Webapp-Context: /gdf
Bundle-ClassPath: .,WEB-INF/classes
Tool: Bnd-1.43.0
Bundle-Name: Foo Web Application Bundle Version 1.0
Web-ContextPath: /gdf
DynamicImport-Package: javax.*,org.xml.sax,org.xml.sax.*,org.w3c.*
Bundle-Version: 1.0.0.SNAPSHOT
Bnd-LastModified: 1315426792118
Bundle-ManifestVersion: 2
Import-Package: javax.servlet,javax.servlet.http,org.ops4j.pax.web.ser
vice,org.osgi.service.http
Bundle-SymbolicName: gdf
13:22:09,838 INFO org.jboss.as.server.deployment org.jboss.as.server.deployment (MSC
service thread 1-4) Starting deployment of "gdf.war"
13:22:09,885 INFO org.jboss.as.jpa org.jboss.as.jpa (MSC service thread 1-3) added
javax.persistence.api dependency to gdf.war
13:22:09,885 ERROR org.jboss.msc.service.fail org.jboss.msc.service.fail (MSC service
thread 1-2) MSC00001: Failed to start service
jboss.deployment.unit."gdf.war".POST_MODULE
: org.jboss.msc.service.StartException in service
jboss.deployment.unit."gdf.war".POST_MODULE: Failed to process phase POST_MODULE
of deployment "gdf.
war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at
org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
http://community.jboss.org/message/625372#625372#625372/:1.6.0_25 OSGi web app deploy
issue
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
http://community.jboss.org/message/625372#625372#625372/:1.6.0_25 OSGi web app deploy
issue
at java.lang.Thread.run(Thread.java:662)
http://community.jboss.org/message/625372#625372#625372/:1.6.0_25 OSGi web app deploy
issue
Caused by: java.lang.NullPointerException
at
org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.deploy(BusinessViewAnnotationProcessor.java:72)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
13:22:09,900 INFO org.jboss.as.server.controller org.jboss.as.server.controller
(HttpManagementService-threads - 39) Deployment of "gdf.war" was rolled back
with failure message
{"Failed services" =>
{"jboss.deployment.unit.\"gdf.war\".POST_MODULE" =>
"org.jboss.msc.service.StartException in service jboss.deployment.unit.\"gdf
.war\".POST_MODULE: Failed to process phase POST_MODULE of deployment
\"gdf.war\""}}
13:22:09,916 INFO org.jboss.as.server.deployment org.jboss.as.server.deployment (MSC
service thread 1-6) Stopped deployment gdf.war in 10ms
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/625372#625372]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]