My env is: Mule 1.3.3 and WebSphere Application Server 6.1 and Websphere MQ
6.0.
Here is my connector:
<connector name="jmsConnector"
className="org.mule.providers.jms.JmsConnector">
<properties>
<property name="specification" value="1.1"/>
<property name="hostName" value="localhost"/>
<property name="transportType" value="1"/>
<property name="name" value="jmsConnector"/>
<property name="jndiInitialFactory"
value="com.ibm.websphere.naming.WsnInitialContextFactory"/>
<property name="connectionFactoryJndiName" value="jms/ConnectionFactory"/>
<property name="recoverJmsConnections" value="false"/>
<property name="jndiDestinations" value="true"/>
<property name="forceJndiDestinations" value="true"/>
</properties>
</connector>
When I deploy this config to WebSphere Application Server 6.1 within
Rational Application Developer v7, I am getting the following errors in
console:
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.providers.jms.JmsConnector: Starting
Connector: org.mule.providers.jms.JmsConnector
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.providers.jms.JmsConnector: Connector:
org.mule.providers.jms.JmsConnector has been started
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.providers.jms.JmsConnector: Connected:
org.mule.providers.jms.JmsConnector@63f063f0
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.MuleManager: Connectors have been started
successfully
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.MuleManager: Starting agents...
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.MuleManager: Starting agent: Mule Admin:
accepting connections on tcp://localhost:60504
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.MuleManager: Agents Successfully Started
[7/31/07 11:58:56:687 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,687 [Thread-40] org.mule.providers.jms.JmsConnector: registering
listener: MQGET on endpointUri: jms://jms/orderqueue
[7/31/07 11:58:56:734 EDT] 00000022 SystemOut O INFO 2007-07-31
11:58:56,734 [Thread-40] org.mule.providers.jms.JmsMessageReceiver:
Successfully connected to: jms://jms/orderqueue
[7/31/07 11:58:56:750 EDT] 00000022 WebApp A SRVE0181I:
[MulePrototype#MulePrototypeWeb.war] [/MulePrototypeWeb] [Servlet.LOG]:
MuleManager Failed to initialise (org.mule.config.ConfigurationException):
org.mule.config.ConfigurationException: MuleManager Failed to initialise
(org.mule.config.ConfigurationException)
at
org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:213)
at
org.mule.config.builders.MuleXmlBuilderContextListener.createManager(MuleXmlBuilderContextListener.java:76)
at
org.mule.config.builders.MuleXmlBuilderContextListener.contextInitialized(MuleXmlBuilderContextListener.java:50)
at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:608)
at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:266)
at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:272)
at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startModule(ApplicationMgrImpl.java:1762)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl._startModule(ApplicationMgrImpl.java:1710)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
at
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)
at
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:971)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1057)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:950)
at
com.ibm.ws.management.application.sync.StartDeploymentTask.startDeployment(StartDeploymentTask.java:196)
at
com.ibm.ws.management.application.sync.StartDeploymentTask.fineGrainUpdate(StartDeploymentTask.java:149)
at
com.ibm.ws.management.application.sync.StartDeploymentTask.performTask(StartDeploymentTask.java:79)
at
com.ibm.ws.management.application.sync.AppBinaryProcessor$AppBinThread.run(AppBinaryProcessor.java:820)
at
com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcess(AppBinaryProcessor.java:590)
at
com.ibm.ws.management.application.sync.AppBinaryProcessor._onChangeCompletion(AppBinaryProcessor.java:400)
at
com.ibm.ws.management.application.sync.AppBinaryProcessor$2.run(AppBinaryProcessor.java:372)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at
com.ibm.ws.management.application.sync.AppBinaryProcessor.onChangeCompletion(AppBinaryProcessor.java:359)
at
com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1715)
at
com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1261)
at
com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
at
com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:578)
at
com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1778)
at
com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1724)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:470)
at
com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace(ConfigRepoHelper.java:144)
at
com.ibm.ws.management.application.SchedulerImpl.cleanup(SchedulerImpl.java:378)
at
com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:284)
at java.lang.Thread.run(Thread.java:797)
Caused by: org.mule.config.ConfigurationException: MuleManager Failed to
initialise
at
org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:252)
at
org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)
... 54 more
Caused by: org.mule.umo.lifecycle.LifecycleException: Initialisation
Failure: Method setMessageListener not permitted
at
org.mule.providers.jms.SingleJmsMessageReceiver.doStart(SingleJmsMessageReceiver.java:138)
at
org.mule.providers.AbstractMessageReceiver.start(AbstractMessageReceiver.java:447)
at
org.mule.impl.model.AbstractComponent.startListeners(AbstractComponent.java:593)
at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:243)
at org.mule.impl.model.AbstractComponent.start(AbstractComponent.java:203)
at org.mule.impl.model.AbstractModel.start(AbstractModel.java:322)
at org.mule.MuleManager.start(MuleManager.java:858)
at
org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:247)
... 55 more
Caused by: javax.jms.IllegalStateException: Method setMessageListener not
permitted
at
com.ibm.ejs.jms.JMSCMUtils.methodNotPermittedException(JMSCMUtils.java:253)
at
com.ibm.ejs.jms.JMSMessageConsumerHandle.setMessageListener(JMSMessageConsumerHandle.java:394)
at
org.mule.providers.jms.SingleJmsMessageReceiver.doStart(SingleJmsMessageReceiver.java:133)
... 62 more
Can anyone shed a light on this how I can fix this "Method
setMessageListener not permitted"?
Thanks,
James
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a11927464
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication (WebGroup.java:88)
at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication (WebContainer.java:608)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java :549)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java :1129)
at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startModule(ApplicationMgrImpl.java:1762)
at
com.ibm.ws.runtime.component.ApplicationMgrImpl._startModule(ApplicationMgrImpl.java:1710)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.reflect.misc.Trampoline.invoke (MethodUtil.java:62)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:615)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
at
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1089)
at
javax.management.modelmbean.RequiredModelMBean.invoke (RequiredModelMBean.java:971)
at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
at com.ibm.ws.management.AdminServiceImpl$1.run (AdminServiceImpl.java:1057)
com.ibm.ws.management.application.task.ConfigRepoHelper.removeWorkSpace (ConfigRepoHelper.java:144)
at
com.ibm.ws.management.application.SchedulerImpl.cleanup(SchedulerImpl.java:378)
at
com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:284)
at java.lang.Thread.run(Thread.java:797)
Caused by: org.mule.config.ConfigurationException: MuleManager Failed to
initialise
at
org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java :252)
at
org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:208)
... 54 more
Caused by: org.mule.umo.lifecycle.LifecycleException: Initialisation
Failure: Method setMessageListener not permitted
at
org.mule.providers.jms.SingleJmsMessageReceiver.doStart(SingleJmsMessageReceiver.java:138)
at
org.mule.providers.AbstractMessageReceiver.start (AbstractMessageReceiver.java:447)
Thank you for your quick response. But I had this configured in my
connector as shown below:
<property name="recoverJmsConnections" value="false"/>
Am I missing anything else?
>> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java
>> :608)
>> at
>> com.ibm.ws.webcontainer.component.WebContainerImpl.install(
>> WebContainerImpl.java:333)
>> at
>> com.ibm.ws.webcontainer.component.WebContainerImpl.start(
>> WebContainerImpl.java:549)
>> at
>> com.ibm.ws.runtime.component.ApplicationMgrImpl.start(
>> ApplicationMgrImpl.java:1295)
>> at
>>
>> com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart
>> (DeployedApplicationImpl.java:1129)
>> at
>> com.ibm.ws.runtime.component.DeployedModuleImpl.start(
>> DeployedModuleImpl.java:567)
>> at
>> com.ibm.ws.runtime.component.ApplicationMgrImpl.startModule(
>> ApplicationMgrImpl.java:1762)
>> at
>> com.ibm.ws.runtime.component.ApplicationMgrImpl._startModule(
>> ApplicationMgrImpl.java:1710)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
>> :64)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:615)
>> at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
>> at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:615)
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a11928123
[]'s
Raul Fortes
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a12097260
Given that, I am still getting the following error message once I started my
WebSphere Application server:
...
Caused by: javax.jms.IllegalStateException: Method setMessageListener not
permitted
at
com.ibm.ejs.jms.JMSCMUtils.methodNotPermittedException(JMSCMUtils.java:253)
at
com.ibm.ejs.jms.JMSMessageConsumerHandle.setMessageListener(JMSMessageConsumerHandle.java:394)
at
org.mule.providers.jms.SingleJmsMessageReceiver.doStart(SingleJmsMessageReceiver.java:134)
... 27 more
Any ideas?
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a12201266
Given that, I am still getting the following error message once I started my
WebSphere Application server:
...
Caused by: javax.jms.IllegalStateException: Method setMessageListener not
permitted
at
com.ibm.ejs.jms.JMSCMUtils.methodNotPermittedException(JMSCMUtils.java:253)
at
com.ibm.ejs.jms.JMSMessageConsumerHandle.setMessageListener(JMSMessageConsumerHandle.java:394)
at
org.mule.providers.jms.SingleJmsMessageReceiver.doStart(SingleJmsMessageReceiver.java:134)
... 27 more
Any ideas?
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a12201266
1. this "org.mule.providers.jms.websphere.WebsphereJmsConnector " only exists
in MULE 1.4.1 version, so I replaced my MULE 1.3.3 with MULE 1.4.1, and put
this WebSphereJmsConnector in my mule config.
>>>> ( AppBinaryProcessor.java:400)
Thanks,
James
>> JMSMessageConsumerHandle.java:394)
>> at
>> org.mule.providers.jms.SingleJmsMessageReceiver.doStart(
>> >>>> at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(
>> >>>> WebContainer.java:655)
>> >>>> at
>> >>>> com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(
>> >>>> (AppBinaryProcessor.java:400)
>> >>>> com.ibm.ejs.jms.JMSMessageConsumerHandle.setMessageListener(
>> >>>> JMSMessageConsumerHandle.java:394)
>> >>>> at
>> >>>> org.mule.providers.jms.SingleJmsMessageReceiver.doStart(
>> >>>> SingleJmsMessageReceiver.java:133)
>> >>>> ... 62 more
>> >>>>
>> >>>> Can anyone shed a light on this how I can fix this "Method
>> >>>> setMessageListener not permitted"?
>> >>>>
>> >>>> Thanks,
>> >>>> James
>> >>>>
>> >>>>
>> >>>> --
>> >>>> View this message in context:
>> >>>>
>> http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a11927464
>> >>>> Sent from the Mule - User mailing list archive at Nabble.com.
>> >>>>
>> >>>>
>> >>>>
>> ---------------------------------------------------------------------
>> >>>> To unsubscribe from this list please visit:
>> >>>>
>> >>>> http://xircles.codehaus.org/manage_email
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a12201266
>> Sent from the Mule - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a12203641
Andrew Perepelytsya wrote:
>
> Naturally, at the download page: http://www.muledocs.org/Download
>
>
--
View this message in context: http://www.nabble.com/Mule-1.3.3-with-Websphere-6.1-and-WebSphere-MQ-6---Method-setMessageListener-not-permitted-tf4194080.html#a12204170