Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBOSS Could not start deployment

 
Charles Latka
Greenhorn
Posts: 19
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I found lots of topics about my problem but none of them contained solution useful for me...
The issue is that I have my web application divided into 3 separate projects: client, model, server. (GWT + hibernate + RESTEasy). Everything works fine together. But, now I need my application to support different versions of data model (which also means different versions of GUI and RESTCalls). So i copied my projects and changed they names into client2, model2, server2. Compiled it and deployed into JBOSS...
And here starts the problem. server2 does not work.



I changed name in all configs files, i changed every occurance of 'server' into 'server2' in whole eclipse workspace. And it does not work.

Here is more from stacktrace:


Any ideas?
 
Charles Latka
Greenhorn
Posts: 19
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is full stacktrace:
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
07:45:22,750 ERROR [ContextConfig] Parse error in application web.xml file at jndi:/localhost/server2/WEB-INF/web.xml
java.lang.IllegalArgumentException: Can't convert argument: null


As per that error message, you'll have to fix the contents of the web.xml
 
Charles Latka
Greenhorn
Posts: 19
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, there were no changes in web.xml:

 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quick search for that error message turned up this http://stackoverflow.com/questions/2293797/tomcat-startup-web-xml-issue
 
Charles Latka
Greenhorn
Posts: 19
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I don't know why, but it works
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic