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 Tom Seelbach <to...@gmail.com> on 2008/02/07 15:53:37 UTC

Re: Axis2 deployment on Websphere 6.1

In the axis2.transport.jms.JMSListener i see this:
if (connectionFactories.isEmpty()) {
log.warn("No JMS connection factories are defined." +
"Will not listen for any JMS messages");
and this:
log.info("JMS Transport Receiver (Listener) initialized...");

Do you see either message in the log?

-Tom

On Jan 25, 2008 10:07 AM, callagc4 <ca...@fineos.com> wrote:

>
> Hi,
>
> I having an issue when deploying a JMS axis2 service in Websphere 6.1. We
> have a custom war file which contains all the axis2 jars. We have defined
> our service.aar file and also placed the appropriate services.list file
> with
> it. When starting up Websphere the application starts up fine. The log
> files
> show "[AxisServlet]: Initialization successfull" which leads me to believe
> that all is well during start up. However the service is only available
> over
> HTTP. The JMS Listener does not initialize. Axis2 is definitly finding my
> ConnectionFactory in jndi as when i change the name i get an exception.
> Can
> anyone tell me why axis is not initializing the JMSListener?
>
> Here is my definition of the JMSListerner in the axis2.xml:
>
> <transportReceiver name="jms"
> class="org.apache.axis2.transport.jms.JMSListener">
>        <parameter name="default">
>                    <parameter
> name="java.naming.factory.initial">
> com.ibm.websphere.naming.WsnInitialContextFactory</parameter>
>                <parameter
> name="java.naming.provider.url">corbaloc::localhost:2810</parameter>
>                <parameter
> name="transport.jms.ConnectionFactoryJNDIName
> ">jms/QueueConnectionFactory</parameter>
>        </parameter>
> </transportReceiver>
>
> Here is my service definition in services.xml:
>
> <serviceGroup>
>    <service name="GarageServices">
>        <messageReceivers>
>            <messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
> class="
> com.fineos.ta.test.garageservices.soap.GarageServicesMessageReceiverInOut
> "/>
>        </messageReceivers>
>        <parameter
> name="ServiceClass">
> com.fineos.ta.test.garageservices.soap.GarageServicesSkeleton</parameter>
>        <parameter name="transport.jms.Destination"
> locked="true">jms/C1_TestService1_GARAGE</parameter>
>        <parameter name="useOriginalwsdl">true</parameter>
>        <parameter name="modifyUserWSDLPortAddress">true</parameter>
>        <operation name="createGarageCompany"
> mep="http://www.w3.org/ns/wsdl/in-out">
>            <actionMapping>urn:createGarageCompany</actionMapping>
>
> <outputActionMapping>createGarageCompanyResponse</outputActionMapping>
>        </operation>
>    </service>
> </serviceGroup>
>
> Cheers,
> Cathal
> --
> View this message in context:
> http://www.nabble.com/Axis2-deployment-on-Websphere-6.1-tp15089580p15089580.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>