4 Replies Latest reply on Jun 16, 2008 9:36 AM by Maksim Solovjov

    JBoss ESB Server 4.3, Problem with quickstart/helloworld run

    Maksim Solovjov Newbie

      Hello.
      I would be greatful, if you could help me.
      First of all, I start server(JBoss ESB 4.3.GA) with ./run.sh -b 0.0.0.0
      Then I type server_ip:8080/ to check. Everything is okey.

      So I try to deploy samples/quickstarts/helloworld...
      First of all, I type ant deploy...
      Everything seems ok.
      Then I type ant runtest...And hence Exception is thrown:


      16:40:18,174 INFO [JBoss4ESBDeployer] create esb service, Quickstart_helloworld
      .esb
      16:40:18,187 INFO [QueueService] Queue[/queue/quickstart_helloworld_Request_esb
      ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      16:40:18,191 INFO [QueueService] Queue[/queue/quickstart_helloworld_Request_gw]
      started, fullSize=200000, pageSize=2000, downCacheSize=2000
      16:40:18,237 INFO [JDBCDataStore] Generated token 'authToken:18698FC0-3885-11DD
      -8FC0-E42FF4F71B63' for user: 'jbossesb/JBoss ESB User'
      16:40:18,303 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
      TERED started.


      [maksims@dev helloworld]$ ant runtest
      Buildfile: build.xml

      check-jbossesb-dist:

      qslib-dependencies:

      non-qslib-dependencies:

      jbossesb-quickstart-override:

      jbossesb-source-dependencies:

      jbossesb-server-dependencies:
      [echo] Defaulting to profile: default

      jbossesb-dependencies:

      messaging-config:

      messaging-dependencies:

      jbossmq-dependencies:

      quickstart-specific-dependencies:

      classpath-dependencies:

      quickstart-specific-checks:

      dependencies:

      compile:

      runtest:
      [echo] Runs Test JMS Sender
      [java] Exception in thread "main" java.io.InvalidClassException: invalid fi
      eld type for delegate in class org.jboss.jms.client.JBossConnectionFactory
      [java] at java.io.ObjectInputStream.readClassDescriptor(libgcj.so.7rh)
      [java] at java.io.ObjectInputStream.readObject(libgcj.so.7rh)
      [java] at java.io.ObjectInputStream.readObject(libgcj.so.7rh)
      [java] at java.rmi.MarshalledObject.get(libgcj.so.7rh)
      [java] at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair
      .java:72)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710
      )
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627
      )
      [java] at javax.naming.InitialContext.lookup(libgcj.so.7rh)
      [java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMe
      ssage.setupConnection(SendJMSMessage.java:52)
      [java] at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendJMSMe
      ssage.main(SendJMSMessage.java:81)

      BUILD FAILED
      /opt/jboss/jbossesb-server-4.3.GA/samples/quickstarts/helloworld/build.xml:14: J
      ava returned: 1


      So, problem is in SendJMSMessage.java, line 52:
      Object tmp = iniCtx.lookup("ConnectionFactory");

      But Why?

      With the Best Wishes, Maksim