[jboss-jira] [JBoss JIRA] Updated: (JBESB-388) Querying for tModels causes NAMESPACE_ERR, null results and failure
jarkko Lietolahti (JIRA)
jira-events at jboss.com
Mon Jan 22 18:24:53 EST 2007
[ http://jira.jboss.com/jira/browse/JBESB-388?page=all ]
jarkko Lietolahti updated JBESB-388:
------------------------------------
Priority: Critical (was: Major)
> Querying for tModels causes NAMESPACE_ERR, null results and failure
> --------------------------------------------------------------------
>
> Key: JBESB-388
> URL: http://jira.jboss.com/jira/browse/JBESB-388
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Registry and Repository
> Affects Versions: 4.0 CR2
> Reporter: jarkko Lietolahti
> Assigned To: Mark Little
> Priority: Critical
>
> Tried to create this in Apache jUDDI Jira which failed miserably:
> "Create Issue
> Step 2 of 2: Enter the details of the issue...
> Errors
> * org.ofbiz.core.entity.GenericEntityException: while updating: [GenericEntity:Project][id,10401][description,null][counter,100][name,jUDDI][lead,sviens][assigneetype,2][key,JUDDI][url,http://ws.apache.org/juddi] (SQL Exception while executing the following:UPDATE public.project SET pcounter=? WHERE ID=? (ERROR: permission denied for relation project))
> " so ended up putting it here.
> Running with software uddibrowser.org (repeatable using juddi console from juddi.war and Eclispe WebServices explorer):
> jarkko at exit:~/src/ub-0.2-bin/bin$ ant
> Buildfile: build.xml
> launch_browser:
> [java] TransportFactory: Using transport name:org.uddi4j.transport.ApacheSOAPTransport
> [java] Request body:
> [java] <find_tModel generic="2.0" xmlns="urn:uddi-org:api_v2"><findQualifiers/><name>%</name></find_tModel>
> [java] Response body:
> [java] <tModelList generic="2.0" operator="jUDDI.org"><tModelInfos><tModelInfo tModelKey="uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823"><name>dnb-com:D-U-N-S</name></tModelInfo><tModelInfo tModelKey="uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2"><name>ntis-gov:naics:1997</name></tModelInfo><tModelInfo tModelKey="uuid:B1B1BAF5-2329-43E6-AE13-BA8E97195039"><name>thomasregister-com:supplierID</name></tModelInfo><tModelInfo tModelKey="uuid:A035A07C-F362-44DD-8F95-E2B134BF43B4"><name>uddi-org:general_keywords</name></tModelInfo><tModelInfo tModelKey="uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88"><name>uddi-org:iso-ch:3166-1999</name></tModelInfo><tModelInfo tModelKey="uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E"><name>uddi-org:isReplacedBy</name></tModelInfo><tModelInfo tModelKey="uuid:327A56F0-3299-4461-BC23-5CD513E95C55"><name>uddi-org:operators</name></tModelInfo><tModelInfo tModelKey="uuid:4064C064-6D14-4F35-8953-9652106476A9"><name>uddi-org:owningBusiness</name></tModelInfo><tModelInfo tModelKey="uuid:6E10B91B-BABC-3442-B8FC-5A3C8FDE0794"><name>uddi-org:protocol:http</name></tModelInfo><tModelInfo tModelKey="uuid:AA254698-93DE-3870-8DF3-A5C075D64A0E"><name>uddi-org:protocol:soap</name></tModelInfo><tModelInfo tModelKey="uuid:807A2C6A-EE22-470D-ADC7-E0424A337C03"><name>uddi-org:relationships</name></tModelInfo><tModelInfo tModelKey="uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4"><name>uddi-org:types</name></tModelInfo><tModelInfo tModelKey="uuid:AD61DE98-4DB8-31B2-A299-A2373DC97212"><name>uddi-org:wsdl:address</name></tModelInfo><tModelInfo tModelKey="uuid:4DC74177-7806-34D9-AECD-33C57DC3A865"><name>uddi-org:wsdl:categorization:protocol</name></tModelInfo><tModelInfo tModelKey="uuid:E5C43936-86E4-37BF-8196-1D04B35C0099"><name>uddi-org:wsdl:categorization:transport</name></tModelInfo><tModelInfo tModelKey="uuid:082B0851-25D8-303C-B332-F24A6D53E38E"><name>uddi-org:wsdl:portTypeReference</name></tModelInfo><tModelInfo tModelKey="uuid:6E090AFA-33E5-36EB-81B7-1CA18373F457"><name>uddi-org:wsdl:types</name></tModelInfo><tModelInfo tModelKey="uuid:2EC65201-9109-3919-9BEC-C9DBEFCACCF6"><name>uddi-org:xml:localName</name></tModelInfo><tModelInfo tModelKey="uuid:D01987D1-AB2E-3013-9BE2-2A66EB99D824"><name>uddi-org:xml:namespace</name></tModelInfo><tModelInfo tModelKey="uuid:CD153257-086A-4237-B336-6BDCBDCC6634"><name>unspsc-org:unspsc</name></tModelInfo><tModelInfo tModelKey="uuid:DB77450D-9FA8-45D4-A7BC-04411D14E384"><name>unspsc-org:unspsc:3-1</name></tModelInfo></tModelInfos></tModelList>
> [java] Request body:
> [java] <get_tModelDetail generic="2.0" xmlns="urn:uddi-org:api_v2"><tModelKey>uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823</tModelKey><tModelKey>uuid:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2</tModelKey><tModelKey>uuid:B1B1BAF5-2329-43E6-AE13-BA8E97195039</tModelKey><tModelKey>uuid:A035A07C-F362-44DD-8F95-E2B134BF43B4</tModelKey><tModelKey>uuid:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88</tModelKey><tModelKey>uuid:E59AE320-77A5-11D5-B898-0004AC49CC1E</tModelKey><tModelKey>uuid:327A56F0-3299-4461-BC23-5CD513E95C55</tModelKey><tModelKey>uuid:4064C064-6D14-4F35-8953-9652106476A9</tModelKey><tModelKey>uuid:6E10B91B-BABC-3442-B8FC-5A3C8FDE0794</tModelKey><tModelKey>uuid:AA254698-93DE-3870-8DF3-A5C075D64A0E</tModelKey><tModelKey>uuid:807A2C6A-EE22-470D-ADC7-E0424A337C03</tModelKey><tModelKey>uuid:C1ACF26D-9672-4404-9D70-39B756E62AB4</tModelKey><tModelKey>uuid:AD61DE98-4DB8-31B2-A299-A2373DC97212</tModelKey><tModelKey>uuid:4DC74177-7806-34D9-AECD-33C57DC3A865</tModelKey><tModelKey>uuid:E5C43936-86E4-37BF-8196-1D04B35C0099</tModelKey><tModelKey>uuid:082B0851-25D8-303C-B332-F24A6D53E38E</tModelKey><tModelKey>uuid:6E090AFA-33E5-36EB-81B7-1CA18373F457</tModelKey><tModelKey>uuid:2EC65201-9109-3919-9BEC-C9DBEFCACCF6</tModelKey><tModelKey>uuid:D01987D1-AB2E-3013-9BE2-2A66EB99D824</tModelKey><tModelKey>uuid:CD153257-086A-4237-B336-6BDCBDCC6634</tModelKey><tModelKey>uuid:DB77450D-9FA8-45D4-A7BC-04411D14E384</tModelKey></get_tModelDetail>
> [java] Response body:
> [java] <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>Generic server fault</faultstring></env:Fault>
> [java] Request body:
> [java] <get_tModelDetail generic="2.0" xmlns="urn:uddi-org:api_v2"><tModelKey>uuid:8609C81E-EE1F-4D5A-B202-3EB13AD01823</tModelKey></get_tModelDetail>
> [java] Response body:
> [java] <env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>Generic server fault</faultstring></env:Fault>
> [java] Caught exception: null
> [java] java.lang.NullPointerException
> [java] at org.uddibrowser.RegistryActionController.getDispositionReportAsString(RegistryActionController.java:912)
> [java] at org.uddibrowser.RegistryActionController.processRead(RegistryActionController.java:675)
> [java] at org.uddibrowser.RegistryActionController.asyncWork(RegistryActionController.java:471)
> [java] at org.uddibrowser.RegistryActionController.access$000(RegistryActionController.java:76)
> [java] at org.uddibrowser.RegistryActionController$1.construct(RegistryActionController.java:354)
> [java] at org.uddibrowser.ui.SwingWorker$2.run(SwingWorker.java:137)
> [java] at java.lang.Thread.run(Thread.java:595)
>
> And output from jboss console log:
> 01:08:18,323 INFO [STDOUT] 2007-01-23 01:08:18,322 [http-0.0.0.0-8080-3] 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.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)
> 01:08:18,325 INFO [STDOUT] 2007-01-23 01:08:18,325 [http-0.0.0.0-8080-3] 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.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)
> 01:08:18,347 INFO [STDOUT] 2007-01-23 01:08:18,346 [http-0.0.0.0-8080-2] 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.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)
> 01:08:18,348 INFO [STDOUT] 2007-01-23 01:08:18,347 [http-0.0.0.0-8080-2] 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.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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list