File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Error while deploying war file in Jboss 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error while deploying war file in Jboss 6" Watch "Error while deploying war file in Jboss 6" New topic
Author

Error while deploying war file in Jboss 6

Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 507

Hi,
We currently upgraded our JBOSS to jboss-6.0.0.Final version. But, when I try to deploy my war file, which was running on JBOSS 5.1.0, I get the following exception..
What might be the reason for this, and can anyone please help me resolve this issue..


Regards, Prasad
SCJP 5 (93%)
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9956
    
163

Please post more details including the entire exception stacktrace.

[My Blog] [JavaRanch Journal]
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 507

Thanks for the reply, JaiKiran, Here is the exception which i get when the server tries to deploy my application.. Please let me know, if i want to paste more logs..

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9956
    
163

Does your application package any tld files? Are you sure they are valid?
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 507

Yes, my application has spring.tld file, its valid.. the same war file deploys on 5.1.0 version, but in 6.0.0 version, i get this exception..
Marcos Peruzzo
Greenhorn

Joined: Apr 12, 2011
Posts: 1
Prasad Krishnegowda wrote:Yes, my application has spring.tld file, its valid.. the same war file deploys on 5.1.0 version, but in 6.0.0 version, i get this exception..


Change <bodycontent>EMPTY</bodycontent> to <bodycontent>empty</bodycontent>
daniel carpio
Greenhorn

Joined: Jun 15, 2011
Posts: 1
Marcos Peruzzo wrote:
Prasad Krishnegowda wrote:Yes, my application has spring.tld file, its valid.. the same war file deploys on 5.1.0 version, but in 6.0.0 version, i get this exception..


Change <bodycontent>EMPTY</bodycontent> to <bodycontent>empty</bodycontent>


Thanks Marcos . Changing the value 'EMPTY' for 'empty' at every TLD file in the project my problem was solved.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while deploying war file in Jboss 6
 
Similar Threads
JDeveloper 10 g deployment to JBoss 4
JSF issue with JBoss
Deploy war file after getting latest code from vss
implementing secured jboss deployment
Trying to deploy a war file with datasources to JBoss