axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suprie Leonhart" <suprie.leonhe...@gmail.com>
Subject Re: problem with JMS connectivity
Date Sun, 09 Mar 2008 10:50:30 GMT
Yippie!!!

So it need another axis2.xml for client side. Okay i've understand now....

Thanks a lot Upul, it working now. Thank you for your help.

On Sun, Mar 9, 2008 at 4:56 PM, Upul Godage <upulg.dev@gmail.com> wrote:
> Your axis2server uses the conf/axis2.xml and its jms listener is working
> because you have uncommented the jms listener part. So the server side is
> okay.
>
> But in the client side when you say,
>
>  /axis2-1.3/samples/axis2Client$ ant dumbstockquote
> and when the client executes
> new ServiceClient();
> it uses another axis2.xml just like in the server side.
> But here it uses that default axis2.xml inside the kernal jar file which it
> finds from the classpath.
>
> Upul
>
>
>
> On Sun, Mar 9, 2008 at 2:16 PM, Suprie Leonhart <suprie.leonheart@gmail.com>
> wrote:
> >
> >
> >
> >
> > On Sun, Mar 9, 2008 at 2:09 PM, Upul Godage <upulg.dev@gmail.com> wrote:
> > > Hi,
> > >
> > > The error says it cannot find the transport sender for jms which is the
> > > JMSSender. When you use ServiceClient() to create the client side, it
> looks
> > > for the axis2.xml in the classpath which it finds in the
> lib/axis2-kernal
> > > jar's root. I think the JMS sender is commented in it. The
> conf/axis2.xml is
> > > not taken.
> > >
> > > You can create a configuration context by the giving your custom
> axis2.xml
> > > and repository location.
> > > ConfigurationContext myConfigContext =
> > >
> ConfigurationContextFactory.createConfigurationContextFromFileSystem("location
> > > of the repository" , "location of axis2.xm");
> > >
> > > And use that to create the ServiceClient.
> > > ServiceClient serviceClient = new ServiceClient (configContext, null);
> > >
> > > Otherwise for testing I think you can manipulate the classpath so that
> your
> > > axis2.xml is found before the default one or modify the default one.
> >
> > but it said that it uses the one that in conf, this is the complete
> > message i got when i ran axis2Server.sh
> >
> >  Using AXIS2_HOME:   /home/suprie/192.168.1.4/buatgw/axis2-1.3
> >  Using JAVA_HOME:       /usr/lib/jvm/java-6-sun-1.6.0.03/
> > [INFO] [SimpleAxisServer] Starting
> > [INFO] [SimpleAxisServer] Using the Axis2
> > Repository/home/suprie/192.168.1.4/buatgw/axis2-1.3/repository
> > [SimpleAxisServer] Using the Axis2
> > Repository/home/suprie/192.168.1.4/buatgw/axis2-1.3/repository
> > [SimpleAxisServer] Using the Axis2 Configuration
> > File/home/suprie/192.168.1.4/buatgw/axis2-1.3/conf/axis2.xml
> > [INFO] Deploying module: ping-1.3
> > [INFO] Deploying module: script-1.3
> > [INFO] Deploying module: metadataExchange-1.3
> > [INFO] Deploying module: soapmonitor-1.3
> > [INFO] Deploying module: addressing-1.3
> > [INFO] script module activated
> > [INFO] Deploying Web service: SimpleStockQuoteService.aar
> > [INFO] Deploying Web service: version.aar
> > [INFO] Listening on port 8080
> > [WARN] Error looking up destination with JNDI name :
> > SimpleStockQuoteService to map its corresponding provider specific
> > Destination name
> > [WARN] JMS Destination with JNDI name : SimpleStockQuoteService does not
> exist
> > [WARN] JMS Destination with JNDI name : SimpleStockQuoteService created
> > [INFO] Mapping JNDI name : SimpleStockQuoteService and JMS Destination
> > name : SimpleStockQuoteService against service :
> > SimpleStockQuoteService
> > [WARN] Error looking up destination with JNDI name : Version to map
> > its corresponding provider specific Destination name
> > [WARN] JMS Destination with JNDI name : Version does not exist
> > [WARN] JMS Destination with JNDI name : Version created
> > [INFO] Mapping JNDI name : Version and JMS Destination name : Version
> > against service : Version
> >
> > [INFO] JMS Transport Receiver (Listener) initialized...
> > [WARN] Cannot find destination : SimpleStockQuoteService Creating a
> > Queue with this name
> > [WARN] Cannot find destination : Version Creating a Queue with this name
> > [INFO] Connection factory : default initialized...
> > [INFO] Connection factory : myTopicConnectionFactory initialized...
> > [INFO] Connection factory : myQueueConnectionFactory initialized...
> > [INFO] [SimpleAxisServer] Started
> > [SimpleAxisServer] Started
> >
> > do you have any idea ? or something wrong ?
> >
> >
> >
> >
> >
> >
> >
> > TIA
> >
> > --
> > Best Regards
> > Suprie
> > ID  : http://suprie1983.wordpress.com
> > EN : http://suprie.in.ruangkopi.com
> >
> > "Great deed of great man is to forgive and forget"
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>



-- 
--
Best Regards
Suprie
ID  : http://suprie1983.wordpress.com
EN : http://suprie.in.ruangkopi.com

"Great deed of great man is to forgive and forget"

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message