-
1. Re: How to deploy other modules?
julien1 Jun 21, 2003 8:55 PM (in response to jkester)I don't know, "sh build.sh deploy" should work.
have you created db tables also ?
also take care that nukes is already deployed.
julien -
2. Re: How to deploy other modules?
jkester Jun 22, 2003 3:04 AM (in response to jkester)Julien
thanks. Indeed I added the setup.dll of the specific module :-). But that was still not the solution :-(.
I found out from the jboss logs that the module-ear is read and it found two subpackages to deploy. Then, it looked at the *ejb.jar, and then at the *sar file. The sar file then went on for deployment and the first message before the "not registered" failure was a class not found for bean. The class was there, but in the *lib.jar file that had not been loaded yet :-(.
So the whole problem seems to be in how jboss deploys, and the order of the *lib.jar, *ejb.jar and *sar file ...
I did the test to load these three files separately, in the lib-ejb-sar order. That worked!
How do other people deploy? Why am I the only one with this problem?
Regards, Jan -
3. Re: How to deploy other modules?
jkester Jun 22, 2003 8:17 AM (in response to jkester)Hello
I think I found the answer. I noticed that some modules do deploy correctly and others not. Comparing them, I saw that for instance quotes and script (which deploy correctly), have a reference in their *ear/META-INF/application.xml configuration file to the lib jar, where as journal, adminmessages, faq and sections have not. The latter group therefore starts loading ejb and sar without having the lib loaded yet, thus fails.
Could this be corrected in the source code?
Regards, Jan -
4. Re: How to deploy other modules?
julien1 Jun 22, 2003 9:29 AM (in response to jkester)you should be done soon.
thanks for help.
julien -
-
6. Re: How to deploy other modules?
jkester Jun 23, 2003 6:49 AM (in response to jkester)Julien
they all work now, except the adminmessages. Same change needs to be applied there still.
Further I discovered that the build.sh of the news module is still in "dos" format. It didn't run. After applying a dos2unix command it does.
Could that one be changed as well?
Regards, Jan -