juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TMG <...@nc.rr.com>
Subject Axis 1.2 RC1 Support
Date Thu, 18 Nov 2004 19:12:45 GMT
I posted the note below to the user's group and got no response.  It is 
a very easy problem to reproduce.

Any help would be much appreciated.

Thanks,

Tom Gordon

TMG wrote:

> Hello,
>
> I am getting an error (invalid QName local part) downstream of line 
> 257 in AxisProcessor.java using Axis 1.2RC1.  Axis 1.1 works fine.  I 
> need to "upgrade" to Axis 1.2 because of "fixes" to Axis that I need 
> for my web service.  Running two different axis servers is not 
> desireable.
>
> The failure occurs in the response from an authorization (AuthToken) 
> after a successful PUBLISHER lookup in the database.
>
> I tried turning the monitoring on, but it causes a database failure 
> (trying to commit with autocommit=true) so the client gets the Axis 
> fault from it instead.
>
> I am using jUDDI version 0.9RC3.  Is there a known patch for Axis 
> 1.2RC1 ?
>
> Thanks,
>
> Tom Gordon
>
>
> Stack trace dump follows (including Axis trace):
>
> 09:34:14,018 - DataStore Implementation = 
> org.apache.juddi.datastore.jdbc.JDBCDataStore
> 09:34:14,024 - Using the Context ClassLoader
> 09:34:14,075 - Using JNDI to aquire a JDBC DataSource with name: 
> java:comp/env/jdbc/juddiDB
> 09:34:24,128 - Authenticator Implementation = 
> org.apache.juddi.auth.DefaultAuthenticator
> 09:34:24,128 - Using the Context ClassLoader
> 09:34:24,332 - select from PUBLISHER table:
>
>        SELECT 
> PUBLISHER_NAME,LAST_NAME,FIRST_NAME,MIDDLE_INIT,WORK_PHONE,MOBILE_PHONE,PAGER,EMAIL_ADDRESS,ADMIN,ENABLED

> FROM PUBLISHER WHERE PUBLISHER_ID=?
>         PUBLISHER_ID=tgordon
>
> 09:34:24,355 - UUIDGen Implementation = 
> org.apache.juddi.uuidgen.DefaultUUIDGen
> 09:34:24,355 - Using the Context ClassLoader
> 09:34:25,143 - Generated token 
> 'authToken:722D7BB0-3713-11D9-BBB0-DB949DA95E2A' for user: 
> 'tgordon/Tom Gordon'
> 09:34:25,189 - insert into AUTH_TOKEN table:
>
>        INSERT INTO AUTH_TOKEN 
> (AUTH_TOKEN,PUBLISHER_ID,PUBLISHER_NAME,CREATED,LAST_USED,NUMBER_OF_USES,TOKEN_STATE)

> VALUES (?,?,?,?,?,0,1)
>         AUTH_TOKEN=authToken:722D7BB0-3713-11D9-BBB0-DB949DA95E2A
>         PUBLISHER_ID=tgordon
>         PUBLISHER_NAME=Tom Gordon
>         CREATED=2004-11-15 09:34:25.153
>         LAST_USED=2004-11-15 09:34:25.153
>         NUMBER_OF_USES=1
>         TOKEN_STATE=1
>
> 09:34:25,407 - org.apache.axis.i18n.resource::handleGetObject(addBody00)
> 09:34:25,407 - Adding body element to message...
> 09:34:25,410 - Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
> 09:34:25,410 - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
> 09:34:25,410 - Setting current message form to: FORM_SOAPENVELOPE 
> (currentMessage is now org.apache.axis.message.SOAPEnvelope)
> 09:34:25,410 - Exit: SOAPPart ctor()
> 09:34:25,419 - Enter: SimpleChain::onFault
> 09:34:25,419 - Exit: SimpleChain::onFault
> 09:34:25,419 - 
> org.apache.axis.i18n.resource::handleGetObject(axisFault00)
> 09:34:25,420 - AxisFault:
> 09:34:25,426 - NSPush (32)
> 09:34:25,428 - org.apache.axis.i18n.resource::handleGetObject(empty00)
> 09:34:25,428 - NSPop (empty)
> 09:34:25,429 - NSPush (32)
> 09:34:25,429 - org.apache.axis.i18n.resource::handleGetObject(empty00)
> 09:34:25,429 - NSPop (empty)
> AxisFault
> faultCode: 
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.lang.IllegalArgumentException: invalid QName local part
> faultActor:
> faultNode:
> faultDetail:
>        
> {http://xml.apache.org/axis/}stackTrace:java.lang.IllegalArgumentException: 
> invalid QName local part
>        at javax.xml.namespace.QName.&lt;init&gt;(QName.java:75)
>        at javax.xml.namespace.QName.&lt;init&gt;(QName.java:60)
>        at 
> org.apache.axis.message.PrefixedQName.&lt;init&gt;(PrefixedQName.java:30)
>        at 
> org.apache.axis.message.MessageElement.copyNode(MessageElement.java:2044)
>        at 
> org.apache.axis.message.MessageElement.copyNode(MessageElement.java:1997)
>        at 
> org.apache.axis.message.MessageElement.&lt;init&gt;(MessageElement.java:195)

>
>        at 
> org.apache.axis.message.SOAPBodyElement.&lt;init&gt;(SOAPBodyElement.java:70)

>
>        at 
> org.apache.juddi.transport.axis.AxisProcessor.&lt;init&gt;(AxisProcessor.java:257)

>
>        at 
> org.apache.juddi.transport.axis.AxisHandler.invoke(AxisHandler.java:67)
>        at 
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) 
>
>        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>        at 
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
>        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
>        at 
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:637)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at 
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301) 
>
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

>
>        at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

>
>        at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

>
>        at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>        at 
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>        at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) 
>
>        at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

>
>        at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) 
>
>        at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) 
>
>        at java.lang.Thread.run(Thread.java:534)
>
>        {http://xml.apache.org/axis/}hostname:dev.peakton.com
>
> java.lang.IllegalArgumentException: invalid QName local part
>        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
>        at 
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:476)
>        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285)
>        at 
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:637)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>        at 
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301) 
>
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

>
>        at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

>
>        at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

>
>        at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 
>
>        at 
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

>
>        at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
>
>        at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>        at 
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>        at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) 
>
>        at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)

>
>        at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) 
>
>        at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) 
>
>        at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.IllegalArgumentException: invalid QName local part
>        at javax.xml.namespace.QName.<init>(QName.java:75)
>        at javax.xml.namespace.QName.<init>(QName.java:60)
>        at 
> org.apache.axis.message.PrefixedQName.<init>(PrefixedQName.java:30)
>        at 
> org.apache.axis.message.MessageElement.copyNode(MessageElement.java:2044)
>        at 
> org.apache.axis.message.MessageElement.copyNode(MessageElement.java:1997)
>        at 
> org.apache.axis.message.MessageElement.<init>(MessageElement.java:195)
>        at 
> org.apache.axis.message.SOAPBodyElement.<init>(SOAPBodyElement.java:70)
>        at 
> org.apache.juddi.transport.axis.AxisProcessor.<init>(AxisProcessor.java:257) 
>
>        at 
> org.apache.juddi.transport.axis.AxisHandler.invoke(AxisHandler.java:67)
>        at 
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) 
>
>        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>        at 
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450)
>        ... 29 more
> 09:34:25,432 - Enter: SOAPPart::saveChanges
> 09:34:25,441 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,442 - register 'soapenv' - 
> 'http://schemas.xmlsoap.org/soap/envelope/'
> 09:34:25,442 - NSPush (32)
> 09:34:25,442 - NSPush (32)
> 09:34:25,442 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,442 - register 'soapenv' - 
> 'http://schemas.xmlsoap.org/soap/envelope/'
> 09:34:25,442 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,442 - register 'xsd' - 'http://www.w3.org/2001/XMLSchema'
> 09:34:25,443 - NSPush (32)
> 09:34:25,443 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,443 - register 'xsi' - 
> 'http://www.w3.org/2001/XMLSchema-instance'
> 09:34:25,443 - NSPush (32)
> 09:34:25,443 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,443 - Start element 
> [http://schemas.xmlsoap.org/soap/envelope/]:Envelope
> 09:34:25,443 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,444 - Start element 
> [http://schemas.xmlsoap.org/soap/envelope/]:Body
> 09:34:25,444 - NSPush (32)
> 09:34:25,444 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,444 - register 'null' - 
> 'http://schemas.xmlsoap.org/soap/envelope/'
> 09:34:25,444 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,445 - Start element 
> [http://schemas.xmlsoap.org/soap/envelope/]:Fault
> 09:34:25,445 - NSPush (32)
> 09:34:25,445 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,445 - register 'ns1' - 'http://xml.apache.org/axis/'
> 09:34:25,445 - NSPush (32)
> 09:34:25,445 - NSPush (32)
> 09:34:25,445 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,446 - Start element []:faultcode
> 09:34:25,446 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,446 - End element faultcode
> 09:34:25,446 - NSPop (32)
> 09:34:25,446 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,446 - Start element []:faultstring
> 09:34:25,446 - NSPush (32)
> 09:34:25,446 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,447 - End element faultstring
> 09:34:25,447 - NSPop (32)
> 09:34:25,447 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,447 - Start element []:detail
> 09:34:25,447 - NSPush (32)
> 09:34:25,454 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,455 - Start element [http://xml.apache.org/axis/]:stackTrace
> 09:34:25,455 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,455 - register 'ns2' - 'http://xml.apache.org/axis/'
> 09:34:25,455 - NSPush (32)
> 09:34:25,455 - NSPush (32)
> 09:34:25,458 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,458 - End element ns2:stackTrace
> 09:34:25,458 - NSPop (32)
> 09:34:25,458 - 
> org.apache.axis.i18n.resource::handleGetObject(startElem00)
> 09:34:25,458 - Start element [http://xml.apache.org/axis/]:hostname
> 09:34:25,459 - org.apache.axis.i18n.resource::handleGetObject(register00)
> 09:34:25,459 - register 'ns3' - 'http://xml.apache.org/axis/'
> 09:34:25,459 - NSPush (32)
> 09:34:25,459 - NSPush (32)
> 09:34:25,459 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,459 - End element ns3:hostname
> 09:34:25,459 - NSPop (32)
> 09:34:25,460 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,460 - End element detail
> 09:34:25,460 - NSPop (32)
> 09:34:25,460 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,460 - End element soapenv:Fault
> 09:34:25,460 - NSPop (32)
> 09:34:25,460 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,460 - End element soapenv:Body
> 09:34:25,460 - NSPop (32)
> 09:34:25,460 - org.apache.axis.i18n.resource::handleGetObject(endElem00)
> 09:34:25,461 - End element soapenv:Envelope
> 09:34:25,461 - org.apache.axis.i18n.resource::handleGetObject(empty00)
> 09:34:25,461 - NSPop (empty)
> 09:34:25,462 - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
> 09:34:25,463 - Setting current message form to: FORM_OPTIMIZED 
> (currentMessage is now org.apache.axis.utils.ByteArray)
> 09:34:25,463 - Exit: SOAPPart::saveChanges(): 
> org.apache.axis.utils.ByteArray@1e0c2b
> 09:34:25,463 - Returned Content-Type:text/xml; charset=utf-8
> 09:34:25,463 - Enter: SOAPPart::saveChanges
> 09:34:25,563 - Response sent.
> 09:34:25,563 - Exit: doPost()
> 09:34:25,563 - axisServlet.doPost: /epcIS-1.0 pre=1366 
> invoke=-1100529251838 post=1100529265432 send=131 urn:uddi-org:api_v2.
>


Mime
View raw message