[
http://jira.jboss.com/jira/browse/JBESB-392?page=all ]
Tom Fennelly closed JBESB-392.
------------------------------
Resolution: Done
Fixed. smooks-cdr.lst also needs to be deployed to dependencies.sar
smooks in sar does not work
---------------------------
Key: JBESB-392
URL:
http://jira.jboss.com/jira/browse/JBESB-392
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Transformation Service
Affects Versions: 4.0
Reporter: Kurt Stam
Assigned To: Tom Fennelly
Fix For: 4.0
When trying to run smooks from JBossAS (sar deployment) I get:
17:02:57,875 ERROR [ActionProcessingPipeline] Premature termination of action processing
pipeline [Ljava.lang.String;@1ddc941]. ActionProcessor
[org.jboss.soa.esb.actions.converters.SmooksTransformer] method not found
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.run(ActionProcessingPipeline.java:77)
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.jboss.soa.esb.ConfigurationException: Failed to locate Tranformation
configuration list file [classpath:/smooks-cdr.lst]. This resource must be made available
at the specified URI.
at
org.jboss.soa.esb.actions.converters.SmooksTransformer.initSmooks(SmooksTransformer.java:402)
at
org.jboss.soa.esb.actions.converters.SmooksTransformer.<init>(SmooksTransformer.java:180)
... 8 more
Adding it in a jar or to the jbossas/bin directory does not fix this issue.
To reproduce simply run the quickstart called transform_XML2XML-simple in deployed to SAR
mode.
--
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