You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Namor Taror <na...@hotmail.com> on 2001/12/18 10:44:32 UTC
ejb services
I am trying to deploy an ejb service. In the exception (below) I am getting,
jndi fails to find SchedulerManager which is the service's name. I would
think that jndi would look at the beanJndiName parameter to locate the ejb
implementation of the service. Axis's documentation doesn't describe ejb
service's deployment and there is nowhere to turn to. I wish that the axis'
developers looked at this mailing list from time to time. It might be the
greatest thing since the sliced bread but without the documentation it's
useless. I wasted almost a week trying to figure it out.
Here is my wsdd;
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="SchedulerManager" provider="java:EJB">
<parameter name="beanJndiName" value="java:comp/env/SchedulerManager"/>
<parameter name="className"
value="com.taror.schedule.ejb.session.scheduler.SchedulerManager"/>
<parameter name="allowedMethods" value="saveMessage isAlive
addSecondaryJob"/>
</service>
</deployment>
and the exception;
javax.naming.NameNotFoundException: SchedulerManager not found in
Apache-Axis
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134)
at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:671)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
Re: ejb services
Posted by Andy Longshaw <an...@blueskyline.com>.
I'll be trying to wrap an EJB using alpha 3 sometime this
week so I'll let you know if I get any further.
The developers have been pretty good at getting back to
people with queries but they can't necessarily monitor the
list every day (and some will have day jobs ;-)
In the meantime, have you tried looking at the source?
I found the appropriate bits in the alpha 2 source for
EJB deployment quite easily, so at least I could see
what it was looking for in the deployment descriptor
and work things out from there.
Cheers
Andy
----- Original Message -----
From: "Namor Taror" <na...@hotmail.com>
To: <ax...@xml.apache.org>
Sent: Tuesday, December 18, 2001 9:44 AM
Subject: ejb services
>
> I am trying to deploy an ejb service. In the exception (below) I am getting,
> jndi fails to find SchedulerManager which is the service's name. I would
> think that jndi would look at the beanJndiName parameter to locate the ejb
> implementation of the service. Axis's documentation doesn't describe ejb
> service's deployment and there is nowhere to turn to. I wish that the axis'
> developers looked at this mailing list from time to time. It might be the
> greatest thing since the sliced bread but without the documentation it's
> useless. I wasted almost a week trying to figure it out.
>
> Here is my wsdd;
>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/"
> xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> <service name="SchedulerManager" provider="java:EJB">
> <parameter name="beanJndiName" value="java:comp/env/SchedulerManager"/>
> <parameter name="className"
> value="com.taror.schedule.ejb.session.scheduler.SchedulerManager"/>
> <parameter name="allowedMethods" value="saveMessage isAlive
> addSecondaryJob"/>
> </service>
> </deployment>
>
> and the exception;
>
> javax.naming.NameNotFoundException: SchedulerManager not found in
> Apache-Axis
>
> at
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134)
>
> at
>
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:671
)
>
> at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
>
>
>
>
>
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>