-
1. Re: Migrating from AS4 to AS7 - Property File Issue
sfcoy Jun 20, 2012 12:27 AM (in response to ndoshi)Have you looked at How to put an external file in the classpath?
-
2. Re: Migrating from AS4 to AS7 - Property File Issue
ndoshi Jun 20, 2012 1:39 PM (in response to sfcoy)Thanks Steve.
I should have mentioned that I did that already and that does work, but JBoss give me a warning about that when I deploy the application with that dependency defined in my manifest file:
13:33:00,382 WARN [org.jboss.as.dependency.private] (MSC service thread 1-2) JBAS018567: Deployment "deployment.customerportal.war" is using a private module ("com.mycompany.config:main") which may be changed or removed in future versions without notice.
I wasn't sure if this was the right way to do it and I should just ignore the warning, or if there is another recommended way.
-
3. Re: Migrating from AS4 to AS7 - Property File Issue
ndoshi Jun 28, 2012 10:29 AM (in response to ndoshi)I haven't heard back in a while so I guess that warning is to be expected..?
Can someone please confirm?
Thanks!
-
4. Re: Migrating from AS4 to AS7 - Property File Issue
dinesh_hyd Sep 21, 2012 10:56 AM (in response to ndoshi)Hi Neil,
I am also in the process of migrating existing application from JBoss 4.0.4 to Jboss 7.1.2 and JDK(1.6)
Can you please let me know the steps or issues which you encountered during the upgrade as it will help me in my upgrade ?
Thanks.
-
5. Re: Migrating from AS4 to AS7 - Property File Issue
ndoshi Sep 21, 2012 11:03 AM (in response to dinesh_hyd)You can see my other thread here:
https://community.jboss.org/thread/201857
Besides that, I have needed to add other dependencies in my manifest file because all the libraries are not loaded up in jboss7 by default.
So I need to specify cxf for the projects that use that project for exposing restful services.
You will likely see those kinds of errors by ClassNotFoundExceptions.
There is a guide here that seems useful, but I did not follow the steps closely myself:
https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7