You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by sbyonge <sb...@gmail.com> on 2008/06/13 01:29:50 UTC
Cannot deploy wmq.jmsra.rar (WebSphere MQ)
I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
Deployment failed:
The plan is trying to set attributes: [queueManager, transportType]
Complete error message below.
deployment plan:
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>mq</sys:groupId>
<sys:artifactId>jmsra</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>rar</sys:type>
</sys:moduleId>
</sys:environment>
<resourceadapter>
<resourceadapter-instance>
<resourceadapter-name>MQRA</resourceadapter-name>
<nam:workmanager>
<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
</nam:workmanager>
</resourceadapter-instance>
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>javax.jms.QueueConnectionFactory</connectionfactory-interface>
<connectiondefinition-instance>
<name>MyQueueConnectionFactory</name>
<config-property-setting
name="queueManager">xxx</config-property-setting>
<config-property-setting
name="channel">xxx</config-property-setting>
<config-property-setting
name="transportType">CLIENT</config-property-setting>
<config-property-setting
name="hostName">xxx</config-property-setting>
<config-property-setting name="port">xxx</config-property-setting>
<connectionmanager>
<!--
<xa-transaction/>
-->
<single-pool>
<max-size>50</max-size>
<min-size>20</min-size>
<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
<idle-timeout-minutes>2</idle-timeout-minutes>
<match-all />
</single-pool>
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
<adminobject>
<adminobject-interface>javax.jms.Queue</adminobject-interface>
<adminobject-class>com.ibm.mq.connector.outbound.MQQueueProxy</adminobject-class>
<adminobject-instance>
<message-destination-name>xxx</message-destination-name>
<config-property-setting
name="baseQueueName">xxx</config-property-setting>
<config-property-setting
name="baseQueueManagerName">xxx</config-property-setting>
</adminobject-instance>
</adminobject>
</connector>
Error detail:
The plan is trying to set attributes: [queueManager, channel, transportType,
hostName, port]
Known attributes:
[GAttributeInfo: name=TargetClientMatching type=boolean persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=objectName type=java.lang.String persistent=false
manageable=false readable=true writable=false getterName=getObjectName
setterName=null]
[GAttributeInfo: name=SecurityExitInit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=UserName type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionFactory type=java.lang.Object
persistent=false manageable=false readable=true writable=false
getterName=getConnectionFactory setterName=null]
[GAttributeInfo: name=HostName type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=Port type=int persistent=true manageable=true
readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SslPeerName type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SubscriptionStore type=java.lang.String
persistent=true manageable=true readable=true writable=true getterName=null
setterName=null]
[GAttributeInfo: name=TransportType type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionFactoryInterface type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionFactoryInterface setterName=null]
[GAttributeInfo: name=SendExitInit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=statisticsProvider type=boolean persistent=false
manageable=false readable=true writable=false
getterName=isStatisticsProvider setterName=null]
[GAttributeInfo: name=connectionFactoryImplClass type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionFactoryImplClass setterName=null]
[GAttributeInfo: name=CleanupLevel type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=BrokerControlQueue type=java.lang.String
persistent=true manageable=true readable=true writable=true getterName=null
setterName=null]
[GAttributeInfo: name=SecurityExit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=stateManageable type=boolean persistent=false
manageable=false readable=true writable=false getterName=isStateManageable
setterName=null]
[GAttributeInfo: name=kernel type=org.apache.geronimo.kernel.Kernel
persistent=false manageable=false readable=false writable=false
getterName=null setterName=null]
[GAttributeInfo: name=SslCipherSuite type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=ReceiveExitInit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=configProperties type=java.util.Map persistent=false
manageable=false readable=true writable=false getterName=getConfigProperties
setterName=null]
[GAttributeInfo: name=ClientID type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=PubAckInterval type=int persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=CleanupInterval type=int persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=LocalAddress type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=managedConnectionFactoryClass type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getManagedConnectionFactoryClass setterName=null]
[GAttributeInfo: name=SslFipsRequired type=boolean persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=abstractName
type=org.apache.geronimo.gbean.AbstractName persistent=false
manageable=false readable=false writable=false getterName=null
setterName=null]
[GAttributeInfo: name=MessageSelection type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=BrokerSubQueue type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=ReceiveExit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=classLoader type=java.lang.ClassLoader
persistent=false manageable=false readable=false writable=false
getterName=null setterName=null]
[GAttributeInfo: name=BrokerQueueManager type=java.lang.String
persistent=true manageable=true readable=true writable=true getterName=null
setterName=null]
[GAttributeInfo: name=BrokerCCSubQueue type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SslResetCount type=int persistent=true manageable=true
readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=Password type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=CcdtURL type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=Channel type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SendExit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=eventProvider type=boolean persistent=false
manageable=false readable=true writable=false getterName=isEventProvider
setterName=null]
[GAttributeInfo: name=SslCertStores type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=QueueManager type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=CCSID type=int persistent=true manageable=true
readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=TempQPrefix type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=implementedInterfaces type=[Ljava.lang.String;
persistent=true manageable=true readable=true writable=false
getterName=getImplementedInterfaces setterName=null]
[GAttributeInfo: name=connectionInterface type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionInterface setterName=null]
[GAttributeInfo: name=BrokerVersion type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionManagerContainer type=java.lang.Object
persistent=false manageable=false readable=true writable=false
getterName=getConnectionManagerContainer setterName=null]
[GAttributeInfo: name=Username type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=FailIfQuiesce type=boolean persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=resourceAdapterWrapper
type=org.apache.geronimo.connector.ResourceAdapterWrapper persistent=false
manageable=false readable=true writable=false
getterName=getResourceAdapterWrapper setterName=null]
[GAttributeInfo: name=BrokerPubQueue type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionImplClass type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionImplClass setterName=null]
org.apache.geronimo.common.DeploymentException: The plan is trying to set
attributes: [queueManager, channel, transportType, hostName, port]
Known attributes:
[GAttributeInfo: name=TargetClientMatching type=boolean persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=objectName type=java.lang.String persistent=false
manageable=false readable=true writable=false getterName=getObjectName
setterName=null]
[GAttributeInfo: name=SecurityExitInit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=UserName type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionFactory type=java.lang.Object
persistent=false manageable=false readable=true writable=false
getterName=getConnectionFactory setterName=null]
[GAttributeInfo: name=HostName type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=Port type=int persistent=true manageable=true
readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SslPeerName type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SubscriptionStore type=java.lang.String
persistent=true manageable=true readable=true writable=true getterName=null
setterName=null]
[GAttributeInfo: name=TransportType type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionFactoryInterface type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionFactoryInterface setterName=null]
[GAttributeInfo: name=SendExitInit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=statisticsProvider type=boolean persistent=false
manageable=false readable=true writable=false
getterName=isStatisticsProvider setterName=null]
[GAttributeInfo: name=connectionFactoryImplClass type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionFactoryImplClass setterName=null]
[GAttributeInfo: name=CleanupLevel type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=BrokerControlQueue type=java.lang.String
persistent=true manageable=true readable=true writable=true getterName=null
setterName=null]
[GAttributeInfo: name=SecurityExit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=stateManageable type=boolean persistent=false
manageable=false readable=true writable=false getterName=isStateManageable
setterName=null]
[GAttributeInfo: name=kernel type=org.apache.geronimo.kernel.Kernel
persistent=false manageable=false readable=false writable=false
getterName=null setterName=null]
[GAttributeInfo: name=SslCipherSuite type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=ReceiveExitInit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=configProperties type=java.util.Map persistent=false
manageable=false readable=true writable=false getterName=getConfigProperties
setterName=null]
[GAttributeInfo: name=ClientID type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=PubAckInterval type=int persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=CleanupInterval type=int persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=LocalAddress type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=managedConnectionFactoryClass type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getManagedConnectionFactoryClass setterName=null]
[GAttributeInfo: name=SslFipsRequired type=boolean persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=abstractName
type=org.apache.geronimo.gbean.AbstractName persistent=false
manageable=false readable=false writable=false getterName=null
setterName=null]
[GAttributeInfo: name=MessageSelection type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=BrokerSubQueue type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=ReceiveExit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=classLoader type=java.lang.ClassLoader
persistent=false manageable=false readable=false writable=false
getterName=null setterName=null]
[GAttributeInfo: name=BrokerQueueManager type=java.lang.String
persistent=true manageable=true readable=true writable=true getterName=null
setterName=null]
[GAttributeInfo: name=BrokerCCSubQueue type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SslResetCount type=int persistent=true manageable=true
readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=Password type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=CcdtURL type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=Channel type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=SendExit type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=eventProvider type=boolean persistent=false
manageable=false readable=true writable=false getterName=isEventProvider
setterName=null]
[GAttributeInfo: name=SslCertStores type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=QueueManager type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=CCSID type=int persistent=true manageable=true
readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=TempQPrefix type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=implementedInterfaces type=[Ljava.lang.String;
persistent=true manageable=true readable=true writable=false
getterName=getImplementedInterfaces setterName=null]
[GAttributeInfo: name=connectionInterface type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionInterface setterName=null]
[GAttributeInfo: name=BrokerVersion type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionManagerContainer type=java.lang.Object
persistent=false manageable=false readable=true writable=false
getterName=getConnectionManagerContainer setterName=null]
[GAttributeInfo: name=Username type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=FailIfQuiesce type=boolean persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=resourceAdapterWrapper
type=org.apache.geronimo.connector.ResourceAdapterWrapper persistent=false
manageable=false readable=true writable=false
getterName=getResourceAdapterWrapper setterName=null]
[GAttributeInfo: name=BrokerPubQueue type=java.lang.String persistent=true
manageable=true readable=true writable=true getterName=null setterName=null]
[GAttributeInfo: name=connectionImplClass type=java.lang.String
persistent=true manageable=true readable=true writable=false
getterName=getConnectionImplClass setterName=null]
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:726)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addOutboundGBeans(ConnectorModuleBuilder.java:863)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addConnectorGBeans(ConnectorModuleBuilder.java:563)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17811963.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Jason Warner <ja...@gmail.com>.
I'm seeing the same problem locally myself. I think I've found the issue
but am at a loss as to how to fix it or why exactly it's occurring. If you
refer back to your original message, you'll note that the list of available
attributes also list's the type of the attribute. You can see from that
list that even though they are all specified as java.lang.String in the
ra.xml, they are not loaded into the attribute list as such. Take the
"port" attribute for example. In ra.xml, port is spelled "port" (note lower
case p) and has an attribute type of java.lang.String. In the attribute
list printed out with your error, you can see that the port attribute now
has a capital p ("Port") and a type of "int". I'm not too familiar with the
whole process, so I'm not sure what happens in between, but shouldn't that
attribute list be populated from the ra.xml? I'm still looking into it
myself, but if David or anyone else can verify whether my understanding is
correct or not, it'd be much appreciated.
On Fri, Jun 13, 2008 at 3:14 PM, sbyonge <sb...@gmail.com> wrote:
>
> I am using ra.xml included in WebSphere MQ client and there is no int or
> java.lang.Integer in config-property type. See below. So I am not sure
> where this error (Could not load attribute class: type: int) is coming
> from.
>
> ra.xml:
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <connector xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
> version="1.5">
>
> <display-name>WebSphere MQ Resource Adapter</display-name>
> <vendor-name>
> International Business Machines Corporation ("IBM").
> </vendor-name>
> <eis-type>Java Message Service</eis-type>
> <resourceadapter-version>j600-201 (build date
> 1/31/08)</resourceadapter-version>
> <license>
> <description>
> This software is licenced under the IBM
> International
> Program License Agreement ("IPLA"). For licence
> information,
> see the WebSphere MQ Licence Information ("LI")
> available at
> http://www.ibm.com/software/sla/. The LI may also
> be found
> in a file in the WebSphere MQ installation
> directory.
> </description>
> <license-required>true</license-required>
> </license>
>
> <!-- ResourceAdapter -->
> <!-- Note that WAS CE 1.0.x requires <config-property-name> tags to
> be on a single line -->
>
> <resourceadapter>
> <resourceadapter-class>
> com.ibm.mq.connector.ResourceAdapterImpl
> </resourceadapter-class>
> <config-property>
>
> <config-property-name>connectionConcurrency</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>5</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>maxConnections</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>10</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>logWriterEnabled</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>reconnectionRetryCount</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>5</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>reconnectionRetryInterval</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>300000</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>timestampsEnabled</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>traceDestination</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>wmq_jms.trc</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>traceEnabled</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>false</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>traceLevel</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>3</config-property-value>
> </config-property>
>
> <!-- Outbound resource adapter -->
>
> <outbound-resourceadapter>
> <connection-definition>
> <managedconnectionfactory-class>
>
> com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl
> </managedconnectionfactory-class>
> <config-property>
>
> <config-property-name>brokerCCSubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerControlQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerQueueManager</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerPubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerSubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerVersion</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>ccdtURL</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>CCSID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>channel</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>cleanupInterval</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>cleanupLevel</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>clientID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>failIfQuiesce</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>hostName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>localAddress</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>messageSelection</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>password</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>port</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>pubAckInterval</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>queueManager</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>receiveExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>receiveExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>securityExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>securityExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sendExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sendExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslCertStores</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslCipherSuite</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslFipsRequired</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslPeerName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslResetCount</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>subscriptionStore</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>targetClientMatching</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>tempQPrefix</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>transportType</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>username</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <connectionfactory-interface>
> javax.jms.ConnectionFactory
> </connectionfactory-interface>
> <connectionfactory-impl-class>
>
> com.ibm.mq.connector.outbound.ConnectionFactoryImpl
> </connectionfactory-impl-class>
> <connection-interface>
> javax.jms.Connection
> </connection-interface>
> <connection-impl-class>
>
> com.ibm.mq.connector.outbound.ConnectionWrapper
> </connection-impl-class>
> </connection-definition>
> <connection-definition>
> <managedconnectionfactory-class>
>
> com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl
> </managedconnectionfactory-class>
> <config-property>
>
> <config-property-name>ccdtURL</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>CCSID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>channel</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>clientID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>failIfQuiesce</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>hostName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>localAddress</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>password</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>port</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>queueManager</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>receiveExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>receiveExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>securityExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>securityExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sendExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sendExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslCertStores</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslCipherSuite</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslFipsRequired</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslPeerName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslResetCount</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>targetClientMatching</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>tempQPrefix</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>transportType</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>username</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <connectionfactory-interface>
> javax.jms.QueueConnectionFactory
> </connectionfactory-interface>
> <connectionfactory-impl-class>
>
> com.ibm.mq.connector.outbound.QueueConnectionFactoryImpl
> </connectionfactory-impl-class>
> <connection-interface>
> javax.jms.QueueConnection
> </connection-interface>
> <connection-impl-class>
>
> com.ibm.mq.connector.outbound.QueueConnectionWrapper
> </connection-impl-class>
> </connection-definition>
> <connection-definition>
> <managedconnectionfactory-class>
>
> com.ibm.mq.connector.outbound.ManagedTopicConnectionFactoryImpl
> </managedconnectionfactory-class>
> <config-property>
>
> <config-property-name>brokerCCSubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerControlQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerQueueManager</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerPubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerSubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>brokerVersion</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>ccdtURL</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>CCSID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>channel</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>cleanupInterval</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>cleanupLevel</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>clientID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>failIfQuiesce</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>hostName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>localAddress</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>messageSelection</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>password</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>port</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>pubAckInterval</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>queueManager</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>receiveExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>receiveExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>securityExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>securityExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sendExit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sendExitInit</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslCertStores</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslCipherSuite</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslFipsRequired</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslPeerName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>sslResetCount</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>subscriptionStore</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>targetClientMatching</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>tempQPrefix</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>transportType</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <config-property>
>
> <config-property-name>username</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
> </config-property>
> <connectionfactory-interface>
> javax.jms.TopicConnectionFactory
> </connectionfactory-interface>
> <connectionfactory-impl-class>
>
> com.ibm.mq.connector.outbound.TopicConnectionFactoryImpl
> </connectionfactory-impl-class>
> <connection-interface>
> javax.jms.TopicConnection
> </connection-interface>
> <connection-impl-class>
>
> com.ibm.mq.connector.outbound.TopicConnectionWrapper
> </connection-impl-class>
> </connection-definition>
>
> <!--
>
> <transaction-support>XATransaction</transaction-support>
> -->
>
> <transaction-support>LocalTransaction</transaction-support>
>
> <reauthentication-support>false</reauthentication-support>
> </outbound-resourceadapter>
>
> <!-- Inbound resource adapter -->
>
> <inbound-resourceadapter>
> <messageadapter>
> <messagelistener>
> <messagelistener-type>
> javax.jms.MessageListener
> </messagelistener-type>
> <activationspec>
> <activationspec-class>
>
> com.ibm.mq.connector.inbound.ActivationSpecImpl
> </activationspec-class>
> <required-config-property>
>
> <config-property-name>destination</config-property-name>
> </required-config-property>
> <required-config-property>
>
> <config-property-name>destinationType</config-property-name>
> </required-config-property>
> </activationspec>
> </messagelistener>
> </messageadapter>
> </inbound-resourceadapter>
>
> <!-- Administered objects -->
>
> <adminobject>
>
> <adminobject-interface>javax.jms.Queue</adminobject-interface>
> <adminobject-class>
> com.ibm.mq.connector.outbound.MQQueueProxy
> </adminobject-class>
> <config-property>
>
> <config-property-name>baseQueueManagerName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value></config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>baseQueueName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value></config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>CCSID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>1208</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>encoding</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>NATIVE</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>expiry</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>APP</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>failIfQuiesce</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>true</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>persistence</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>APP</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>priority</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>APP</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>targetClient</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>JMS</config-property-value>
> </config-property>
> </adminobject>
> <adminobject>
>
> <adminobject-interface>javax.jms.Topic</adminobject-interface>
> <adminobject-class>
> com.ibm.mq.connector.outbound.MQTopicProxy
> </adminobject-class>
> <config-property>
>
> <config-property-name>baseTopicName</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value></config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>brokerCCDurSubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE
> </config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>brokerDurSubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
>
> <config-property-value>SYSTEM.JMS.D.SUBSCRIBER.QUEUE</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>brokerPubQueue</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value></config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>brokerPubQueueManager</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value></config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>brokerVersion</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>1</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>CCSID</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>1208</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>encoding</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>NATIVE</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>expiry</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>APP</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>failIfQuiesce</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>true</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>persistence</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>APP</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>priority</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>APP</config-property-value>
> </config-property>
> <config-property>
>
> <config-property-name>targetClient</config-property-name>
>
> <config-property-type>java.lang.String</config-property-type>
>
> <config-property-value>JMS</config-property-value>
> </config-property>
> </adminobject>
>
> <!--
> Security Permissions
>
> The security permission below grants all permissions to the JMS
> Client.
> In application servers which support fine-grained security, the
> security-permission-spec could be replaced with:
>
> grant {
> permission
> java.util.PropertyPermission "*", "read,write";
> permission
> java.lang.RuntimePermission "modifyThreadGroup";
> permission
> java.lang.RuntimePermission "modifyThread";
> permission
> java.lang.RuntimePermission "getClassLoader";
> permission java.io.FilePermission
> "*", "read,write";
> };
>
> This grants the JMS Client only the permissions which are
> required to
> run correctly.
> -->
> <security-permission>
> <description>
> Security Permissions for the JMS client
> </description>
> <security-permission-spec>
> grant {
> permission
> java.security.AllPermission;
> };
> </security-permission-spec>
> </security-permission>
> </resourceadapter>
> </connector>
>
>
> djencks wrote:
> >
> > int is not an allowed config-property type, it should be Integer.
> >
> > Since we call the methods via some sort of reflection you might be
> > able to make this work by changing the type in the ra.xml to
> > java.lang.Integer, but I make no promises.
> >
> > thanks
> > david jencks
> >
> > On Jun 13, 2008, at 8:11 AM, sbyonge wrote:
> >
> >>
> >> I changed all to upper cases and now I am getting the following error.
> >>
> >> Deployment failed:
> >> Could not load attribute class: type: int
> >>
> >> org.apache.geronimo.common.DeploymentException: Could not load
> >> attribute
> >> class: type: int
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .connector
> >> .deployment
> >> .ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:739)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .connector
> >> .deployment
> >> .ConnectorModuleBuilder
> >> .setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:717)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .connector
> >> .deployment
> >> .ConnectorModuleBuilder
> >> .addOutboundGBeans(ConnectorModuleBuilder.java:863)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .connector
> >> .deployment
> >> .ConnectorModuleBuilder
> >> .addConnectorGBeans(ConnectorModuleBuilder.java:563)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .connector
> >> .deployment
> >> .ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .j2ee
> >> .deployment
> >> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> >> at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> >> at
> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >> sun
> >> .reflect
> >> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >> at
> >> sun
> >> .reflect
> >> .DelegatingMethodAccessorImpl
> >> .invoke(DelegatingMethodAccessorImpl.java:25)
> >> at java.lang.reflect.Method.invoke(Method.java:597)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .gbean
> >> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:
> >> 34)
> >> at
> >> org
> >> .apache
> >> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> >> at
> >> org
> >> .apache
> >> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> >> at
> >> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> >> 239)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .deployment
> >> .plugin
> >> .local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .deployment
> >> .plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> >> at java.lang.Thread.run(Thread.java:619)
> >> Caused by: java.lang.ClassNotFoundException: int in classloader
> >> gmo.mq/jmsra/1.0/rar
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .kernel
> >> .config
> >> .MultiParentClassLoader
> >> .loadOptimizedClass(MultiParentClassLoader.java:428)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .kernel
> >> .config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:
> >> 278)
> >> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >> at
> >> org
> >> .apache
> >> .geronimo
> >> .connector
> >> .deployment
> >> .ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:737)
> >> ... 18 more
> >>
> >>
> >> I think you have to start the config-property names with an upper-case
> >> letter, e.g.
> >> <config-property-setting
> >> name="QueueManager">xxx</config-property-setting>
> >>
> >> thanks
> >> david jencks
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17825640.html
> >> Sent from the Apache Geronimo - Users mailing list archive at
> >> Nabble.com.
> >>
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17830233.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>
--
~Jason Warner
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am using ra.xml included in WebSphere MQ client and there is no int or
java.lang.Integer in config-property type. See below. So I am not sure
where this error (Could not load attribute class: type: int) is coming from.
ra.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<display-name>WebSphere MQ Resource Adapter</display-name>
<vendor-name>
International Business Machines Corporation ("IBM").
</vendor-name>
<eis-type>Java Message Service</eis-type>
<resourceadapter-version>j600-201 (build date
1/31/08)</resourceadapter-version>
<license>
<description>
This software is licenced under the IBM International
Program License Agreement ("IPLA"). For licence information,
see the WebSphere MQ Licence Information ("LI") available at
http://www.ibm.com/software/sla/. The LI may also be found
in a file in the WebSphere MQ installation directory.
</description>
<license-required>true</license-required>
</license>
<!-- ResourceAdapter -->
<!-- Note that WAS CE 1.0.x requires <config-property-name> tags to
be on a single line -->
<resourceadapter>
<resourceadapter-class>
com.ibm.mq.connector.ResourceAdapterImpl
</resourceadapter-class>
<config-property>
<config-property-name>connectionConcurrency</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>5</config-property-value>
</config-property>
<config-property>
<config-property-name>maxConnections</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>10</config-property-value>
</config-property>
<config-property>
<config-property-name>logWriterEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>reconnectionRetryCount</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>5</config-property-value>
</config-property>
<config-property>
<config-property-name>reconnectionRetryInterval</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>300000</config-property-value>
</config-property>
<config-property>
<config-property-name>timestampsEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>traceDestination</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>wmq_jms.trc</config-property-value>
</config-property>
<config-property>
<config-property-name>traceEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>false</config-property-value>
</config-property>
<config-property>
<config-property-name>traceLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>3</config-property-value>
</config-property>
<!-- Outbound resource adapter -->
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>
com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl
</managedconnectionfactory-class>
<config-property>
<config-property-name>brokerCCSubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerControlQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerQueueManager</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerPubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerSubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerVersion</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>ccdtURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>CCSID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>channel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>cleanupInterval</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>cleanupLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>clientID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>failIfQuiesce</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>hostName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>localAddress</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>messageSelection</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>port</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>pubAckInterval</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>queueManager</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>receiveExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>receiveExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>securityExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>securityExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sendExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sendExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslCertStores</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslCipherSuite</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslFipsRequired</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslPeerName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslResetCount</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>subscriptionStore</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>targetClientMatching</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>tempQPrefix</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>transportType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>username</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<connectionfactory-interface>
javax.jms.ConnectionFactory
</connectionfactory-interface>
<connectionfactory-impl-class>
com.ibm.mq.connector.outbound.ConnectionFactoryImpl
</connectionfactory-impl-class>
<connection-interface>
javax.jms.Connection
</connection-interface>
<connection-impl-class>
com.ibm.mq.connector.outbound.ConnectionWrapper
</connection-impl-class>
</connection-definition>
<connection-definition>
<managedconnectionfactory-class>
com.ibm.mq.connector.outbound.ManagedQueueConnectionFactoryImpl
</managedconnectionfactory-class>
<config-property>
<config-property-name>ccdtURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>CCSID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>channel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>clientID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>failIfQuiesce</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>hostName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>localAddress</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>port</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>queueManager</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>receiveExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>receiveExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>securityExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>securityExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sendExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sendExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslCertStores</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslCipherSuite</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslFipsRequired</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslPeerName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslResetCount</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>targetClientMatching</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>tempQPrefix</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>transportType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>username</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<connectionfactory-interface>
javax.jms.QueueConnectionFactory
</connectionfactory-interface>
<connectionfactory-impl-class>
com.ibm.mq.connector.outbound.QueueConnectionFactoryImpl
</connectionfactory-impl-class>
<connection-interface>
javax.jms.QueueConnection
</connection-interface>
<connection-impl-class>
com.ibm.mq.connector.outbound.QueueConnectionWrapper
</connection-impl-class>
</connection-definition>
<connection-definition>
<managedconnectionfactory-class>
com.ibm.mq.connector.outbound.ManagedTopicConnectionFactoryImpl
</managedconnectionfactory-class>
<config-property>
<config-property-name>brokerCCSubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerControlQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerQueueManager</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerPubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerSubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>brokerVersion</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>ccdtURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>CCSID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>channel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>cleanupInterval</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>cleanupLevel</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>clientID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>failIfQuiesce</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>hostName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>localAddress</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>messageSelection</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>password</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>port</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>pubAckInterval</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>queueManager</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>receiveExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>receiveExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>securityExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>securityExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sendExit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sendExitInit</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslCertStores</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslCipherSuite</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslFipsRequired</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslPeerName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>sslResetCount</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>subscriptionStore</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>targetClientMatching</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>tempQPrefix</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>transportType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<config-property>
<config-property-name>username</config-property-name>
<config-property-type>java.lang.String</config-property-type>
</config-property>
<connectionfactory-interface>
javax.jms.TopicConnectionFactory
</connectionfactory-interface>
<connectionfactory-impl-class>
com.ibm.mq.connector.outbound.TopicConnectionFactoryImpl
</connectionfactory-impl-class>
<connection-interface>
javax.jms.TopicConnection
</connection-interface>
<connection-impl-class>
com.ibm.mq.connector.outbound.TopicConnectionWrapper
</connection-impl-class>
</connection-definition>
<!--
<transaction-support>XATransaction</transaction-support>
-->
<transaction-support>LocalTransaction</transaction-support>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
<!-- Inbound resource adapter -->
<inbound-resourceadapter>
<messageadapter>
<messagelistener>
<messagelistener-type>
javax.jms.MessageListener
</messagelistener-type>
<activationspec>
<activationspec-class>
com.ibm.mq.connector.inbound.ActivationSpecImpl
</activationspec-class>
<required-config-property>
<config-property-name>destination</config-property-name>
</required-config-property>
<required-config-property>
<config-property-name>destinationType</config-property-name>
</required-config-property>
</activationspec>
</messagelistener>
</messageadapter>
</inbound-resourceadapter>
<!-- Administered objects -->
<adminobject>
<adminobject-interface>javax.jms.Queue</adminobject-interface>
<adminobject-class>
com.ibm.mq.connector.outbound.MQQueueProxy
</adminobject-class>
<config-property>
<config-property-name>baseQueueManagerName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>baseQueueName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>CCSID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>1208</config-property-value>
</config-property>
<config-property>
<config-property-name>encoding</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>NATIVE</config-property-value>
</config-property>
<config-property>
<config-property-name>expiry</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>APP</config-property-value>
</config-property>
<config-property>
<config-property-name>failIfQuiesce</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>persistence</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>APP</config-property-value>
</config-property>
<config-property>
<config-property-name>priority</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>APP</config-property-value>
</config-property>
<config-property>
<config-property-name>targetClient</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>JMS</config-property-value>
</config-property>
</adminobject>
<adminobject>
<adminobject-interface>javax.jms.Topic</adminobject-interface>
<adminobject-class>
com.ibm.mq.connector.outbound.MQTopicProxy
</adminobject-class>
<config-property>
<config-property-name>baseTopicName</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>brokerCCDurSubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE
</config-property-value>
</config-property>
<config-property>
<config-property-name>brokerDurSubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>SYSTEM.JMS.D.SUBSCRIBER.QUEUE</config-property-value>
</config-property>
<config-property>
<config-property-name>brokerPubQueue</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>brokerPubQueueManager</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>brokerVersion</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>1</config-property-value>
</config-property>
<config-property>
<config-property-name>CCSID</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>1208</config-property-value>
</config-property>
<config-property>
<config-property-name>encoding</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>NATIVE</config-property-value>
</config-property>
<config-property>
<config-property-name>expiry</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>APP</config-property-value>
</config-property>
<config-property>
<config-property-name>failIfQuiesce</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
<config-property>
<config-property-name>persistence</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>APP</config-property-value>
</config-property>
<config-property>
<config-property-name>priority</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>APP</config-property-value>
</config-property>
<config-property>
<config-property-name>targetClient</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>JMS</config-property-value>
</config-property>
</adminobject>
<!--
Security Permissions
The security permission below grants all permissions to the JMS
Client.
In application servers which support fine-grained security, the
security-permission-spec could be replaced with:
grant {
permission java.util.PropertyPermission "*", "read,write";
permission java.lang.RuntimePermission "modifyThreadGroup";
permission java.lang.RuntimePermission "modifyThread";
permission java.lang.RuntimePermission "getClassLoader";
permission java.io.FilePermission "*", "read,write";
};
This grants the JMS Client only the permissions which are
required to
run correctly.
-->
<security-permission>
<description>
Security Permissions for the JMS client
</description>
<security-permission-spec>
grant {
permission java.security.AllPermission;
};
</security-permission-spec>
</security-permission>
</resourceadapter>
</connector>
djencks wrote:
>
> int is not an allowed config-property type, it should be Integer.
>
> Since we call the methods via some sort of reflection you might be
> able to make this work by changing the type in the ra.xml to
> java.lang.Integer, but I make no promises.
>
> thanks
> david jencks
>
> On Jun 13, 2008, at 8:11 AM, sbyonge wrote:
>
>>
>> I changed all to upper cases and now I am getting the following error.
>>
>> Deployment failed:
>> Could not load attribute class: type: int
>>
>> org.apache.geronimo.common.DeploymentException: Could not load
>> attribute
>> class: type: int
>> at
>> org
>> .apache
>> .geronimo
>> .connector
>> .deployment
>> .ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:739)
>> at
>> org
>> .apache
>> .geronimo
>> .connector
>> .deployment
>> .ConnectorModuleBuilder
>> .setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:717)
>> at
>> org
>> .apache
>> .geronimo
>> .connector
>> .deployment
>> .ConnectorModuleBuilder
>> .addOutboundGBeans(ConnectorModuleBuilder.java:863)
>> at
>> org
>> .apache
>> .geronimo
>> .connector
>> .deployment
>> .ConnectorModuleBuilder
>> .addConnectorGBeans(ConnectorModuleBuilder.java:563)
>> at
>> org
>> .apache
>> .geronimo
>> .connector
>> .deployment
>> .ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
>> at
>> org
>> .apache
>> .geronimo
>> .j2ee
>> .deployment
>> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
>> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun
>> .reflect
>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun
>> .reflect
>> .DelegatingMethodAccessorImpl
>> .invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org
>> .apache
>> .geronimo
>> .gbean
>> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:
>> 34)
>> at
>> org
>> .apache
>> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>> org
>> .apache
>> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
>> at
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
>> 239)
>> at
>> org
>> .apache
>> .geronimo
>> .deployment
>> .plugin
>> .local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>> at
>> org
>> .apache
>> .geronimo
>> .deployment
>> .plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.ClassNotFoundException: int in classloader
>> gmo.mq/jmsra/1.0/rar
>> at
>> org
>> .apache
>> .geronimo
>> .kernel
>> .config
>> .MultiParentClassLoader
>> .loadOptimizedClass(MultiParentClassLoader.java:428)
>> at
>> org
>> .apache
>> .geronimo
>> .kernel
>> .config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:
>> 278)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> at
>> org
>> .apache
>> .geronimo
>> .connector
>> .deployment
>> .ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:737)
>> ... 18 more
>>
>>
>> I think you have to start the config-property names with an upper-case
>> letter, e.g.
>> <config-property-setting
>> name="QueueManager">xxx</config-property-setting>
>>
>> thanks
>> david jencks
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17825640.html
>> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>>
>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17830233.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by David Jencks <da...@yahoo.com>.
int is not an allowed config-property type, it should be Integer.
Since we call the methods via some sort of reflection you might be
able to make this work by changing the type in the ra.xml to
java.lang.Integer, but I make no promises.
thanks
david jencks
On Jun 13, 2008, at 8:11 AM, sbyonge wrote:
>
> I changed all to upper cases and now I am getting the following error.
>
> Deployment failed:
> Could not load attribute class: type: int
>
> org.apache.geronimo.common.DeploymentException: Could not load
> attribute
> class: type: int
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:739)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder
> .setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:717)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder
> .addOutboundGBeans(ConnectorModuleBuilder.java:863)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder
> .addConnectorGBeans(ConnectorModuleBuilder.java:563)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
> at
> org
> .apache
> .geronimo
> .j2ee
> .deployment
> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org
> .apache
> .geronimo
> .gbean
> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:
> 34)
> at
> org
> .apache
> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> at
> org
> .apache
> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 239)
> at
> org
> .apache
> .geronimo
> .deployment
> .plugin
> .local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> at
> org
> .apache
> .geronimo
> .deployment
> .plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: int in classloader
> gmo.mq/jmsra/1.0/rar
> at
> org
> .apache
> .geronimo
> .kernel
> .config
> .MultiParentClassLoader
> .loadOptimizedClass(MultiParentClassLoader.java:428)
> at
> org
> .apache
> .geronimo
> .kernel
> .config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:
> 278)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:737)
> ... 18 more
>
>
> I think you have to start the config-property names with an upper-case
> letter, e.g.
> <config-property-setting
> name="QueueManager">xxx</config-property-setting>
>
> thanks
> david jencks
>
> --
> View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17825640.html
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I changed all to upper cases and now I am getting the following error.
Deployment failed:
Could not load attribute class: type: int
org.apache.geronimo.common.DeploymentException: Could not load attribute
class: type: int
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:739)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:717)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addOutboundGBeans(ConnectorModuleBuilder.java:863)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.addConnectorGBeans(ConnectorModuleBuilder.java:563)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: int in classloader
gmo.mq/jmsra/1.0/rar
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:428)
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:278)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.apache.geronimo.connector.deployment.ConnectorModuleBuilder.getValue(ConnectorModuleBuilder.java:737)
... 18 more
I think you have to start the config-property names with an upper-case
letter, e.g.
<config-property-setting
name="QueueManager">xxx</config-property-setting>
thanks
david jencks
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17825640.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by David Jencks <da...@yahoo.com>.
I think you have to start the config-property names with an upper-case
letter, e.g.
<config-property-setting
name="QueueManager">xxx</config-property-setting>
thanks
david jencks
On Jun 12, 2008, at 4:29 PM, sbyonge wrote:
>
> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>
> Deployment failed:
> The plan is trying to set attributes: [queueManager, transportType]
>
> Complete error message below.
>
> deployment plan:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/
> connector-1.2"
> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
> xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
> <sys:environment>
> <sys:moduleId>
> <sys:groupId>mq</sys:groupId>
> <sys:artifactId>jmsra</sys:artifactId>
> <sys:version>1.0</sys:version>
> <sys:type>rar</sys:type>
> </sys:moduleId>
> </sys:environment>
>
> <resourceadapter>
> <resourceadapter-instance>
> <resourceadapter-name>MQRA</resourceadapter-name>
> <nam:workmanager>
> <nam:gbean-link>DefaultWorkManager</nam:gbean-link>
> </nam:workmanager>
> </resourceadapter-instance>
>
> <outbound-resourceadapter>
> <connection-definition>
>
> <connectionfactory-interface>javax.jms.QueueConnectionFactory</
> connectionfactory-interface>
> <connectiondefinition-instance>
> <name>MyQueueConnectionFactory</name>
> <config-property-setting
> name="queueManager">xxx</config-property-setting>
> <config-property-setting
> name="channel">xxx</config-property-setting>
> <config-property-setting
> name="transportType">CLIENT</config-property-setting>
> <config-property-setting
> name="hostName">xxx</config-property-setting>
> <config-property-setting name="port">xxx</config-property-
> setting>
> <connectionmanager>
> <!--
> <xa-transaction/>
> -->
> <single-pool>
> <max-size>50</max-size>
> <min-size>20</min-size>
>
> <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
> <idle-timeout-minutes>2</idle-timeout-minutes>
> <match-all />
> </single-pool>
> </connectionmanager>
> </connectiondefinition-instance>
> </connection-definition>
> </outbound-resourceadapter>
> </resourceadapter>
>
> <adminobject>
> <adminobject-interface>javax.jms.Queue</adminobject-interface>
>
> <adminobject-class>com.ibm.mq.connector.outbound.MQQueueProxy</
> adminobject-class>
> <adminobject-instance>
> <message-destination-name>xxx</message-destination-name>
> <config-property-setting
> name="baseQueueName">xxx</config-property-setting>
> <config-property-setting
> name="baseQueueManagerName">xxx</config-property-setting>
> </adminobject-instance>
> </adminobject>
> </connector>
>
> Error detail:
> The plan is trying to set attributes: [queueManager, channel,
> transportType,
> hostName, port]
> Known attributes:
> [GAttributeInfo: name=TargetClientMatching type=boolean
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=objectName type=java.lang.String
> persistent=false
> manageable=false readable=true writable=false getterName=getObjectName
> setterName=null]
> [GAttributeInfo: name=SecurityExitInit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=UserName type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionFactory type=java.lang.Object
> persistent=false manageable=false readable=true writable=false
> getterName=getConnectionFactory setterName=null]
> [GAttributeInfo: name=HostName type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=Port type=int persistent=true manageable=true
> readable=true writable=true getterName=null setterName=null]
> [GAttributeInfo: name=SslPeerName type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=SubscriptionStore type=java.lang.String
> persistent=true manageable=true readable=true writable=true
> getterName=null
> setterName=null]
> [GAttributeInfo: name=TransportType type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionFactoryInterface type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionFactoryInterface setterName=null]
> [GAttributeInfo: name=SendExitInit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=statisticsProvider type=boolean persistent=false
> manageable=false readable=true writable=false
> getterName=isStatisticsProvider setterName=null]
> [GAttributeInfo: name=connectionFactoryImplClass type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionFactoryImplClass setterName=null]
> [GAttributeInfo: name=CleanupLevel type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=BrokerControlQueue type=java.lang.String
> persistent=true manageable=true readable=true writable=true
> getterName=null
> setterName=null]
> [GAttributeInfo: name=SecurityExit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=stateManageable type=boolean persistent=false
> manageable=false readable=true writable=false
> getterName=isStateManageable
> setterName=null]
> [GAttributeInfo: name=kernel type=org.apache.geronimo.kernel.Kernel
> persistent=false manageable=false readable=false writable=false
> getterName=null setterName=null]
> [GAttributeInfo: name=SslCipherSuite type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=ReceiveExitInit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=configProperties type=java.util.Map
> persistent=false
> manageable=false readable=true writable=false
> getterName=getConfigProperties
> setterName=null]
> [GAttributeInfo: name=ClientID type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=PubAckInterval type=int persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=CleanupInterval type=int persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=LocalAddress type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=managedConnectionFactoryClass
> type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getManagedConnectionFactoryClass setterName=null]
> [GAttributeInfo: name=SslFipsRequired type=boolean persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=abstractName
> type=org.apache.geronimo.gbean.AbstractName persistent=false
> manageable=false readable=false writable=false getterName=null
> setterName=null]
> [GAttributeInfo: name=MessageSelection type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=BrokerSubQueue type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=ReceiveExit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=classLoader type=java.lang.ClassLoader
> persistent=false manageable=false readable=false writable=false
> getterName=null setterName=null]
> [GAttributeInfo: name=BrokerQueueManager type=java.lang.String
> persistent=true manageable=true readable=true writable=true
> getterName=null
> setterName=null]
> [GAttributeInfo: name=BrokerCCSubQueue type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=SslResetCount type=int persistent=true
> manageable=true
> readable=true writable=true getterName=null setterName=null]
> [GAttributeInfo: name=Password type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=CcdtURL type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=Channel type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=SendExit type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=eventProvider type=boolean persistent=false
> manageable=false readable=true writable=false
> getterName=isEventProvider
> setterName=null]
> [GAttributeInfo: name=SslCertStores type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=QueueManager type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=CCSID type=int persistent=true manageable=true
> readable=true writable=true getterName=null setterName=null]
> [GAttributeInfo: name=TempQPrefix type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=implementedInterfaces type=[Ljava.lang.String;
> persistent=true manageable=true readable=true writable=false
> getterName=getImplementedInterfaces setterName=null]
> [GAttributeInfo: name=connectionInterface type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionInterface setterName=null]
> [GAttributeInfo: name=BrokerVersion type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionManagerContainer type=java.lang.Object
> persistent=false manageable=false readable=true writable=false
> getterName=getConnectionManagerContainer setterName=null]
> [GAttributeInfo: name=Username type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=FailIfQuiesce type=boolean persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=resourceAdapterWrapper
> type=org.apache.geronimo.connector.ResourceAdapterWrapper
> persistent=false
> manageable=false readable=true writable=false
> getterName=getResourceAdapterWrapper setterName=null]
> [GAttributeInfo: name=BrokerPubQueue type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionImplClass type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionImplClass setterName=null]
>
> org.apache.geronimo.common.DeploymentException: The plan is trying
> to set
> attributes: [queueManager, channel, transportType, hostName, port]
> Known attributes:
> [GAttributeInfo: name=TargetClientMatching type=boolean
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=objectName type=java.lang.String
> persistent=false
> manageable=false readable=true writable=false getterName=getObjectName
> setterName=null]
> [GAttributeInfo: name=SecurityExitInit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=UserName type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionFactory type=java.lang.Object
> persistent=false manageable=false readable=true writable=false
> getterName=getConnectionFactory setterName=null]
> [GAttributeInfo: name=HostName type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=Port type=int persistent=true manageable=true
> readable=true writable=true getterName=null setterName=null]
> [GAttributeInfo: name=SslPeerName type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=SubscriptionStore type=java.lang.String
> persistent=true manageable=true readable=true writable=true
> getterName=null
> setterName=null]
> [GAttributeInfo: name=TransportType type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionFactoryInterface type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionFactoryInterface setterName=null]
> [GAttributeInfo: name=SendExitInit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=statisticsProvider type=boolean persistent=false
> manageable=false readable=true writable=false
> getterName=isStatisticsProvider setterName=null]
> [GAttributeInfo: name=connectionFactoryImplClass type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionFactoryImplClass setterName=null]
> [GAttributeInfo: name=CleanupLevel type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=BrokerControlQueue type=java.lang.String
> persistent=true manageable=true readable=true writable=true
> getterName=null
> setterName=null]
> [GAttributeInfo: name=SecurityExit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=stateManageable type=boolean persistent=false
> manageable=false readable=true writable=false
> getterName=isStateManageable
> setterName=null]
> [GAttributeInfo: name=kernel type=org.apache.geronimo.kernel.Kernel
> persistent=false manageable=false readable=false writable=false
> getterName=null setterName=null]
> [GAttributeInfo: name=SslCipherSuite type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=ReceiveExitInit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=configProperties type=java.util.Map
> persistent=false
> manageable=false readable=true writable=false
> getterName=getConfigProperties
> setterName=null]
> [GAttributeInfo: name=ClientID type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=PubAckInterval type=int persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=CleanupInterval type=int persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=LocalAddress type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=managedConnectionFactoryClass
> type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getManagedConnectionFactoryClass setterName=null]
> [GAttributeInfo: name=SslFipsRequired type=boolean persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=abstractName
> type=org.apache.geronimo.gbean.AbstractName persistent=false
> manageable=false readable=false writable=false getterName=null
> setterName=null]
> [GAttributeInfo: name=MessageSelection type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=BrokerSubQueue type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=ReceiveExit type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=classLoader type=java.lang.ClassLoader
> persistent=false manageable=false readable=false writable=false
> getterName=null setterName=null]
> [GAttributeInfo: name=BrokerQueueManager type=java.lang.String
> persistent=true manageable=true readable=true writable=true
> getterName=null
> setterName=null]
> [GAttributeInfo: name=BrokerCCSubQueue type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=SslResetCount type=int persistent=true
> manageable=true
> readable=true writable=true getterName=null setterName=null]
> [GAttributeInfo: name=Password type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=CcdtURL type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=Channel type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=SendExit type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=eventProvider type=boolean persistent=false
> manageable=false readable=true writable=false
> getterName=isEventProvider
> setterName=null]
> [GAttributeInfo: name=SslCertStores type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=QueueManager type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=CCSID type=int persistent=true manageable=true
> readable=true writable=true getterName=null setterName=null]
> [GAttributeInfo: name=TempQPrefix type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=implementedInterfaces type=[Ljava.lang.String;
> persistent=true manageable=true readable=true writable=false
> getterName=getImplementedInterfaces setterName=null]
> [GAttributeInfo: name=connectionInterface type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionInterface setterName=null]
> [GAttributeInfo: name=BrokerVersion type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionManagerContainer type=java.lang.Object
> persistent=false manageable=false readable=true writable=false
> getterName=getConnectionManagerContainer setterName=null]
> [GAttributeInfo: name=Username type=java.lang.String persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=FailIfQuiesce type=boolean persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=resourceAdapterWrapper
> type=org.apache.geronimo.connector.ResourceAdapterWrapper
> persistent=false
> manageable=false readable=true writable=false
> getterName=getResourceAdapterWrapper setterName=null]
> [GAttributeInfo: name=BrokerPubQueue type=java.lang.String
> persistent=true
> manageable=true readable=true writable=true getterName=null
> setterName=null]
> [GAttributeInfo: name=connectionImplClass type=java.lang.String
> persistent=true manageable=true readable=true writable=false
> getterName=getConnectionImplClass setterName=null]
>
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder
> .setDynamicGBeanDataAttributes(ConnectorModuleBuilder.java:726)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder
> .addOutboundGBeans(ConnectorModuleBuilder.java:863)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder
> .addConnectorGBeans(ConnectorModuleBuilder.java:563)
> at
> org
> .apache
> .geronimo
> .connector
> .deployment
> .ConnectorModuleBuilder.initContext(ConnectorModuleBuilder.java:499)
> at
> org
> .apache
> .geronimo
> .j2ee
> .deployment
> .EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:595)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org
> .apache
> .geronimo
> .gbean
> .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:
> 34)
> at
> org
> .apache
> .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
> at
> org
> .apache
> .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
> 239)
> at
> org
> .apache
> .geronimo
> .deployment
> .plugin
> .local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
> at
> org
> .apache
> .geronimo
> .deployment
> .plugin.local.DistributeCommand.run(DistributeCommand.java:61)
> at java.lang.Thread.run(Thread.java:619)
> --
> View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p17811963.html
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
Thanks for resolving MQ RA deployment. I'll pass on to MQ support team.
Kevan Miller wrote:
>
> Hi,
> I've been told that this is a known MQ issue. Probably best to contact
> MQ support...
>
> --kevan
>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18634363.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
Hi,
I've been told that this is a known MQ issue. Probably best to contact
MQ support...
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am deploying RAR separately from my test app. My app is deployed as ear and
dependency is specified in web.xml. To simplify testing, I removed MDB and
test code is contained in a single servlet (WmqServlet). No MQ libraries
are included in the ear file. Please let me know if you need any additional
information
gmo-mq.xml (MQ RAR deployment plan - deployed with wmq.jmsra.rar using
console application)
<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>gmo.mq</sys:groupId>
<sys:artifactId>jmsra</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>rar</sys:type>
</sys:moduleId>
</sys:environment>
<resourceadapter>
<resourceadapter-instance>
<resourceadapter-name>MQRA</resourceadapter-name>
<nam:workmanager>
<nam:gbean-link>DefaultWorkManager</nam:gbean-link>
</nam:workmanager>
</resourceadapter-instance>
<outbound-resourceadapter>
<connection-definition>
<connectionfactory-interface>javax.jms.QueueConnectionFactory</connectionfactory-interface>
<connectiondefinition-instance>
<name>MyQueueConnectionFactory</name>
<config-property-setting
name="queueManager">...</config-property-setting>
<config-property-setting
name="channel">...</config-property-setting>
<config-property-setting
name="transportType">CLIENT</config-property-setting>
<config-property-setting
name="hostName">...</config-property-setting>
<config-property-setting
name="port">1414</config-property-setting>
<connectionmanager>
<!--
<xa-transaction/>
-->
<local-transaction/>
<single-pool>
<max-size>50</max-size>
<min-size>20</min-size>
<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
<idle-timeout-minutes>2</idle-timeout-minutes>
<match-all />
</single-pool>
</connectionmanager>
</connectiondefinition-instance>
</connection-definition>
</outbound-resourceadapter>
</resourceadapter>
<adminobject>
<adminobject-interface>javax.jms.Queue</adminobject-interface>
<adminobject-class>com.ibm.mq.connector.outbound.MQQueueProxy</adminobject-class>
<adminobject-instance>
<message-destination-name>RequestQueue</message-destination-name>
<config-property-setting
name="baseQueueName">...</config-property-setting>
<config-property-setting
name="baseQueueManagerName">...</config-property-setting>
<config-property-setting
name="targetClient">MQ</config-property-setting>
</adminobject-instance>
<adminobject-instance>
<message-destination-name>ReplyQueue</message-destination-name>
<config-property-setting
name="baseQueueName">...</config-property-setting>
<config-property-setting
name="baseQueueManagerName">...</config-property-setting>
</adminobject-instance>
</adminobject>
</connector>
// web deployment descriptor for WmqServlet
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<display-name>Geronimo MQ testing</display-name>
<servlet>
<servlet-name>WmqServlet</servlet-name>
<servlet-class>gmo.servlet.WmqServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WmqServlet</servlet-name>
<url-pattern>/wmq</url-pattern>
</servlet-mapping>
<resource-ref>
<res-ref-name>jms/wmqcf</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms/RequestQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
<resource-env-ref>
<resource-env-ref-name>jms/ReplyQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
</web-app>
geronimo-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2">
<sys:environment>
<sys:moduleId>
<sys:groupId>gmo.testing</sys:groupId>
<sys:artifactId>mq</sys:artifactId>
<sys:version>1.0.0</sys:version>
<sys:type>war</sys:type>
</sys:moduleId>
<sys:dependencies>
<sys:dependency>
<sys:groupId>gmo.mq</sys:groupId>
<sys:artifactId>jmsra</sys:artifactId>
<sys:version>1.0</sys:version>
<sys:type>rar</sys:type>
</sys:dependency>
</sys:dependencies>
</sys:environment>
<nam:resource-ref>
<nam:ref-name>jms/wmqcf</nam:ref-name>
<nam:resource-link>MyQueueConnectionFactory</nam:resource-link>
</nam:resource-ref>
<nam:resource-env-ref>
<nam:ref-name>jms/RequestQueue</nam:ref-name>
<nam:message-destination-link>RequestQueue</nam:message-destination-link>
</nam:resource-env-ref>
<nam:resource-env-ref>
<nam:ref-name>jms/ReplyQueue</nam:ref-name>
<nam:message-destination-link>ReplyQueue</nam:message-destination-link>
</nam:resource-env-ref>
</web-app>
// Servlet used for testing MQ
public class WmqServlet extends HttpServlet
{
private final Logger log = Logger.getLogger(WmqServlet.class);
@Resource(name="jms/wmqcf")
private QueueConnectionFactory qcf;
@Resource(name="jms/RequestQueue")
private Queue qRequest;
@Resource(name="jms/ReplyQueue")
private Queue qReply;
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException
{
try {
processMessage();
}
catch (Exception e) {
e.printStackTrace();
}
}
private void processMessage() throws NamingException, JMSException
{
log.info("Testing MQ send/receive");
log.info("ConnectionFactory=" + qcf);
log.info("Request Queue=" + qRequest);
log.info("Reply Queue=" + qReply);
QueueConnection qc = qcf.createQueueConnection();
try {
log.info("Connection created=" + qc);
qc.start();
QueueSession session = qc.createQueueSession(false,
QueueSession.AUTO_ACKNOWLEDGE);
log.info("Session created=" + session);
QueueSender producer = session.createSender(qRequest);
log.info("Producer created=" + producer);
Message msg = session.createTextMessage("ACC12345");
msg.setJMSReplyTo(qReply); // failing here
producer.send(msg);
log.info("Message sent=" + msg);
QueueReceiver receiver = session.createReceiver(qReply);
log.info("Receiver created=" + receiver);
msg = receiver.receive(30000);
log.info("Got message: " + msg);
receiver.close();
producer.close();
session.close();
}
finally {
qc.close();
}
}
}
Stack trace:
10:28:37,612 INFO [WmqServlet] Testing MQ send/receive
10:28:37,612 INFO [WmqServlet]
ConnectionFactory=com.ibm.mq.connector.outbound.
QueueConnectionFactoryImpl@19b39f6
10:28:37,612 INFO [WmqServlet] Request
Queue=com.ibm.mq.connector.outbound.MQQu
eueProxy@1fa6619
10:28:37,612 INFO [WmqServlet] Reply
Queue=com.ibm.mq.connector.outbound.MQQueu
eProxy@4528a3
10:28:40,217 INFO [WmqServlet] Connection
created=com.ibm.mq.connector.outbound
.QueueConnectionWrapper@1fce0aa
10:28:40,627 INFO [WmqServlet] Session
created=com.ibm.mq.connector.outbound.Qu
eueSessionWrapper@a1fa7f
10:28:40,768 INFO [WmqServlet] Producer
created=com.ibm.mq.connector.outbound.Q
ueueSenderWrapper@129607b
java.lang.ClassCastException: com.ibm.mq.connector.outbound.MQQueueProxy
cannot
be cast to com.ibm.mq.jms.MQQueue
at
com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
at
com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
1813)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
at
com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
ucerWrapper.java:203)
at gmo.servlet.WmqServlet.processMessage(Unknown Source)
at gmo.servlet.WmqServlet.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487
)
at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(Internal
JettyServletHolder.java:65)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
62)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.jav
a:216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
26)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(Twi
styWebAppContext.java:40)
at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.
handle(TwistyWebAppContext.java:65)
at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(Th
readClassloaderHandler.java:46)
at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(Inst
anceContextHandler.java:58)
at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(User
TransactionHandler.java:48)
at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(Com
ponentContextHandler.java:47)
at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyW
ebAppContext.java:59)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
lerCollection.java:206)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
java:114)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
5)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:395)
at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(Th
readPool.java:344)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
at java.lang.Thread.run(Thread.java:619)
Kevan Miller wrote:
>
>
> On Jul 22, 2008, at 10:13 PM, sbyonge wrote:
>
>>
>> I am not sure why I am getting ClassCastException. It may be my local
>> setting and Geronimo is working fine. Any suggestion?
>>
>> QueueSender producer = session.createSender(requestQueue);
>>
>> Message msg = session.createTextMessage("...");
>> // If I comment out "setJMSReplyTo" method, message is sent OK
>> msg.setJMSReplyTo(replyQueue); // Gererating ClassCastException
>> producer.send(msg);
>>
>> java.lang.ClassCastException:
>> com.ibm.mq.connector.outbound.MQQueueProxy
>> cannot
>> be cast to com.ibm.mq.jms.MQQueue
>> at
>> com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
>> at
>> com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
>> 1813)
>> at
>> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
>> at
>> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
>> at
>> com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
>> ucerWrapper.java:203)
>
> Heh. Don't take it personally, but I was hoping we were done with you
> and your problem... ;-)
>
> Can you email your full stack trace? This exception is occurring
> within Geronimo, correct? Not an external MQ/JMS client?
>
> Apologies if you've already told us this info:
>
> How are you deploying the RA? Separately from your app? Or all in a
> single ear? What's your ear deployment plan look like? Are you
> packaging any MQ libraries in your ear?
>
> --kevan
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18613373.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
On Jul 22, 2008, at 10:13 PM, sbyonge wrote:
>
> I am not sure why I am getting ClassCastException. It may be my local
> setting and Geronimo is working fine. Any suggestion?
>
> QueueSender producer = session.createSender(requestQueue);
>
> Message msg = session.createTextMessage("...");
> // If I comment out "setJMSReplyTo" method, message is sent OK
> msg.setJMSReplyTo(replyQueue); // Gererating ClassCastException
> producer.send(msg);
>
> java.lang.ClassCastException:
> com.ibm.mq.connector.outbound.MQQueueProxy
> cannot
> be cast to com.ibm.mq.jms.MQQueue
> at
> com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
> at
> com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
> 1813)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
> at
> com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
> ucerWrapper.java:203)
Heh. Don't take it personally, but I was hoping we were done with you
and your problem... ;-)
Can you email your full stack trace? This exception is occurring
within Geronimo, correct? Not an external MQ/JMS client?
Apologies if you've already told us this info:
How are you deploying the RA? Separately from your app? Or all in a
single ear? What's your ear deployment plan look like? Are you
packaging any MQ libraries in your ear?
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am not sure why I am getting ClassCastException. It may be my local
setting and Geronimo is working fine. Any suggestion?
QueueSender producer = session.createSender(requestQueue);
Message msg = session.createTextMessage("...");
// If I comment out "setJMSReplyTo" method, message is sent OK
msg.setJMSReplyTo(replyQueue); // Gererating ClassCastException
producer.send(msg);
java.lang.ClassCastException: com.ibm.mq.connector.outbound.MQQueueProxy
cannot
be cast to com.ibm.mq.jms.MQQueue
at
com.ibm.mq.jms.MQJMSMessage.setHeaderFromMQMD(MQJMSMessage.java:899)
at
com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
1813)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
at
com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
ucerWrapper.java:203)
sbyonge wrote:
>
> "2.1/20080722" build works a lot better. I can send messages now but I
> cannot set the reply queue. If I call
> TextMessage.setJMSReplyTo(replyQueue), I get the following error but this
> may be related to WMQ bug -
> http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IZ13135. I'll
> download this patch and try again.
>
> 2008.07.22 13:58:09 MQJMS1016E an internal error has occurred. Please
> contact yo
> ur system administrator. Detail: java.lang.ClassCastException:
> com.ibm.mq.connec
> tor.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
> javax.jms.JMSException: MQJMS1016: an internal error has occurred. Please
> contac
> t your system administrator. Detail: java.lang.ClassCastException:
> com.ibm.mq.co
> nnector.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
> at
> com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
> ent.java:644)
> at
> com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
> 1779)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
> at
> com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
> at
> com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
> ucerWrapper.java:203)
>
>
>
> Kevan Miller wrote:
>>
>>
>> On Jul 21, 2008, at 6:27 PM, sbyonge wrote:
>>
>>>
>>> I am getting the same error. I downloaded from
>>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip
>>> .
>>> Is this the right build? Maybe your fix is not included in this
>>> build and
>>> I'll try tomorrow. I could not try the build from trunk. There is no
>>> binary in 20080721 directory.
>>
>> Doesn't look like that build would have contained the fix. Try --
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080722/
>>
>> --kevan
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18602593.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
"2.1/20080722" build works a lot better. I can send messages now but I
cannot set the reply queue. If I call
TextMessage.setJMSReplyTo(replyQueue), I get the following error but this
may be related to WMQ bug -
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg1IZ13135. I'll
download this patch and try again.
2008.07.22 13:58:09 MQJMS1016E an internal error has occurred. Please
contact yo
ur system administrator. Detail: java.lang.ClassCastException:
com.ibm.mq.connec
tor.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
javax.jms.JMSException: MQJMS1016: an internal error has occurred. Please
contac
t your system administrator. Detail: java.lang.ClassCastException:
com.ibm.mq.co
nnector.outbound.MQQueueProxy cannot be cast to com.ibm.jms.JMSDestination
at
com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironm
ent.java:644)
at
com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:
1779)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1139)
at
com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1215)
at
com.ibm.mq.connector.outbound.MessageProducerWrapper.send(MessageProd
ucerWrapper.java:203)
Kevan Miller wrote:
>
>
> On Jul 21, 2008, at 6:27 PM, sbyonge wrote:
>
>>
>> I am getting the same error. I downloaded from
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip
>> .
>> Is this the right build? Maybe your fix is not included in this
>> build and
>> I'll try tomorrow. I could not try the build from trunk. There is no
>> binary in 20080721 directory.
>
> Doesn't look like that build would have contained the fix. Try --
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080722/
>
> --kevan
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18595602.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
On Jul 21, 2008, at 6:27 PM, sbyonge wrote:
>
> I am getting the same error. I downloaded from
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip
> .
> Is this the right build? Maybe your fix is not included in this
> build and
> I'll try tomorrow. I could not try the build from trunk. There is no
> binary in 20080721 directory.
Doesn't look like that build would have contained the fix. Try -- http://people.apache.org/builds/geronimo/server/binaries/2.1/20080722/
--kevan
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I am getting the same error. I downloaded from
http://people.apache.org/builds/geronimo/server/binaries/2.1/20080721/geronimo-jetty6-javaee5-2.1.2-SNAPSHOT-bin.zip.
Is this the right build? Maybe your fix is not included in this build and
I'll try tomorrow. I could not try the build from trunk. There is no
binary in 20080721 directory.
Jarek Gawor-2 wrote:
>
> I just committed another fix. Please try it with the next snapshot.
>
> You're testing with 2.1.2-SNAPSHOT, right? I was testing with trunk...
>
> Jarek
>
> On Mon, Jul 21, 2008 at 12:50 PM, A K <sb...@gmail.com> wrote:
>> I posted the complete log in the forum. I am getting
>> NoSuchAttributeException
>> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
>> attribut
>> e "logWriterEnabled" in gbean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
>> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
>> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>>
>> I looked ra.xml and property type is java.lang.String. Could it be
>> something to do with mapping String to primitive boolean type or vice
>> versa?
>>
>> <config-property>
>> <config-property-name>logWriterEnabled</config-property-name>
>> <config-property-type>java.lang.String</config-property-type>
>> <config-property-value>true</config-property-value>
>> </config-property>
>>
>> On Sat, Jul 19, 2008 at 12:20 PM, Kevan Miller <ke...@gmail.com>
>> wrote:
>>>
>>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>>
>>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>>
>>> Deployment failed:
>>> The plan is trying to set attributes: [queueManager, transportType]
>>>
>>> This problem should be fixed in current source trees (branches/2.1 and
>>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
>>> whether
>>> or not this fixes your problem?
>>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>>> --kevan
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18578916.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Jarek Gawor <jg...@gmail.com>.
I just committed another fix. Please try it with the next snapshot.
You're testing with 2.1.2-SNAPSHOT, right? I was testing with trunk...
Jarek
On Mon, Jul 21, 2008 at 12:50 PM, A K <sb...@gmail.com> wrote:
> I posted the complete log in the forum. I am getting
> NoSuchAttributeException
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>
> I looked ra.xml and property type is java.lang.String. Could it be
> something to do with mapping String to primitive boolean type or vice versa?
>
> <config-property>
> <config-property-name>logWriterEnabled</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
>
> On Sat, Jul 19, 2008 at 12:20 PM, Kevan Miller <ke...@gmail.com>
> wrote:
>>
>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>
>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>
>> Deployment failed:
>> The plan is trying to set attributes: [queueManager, transportType]
>>
>> This problem should be fixed in current source trees (branches/2.1 and
>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm whether
>> or not this fixes your problem?
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>> --kevan
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by A K <sb...@gmail.com>.
I posted the complete log in the forum. I am getting
NoSuchAttributeException
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=
gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
I looked ra.xml and property type is java.lang.String. Could it be
something to do with mapping String to primitive boolean type or vice versa?
<config-property>
<config-property-name>logWriterEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
On Sat, Jul 19, 2008 at 12:20 PM, Kevan Miller <ke...@gmail.com>
wrote:
>
> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>
>
> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>
> Deployment failed:
> The plan is trying to set attributes: [queueManager, transportType]
>
>
> This problem should be fixed in current source trees (branches/2.1 and
> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm whether
> or not this fixes your problem?
>
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>
> --kevan
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
Thanks for testing! I used a deployment plan that I already had,
rather than cut/paste of your plan. Expect Jarek did the same. Can't
look at this right now. Hopefully soon.
--kevan
On Jul 21, 2008, at 10:02 AM, sbyonge <sb...@gmail.com> wrote:
>
> I see NoSuchAttributeException from the log
>
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException:
> Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
> rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>
> I looked ra.xml and property type for logWriterEnabled is
> java.lang.String.
> Could it be something to do with mapping String to primitive boolean
> type or
> vice versa?
>
> <config-property>
> <config-property-name>logWriterEnabled</config-property-name>
> <config-property-type>java.lang.String</config-property-type>
> <config-property-value>true</config-property-value>
> </config-property>
>
>
> sbyonge wrote:
>>
>> It does not seem to work. Although console application does not
>> complain,
>> I am getting the following errors while deploying on the server log.
>>
>> [ConfigurationUtil] Could not load gbean gmo.mq/jmsra/1.0/rar
>> ?J2EEApplication=null,JCAResource=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapter=gmo.mq/jm
>> sra/1.0/rar,ResourceAdapterModule=gmo.mq/jmsra/1.0/
>> rar,j2eeType=JCAResourceAdapt
>> er,name=MQRA
>> org.apache.geronimo.gbean.InvalidConfigurationException: Could not
>> inject
>> config
>> uration data into the GBean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResourc
>> e=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapterModul
>> e=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:377)
>> at
>> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
>> va:354)
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
>> nGBeans(ConfigurationUtil.java:441)
>> at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
>> rnelConfigurationManager.java:188)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:562)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:543)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
>> ectionMethodInvoker.java:34)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
>> n.java:124)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
>> java:832)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
>> 7)
>> at
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
>> ionInvoker.java:35)
>> at
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
>> xyMethodInterceptor.java:96)
>> at
>> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
>> tartConfiguration(<generated>)
>> at
>> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
>> mand.java:67)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException:
>> Unknown
>> attribut
>> e "logWriterEnabled" in gbean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
>> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapterMod
>> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
>> eanInstance.java:802)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
>> tance.java:751)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:372)
>> ... 18 more
>> org.apache.geronimo.kernel.config.LifecycleException: start of
>> gmo.mq/jmsra/1.0/
>> rar failed
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:579)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:543)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
>> ectionMethodInvoker.java:34)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
>> n.java:124)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
>> java:832)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
>> 7)
>> at
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
>> ionInvoker.java:35)
>> at
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
>> xyMethodInterceptor.java:96)
>> at
>> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
>> tartConfiguration(<generated>)
>> at
>> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
>> mand.java:67)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
>> Unknown sta
>> rt exception
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
>> nGBeans(ConfigurationUtil.java:522)
>> at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
>> rnelConfigurationManager.java:188)
>> at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
>> figuration(SimpleConfigurationManager.java:562)
>> ... 14 more
>> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
>> Could
>> not in
>> ject configuration data into the GBean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null
>> ,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceA
>> dapterModule=gmo.mq/jmsra/1.0/
>> rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:377)
>> at
>> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
>> va:354)
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
>> nGBeans(ConfigurationUtil.java:441)
>> ... 16 more
>> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException:
>> Unknown
>> attribut
>> e "logWriterEnabled" in gbean
>> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
>> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/
>> rar,ResourceAdapterMod
>> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
>> eanInstance.java:802)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
>> tance.java:751)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
>> java:372)
>> ... 18 more
>>
>>
>>
>> Kevan Miller wrote:
>>>
>>>
>>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>>
>>>>
>>>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>>>
>>>> Deployment failed:
>>>> The plan is trying to set attributes: [queueManager, transportType]
>>>
>>> This problem should be fixed in current source trees (branches/2.1
>>> and
>>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
>>> whether or not this fixes your problem?
>>>
>>> http://people.apache.org/builds/geronimo/server/binaries/
>>> 2.1/20080719
>>>
>>> --kevan
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18573051.html
> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
>
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
I see NoSuchAttributeException from the log
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
I looked ra.xml and property type for logWriterEnabled is java.lang.String.
Could it be something to do with mapping String to primitive boolean type or
vice versa?
<config-property>
<config-property-name>logWriterEnabled</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>true</config-property-value>
</config-property>
sbyonge wrote:
>
> It does not seem to work. Although console application does not complain,
> I am getting the following errors while deploying on the server log.
>
> [ConfigurationUtil] Could not load gbean gmo.mq/jmsra/1.0/rar
> ?J2EEApplication=null,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jm
> sra/1.0/rar,ResourceAdapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapt
> er,name=MQRA
> org.apache.geronimo.gbean.InvalidConfigurationException: Could not inject
> config
> uration data into the GBean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResourc
> e=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterModul
> e=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:377)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:441)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:188)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:562)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:543)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:832)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
> tartConfiguration(<generated>)
> at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
> eanInstance.java:802)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
> tance.java:751)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:372)
> ... 18 more
> org.apache.geronimo.kernel.config.LifecycleException: start of
> gmo.mq/jmsra/1.0/
> rar failed
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:579)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:543)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:832)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at
> org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
> tartConfiguration(<generated>)
> at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
> Unknown sta
> rt exception
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:522)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:188)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:562)
> ... 14 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could
> not in
> ject configuration data into the GBean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null
> ,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceA
> dapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:377)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
> va:354)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:441)
> ... 16 more
> Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
> attribut
> e "logWriterEnabled" in gbean
> gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
> rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
> ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
> eanInstance.java:802)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
> tance.java:751)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
> java:372)
> ... 18 more
>
>
>
> Kevan Miller wrote:
>>
>>
>> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>>
>>>
>>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>>
>>> Deployment failed:
>>> The plan is trying to set attributes: [queueManager, transportType]
>>
>> This problem should be fixed in current source trees (branches/2.1 and
>> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
>> whether or not this fixes your problem?
>>
>> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>>
>> --kevan
>>
>
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18573051.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by sbyonge <sb...@gmail.com>.
It does not seem to work. Although console application does not complain, I
am getting the following errors while deploying on the server log.
[ConfigurationUtil] Could not load gbean gmo.mq/jmsra/1.0/rar
?J2EEApplication=null,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jm
sra/1.0/rar,ResourceAdapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapt
er,name=MQRA
org.apache.geronimo.gbean.InvalidConfigurationException: Could not inject
config
uration data into the GBean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResourc
e=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterModul
e=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:377)
at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:354)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:441)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
tartConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
eanInstance.java:802)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
tance.java:751)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:372)
... 18 more
org.apache.geronimo.kernel.config.LifecycleException: start of
gmo.mq/jmsra/1.0/
rar failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:579)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:124)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$64bde49a.s
tartConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
mand.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
sta
rt exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:522)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
rnelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
figuration(SimpleConfigurationManager.java:562)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Could
not in
ject configuration data into the GBean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null
,JCAResource=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceA
dapterModule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:377)
at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.ja
va:354)
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
nGBeans(ConfigurationUtil.java:441)
... 16 more
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown
attribut
e "logWriterEnabled" in gbean
gmo.mq/jmsra/1.0/rar?J2EEApplication=null,JCAResou
rce=gmo.mq/jmsra/1.0/rar,ResourceAdapter=gmo.mq/jmsra/1.0/rar,ResourceAdapterMod
ule=gmo.mq/jmsra/1.0/rar,j2eeType=JCAResourceAdapter,name=MQRA
at
org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GB
eanInstance.java:802)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.setAttribute(GBeanIns
tance.java:751)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.
java:372)
... 18 more
Kevan Miller wrote:
>
>
> On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>
>>
>> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>>
>> Deployment failed:
>> The plan is trying to set attributes: [queueManager, transportType]
>
> This problem should be fixed in current source trees (branches/2.1 and
> trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
> whether or not this fixes your problem?
>
> http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
>
> --kevan
>
--
View this message in context: http://www.nabble.com/Cannot-deploy-wmq.jmsra.rar-%28WebSphere-MQ%29-tp17811963s134p18570992.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Posted by Kevan Miller <ke...@gmail.com>.
On Jun 12, 2008, at 7:29 PM, sbyonge wrote:
>
> I am having problem with deploying wmq.jmsra.rar in Geronimo 2.1.1
>
> Deployment failed:
> The plan is trying to set attributes: [queueManager, transportType]
This problem should be fixed in current source trees (branches/2.1 and
trunk). Here's a pointer to our 2.1 nightly build. Could you confirm
whether or not this fixes your problem?
http://people.apache.org/builds/geronimo/server/binaries/2.1/20080719
--kevan