| Author |
Error while deploying war file in Jboss 6
|
Prasad Krishnegowda
Ranch Hand
Joined: Apr 25, 2010
Posts: 503
|
|
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: 8147
|
|
Please post more details including the entire exception stacktrace.
|
[My Blog] [JavaRanch Journal]
|
 |
Prasad Krishnegowda
Ranch Hand
Joined: Apr 25, 2010
Posts: 503
|
|
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: 8147
|
|
Does your application package any tld files? Are you sure they are valid?
|
 |
Prasad Krishnegowda
Ranch Hand
Joined: Apr 25, 2010
Posts: 503
|
|
|
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.
|
 |
 |
|
|
subject: Error while deploying war file in Jboss 6
|
|
|