axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiranya Jayathilaka <hiranya...@gmail.com>
Subject Re: How to enable JMS in Axis2-1.6.1?
Date Sun, 15 Apr 2012 05:43:50 GMT
Shouldn't Axis2 ship with at least the base transport?

Thanks,
Hiranya

On Sun, Apr 15, 2012 at 8:39 AM, Sagara Gunathunga <
sagara.gunathunga@gmail.com> wrote:

> You need to add axis2-transport-base-1.0.0 too.
>
> Thanks !
>
>
> On Sunday, April 15, 2012, Charitha Kankanamge wrote:
>
>> Hi Sagara,
>>
>> I get the following error and server startup failed when using
>> axis2-transport-jms-1.0.0 version (axis2-transport-jms-1.0.0.jar).
>> What additional jars should I copy?
>>
>> [FATAL] [SimpleAxisServer] Shutting down. Error starting SimpleAxisServer
>> org.apache.axis2.deployment.DeploymentException:
>> org/apache/axis2/transport/base/ManagementSupport
>>     at
>> org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:700)
>>     at
>> org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:122)
>>     at
>> org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857)
>>     at
>> org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116)
>>     at
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
>>     at
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210)
>>     at
>> org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:47)
>>     at
>> org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:98)
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/axis2/transport/base/ManagementSupport
>>     at java.lang.ClassLoader.defineClass1(Native Method)
>>     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
>>     at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
>>     at
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>>     at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>     at java.lang.Class.forName0(Native Method)
>>     at java.lang.Class.forName(Class.java:169)
>>     at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
>>     at
>> org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:683)
>>     ... 7 more
>> Caused by: java.lang.ClassNotFoundException:
>> org.apache.axis2.transport.base.ManagementSupport
>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>     ... 23 more
>>
>>
>>
>>
>> On Sat, Apr 14, 2012 at 11:14 PM, Sagara Gunathunga <
>> sagara.gunathunga@gmail.com> wrote:
>>
>>> Hi Charitha,
>>>
>>> JMS transport is belong to a separate sub project called Axis Transport
>>> at the moment it's version numbers are not sync with Axis2 core version
>>> numbers. We tried to sync version numbers during the 1.6.0 release cycle
>>> but couldn't  make it happen, will try again with 1.7.0 cycle.
>>>
>>> For the moment you should able to use axis2-transport-jms-1.0.0 version.
>>> Please let us know your results.
>>>
>>> Thanks !
>>>
>>>
>>> On Saturday, April 14, 2012, Charitha Kankanamge wrote:
>>>
>>>> Hi Folks,
>>>>
>>>> In Axis2-1.4.1, I can simply uncomment JMS transport sender and
>>>> receiver in Axis2.xml, copy the necessary ActiveMQ libraries to
>>>> AXIS2_HOME/lib and start the server.
>>>>
>>>> Now, in Axis2-1.6.1, I get java.lang.ClassNotFoundException:
>>>> org.apache.axis2.transport.jms.JMSSender because the JMS transport related
>>>> classes have been removed from Axis2-kernal jar in that release.
>>>> Then, I tried to find the corresponding axis2-transport-jms jar but
>>>> could not find from any sources. The only available version was
>>>> axis2-transport-jms-1.0.0
>>>>
>>>> How can I configure JMS with Axis2-1.6.1? Appreciate your help.
>>>>
>>>> Thanks!
>>>> Charitha
>>>>
>>>> Charitha Kankanamge
>>>> cell: +94 718 359 265
>>>> blog: http://charithaka.blogspot.com <http://wso2.com>
>>>>
>>>>
>>>
>>> --
>>> Sagara Gunathunga
>>>
>>> Blog      - http://ssagara.blogspot.com
>>> Web      - http://people.apache.org/~sagara/
>>> LinkedIn - http://www.linkedin.com/in/ssagara
>>>
>>
>>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>



-- 
Hiranya Jayathilaka
Associate Technical Lead;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Mime
View raw message