Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JBoss/WildFly
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JBoss/WildFly
JBoss Failed to process phase STRUCTURE of deployment
Hannes Weninger
Greenhorn
Posts: 1
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I already migrate my application to JBoss7 and I get the following Exception at the bottom.
My Manifest looks like this:
Manifest-Version: 1.0 Class-Path: Dependencies: org.apache.log4j, org.apache.http.client, org.apache.http.auth, ...
Does anyone know what the problem is.
Thanks a lot!!
Generic1
07:24:10,434 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."MyJAR.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyJAR.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "MyJAR.ear" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to get manifest for deployment "/opt/apps/jboss-as-web-7.0.2.Final/standalone/deployments/MyJAR.ear/MyWAR.war" at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.deploy(ManifestAttachmentProcessor.java:73) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final] at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final] ... 5 more Caused by: java.io.IOException: invalid header field at java.util.jar.Attributes.read(Attributes.java:393) [:1.6.0_26] at java.util.jar.Manifest.read(Manifest.java:182) [:1.6.0_26] at java.util.jar.Manifest.<init>(Manifest.java:52) [:1.6.0_26] at org.jboss.vfs.VFSUtils.readManifest(VFSUtils.java:215) at org.jboss.vfs.VFSUtils.getManifest(VFSUtils.java:198) at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.deploy(ManifestAttachmentProcessor.java:69) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final] ... 6 more 07:24:10,436 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 1) Deployment of "MyJAR.ear" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"MyJAR.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MyJAR.ear\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"MyJAR.ear\""}} 07:24:10,448 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment MyJAR.ear in 12ms 07:24:10,449 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 2) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"MyJAR.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"MyJAR.ear\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"MyJAR.ear\""}}}}
Jaikiran Pai
Sheriff
Posts: 10445
227
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can you try removing the ClassPath: attribute from that MANIFEST.MF?
[
My Blog
] [
JavaRanch Journal
]
kr reddy
Greenhorn
Posts: 4
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Any updates on this issue? I am facing the same problem. I removed the classpath: from Manifest.mf as suggested below and tried. I still get the same issue. Kindly help.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Why I have failed the deployment?
want to ran wicket in Jboss
Dependencies : Jboss 7
JBoss 7 Final - ERROR [org.jboss.msc.service.fail] - Empty name segment is not allowed
Failed to start service jboss.deployment.unit
More...