5 Replies Latest reply on Jun 3, 2008 10:44 AM by tfennelly

    SmooksAction

    mheidt

      I'm trying to migrate a SmooksTranformer to a SmooksAction with the latest ESB 4.3.GA

      I figured out already, that the deployment.xml needs an additional

      <depends>jboss.esb:deployment=smooks.esb</depends>


      So now it deploys without errors.

      On the rootlevel of the .esb I have a couple of .jars.

      When I trigger the esb, it gives me a
      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.BeanIn


      It was working on ESB 4.2.1.GA

      How do I tell smooks, that it might look into some of the jars of the .esb?
      Any build.xml entries I'm not aware of?


        • 1. Re: SmooksAction
          mheidt

          Ok,

          http://jira.jboss.com/jira/browse/JBESB-1787

          and is fixed already for the next version.

          • 2. Re: SmooksAction
            kconner

            Markus, this issue fixes the automatic creation of the dependency but it looks like you have a second issue.

            I have updated the JIRA with a comment, there appears to be a missing class. Is the following included in your esb archive?

            com.dai.dante_tscm.ws.dto.SmooksComponentVariantRevision

            If so, could you send me a version that I could look at?

            • 3. Re: SmooksAction
              kconner

              Markus, I have your esb up and running but I need an example file to trigger the execution. Could you email one to me please?

              • 4. Re: SmooksAction
                kconner

                Markus, the issue seems to be the whitespace surrounding your beanClass.

                If you configure them all on the same line, without surrounding whitespace, then it should work.

                I'll ask Tom to comment further on this.

                • 5. Re: SmooksAction
                  tfennelly

                  So I assume what Kev's saying is that your beanClass is something like:

                  <param name="beanClass">
                   com.dai.dante_tscm.ws.dto.SmooksComponentVariantRevision
                  </param>


                  .. instead of:

                  <param name="beanClass">com.dai.dante_tscm.ws.dto.SmooksComponentVariantRevision</param>


                  I'm guessing this was an issue introduced by the annotated configs - the pre annotated config may have had an explicit trim on the param value.

                  Added the following JIRA: http://jira.codehaus.org/browse/MILYN-169