Meaningless Drivel is fun!*
The moose likes JBoss/WildFly and the fly likes after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run" Watch "after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run" New topic
Author

after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
as caption, there are many error in server.log, I copy some fragment of it and hope it is useful
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

You shouldn't be copying the server files from one version to another. If you have something application specific in those files, then just copy that part to the file in the newer version of the server. It's still not guaranteed that it will work, in which case you'll have to figure out how to port it.

[My Blog] [JavaRanch Journal]
peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
I use your suggested method, try to merge instead of copy and paste, but the error is due the same, could the following error message show som hint?


the server.xml is as follow
peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
in web.xml, I change
org.jboss.web.tomcat.tc5.StandardService
to
org.jboss.web.tomcat.service.session.JBossCacheManager

now the exception becomes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run