[
http://jira.jboss.com/jira/browse/JBESB-1787?page=comments#action_12415270 ]
Markus Heidt commented on JBESB-1787:
-------------------------------------
Thanks for the quick fix.
I added the following
org.jboss.soa.esb.actions.smooks.SmooksAction=smooks.esb
Reinstalled everything.
But still this error:
12:58:29,540 WARN [ActionProcessingPipeline] Unexpected exception caught while processing
the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address
jms://0.0.0.0:1099/queue/dante_tscm_file_import_Request_esb/>,
<wsa:ReferenceProperties jbossesb:java.naming.factory.initial :
org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties
jbossesb:java.naming.provider.url : 0.0.0.0:1099/>, <wsa:ReferenceProperties
jbossesb:java.naming.factory.url.pkgs : org.jnp.interfaces/>,
<wsa:ReferenceProperties jbossesb:destination-type : queue/>,
<wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties
jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties
jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type :
urn:jboss/esb/epr/type/jms/> > ] MessageID: 43f073ec-f6e1-46b8-8466-681be4cdf728
RelatesTo: jms:correlationID#43f073ec-f6e1-46b8-8466-681be4cdf728 ]
org.milyn.cdr.SmooksConfigurationException: Error invoking @Initialize method
'initialize' on class 'org.milyn.javabean.BeanInstanceCreator'.
at org.milyn.cdr.annotation.Configurator.invoke(Configurator.java:325)
at org.milyn.cdr.annotation.Configurator.initialise(Configurator.java:307)
at org.milyn.cdr.annotation.Configurator.configure(Configurator.java:90)
at org.milyn.cdr.annotation.Configurator.configure(Configurator.java:65)
at
org.milyn.delivery.JavaContentHandlerFactory.create(JavaContentHandlerFactory.java:63)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$ContentHandlerExtractionStrategy.addCDU(ContentDeliveryConfigBuilder.java:618)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$ContentHandlerExtractionStrategy.applyCDUStrategy(ContentDeliveryConfigBuilder.java:543)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$ContentHandlerExtractionStrategy.processExpansionConfigurations(ContentDeliveryConfigBuilder.java:721)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$ContentHandlerExtractionStrategy.addCDU(ContentDeliveryConfigBuilder.java:705)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$ContentHandlerExtractionStrategy.applyCDUStrategy(ContentDeliveryConfigBuilder.java:543)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$ContentHandlerExtractionStrategy.applyStrategy(ContentDeliveryConfigBuilder.java:531)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$SmooksResourceConfigurationTableIterator.iterate(ContentDeliveryConfigBuilder.java:755)
at
org.milyn.delivery.ContentDeliveryConfigBuilder$SmooksResourceConfigurationTableIterator.access$300(ContentDeliveryConfigBuilder.java:734)
at
org.milyn.delivery.ContentDeliveryConfigBuilder.extractContentHandlers(ContentDeliveryConfigBuilder.java:470)
at
org.milyn.delivery.ContentDeliveryConfigBuilder.load(ContentDeliveryConfigBuilder.java:335)
at
org.milyn.delivery.ContentDeliveryConfigBuilder.getConfig(ContentDeliveryConfigBuilder.java:165)
at
org.milyn.container.standalone.StandaloneExecutionContext.<init>(StandaloneExecutionContext.java:82)
at
org.milyn.container.standalone.StandaloneExecutionContext.<init>(StandaloneExecutionContext.java:57)
at org.milyn.Smooks.createExecutionContext(Smooks.java:218)
at
org.jboss.soa.esb.actions.smooks.SmooksAction.createExecutionContext(SmooksAction.java:189)
at org.jboss.soa.esb.actions.smooks.SmooksAction.process(SmooksAction.java:155)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.milyn.cdr.SmooksConfigurationException: Invalid Smooks bean configuration.
Bean class
com.dai.dante_tscm.ws.dto.SmooksComponentVariantRevision
not on classpath.
at
org.milyn.javabean.BeanInstanceCreator.resolveBeanRuntime(BeanInstanceCreator.java:340)
at org.milyn.javabean.BeanInstanceCreator.initialize(BeanInstanceCreator.java:102)
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:585)
at org.milyn.cdr.annotation.Configurator.invoke(Configurator.java:321)
... 25 more
SmooksAction and classpath issues
---------------------------------
Key: JBESB-1787
URL:
http://jira.jboss.com/jira/browse/JBESB-1787
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Transformation Service
Affects Versions: 4.3
Environment: JBoss AS 4.2.1.GA
JBoss ESB 4.3.GA
Reporter: Markus Heidt
Assigned To: Kevin Conner
Fix For: 4.4
I had a running SmooksTransformer ESB-project and tried a migration to the new
SmooksAction.
For the upcoming documentation, it would be useful to mention, that the deployment.xml
needs a dependency like follows:
<depends>jboss.esb:deployment=smooks.esb</depends>
I have a jar in the .esb package on the root-level, which was used by the
SmooksTransformer.
But now with the SmooksAction, it raises an error, that one of my classes couldn't be
found.
I double checked by downgrading back to 4.2.1...it worked perfect again.
I was always using clean installations of AS 4.2.1.GA
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira