-
1. Re: war, ear or sar?
yxyang Jul 19, 2005 12:53 AM (in response to yxyang)Useful link:
https://www.dev.java.net/files/documents/1654/8898/tip1.html[/url] -
2. Re: war, ear or sar?
julien1 Jul 19, 2005 5:40 AM (in response to yxyang)ear containing war and ejb jar will do it
-
3. Re: war, ear or sar?
yxyang Jul 19, 2005 8:51 AM (in response to yxyang)I did a test and the result shows that ear containing war and jar doesn't work.
I suspected that it is due to the context root confliction, because there is a jboss-app.xml and context.xml in the jbossportal core already.
What i did was to deploy jar file directly. Portlets in war use jndi lookup by using local-ejb-ref tag in the jboss-web.xml. It works. But there is a strange problem related to the classloader:
If the war file includes the interface classes of the ejbs in its lib directory, there will be a classloader exception. But if i remove the ejbs interfaces from its lib directory, it works.
In my understanding, i expected that the ejb interfaces should be included in the lib directory. Is this true?
Regards
Yang