Details

      Description

      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.

        Gliffy Diagrams

          Activity

          Hide
          tfennelly Tom Fennelly added a comment -

          Fixed. smooks-cdr.lst also needs to be deployed to dependencies.sar

          Show
          tfennelly Tom Fennelly added a comment - Fixed. smooks-cdr.lst also needs to be deployed to dependencies.sar

            People

            • Assignee:
              tfennelly Tom Fennelly
              Reporter:
              kurtstam Kurt Stam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development