Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while deploying war file in Jboss 6

 
Prasad Krishnegowda
Ranch Hand
Posts: 665
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post more details including the entire exception stacktrace.
 
Prasad Krishnegowda
Ranch Hand
Posts: 665
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your application package any tld files? Are you sure they are valid?
 
Prasad Krishnegowda
Ranch Hand
Posts: 665
4
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic