camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From triswork <tristan.k...@gmail.com>
Subject Re: Transaction Exception
Date Fri, 08 May 2009 09:02:29 GMT

Thanks Claus. I have updated my pom to use the snapshot repo in the interim. 




Claus Ibsen-2 wrote:
> 
> Hi
> 
> I have created a ticket to track it:
> https://issues.apache.org/activemq/browse/CAMEL-1592
> 
> I have committed a fix and it should be in the 1.6.1 release due out
> soon, when Hadrian have time to build it.
> 
> 1.6.1 is also published as a SNAPSHOT at a maven repo. See the
> download page for details:
> http://camel.apache.org/download.html
> 
> On Fri, May 8, 2009 at 9:08 AM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
>> Hi
>>
>> Thanks for reporting. First time I see this issue.
>>
>> I will commit a fix to Camel 1.6.1 to avoid this issue. Running tests
>> now.
>>
>>
>> On Fri, May 8, 2009 at 8:48 AM, triswork <tristan.koen@gmail.com> wrote:
>>>
>>> Hi Claus,
>>>
>>> I am using 1.6.0
>>> The full stacktrace is listed below:
>>>
>>> java.lang.ExceptionInInitializerError
>>>        at
>>> org.apache.camel.spring.spi.SpringTransactionPolicy.wrap(SpringTransactionPolicy.java:54)
>>>        at
>>> org.apache.camel.model.PolicyRef.createProcessor(PolicyRef.java:86)
>>>        at
>>> org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:1590)
>>>        at
>>> org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:99)
>>>        at org.apache.camel.model.RouteType.addRoutes(RouteType.java:220)
>>>        at org.apache.camel.model.RouteType.addRoutes(RouteType.java:89)
>>>        at
>>> org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:639)
>>>        at
>>> org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:631)
>>>        at
>>> org.apache.camel.spring.SpringCamelContext.maybeDoStart(SpringCamelContext.java:166)
>>>        at
>>> org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:161)
>>>        at
>>> org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:47)
>>>        at
>>> org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:96)
>>>        at
>>> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:115)
>>>        at
>>> org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)
>>>        at
>>> org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
>>>        at
>>> org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)
>>>        at
>>> org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)
>>>        at
>>> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)
>>>        at
>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:383)
>>>        at
>>> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
>>>        at
>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
>>>        at
>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
>>>        at
>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4632)
>>>        at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
>>>        at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
>>>        at
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
>>>        at
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
>>>        at
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
>>>        at
>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
>>>        at
>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
>>>        at
>>> com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
>>>        at
>>> com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
>>>        at
>>> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
>>>        at
>>> com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
>>>        at
>>> com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
>>>        at
>>> com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
>>>        at
>>> com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
>>>        at
>>> com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
>>>        at
>>> com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
>>>        at
>>> com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
>>>        at
>>> com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
>>>        at
>>> com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
>>>        at
>>> com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:609)
>>>        at
>>> com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:653)
>>>        at
>>> com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:773)
>>>        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
>>> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
>>>        at
>>> com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
>>>        at
>>> com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
>>>        at
>>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>>>        at
>>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>>>        at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>>>        at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>>        at
>>> com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
>>>        at $Proxy1.invoke(Unknown Source)
>>>        at
>>> com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
>>>        at
>>> com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
>>>        at
>>> com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
>>>        at
>>> com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
>>>        at
>>> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
>>>        at
>>> com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>>>        at
>>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
>>>        at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
>>>        at
>>> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
>>>        at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
>>>        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
>>>        at
>>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
>>>        at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
>>>        at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
>>>        at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
>>>        at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
>>>        at
>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
>>>        at com.sun.enterprise.web.connector.grizzly.Defa
>>> ultReadTask.executeProcessorTask(DefaultReadTask.java:341)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
>>>        at
>>> com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
>>> Caused by: org.apache.camel.RuntimeCamelException: An Exchange Property
>>> 'transacted' has already been registered; its traits are:
>>> java.lang.Boolean
>>> org.apache.camel.transacted (transacted)
>>>        at
>>> org.apache.camel.ExchangeProperty.register(ExchangeProperty.java:123)
>>>        at
>>> org.apache.camel.ExchangeProperty.<init>(ExchangeProperty.java:76)
>>>        at
>>> org.apache.camel.spring.spi.TransactionInterceptor.<clinit>(TransactionInterceptor.java:44)
>>>        ... 94 more
>>> WebModule[/Maia-1.0-SNAPSHOT]PWC1275: Exception sending context
>>> initialized
>>> event to listener instance of class
>>> org.springframework.web.context.ContextLoaderListener
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Transaction-Exception-tp23434439p23440981.html
>>> Sent from the Camel - Users (activemq) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>> Apache Camel Reference Card:
>> http://refcardz.dzone.com/refcardz/enterprise-integration
>> Interview with me:
>> http://architects.dzone.com/articles/interview-claus-ibsen-about?mz=7893-progress
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> Apache Camel Reference Card:
> http://refcardz.dzone.com/refcardz/enterprise-integration
> Interview with me:
> http://architects.dzone.com/articles/interview-claus-ibsen-about?mz=7893-progress
> 
> 

-- 
View this message in context: http://www.nabble.com/Transaction-Exception-tp23434439p23442504.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Mime
View raw message