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 Fri, 13 Jun 2008 17:31:29 GMT
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.
>


Mime
View raw message