helloworld in eclipse
gscf Feb 10, 2007 2:02 AMHi,
I am new to JBoss ESB.
I have successfully installed jbossesb and run the first hello world
example using ant.
running ant sendesb works fine.
When I build a project in eclipse and try to run SendEsbMessage as a console application
I get the following error.
0 [main] DEBUG org.jboss.soa.esb.services.registry.RegistryFactory - Going to load org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl
0 [main] DEBUG org.jboss.soa.esb.common.Factory - Using the Context ClassLoader
172 [main] DEBUG org.jboss.soa.esb.services.registry.RegistryFactory - Going to load org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl
172 [main] DEBUG org.jboss.soa.esb.common.Factory - Using the Context ClassLoader
Exception in thread "main" java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.init(JAXRRegistryImpl.java:81)
at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getConnection(JAXRRegistryImpl.java:96)
at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:315)
at org.jboss.soa.esb.listeners.ListenerUtil.tryToDeliver(ListenerUtil.java:63)
at quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:196)
I am passing these runtime arguments to java
-Dorg.jboss.soa.esb.registry.queryManagerURI="org.apache.juddi.registry.local.InquiryService#inquire"
-Dorg.jboss.soa.esb.registry.lifeCycleManagerURI="org.apache.juddi.registry.local.PublishService#publish"
-Dorg.jboss.soa.esb.registry.implementationClass="org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl"
-Dorg.jboss.soa.esb.registry.factoryClass="org.apache.ws.scout.registry.ConnectionFactoryImpl"
-Dorg.jboss.soa.esb.registry.user=jbossesb
-Dorg.jboss.soa.esb.registry.password=password
Are there other properties I need to set to setup the correct runtime environment?
Thanks
Stephen