1 Reply Latest reply on Jun 16, 2008 6:21 AM by Tom Fennelly

    JBoss ESB Newbie - helloworld_db_registration problem

    Seema Gupta Newbie

      Hello Friends,

      I'm a JBossESB newbie!

      I could run the first 2 quickstart apps quite successfully. However, the third one, "helloworld_db_registration" did throw some errors (excepts pased below).

      I checked the readme file and it says:
      "This example assumes your jUDDI registry is running and it connects
      directly to the database to register the component."

      So, my stupid, basic question: What does that mean? How do I start/run jUDDI registry?

      Thank you for the help.

      run:
       [echo] Launching Quickstart in standalone mode...
       [qsjava] +----------------------------------------------------------+
       [qsjava] | |
       [qsjava] | Starting JBossESB... |
       [qsjava] | |
       [qsjava] +----------------------------------------------------------+
       [qsjava] Reading config from C:\JBossESB\ESBServer\jbossesb-server-4.3.GA\samples\quickstarts\helloworld_db_registration\jboss-esb.xml
       [qsjava] 16:03:28,265 INFO [main][SimpleThreadPool] Job execution threads will use class loader of thread: main
       [qsjava] 16:03:28,281 INFO [main][QuartzScheduler] Quartz Scheduler v.1.5.2 created.
       [qsjava] 16:03:28,296 INFO [main][RAMJobStore] RAMJobStore initialized.
       [qsjava] 16:03:28,296 INFO [main][StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from an externally provided
       properties instance.
       [qsjava] 16:03:28,296 INFO [main][StdSchedulerFactory] Quartz scheduler version: 1.5.2
       [qsjava] 16:03:29,046 ERROR [WorkThread][ConnectionManager] Exception occurred while attempting to acquire a JDBC DataSource from JNDI: c
      omp not bound
       [qsjava] 16:03:29,046 ERROR [WorkThread][FindTModelFunction] java.lang.NullPointerException
       [qsjava] 16:03:29,046 ERROR [WorkThread][RequestHandler] java.lang.NullPointerException
       [qsjava] java.lang.reflect.InvocationTargetException
       [qsjava] at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:67)
       [qsjava] at org.apache.ws.scout.registry.RegistryImpl.execute(RegistryImpl.java:271)
       [qsjava] at org.apache.ws.scout.registry.RegistryImpl.findTModel(RegistryImpl.java:793)
       [qsjava] at org.apache.ws.scout.registry.BusinessQueryManagerImpl.findClassificationSchemeByName(BusinessQueryManagerImpl.java:440)
       [qsjava] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:469)
       [qsjava] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.registerEPR(JAXRRegistryImpl.java:156)
       [qsjava] at org.jboss.soa.esb.listeners.RegistryUtil.register(RegistryUtil.java:143)
       [qsjava] at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:209)
       [qsjava] at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
       [qsjava] at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
      
       [qsjava] at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:366)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:354)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration(ConfigurationController.java:328)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.<init>(ConfigurationController.java:128)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.initiateController(StandAloneBootStrapper.java:228)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:156)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:132)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.main(StandAloneBootStrapper.java:99)
       [qsjava] Caused by: java.lang.reflect.InvocationTargetException
       [qsjava] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       [qsjava] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       [qsjava] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       [qsjava] at java.lang.reflect.Method.invoke(Method.java:585)
       [qsjava] at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:63)
       [qsjava] ... 18 more
       [qsjava] Caused by: java.lang.Exception: faultCode=null, faultString=null, faultActor=null, errno=null, errCode=null, errText=null
       [qsjava] at org.apache.juddi.registry.local.InquiryService.inquire(InquiryService.java:91)
       [qsjava] ... 23 more
       [qsjava] 16:03:29,062 ERROR [main][ConfigurationController] Unexpected exception starting controller
       [qsjava] org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleException: Unexpected error during registration for epr JMSEpr [ PortRefer
      ence < <wsa:Address jms://localhost/queue/B/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingCont
      extFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:java.naming.factor
      y.url.pkgs : org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:specifica
      tion-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persiste
      nt : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>
       > ]
       [qsjava] at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:213)
       [qsjava] at org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle.initialise(AbstractManagedLifecycle.java:133)
       [qsjava] at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.initialiseInstances(ManagedLifecycleController.java:150)
      
       [qsjava] at org.jboss.soa.esb.listeners.lifecycle.ManagedLifecycleController.start(ManagedLifecycleController.java:69)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:366)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.startController(ConfigurationController.java:354)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.processConfiguration(ConfigurationController.java:328)
       [qsjava] at org.jboss.soa.esb.listeners.config.ConfigurationController.<init>(ConfigurationController.java:128)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.initiateController(StandAloneBootStrapper.java:228)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:156)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.<init>(StandAloneBootStrapper.java:132)
       [qsjava] at org.jboss.soa.esb.listeners.StandAloneBootStrapper.main(StandAloneBootStrapper.java:99)
       [qsjava] Caused by: org.jboss.soa.esb.services.registry.RegistryException: java.lang.reflect.InvocationTargetException
       [qsjava] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.registerEPR(JAXRRegistryImpl.java:182)
       [qsjava] at org.jboss.soa.esb.listeners.RegistryUtil.register(RegistryUtil.java:143)
       [qsjava] at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:209)
       [qsjava] ... 11 more
       [qsjava] Caused by: javax.xml.registry.JAXRException: java.lang.reflect.InvocationTargetException
       [qsjava] at org.apache.ws.scout.registry.BusinessQueryManagerImpl.findClassificationSchemeByName(BusinessQueryManagerImpl.java:459)
       [qsjava] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:469)
       [qsjava] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.registerEPR(JAXRRegistryImpl.java:156)
       [qsjava] ... 13 more