-
1. Re: Migrating to AS7
alesj Aug 31, 2011 6:57 AM (in response to beve)Are there some tips on how to migrate MC -jboss-beans.xml beans?
-
2. Re: Migrating to AS7
beve Aug 31, 2011 7:01 AM (in response to alesj)Are there some tips on how to migrate MC -jboss-beans.xml beans?
Not at the moment but that is a good use case. I'll add an example of that.
Thanks
-
3. Re: Migrating to AS7
alesj Aug 31, 2011 7:07 AM (in response to beve)Are there some tips on how to migrate MC -jboss-beans.xml beans?
Not at the moment but that is a good use case. I'll add an example of that.
It basically should be just a matter of changing the namespace,
and see if the xml feature/element is supported in the current schema.
I did port most of the default features, but not all.
-
4. Re: Migrating to AS7
sgilda Aug 31, 2011 11:50 AM (in response to beve)Hi Daniel,
There are a couple of documents that contain Migration information:
- https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7
This documents those changes that are needed to successfully run and deploy AS 5 applications on AS 7.
- https://docs.jboss.org/author/display/AS7/Example+Applications
This details migration of several example applications to AS7.
I will try to update the first document with your findings.
Would you like to add your application to the list of migrated example applications?
Thanks,
Sande
-
5. Re: Migrating to AS7
beve Aug 31, 2011 1:53 PM (in response to sgilda)Would you like to add your application to the list of migrated example applications?
Yeah, that would be great. Should I add it to the section "Example Applications Based on EE6"?
Regards,
/Daniel
-
6. Re: Migrating to AS7
sgilda Aug 31, 2011 2:16 PM (in response to beve)H Daniel,
The section "Example Applications Based on EE6" is intended for applications that have been designed and written specifically for EE6. Since your application was migrated from a previous version to AS7 and you documented the steps you took to get it there, I thought it would be a good fit under "Example Applications Migrated from Previous Releases". Or am i misunderstanding what you did with this application?
Thanks,
Sande
-
7. Re: Migrating to AS7
beve Aug 31, 2011 2:23 PM (in response to sgilda)Hi Sande,
I thought it would be a good fit under "Example Applications Migrated from Previous Releases". Or am i misunderstanding what you did with this application?
Sorry, I actually meant to write "Example Applications Migrated from Previous Releases" but copied the wrong section header. It's been a long day:)
Regards,
/Daniel
-
8. Re: Migrating to AS7
sgilda Aug 31, 2011 2:55 PM (in response to beve)Hi Daniel,
Understood! I know the feeling. :-)
It wasn't that obvious anyway, so wrote a little overview under each heading just to make it more clear.
Thanks for adding your application to the doc!
Sande
-
9. Re: Migrating to AS7
beve Sep 1, 2011 9:19 AM (in response to alesj)Hi Ales,
thanks for the pointer to the pojo subsystem! I've added a very basic example:
https://github.com/danbev/migrate/tree/master/mcbeans
I was looking at this test file in the pojo project and wondering if that file is using the correct namespace. The test file is using 'urn:jboss:pojo:7.0' while the KernelDeploymentParsingProcessor is using 'urn:jboss:mc:7.0'. I'm guessing that the latter is the one that should be used and it does with the mcbeans example but wanted to double check this with you.
Thanks,
/Daniel
-
10. Re: Migrating to AS7
alesj Sep 1, 2011 9:30 AM (in response to beve)I was looking at this test file in the pojo project and wondering if that file is using the correct namespace.
This test is not used atm. See testsuite/integration for pojo tests.
while the KernelDeploymentParsingProcessor is using 'urn:jboss:mc:7.0'.
This one is actually wrong.
It used to be "mc", but we decided to rather go with "pojo".
Let me fix this (dunno how the tests didn't pick this up ...).
-
11. Re: Migrating to AS7
anonym127 Sep 2, 2011 11:41 AM (in response to beve)Could you write something about this error:
17:23:35,734 ERROR [stderr] (MSC service thread 1-4) log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
17:23:35,734 ERROR [stderr] (MSC service thread 1-4) log4j:WARN Please initialize the log4j system properly.
I don't know how to make the configuration for log4j
i.e. I had a <server>/conf/jboss-log4j.xml I want to migrate.
Thanks!
-
12. Re: Migrating to AS7
beve Sep 5, 2011 4:15 AM (in response to anonym127)Could you write something about this error.
Sure, I'll add an example of packaging a log4j.xml file with a deployment.
Thanks for the suggestion.
Regards,
/Daniel
-
13. Re: Migrating to AS7
beve Sep 6, 2011 4:53 AM (in response to beve)Could you write something about this error:
I've added an example of using a customized logging for log4j. You can find the details here, see the section "Custom logging".
I'm going to do some more work on this but it would be great to get feedback about the current solution and if this is the recommended way.
Regards,
/Daniel
-
14. Re: Migrating to AS7
anonym127 Sep 7, 2011 7:35 AM (in response to beve)Hi,
I got it. I just had to put the log4j.xml into a jar-file in ear/lib.