1 Reply Latest reply on May 14, 2010 3:46 AM by mahdsip

    SMX 3.4.0.5 Problem with JMS Stateful

    mahdsip

      Hi everybody,

       

      I have found a problem trying to configure JMS statefull to a mySQL database. I have follow instuctions form JMS guide and it seems to be everything well configured, but when I try to deploy my SA with a JMS provider SU, I get the following exeption originated by Spring:

       

      DEBUG - AbstractPoolBackedDataSource   - com.mchange.v2.c3p0.ComboPooledDataSource@5fba1c has been closed.

      java.lang.Exception: DEBUG STACK TRACE for PoolBackedDataSource.close().

           at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.close(AbstractPoolBackedDataSource.java:417)

           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.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:208)

           at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:165)

           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)

           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)

           at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)

           at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:388)

           at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:87)

           at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)

           at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)

           at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:520)

           at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:349)

           at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:255)

           at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658)

           at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:63)

           at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622)

           at java.util.TimerThread.mainLoop(Timer.java:512)

           at java.util.TimerThread.run(Timer.java:462)

      ERROR - JmsComponent                   - org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.jms.JmsEndpoint#0' defined in file /home/desarrollo1/software/apache-servicemix-3.4.0.5-fuse/data/smx/service-assemblies/receiveDD-sa/version_7/sus/servicemix-jms/receiveDD-jms-su/xbean.xml: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'stateless' of bean class : Bean property 'stateless' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

      INFO  - DeploymentService              - UnDeployed ServiceUnit receiveDD-http-su from Component: servicemix-http

       

       

       

      have you ever seen this error before?? I would be please to receive your advises...

       

      Thanks!