4 Replies Latest reply on Jan 20, 2007 1:44 PM by Jarkko Lietolahti

    jUDDI configuration

    Jarkko Lietolahti Novice

      Hello,
      I am trying to configure JESB and jUDDI to use SOAP communication.

      This would allow registry browse&publish applications ( like http://sourceforge.net/projects/uddibrowser/ ) to access the jUDDI. So that I can register some EJB3 JSR-181 WebServices using the SOAP jUDDI publish URL (http://localhost:8080/juddi/publish).


      I've been trying to follow the instructions from http://labs.jboss.com/file-access/default/members/jbossesb/freezone/docs/4.0CR2/manuals/pdf/services/RegistryConfiguration.pdf.

      Creating TModels from the uddibrowser web UI works Ok, but searching and creating of Businesses causes the exception below.

      By Googling I found some references to this case (https://issues.apache.org/jira/browse/JUDDI-91). Does the juddi.jar included in the CR2 (or trunk) contain the JUDDI-91 namespace related patch?


      This stacktrace occurs when trying to search for business from uddibrowser. The second one is when trying to create Business from the web ui.

      15:07:56,874 INFO [STDOUT] In BasicSearchCommand.exec
      15:07:56,874 INFO [STDOUT] %
      15:07:56,874 INFO [STDOUT] businessName
      15:07:57,841 INFO [STDOUT] 2007-01-19 15:07:57,841 [http-0.0.0.0-8080-5] INFO org.apache.juddi.util.Loader - Using the Context ClassLoader
      15:07:57,849 INFO [STDOUT] 2007-01-19 15:07:57,849 [http-0.0.0.0-8080-5] INFO org.apache.juddi.util.jdbc.ConnectionManager - Using JNDI to aquire a JDBC DataSource with name: java:/juddiDB
      15:07:58,055 INFO [STDOUT] 2007-01-19 15:07:58,052 [http-0.0.0.0-8080-5] ERROR org.apache.juddi.registry.AbstractService - NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
      org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
       at org.apache.xerces.dom.CoreDocumentImpl.checkDOMNSErr(Unknown Source)
       at org.apache.xerces.dom.AttrNSImpl.setName(Unknown Source)
       at org.apache.xerces.dom.AttrNSImpl.<init>(Unknown Source)
       at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(Unknown Source)
       at org.apache.xerces.dom.ElementImpl.setAttributeNS(Unknown Source)
       at org.jboss.ws.soap.SOAPElementImpl.setAttributeNS(SOAPElementImpl.java:617)
       at org.jboss.util.xml.DOMUtils.copyAttributes(DOMUtils.java:352)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:83)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
       at org.jboss.ws.soap.SOAPBodyImpl.addDocument(SOAPBodyImpl.java:114)
       at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:192)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      15:07:58,070 INFO [STDOUT] 2007-01-19 15:07:58,069 [http-0.0.0.0-8080-5] ERROR org.apache.juddi.registry.AbstractService - A serious error has occured while assembling the SOAP Fault.
      java.lang.IllegalArgumentException: Invalid faultCode: Server
       at org.jboss.ws.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:219)
       at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:317)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      15:07:58,101 ERROR [STDERR] Generic server fault
      15:07:58,101 ERROR [STDERR] at org.uddi4j.UDDIElement.<init>(Unknown Source)
      15:07:58,101 ERROR [STDERR] at org.uddi4j.response.BusinessList.<init>(Unknown Source)
      15:07:58,101 ERROR [STDERR] at org.uddi4j.client.UDDIProxy.find_business(Unknown Source)
      15:07:58,101 ERROR [STDERR] at org.uddibrowser.uddi.UddiWrapper.searchBusiness(UddiWrapper.java:382)
      15:07:58,101 ERROR [STDERR] at org.uddibrowser.uddi.UddiWrapper.search(UddiWrapper.java:75)
      15:07:58,101 ERROR [STDERR] at org.uddibrowser.commands.search.BasicSearchCommand.exec(BasicSearchCommand.java:65)
      15:07:58,101 ERROR [STDERR] at org.uddibrowser.servlet.RootServlet.doGet(RootServlet.java:181)
      15:07:58,101 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      15:07:58,101 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      15:07:58,101 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      15:07:58,101 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:07:58,101 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      15:07:58,101 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      15:07:58,102 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      15:07:58,102 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      15:07:58,102 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      15:07:58,102 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      15:07:58,102 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      15:07:58,102 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      15:07:58,102 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      15:07:58,102 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      15:07:58,102 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      
      



      Second stack trace.
      15:22:36,186 INFO [STDOUT] createBusiness
      15:22:36,211 INFO [STDOUT] 2007-01-19 15:22:36,211 [http-0.0.0.0-8080-6] INFO org.apache.juddi.util.Loader - Using the Context ClassLoader
      15:22:36,217 INFO [STDOUT] 2007-01-19 15:22:36,217 [http-0.0.0.0-8080-6] INFO org.apache.juddi.util.Loader - Using the Context ClassLoader
      15:22:36,234 INFO [STDOUT] 2007-01-19 15:22:36,233 [http-0.0.0.0-8080-6] INFO org.apache.juddi.datastore.jdbc.JDBCDataStore - Generated token 'authToken:20BA20B0-A7C0-11DB-A0B0-8652732842F1' for user: 'jbossesb/JBoss ESB User'
      15:22:36,536 INFO [STDOUT] 2007-01-19 15:22:36,534 [http-0.0.0.0-8080-4] ERROR org.apache.juddi.registry.AbstractService - NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
      org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
       at org.apache.xerces.dom.CoreDocumentImpl.checkDOMNSErr(Unknown Source)
       at org.apache.xerces.dom.AttrNSImpl.setName(Unknown Source)
       at org.apache.xerces.dom.AttrNSImpl.<init>(Unknown Source)
       at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(Unknown Source)
       at org.apache.xerces.dom.ElementImpl.setAttributeNS(Unknown Source)
       at org.jboss.ws.soap.SOAPElementImpl.setAttributeNS(SOAPElementImpl.java:617)
       at org.jboss.util.xml.DOMUtils.copyAttributes(DOMUtils.java:352)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:83)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
       at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
       at org.jboss.ws.soap.SOAPBodyImpl.addDocument(SOAPBodyImpl.java:114)
       at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:192)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      15:22:36,537 INFO [STDOUT] 2007-01-19 15:22:36,536 [http-0.0.0.0-8080-4] ERROR org.apache.juddi.registry.AbstractService - A serious error has occured while assembling the SOAP Fault.
      java.lang.IllegalArgumentException: Invalid faultCode: Server
       at org.jboss.ws.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:219)
       at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:317)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      15:22:36,544 ERROR [STDERR] Generic server fault
      15:22:36,544 ERROR [STDERR] at org.uddi4j.UDDIElement.<init>(Unknown Source)
      15:22:36,544 ERROR [STDERR] at org.uddi4j.response.BusinessDetail.<init>(Unknown Source)
      15:22:36,544 ERROR [STDERR] at org.uddi4j.client.UDDIProxy.save_business(Unknown Source)
      
      



        • 1. Re: jUDDI configuration
          Kurt Stam Master

          Hi Jarkko,

          1. Can you confirm that everything you do through the JBossESB product works.

          2. And that you are getting this error when using the juddi console app?

          3. And yes the juddi.jar contains the fix for JUDDI-91.

          --Kurt

          • 2. Re: jUDDI configuration
            Jarkko Lietolahti Novice

             

            "kurt.stam@jboss.com" wrote:
            Hi Jarkko,

            1. Can you confirm that everything you do through the JBossESB product works.

            2. And that you are getting this error when using the juddi console app?


            This is from console log when calling find_customer through http://localhost:8080/juddi/console/controller.jsp
            <?xml version="1.0" encoding="utf-8"?>
            <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
             <soapenv:Body>
             <find_business maxRows="100" generic="2.0" xmlns="urn:uddi-org:api_v2">
             <name>%</name>
             </find_business>
             </soapenv:Body>
            </soapenv:Envelope>
            
            


            6:02:28,667 INFO [STDOUT] 2007-01-19 16:02:28,666 [http-0.0.0.0-8080-1] ERROR org.apache.juddi.registry.AbstractService - NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
            org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
             at org.apache.xerces.dom.CoreDocumentImpl.checkDOMNSErr(Unknown Source)
             at org.apache.xerces.dom.AttrNSImpl.setName(Unknown Source)
             at org.apache.xerces.dom.AttrNSImpl.<init>(Unknown Source)
             at org.apache.xerces.dom.CoreDocumentImpl.createAttributeNS(Unknown Source)
             at org.apache.xerces.dom.ElementImpl.setAttributeNS(Unknown Source)
             at org.jboss.ws.soap.SOAPElementImpl.setAttributeNS(SOAPElementImpl.java:617)
             at org.jboss.util.xml.DOMUtils.copyAttributes(DOMUtils.java:352)
             at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:83)
             at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
             at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
             at org.jboss.ws.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:92)
             at org.jboss.ws.soap.SOAPBodyImpl.addDocument(SOAPBodyImpl.java:114)
             at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:192)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
             at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:595)
            16:02:28,669 INFO [STDOUT] 2007-01-19 16:02:28,669 [http-0.0.0.0-8080-1] ERROR org.apache.juddi.registry.AbstractService - A serious error has occured while assembling the SOAP Fault.
            java.lang.IllegalArgumentException: Invalid faultCode: Server
             at org.jboss.ws.soap.SOAPFaultImpl.setFaultCode(SOAPFaultImpl.java:219)
             at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:317)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
             at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
             at java.lang.Thread.run(Thread.java:595)
            
            




            • 3. Re: jUDDI configuration
              Kurt Stam Master

              OK, can you log this as bug with jUDDI then? It will still get to me :), but it's better tracked this way. It seems very similar to the issue I worked on before, but I've seen more problems with the console before. Iwas just just trying to figure out the immediate impact for the JBossESB project.

              If you could, can you deploy the juddi.war to just tomcat as well. I'd be great for me to know if this is an issue with the console in general or just related to JBoss.

              You can also try this tool http://uddibrowser.org

              Let me know!

              --Kurt

              • 4. Re: jUDDI configuration
                Jarkko Lietolahti Novice

                I decided to give it a try to get jUDDI up and running in Tomcat. Simply deploying juddi.war to tomcat didn't work. happyjuddi.jsp is happy. I'll double check, something.

                2007-01-20 20:39:12,196 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/juddi].[UDDIV2InquiryService] - Servlet.service() for servlet UDDIV2InquiryService threw exception
                java.lang.NullPointerException
                 at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:344)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                 at java.lang.Thread.run(Thread.java:595)
                2007-01-20 20:39:12,238 [http-8080-Processor24] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/juddi].[UDDIV2InquiryService] - Servlet.service() for servlet UDDIV2InquiryService threw exception
                java.lang.NullPointerException
                 at org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:344)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                 at java.lang.Thread.run(Thread.java:595)
                2007-01-20 20:39:12,298 [http-8080-Processor25] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/juddi].[UDDIV2InquiryService] - Servlet.service() for servlet UDDIV2InquiryService threw exception
                java.lang.NullPointerException
                
                


                And here's the happyjuddi results:
                jUDDI@Apache
                jUDDI
                
                Happy jUDDI!
                jUDDI Version Information
                
                jUDDI Version: 0.9rc4
                UDDI Version: 2.0
                
                jUDDI Dependencies: Class Files & Libraries
                
                Looking for: org.apache.juddi.IRegistry
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/juddi.jar
                Looking for: org.apache.axis.transport.http.AxisServlet
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/axis.jar
                Looking for: org.apache.commons.discovery.Resource
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/commons-discovery-0.2.jar
                Looking for: org.apache.commons.logging.Log
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/bin/commons-logging-api.jar
                Looking for: org.apache.log4j.Layout
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/log4j-1.2.8.jar
                Looking for: javax.xml.soap.SOAPMessage
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/jbossws-client.jar
                Looking for: javax.xml.rpc.Service
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/jbossws-client.jar
                Looking for: com.ibm.wsdl.factory.WSDLFactoryImpl
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/lib/wsdl4j-1.5.1.jar
                Looking for: javax.xml.parsers.SAXParserFactory
                +Found in an unknown location
                
                jUDDI Dependencies: Resource & Properties Files
                
                Looking for: log4j.xml
                +Found in: /home/jarkko/downloads/src/apache-tomcat-5.5.20/webapps/juddi/WEB-INF/classes/log4j.xml
                
                jUDDI DataSource Validation
                
                + Got a JNDI Context!
                + Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB)
                + Got a JDBC Connection!
                + SELECT COUNT(*) FROM PUBLISHER = 1
                
                System Properties
                
                catalina.base: /home/jarkko/downloads/src/apache-tomcat-5.5.20
                catalina.home: /home/jarkko/downloads/src/apache-tomcat-5.5.20
                catalina.useNaming: true
                common.loader: ${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar
                file.encoding: UTF-8
                file.encoding.pkg: sun.io
                file.separator: /
                java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
                java.awt.printerjob: sun.print.PSPrinterJob
                java.class.path: :/home/jarkko/downloads/src/apache-tomcat-5.5.20/bin/bootstrap.jar:/home/jarkko/downloads/src/apache-tomcat-5.5.20/bin/commons-logging-api.jar
                java.class.version: 49.0
                java.endorsed.dirs: /home/jarkko/downloads/src/apache-tomcat-5.5.20/common/endorsed
                java.ext.dirs: /home/jarkko/dev/jdk1.5.0_10/jre/lib/ext
                java.home: /home/jarkko/dev/jdk1.5.0_10/jre
                java.io.tmpdir: /home/jarkko/downloads/src/apache-tomcat-5.5.20/temp
                java.library.path: /home/jarkko/dev/jdk1.5.0_10/jre/lib/i386/server:/home/jarkko/dev/jdk1.5.0_10/jre/lib/i386:/home/jarkko/dev/jdk1.5.0_10/jre/../lib/i386
                java.naming.factory.initial: org.apache.naming.java.javaURLContextFactory
                java.naming.factory.url.pkgs: org.apache.naming
                java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition
                java.runtime.version: 1.5.0_10-b03
                java.specification.name: Java Platform API Specification
                java.specification.vendor: Sun Microsystems Inc.
                java.specification.version: 1.5
                java.util.logging.config.file: /home/jarkko/downloads/src/apache-tomcat-5.5.20/conf/logging.properties
                java.util.logging.manager: org.apache.juli.ClassLoaderLogManager
                java.vendor: Sun Microsystems Inc.
                java.vendor.url: http://java.sun.com/
                java.vendor.url.bug: http://java.sun.com/cgi-bin/bugreport.cgi
                java.version: 1.5.0_10
                java.vm.info: mixed mode
                java.vm.name: Java HotSpot(TM) Server VM
                java.vm.specification.name: Java Virtual Machine Specification
                java.vm.specification.vendor: Sun Microsystems Inc.
                java.vm.specification.version: 1.0
                java.vm.vendor: Sun Microsystems Inc.
                java.vm.version: 1.5.0_10-b03
                line.separator:
                
                os.arch: i386
                os.name: Linux
                os.version: 2.6.19.2
                package.access: sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
                package.definition: sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
                path.separator: :
                server.loader: ${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar
                shared.loader: ${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
                sun.arch.data.model: 32
                sun.boot.class.path: /home/jarkko/dev/jdk1.5.0_10/jre/lib/rt.jar:/home/jarkko/dev/jdk1.5.0_10/jre/lib/i18n.jar:/home/jarkko/dev/jdk1.5.0_10/jre/lib/sunrsasign.jar:/home/jarkko/dev/jdk1.5.0_10/jre/lib/jsse.jar:/home/jarkko/dev/jdk1.5.0_10/jre/lib/jce.jar:/home/jarkko/dev/jdk1.5.0_10/jre/lib/charsets.jar:/home/jarkko/dev/jdk1.5.0_10/jre/classes
                sun.boot.library.path: /home/jarkko/dev/jdk1.5.0_10/jre/lib/i386
                sun.cpu.endian: little
                sun.cpu.isalist:
                sun.io.unicode.encoding: UnicodeLittle
                sun.jnu.encoding: UTF-8
                sun.management.compiler: HotSpot Server Compiler
                sun.os.patch.level: unknown
                tomcat.util.buf.StringCache.byte.enabled: true
                user.country: FI
                user.dir: /home/jarkko/downloads/src/apache-tomcat-5.5.20/bin
                user.home: /home/jarkko
                user.language: fi
                user.name: jarkko
                user.timezone: Europe/Helsinki
                
                
                Platform: Apache Tomcat/5.5.20