You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by "Callender, Craig" <Cr...@ngc.com> on 2007/01/18 15:25:55 UTC
Error when using JUDDI Console
System Info:
Apache TomCat 6.0.7
JUDDI 0.9 RC4
Windows XP
I have successfully installed JUDDI and the happyjuddi.jsp page is
working fine. But when I go to run a getpublisher command from the
JUDDI Console, I get the following response...
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.generalException</fau
ltcode>
<faultstring></faultstring>
<faultactor></faultactor>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
When I look at my JUDDI log file. I see...
2007-01-18 09:06:09,832 [main] INFO
org.apache.juddi.registry.RegistryServlet - Loading jUDDI configuration.
2007-01-18 09:06:09,863 [main] INFO
org.apache.juddi.registry.RegistryServlet - Resources loaded from:
/WEB-INF/juddi.properties
2007-01-18 09:06:09,863 [main] INFO
org.apache.juddi.registry.RegistryServlet - Initializing jUDDI
components.
2007-01-18 09:09:22,075 [http-8080-2] INFO org.apache.juddi.util.Loader
- Using the Context ClassLoader
2007-01-18 09:09:22,091 [http-8080-2] INFO
org.apache.juddi.util.jdbc.ConnectionManager - Using JNDI to aquire a
JDBC DataSource with name: java:comp/env/jdbc/juddiDB
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.util.jdbc.ConnectionManager - Exception occurred while
attempting to acquire a JDBC DataSource from JNDI: Name juddiDB is not
bound in this Context
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.function.FindPublisherFunction -
java.lang.NullPointerException
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService -
java.lang.NullPointerException
2007-01-18 09:09:22,107 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService - A serious error has occured
while assembling the SOAP Fault.
java.lang.IllegalArgumentException: local part cannot be "null" when
creating a QName
at javax.xml.namespace.QName.<init>(QName.java:214)
at javax.xml.namespace.QName.<init>(QName.java:163)
at
org.apache.axis.AxisFault.setFaultCodeAsString(AxisFault.java:422)
at
org.apache.axis.message.SOAPFault.setFaultCode(SOAPFault.java:226)
at
org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:31
7)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:228)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
12)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
That is the complete log file from startup to error.
Any thoughts as to why this is happening? Is this a known bug? Is
there a fix? I saw a fix for JUDDI embedded on the web, but it didn't
seem to apply to 0.9rc4. Let me know if you need anything else.
Thanks!
RE: Error when using JUDDI Console
Posted by "Callender, Craig" <Cr...@ngc.com>.
Sorry, I should have specified that. This was a config issue. The
problem was that there was a mis-typed database name in
juddi.properties. I had changed it on the juddi.jdbcURL property, but
not on the juddi.dataSource property.
________________________________
From: Kurt T Stam [mailto:kstam@apache.org]
Sent: Thursday, January 18, 2007 3:02 PM
To: juddi-user@ws.apache.org
Subject: Re: Error when using JUDDI Console
Good find Craig,
Was this a config or a code issue?
--Kurt
Callender, Craig wrote:
Well. I found the issue. The problem was that there was ONE
reference to a database called "juddiDB" whereas the database name was
actually "juddi." I finally found it after installing cygwin on my
machine and doing a grep -ir "juddidb" * in the apache tomcat directory.
-- Craig
________________________________
From: Callender, Craig [mailto:Craig.Callender@ngc.com]
Sent: Thursday, January 18, 2007 9:26 AM
To: juddi-user@ws.apache.org
Subject: Error when using JUDDI Console
System Info:
Apache TomCat 6.0.7
JUDDI 0.9 RC4
Windows XP
I have successfully installed JUDDI and the happyjuddi.jsp page
is working fine. But when I go to run a getpublisher command from the
JUDDI Console, I get the following response...
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.generalException</fau
ltcode>
<faultstring></faultstring>
<faultactor></faultactor>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
When I look at my JUDDI log file. I see...
2007-01-18 09:06:09,832 [main] INFO
org.apache.juddi.registry.RegistryServlet - Loading jUDDI configuration.
2007-01-18 09:06:09,863 [main] INFO
org.apache.juddi.registry.RegistryServlet - Resources loaded from:
/WEB-INF/juddi.properties
2007-01-18 09:06:09,863 [main] INFO
org.apache.juddi.registry.RegistryServlet - Initializing jUDDI
components.
2007-01-18 09:09:22,075 [http-8080-2] INFO
org.apache.juddi.util.Loader - Using the Context ClassLoader
2007-01-18 09:09:22,091 [http-8080-2] INFO
org.apache.juddi.util.jdbc.ConnectionManager - Using JNDI to aquire a
JDBC DataSource with name: java:comp/env/jdbc/juddiDB
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.util.jdbc.ConnectionManager - Exception occurred while
attempting to acquire a JDBC DataSource from JNDI: Name juddiDB is not
bound in this Context
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.function.FindPublisherFunction -
java.lang.NullPointerException
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService -
java.lang.NullPointerException
2007-01-18 09:09:22,107 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService - A serious error has occured
while assembling the SOAP Fault.
java.lang.IllegalArgumentException: local part cannot be "null"
when creating a QName
at javax.xml.namespace.QName.<init>(QName.java:214)
at javax.xml.namespace.QName.<init>(QName.java:163)
at
org.apache.axis.AxisFault.setFaultCodeAsString(AxisFault.java:422)
at
org.apache.axis.message.SOAPFault.setFaultCode(SOAPFault.java:226)
at
org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:31
7)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:228)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
12)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
That is the complete log file from startup to error.
Any thoughts as to why this is happening? Is this a known bug?
Is there a fix? I saw a fix for JUDDI embedded on the web, but it
didn't seem to apply to 0.9rc4. Let me know if you need anything else.
Thanks!
Re: Error when using JUDDI Console
Posted by Kurt T Stam <ks...@apache.org>.
Good find Craig,
Was this a config or a code issue?
--Kurt
Callender, Craig wrote:
> Well. I found the issue. The problem was that there was ONE
> reference to a database called "juddiDB" whereas the database name was
> actually "juddi." I finally found it after installing cygwin on my
> machine and doing a grep -ir "juddidb" * in the apache tomcat directory.
>
> -- Craig
>
> ------------------------------------------------------------------------
> *From:* Callender, Craig [mailto:Craig.Callender@ngc.com]
> *Sent:* Thursday, January 18, 2007 9:26 AM
> *To:* juddi-user@ws.apache.org
> *Subject:* Error when using JUDDI Console
>
> System Info:
>
> Apache TomCat 6.0.7
> JUDDI 0.9 RC4
> Windows XP
>
> I have successfully installed JUDDI and the happyjuddi.jsp page is
> working fine. But when I go to run a getpublisher command from the
> JUDDI Console, I get the following response…
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
> <soapenv:Body>
> <soapenv:Fault>
> <faultcode
> xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.generalException</faultcode>
>
> <faultstring></faultstring>
> <faultactor></faultactor>
> <detail/>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
> When I look at my JUDDI log file. I see…
>
> 2007-01-18 09:06:09,832 [main] INFO
> org.apache.juddi.registry.RegistryServlet - Loading jUDDI configuration.
> 2007-01-18 09:06:09,863 [main] INFO
> org.apache.juddi.registry.RegistryServlet - Resources loaded from:
> /WEB-INF/juddi.properties
>
> 2007-01-18 09:06:09,863 [main] INFO
> org.apache.juddi.registry.RegistryServlet - Initializing jUDDI
> components.
> 2007-01-18 09:09:22,075 [http-8080-2] INFO
> org.apache.juddi.util.Loader - Using the Context ClassLoader
> 2007-01-18 09:09:22,091 [http-8080-2] INFO
> org.apache.juddi.util.jdbc.ConnectionManager - Using JNDI to aquire a
> JDBC DataSource with name: java:comp/env/jdbc/juddiDB
>
> 2007-01-18 09:09:22,091 [http-8080-2] ERROR
> org.apache.juddi.util.jdbc.ConnectionManager - Exception occurred
> while attempting to acquire a JDBC DataSource from JNDI: Name juddiDB
> is not bound in this Context
>
> 2007-01-18 09:09:22,091 [http-8080-2] ERROR
> org.apache.juddi.function.FindPublisherFunction -
> java.lang.NullPointerException
>
> 2007-01-18 09:09:22,091 [http-8080-2] ERROR
> org.apache.juddi.registry.AbstractService -
> java.lang.NullPointerException
> 2007-01-18 09:09:22,107 [http-8080-2] ERROR
> org.apache.juddi.registry.AbstractService - A serious error has
> occured while assembling the SOAP Fault.
>
> java.lang.IllegalArgumentException: local part cannot be "null" when
> creating a QName
> at javax.xml.namespace.QName.<init>(QName.java:214)
> at javax.xml.namespace.QName.<init>(QName.java:163)
> at
> org.apache.axis.AxisFault.setFaultCodeAsString(AxisFault.java:422)
> at
> org.apache.axis.message.SOAPFault.setFaultCode(SOAPFault.java:226)
> at
> org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:317)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
>
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
>
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
> at java.lang.Thread.run(Thread.java:595)
>
> That is the complete log file from startup to error.
>
> Any thoughts as to why this is happening? Is this a known bug? Is
> there a fix? I saw a fix for JUDDI embedded on the web, but it didn't
> seem to apply to 0.9rc4. Let me know if you need anything else. Thanks!
>
RE: Error when using JUDDI Console
Posted by "Callender, Craig" <Cr...@ngc.com>.
Well. I found the issue. The problem was that there was ONE reference
to a database called "juddiDB" whereas the database name was actually
"juddi." I finally found it after installing cygwin on my machine and
doing a grep -ir "juddidb" * in the apache tomcat directory.
-- Craig
________________________________
From: Callender, Craig [mailto:Craig.Callender@ngc.com]
Sent: Thursday, January 18, 2007 9:26 AM
To: juddi-user@ws.apache.org
Subject: Error when using JUDDI Console
System Info:
Apache TomCat 6.0.7
JUDDI 0.9 RC4
Windows XP
I have successfully installed JUDDI and the happyjuddi.jsp page is
working fine. But when I go to run a getpublisher command from the
JUDDI Console, I get the following response...
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.generalException</fau
ltcode>
<faultstring></faultstring>
<faultactor></faultactor>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
When I look at my JUDDI log file. I see...
2007-01-18 09:06:09,832 [main] INFO
org.apache.juddi.registry.RegistryServlet - Loading jUDDI configuration.
2007-01-18 09:06:09,863 [main] INFO
org.apache.juddi.registry.RegistryServlet - Resources loaded from:
/WEB-INF/juddi.properties
2007-01-18 09:06:09,863 [main] INFO
org.apache.juddi.registry.RegistryServlet - Initializing jUDDI
components.
2007-01-18 09:09:22,075 [http-8080-2] INFO org.apache.juddi.util.Loader
- Using the Context ClassLoader
2007-01-18 09:09:22,091 [http-8080-2] INFO
org.apache.juddi.util.jdbc.ConnectionManager - Using JNDI to aquire a
JDBC DataSource with name: java:comp/env/jdbc/juddiDB
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.util.jdbc.ConnectionManager - Exception occurred while
attempting to acquire a JDBC DataSource from JNDI: Name juddiDB is not
bound in this Context
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.function.FindPublisherFunction -
java.lang.NullPointerException
2007-01-18 09:09:22,091 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService -
java.lang.NullPointerException
2007-01-18 09:09:22,107 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService - A serious error has occured
while assembling the SOAP Fault.
java.lang.IllegalArgumentException: local part cannot be "null" when
creating a QName
at javax.xml.namespace.QName.<init>(QName.java:214)
at javax.xml.namespace.QName.<init>(QName.java:163)
at
org.apache.axis.AxisFault.setFaultCodeAsString(AxisFault.java:422)
at
org.apache.axis.message.SOAPFault.setFaultCode(SOAPFault.java:226)
at
org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:31
7)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:228)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
12)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:634)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
That is the complete log file from startup to error.
Any thoughts as to why this is happening? Is this a known bug? Is
there a fix? I saw a fix for JUDDI embedded on the web, but it didn't
seem to apply to 0.9rc4. Let me know if you need anything else.
Thanks!