geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Cannot deploy wmq.jmsra.rar (WebSphere MQ)
Date Thu, 12 Jun 2008 23:53:41 GMT
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.
>


Mime
View raw message