This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes migrate from jboss 4.0.3 to jboss AS 5.0.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "migrate from jboss 4.0.3 to jboss AS 5.0.1" Watch "migrate from jboss 4.0.3 to jboss AS 5.0.1" New topic
Author

migrate from jboss 4.0.3 to jboss AS 5.0.1

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 245
In jboss 4.0.3, there are many .jar in
%JBOSS4_HOME%\server\default\lib,

1)how to handle these .jar if migrate to JBOSS 5 AS?

I try to copy all *.jar from %JBOSS4_HOME%\server\default\lib to
%JBOSS5_HOME%\server\default\lib

but found many exception, after searching the web, I found if there is same .jar in %JBOSS5_HOME%\common\lib, that should delete the same .jar from %JBOSS5_HOME%\server\default\lib, but
even after this procedure, I still found many many problem.

2)In %JBOSS4_HOME%\server\default\lib, I found many JBOSS*.jar, is it no need to copy to %JBOSS5_HOME%\server\default\lib?
3) also, in %JBOSS5_HOME%\common\lib, there is servlet-api.jar, in my %JBOSS4_HOME%\server\default\lib, there is javax.servlet.jar, is it no need to copy this javax.servlet.jar to %JBOSS5_HOME%\server\default\lib I try copy and then see some error like

?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5852
    
    7

You should not copy any JAR files from 4.0.3 to 5.0.1. At least, not any of the JAR files that originally came with 4.0.3. Additional JARs, such as for your JDBC driver, you should copy to common/lib.


JBoss In Action
peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 245
is there any document or guideline to migrate from jboss4.0.3 to jboss5.0.1?
Ifteqar Ahmed
Ranch Hand

Joined: May 02, 2011
Posts: 85

Hi Please Check this article. I expect this to be useful for you. Migrating from Jboss 4 to Jboss 5
 
 
subject: migrate from jboss 4.0.3 to jboss AS 5.0.1
 
jQuery in Action, 3rd edition