geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: EJB deployment error
Date Mon, 22 Jan 2007 23:24:14 GMT

On Jan 22, 2007, at 3:21 PM, David Blevins wrote:

>
> On Jan 22, 2007, at 8:56 AM, Prasad Kashyap wrote:
>
>> Jarek,
>>
>> I had the same error.
>>
>> Try something like the following in your openejb-jar.xml
>>
>> <openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
>> <ejb-deployment ejb-name="Calculator"
>>                  deployment-id="samples/calculator/stateless/ 
>> CalculatorLocal"
>>                  container-id="Default Stateless Container"/>
>> </openejb-jar>
>>
>
> Aha, ok, well I think I may know what the problem is there.  Let me  
> see if I can't fix it.

And thank you *very much* for digging into this and finding the  
missing part.  It is a big help.

-David

>
> -David
>
>> Cheers
>> Prasad
>>
>>
>> On 1/19/07, Prasad Kashyap <goyathlay.geronimo@gmail.com> wrote:
>>> http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/ 
>>> webservices-testsuite/jaxb-tests/jaxb-ejb/
>>>
>>> Cheers
>>> Prasad
>>>
>>> On 1/19/07, Jarek Gawor <jgawor@gmail.com> wrote:
>>> > David,
>>> >
>>> > It's a test case in Geronimo source code. See
>>> > testsuite/webservices-testsuite/jaxb-tests/jaxb-ejb directory.
>>> >
>>> > Jarek
>>> >
>>> > On 1/19/07, David Blevins <david.blevins@visi.com> wrote:
>>> > > Jarek, if you can send me the app I can take a look.
>>> > >
>>> > > -David
>>> > >
>>> > > On Jan 19, 2007, at 9:48 AM, Jarek Gawor wrote:
>>> > >
>>> > > > Dain,
>>> > > >
>>> > > > This is just a simple EJB that tires to use JAXB or StAX  
>>> API. It is
>>> > > > not exposed (or deployed) as a web service.
>>> > > >
>>> > > > Jarek
>>> > > >
>>> > > > On 1/19/07, Dain Sundstrom <dain@iq80.com> wrote:
>>> > > >> Please take a look at the "M2 Status - branch on  
>>> Wednesday" thread.
>>> > > >> It contains a list of what works and what doesn't.  The  
>>> webservices
>>> > > >> integration doesn't work yet.
>>> > > >>
>>> > > >> -dain
>>> > > >>
>>> > > >> On Jan 19, 2007, at 9:34 AM, Jarek Gawor wrote:
>>> > > >>
>>> > > >> > I get the following error after the openejb update:
>>> > > >> >
>>> > > >> > Deployer operation failed:  
>>> org.apache.openejb.OpenEJBException:
>>> > > >> > Cannot Load jar
>>> > > >> > C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\geronimo- 
>>> deployer34093.tmpdir
>>> > > >> > \jaxb-ejb-2.0-SN
>>> > > >> > APSHOT.jar.  The number of beans deployed (0) does not
 
>>> match the
>>> > > >> > number of beans
>>> > > >> > actually in the jar (1).  Please redeploy this jar.
>>> > > >> >
>>> > > >> > I see this error after updating the openejb-jar.xml
>>> > > >> > (http://www.openejb.org/openejb-jar/1.1) and ejb-jar.xml
>>> > > >> > (http://java.sun.com/xml/ns/javaee) descriptors with
right
>>> > > >> namespaces.
>>> > > >> >
>>> > > >> > I'm running the testsuite/webservices-testsuite/jaxb-

>>> tests/jaxb-ejb
>>> > > >> > tests.
>>> > > >> >
>>> > > >> > The ejbs are very simple and do not use any annotations.
>>> > > >> >
>>> > > >> > Jarek
>>> > > >>
>>> > > >>
>>> > > >
>>> > >
>>> > >
>>> >
>>>
>>
>


Mime
View raw message