4 Replies Latest reply on Jan 16, 2008 9:41 AM by tfennelly

    smooks transformer on JBoss

    talk2neo

      Hi,

      Need help here.

      I checked couple of examples on http://milyn.codehaus.org/Tutorials. But I dont have Maven. Please guide how to deploy,compile & execute these tutorials on JBoss server.

        • 1. Re: smooks transformer on JBoss
          tfennelly

          Sorry... are you talking about JBoss App Server, or JBoss ESB?

          If you're talking about the ESB, it's working off an earlier version of Smooks, so not all the Smooks Tutorials will work on it. The ESB also uses an ESB Action to hook Smooks into the ESB (SmooksTransformer). Best thing to do is check out the transform_* samples in the ESB distro.

          • 2. Re: smooks transformer on JBoss

            I remember seeing some kind of Smooks transformation console or tool, but can't seem to find it from JBoss ESB 4.2.1.

            Is it gone forever?

            • 3. Re: smooks transformer on JBossESB
              talk2neo

              Hi,
              I tried to transform_* samples in the ESB distro. But got this error -->

              C:\jboss\jboss-4.2.2.GA\samples\quickstarts\transform_XML2XML_simple>ant run
              Buildfile: build.xml

              check-jbossesb-dist:

              qslib-dependencies:

              non-qslib-dependencies:

              jbossesb-dependencies:

              jbossesb-server-dependencies:

              messaging-config:

              messaging-dependencies:

              jbossmq-dependencies:

              quickstart-specific-dependencies:

              dependencies:

              compile:

              config:

              run:
              [echo] Launching Quickstart in standalone mode...
              [qsjava] +----------------------------------------------------------+
              [qsjava] | |
              [qsjava] | Starting JBossESB... |
              [qsjava] | |
              [qsjava] +----------------------------------------------------------+
              [qsjava] Reading config from C:\jboss\jboss-4.2.2.GA\samples\quickstarts\tran
              sform_XML2XML_simple\jboss-esb.xml
              [qsjava] 15:31:41,853 INFO [main][SimpleThreadPool] Job execution threads wi
              ll use class loader of thread: main
              [qsjava] 15:31:41,869 INFO [main][QuartzScheduler] Quartz Scheduler v.1.5.2
              created.
              [qsjava] 15:31:41,885 INFO [main][RAMJobStore] RAMJobStore initialized.
              [qsjava] 15:31:41,885 INFO [main][StdSchedulerFactory] Quartz scheduler 'Def
              aultQuartzScheduler' initialized from an externally provided properties instance
              .
              [qsjava] 15:31:41,885 INFO [main][StdSchedulerFactory] Quartz scheduler vers
              ion: 1.5.2
              [qsjava] 15:31:43,213 DEBUG [main][NamingContext] Failed to connect to localh
              ost:1099

              [qsjava] javax.naming.CommunicationException: Failed to connect to server loc
              alhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed
              to connect to server localhost:1099 [Root exception is java.net.ConnectException
              : Connection refused: connect]]
              [qsjava] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java
              :274)
              [qsjava] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:
              1533)
              [qsjava] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:63
              4)
              [qsjava] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62
              7)
              [qsjava] at javax.naming.InitialContext.lookup(InitialContext.java:351)
              [qsjava] at org.jboss.soa.esb.actions.converters.SmooksInstanceManager$Co
              nfigurationUpdateListener.getJmsConnectionFactory(SmooksInstanceManager.java:184
              )


              Please advise.

              • 4. Re: smooks transformer on JBoss
                tfennelly

                Looks like it's looking for a JMS Provider. Try it with yer JBoss AS running.