geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Kario <>
Subject Re: EJB jar deployment problem
Date Sun, 24 Jul 2005 18:49:51 GMT

I haven't tried exporting EAR file from WTP. Instead I was using the WTP 
Generic Geronimo Server and deployed just the ejb.jar. For some reason 
the WTP Geronimo Server does not support EAR deployment. I'll try using 
the EAR export function instead. Thanks for the help.

* Janne Kario

Sachin Patel wrote:
> I think this may be an error in your configuration, and if not, then a 
> bug in WTP.  When exporting the ear in wtp, the client.jar and the 
> ejbjar should be packaged directly underneath the ear.  I just tried 
> this (I'm not sure which wtp build I have, within the past week though) 
> and my export was correct.
> Janne Kario wrote:
>> I developed a simple test EJB with Eclipse Webtools RC1. WTP has the 
>> option of creating separate EJB jar and EJB client jar projects so 
>> that in the end the deployment looks like this (ejbClient.jar is 
>> packaged inside the ejb.jar).
>> ejb.jar:
>>   META-INF/ejb-jar.xml
>>   test/TestEJB.class
>>   ejbClient.jar
>> ejbClient.jar:
>>   test/TestHome.class
>>   test/Test.class
>> MANIFEST.MF entry has a reference to the ejbClient.jar and ejb-jar.xml 
>> has the ejb-client-jar -element.
>> However, when I try to deploy this standalone ejb.jar into Geronimo it 
>> fails with an error message saying that it cannot find test.TestHome.
>> Is this kind of packaging supported by Geronimo/J2EE 1.4 or should I 
>> redirect this to WTP dev and point out that they have it wrong.
>> * Janne Kario

View raw message