On Sun, Mar 9, 2008 at 2:09 PM, Upul Godage <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to