ok. i saw my mistake. i did it with correct path Deploying module: soapmonitor-1.2 - Deploying Web service: QueueService.aar - Cannot get or lookup JMS destination : QueueService from url : jms:/MyService?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616 : MyService - Did not receive a JMS response within 30000 ms to destination : queue://MyService
It seems now that my service does not work properly. Thanks --- Upul Godage <[EMAIL PROTECTED]> schrieb: > Hi, > > It says it cannot find the module 'addressing'. That > module is read from the > the modules directory in the given repository. Try > giving the repository > location like this (which should have a 'modules' > directory with the > addressing module) > > ConfigurationContext myConfigContext = > ConfigurationContextFactory > .createConfigurationContextFromFileSystem("/WebContent/WEB-INF", > " /WebContent/WEB-INF/conf/axis2.xml"); > > Upul > > > On Jan 27, 2008 9:46 PM, henry human > <[EMAIL PROTECTED]> wrote: > > > thanks > > I have created a CofigureContext: > > > > ConfigurationContext myConfigContext = > > ConfigurationContextFactory > > .createConfigurationContextFromFileSystem(null, > > " /WebContent/WEB-INF/conf/axis2.xml"); > > > > QServiceClientStub qcs = new > client.QServiceClientStub > > (myConfigContext); > > > > and i get this error: > > > > Exception in thread "main" > org.apache.axis2.AxisFault: > > The system is attempting to engage a module that > is > > not available: addressing > > at > > > org.apache.axis2.engine.AxisConfiguration.engageModule( > > AxisConfiguration.java:440) > > at > > > org.apache.axis2.engine.AxisConfiguration.engageGlobalModules( > > AxisConfiguration.java:567) > > at > > > org.apache.axis2.deployment.DeploymentEngine.engageModules( > > DeploymentEngine.java:589) > > ...................... > > > > --- Upul Godage <[EMAIL PROTECTED]> schrieb: > > > > > Hi, > > > > > > Check whether JMS sender is uncommented in the > > > axis2.xml. > > > <transportSender name="jms" > > > -class="org.apache.axis2.transport.jms.JMSSender > > > "/> > > > Otherwise JMS sender is not available. I think > it is > > > commented by default in > > > Axis2 1.3. > > > > > > For the server side, the used axis2.xml is in > conf > > > or for war WEB-INF/conf > > > > > > For client side the axis2.xml, one taken by the > > > ServiceClient is in the > > > axis2-kernal jar's root which should have the > JMS > > > sender commented in Axis2 > > > 1.3. > > > > > > For client side, in that case, you can create a > > > configuration context by the > > > given axis2.xml and repository location. > > > ConfigurationContext myConfigContext = > > > > > > ConfigurationContextFactory.createConfigurationContextFromFileSystem > > ("location > > > of the repository" , "location of axis2.xm"); > > > (http://wso2.org/library/585) > > > > > > And use that for creating the serviceclient. > > > ServiceClient serviceClient = new ServiceClient > > > (configContext, null); > > > ( > > > > > > > > http://today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html > > > ) > > > > > > Hope this helps > > > > > > Upul > > > > > > > > > On Jan 27, 2008 7:44 PM, henry human > > > <[EMAIL PROTECTED]> wrote: > > > > > > > Hi > > > > In the past two days I am trying to implement > a > > > simple > > > > > > > > Echo service binding jms. > > > > As long as I run my client I get error : > > > > org.apache.axis2.AxisFault: > > > > Transport out has not been set > > > > at > > > > > > > > > > org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:383) > > > > at > > > > > > > > > > org.apache.axis2.description.OutInAxisOperationClient.send( > > > > OutInAxisOperation.java:374) > > > > .. > > > > the soap address which I bind to is: > > > > > > > > > > > > > > > > "jms:/myqueue?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial= > > > > > > > > > > > > org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://localhost:61616 > > > > "); > > > > > > > > It seems that axis above in url does not > recognize > > > the > > > > jms to bind a protocol. I did a test, changing > the > > > url > > > > to something like http://localhost.." and I > see > > > that > > > > axis could get the Http TransportSender very > well > > > and > > > > client application builds a connection to the > > > service! > > > > > > > > I read several comments in web where the > similar > > > error > > > > has been reported and has been solved adding > > > missing > > > > jars. In my case I have all jars in the > classpath! > > > > It seems that the TransportSender could not be > > > > initiated. > > > > I will be appreciated for your help > > > > > > > > > > > > > > > > Machen Sie Yahoo! zu Ihrer Startseite. > Los > > > geht's: > > > > http://de.yahoo.com/set > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > Jetzt Mails schnell in einem Vorschaufenster > überfliegen. Dies und > > viel mehr bietet das neue Yahoo! Mail - > www.yahoo.de/mail > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > === message truncated === Heute schon einen Blick in die Zukunft von E-Mails wagen? www.yahoo.de/mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]