3 Replies Latest reply on Nov 27, 2008 1:00 PM by tfennelly

    Exception while sending message to ESB

    vishal12345

      Hi,

      I have a servlet application from which i want to send message to ESB ( i m having a separate post running where the servelet is on tomcat but now i m trying to run it from JBOSS)

      when i place message on ESB i get following exception.

      20:38:54,390 INFO [ConnectionManager] Using JNDI to aquire a JDBC DataSource with name: java:/juddiDB
      20:38:54,421 INFO [STDOUT] 20:38:54,421 ERROR [RegistryEngine] Could not create jUDDI database null
      java.lang.NullPointerException
       at org.apache.juddi.registry.RegistryEngine.initializeDatabase(RegistryEngine.java:252)
       at org.apache.juddi.registry.RegistryEngine.init(RegistryEngine.java:196)
       at org.apache.juddi.registry.local.Registry.init(Registry.java:202)
       at org.apache.juddi.registry.local.Registry.<clinit>(Registry.java:49)
       at org.apache.juddi.registry.local.RequestHandler.run(RequestHandler.java:127)
       at java.lang.Thread.run(Unknown Source)
      20:38:54,437 INFO [STDOUT] 20:38:54,437 INFO [Loader] Using the Context ClassLoader
      20:38:54,562 INFO [STDOUT] 20:38:54,562 INFO [ConnectionManager] Using JNDI to aquire a JDBC DataSource with name: java:/juddiDB
      20:38:54,562 INFO [STDOUT] 20:38:54,562 ERROR [FindTModelFunction] java.lang.NullPointerException
      20:38:54,562 INFO [STDOUT] 20:38:54,562 ERROR [RequestHandler] java.lang.NullPointerException
      20:38:54,562 ERROR [STDERR] java.lang.reflect.InvocationTargetException
      20:38:54,562 ERROR [STDERR] at org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:67)
      20:38:54,562 ERROR [STDERR] at org.apache.ws.scout.registry.RegistryImpl.execute(RegistryImpl.java:271)
      20:38:54,562 ERROR [STDERR] at org.apache.ws.scout.registry.RegistryImpl.findTModel(RegistryImpl.java:793)
      20:38:54,562 ERROR [STDERR] at org.apache.ws.scout.registry.BusinessQueryManagerImpl.findClassificationSchemeByName(BusinessQueryManagerImpl.java:440)
      20:38:54,562 ERROR [STDERR] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findService(JAXRRegistryImpl.java:424)
      20:38:54,562 ERROR [STDERR] at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:273)
      20:38:54,562 ERROR [STDERR] at org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.findEPRs(InVMRegistryInterceptor.java:160)
      20:38:54,562 ERROR [STDERR] at org.jboss.soa.esb.services.registry.RegistryFactory$HeadRegistryInterceptor.findEPRs(RegistryFactory.java:229)
      20:38:54,562 ERROR [STDERR] at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:226)
      20:38:54,562 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:466)
      20:38:54,562 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:162)
      20:38:54,562 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:143)
      20:38:54,562 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:185)
      20:38:54,562 ERROR [STDERR] at com.nativetung.frontendserver.servlet.submitText.sendMessageToEsb(submitText.java:149)
      20:38:54,562 ERROR [STDERR] at com.nativetung.frontendserver.servlet.submitText.processRequest(submitText.java:98)
      20:38:54,562 ERROR [STDERR] at com.nativetung.frontendserver.servlet.submitText.doPost(submitText.java:173)
      20:38:54,562 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      20:38:54,562 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      20:38:54,562 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      20:38:54,562 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      20:38:54,562 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      20:38:54,562 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      20:38:54,562 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      20:38:54,562 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      20:38:54,562 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      20:38:54,562 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      20:38:54,562 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
      20:38:54,562 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException
      
      


      what can be the reason ?