You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Jorge Lorenzo <jo...@tid.es> on 2003/06/26 01:47:12 UTC
[juddi-Users] Communication link failure
Hi all,
When JUDDI register has been working for a day (more or less), I always get
a "Communication link failure" exception.
The request is:
<?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>
<get_authToken cred="admin1" generic="2.0" userID="admin"
xmlns="urn:uddi-org:api_v2"/>
</soapenv:Body>
</soapenv:Envelope>
and the response is:
<?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>
<Fault>
<faultcode></faultcode>
<faultstring>Communication link failure:
java.io.IOException</faultstring>
</Fault>
</soapenv:Body>
</soapenv:Envelope>
In the JUDDI logs:
...
2003-06-26 15:22:03,637 [Thread-5] INFO
org.juddi.datastore.jdbc.PublisherTable - select from PUBLISHER table:
SELECT PUBLISHER_NAME,ADMIN FROM PUBLISHER WHERE PUBLISHER_ID=?
PUBLISHER_ID=admin
2003-06-26 15:22:03,639 [Thread-5] ERROR
org.juddi.datastore.jdbc.PublisherTable - Communication link failure:
java.io.IOException
2003-06-26 15:22:03,641 [Thread-5] ERROR
org.juddi.registry.function.GetAuthTokenFunction - RegistryException:
Communication link failure: java.io.IOException
SOAPFault Actor: null
SOAPFault Code: null
SOAPFault String: Communication link failure: java.io.IOException
[A DispositionReport was not present]
2003-06-26 15:22:03,670 [Thread-5] INFO
org.juddi.datastore.jdbc.JDBCDataStoreFactory - release a JDBC connection
back into the the DataSource connection pool.
...
This problem is solved when I restart the tomcat server (where is JUDDI).
I'm using Apache Tomcat/4.1.12-LE-jdk14, mysql-3.23.54a, and the last
version of JUDDI (juddi_0.7.0).
It looks like a bug.
Best regards,
Jorge
RE: [juddi-Users] RE: Communication link failure
Posted by Anou Manavalan <an...@trysybase.com>.
Jorge,
The default for juddi.useConnectionPool is false, so if you don't have it in
the config, then it is using your tomcat resource setup, that would imply
that there is a problem in the datasource connection. May be a small prog
that uses your tomcat connection alone will help to debug and find why the
connection is failing.
regards,
-Anou
-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net]On Behalf Of Jorge
Lorenzo
Sent: Friday, June 27, 2003 12:39 AM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] RE: Communication link failure
Hi Steve,
I think that I'm using a JNDI DataSource setup because my web.xml contains
the following configuration:
...
<resource-ref>
<description>jUDDI DataSource</description>
<res-ref-name>jdbc/juddiDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>CONTAINER</res-auth>
</resource-ref>
...
Apart from that, the juddi.useConnectionPool doesn't appear in the
juddi.properties file. The complete content of this file (without comments)
is:
juddi.operatorName = jUDDI.org
juddi.maxNameLength = 255
juddi.maxNameElementsAllowed = 5
juddi.authFactory = org.juddi.auth.simple.SimpleAuthenticatorFactory
juddi.dataStoreFactory = org.juddi.datastore.jdbc.JDBCDataStoreFactory
juddi.uuidgenFactory = org.juddi.uuidgen.jvm.JavaUUIDGenFactory
Do you want me to test another configuration?.
Regards,
Jorge
-----Mensaje original-----
From: Steve Viens <sv...@at...>
RE: Communication link failure
2003-06-26 01:54
Jorge, are you using the jUDDI-based Connection Pooling or are you using
a JNDI DataSource setup under Tomcat (preferred method).
To quickly determine if you're using jUDDI-based Connection Pooling, see
if the juddi.useConnectionPool property is set to "true" in the
juddi.properties file.
Steve
-----Mensaje original-----
De: Jorge Lorenzo [mailto:jorgelg@tid.es]
Enviado el: jueves, 26 de junio de 2003 8:43
Para: juddi-users@lists.sourceforge.net
Asunto: Communication link failure
Hi all,
When JUDDI register has been working for a day (more or less), I always get
a "Communication link failure" exception.
The request is:
<?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>
<get_authToken cred="admin1" generic="2.0" userID="admin"
xmlns="urn:uddi-org:api_v2"/>
</soapenv:Body>
</soapenv:Envelope>
and the response is:
<?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>
<Fault>
<faultcode></faultcode>
<faultstring>Communication link failure:
java.io.IOException</faultstring>
</Fault>
</soapenv:Body>
</soapenv:Envelope>
In the JUDDI logs:
...
2003-06-26 15:22:03,637 [Thread-5] INFO
org.juddi.datastore.jdbc.PublisherTable - select from PUBLISHER table:
SELECT PUBLISHER_NAME,ADMIN FROM PUBLISHER WHERE PUBLISHER_ID=?
PUBLISHER_ID=admin
2003-06-26 15:22:03,639 [Thread-5] ERROR
org.juddi.datastore.jdbc.PublisherTable - Communication link failure:
java.io.IOException
2003-06-26 15:22:03,641 [Thread-5] ERROR
org.juddi.registry.function.GetAuthTokenFunction - RegistryException:
Communication link failure: java.io.IOException
SOAPFault Actor: null
SOAPFault Code: null
SOAPFault String: Communication link failure: java.io.IOException
[A DispositionReport was not present]
2003-06-26 15:22:03,670 [Thread-5] INFO
org.juddi.datastore.jdbc.JDBCDataStoreFactory - release a JDBC connection
back into the the DataSource connection pool.
...
This problem is solved when I restart the tomcat server (where is JUDDI).
I'm using Apache Tomcat/4.1.12-LE-jdk14, mysql-3.23.54a, and the last
version of JUDDI (juddi_0.7.0).
It looks like a bug.
Best regards,
Jorge
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users
[juddi-Users] RE: Communication link failure
Posted by Jorge Lorenzo <jo...@tid.es>.
Hi all,
Finally I found on the Internet how to solve this problem. I appended
"autoReconnect=true" to the JDBC connection url in the server.xml file
($CATALINA_HOME/conf/server.xml).
<Context path="/juddi" docBase="juddi" debug="5" reloadable="true"
crossContext="true">
...
<ResourceParams name="jdbc/juddiDB">
...
<parameter>
<name>url</name>
<value>jdbc:mysql://myhost:3306/juddi?autoReconnect=true</value>
</parameter>
</ResourceParams>
</Context>
I haven't tested with the JUDDI property "juddi.useConnectionPool".
Regards,
Jorge
-----Mensaje original-----
De: Jorge Lorenzo [mailto:jorgelg@tid.es]
Enviado el: viernes, 27 de junio de 2003 8:39
Para: juddi-users@lists.sourceforge.net
Asunto: RE: Communication link failure
Hi Steve,
I think that I'm using a JNDI DataSource setup because my web.xml contains
the following configuration:
...
<resource-ref>
<description>jUDDI DataSource</description>
<res-ref-name>jdbc/juddiDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>CONTAINER</res-auth>
</resource-ref>
...
Apart from that, the juddi.useConnectionPool doesn't appear in the
juddi.properties file. The complete content of this file (without comments)
is:
juddi.operatorName = jUDDI.org
juddi.maxNameLength = 255
juddi.maxNameElementsAllowed = 5
juddi.authFactory = org.juddi.auth.simple.SimpleAuthenticatorFactory
juddi.dataStoreFactory = org.juddi.datastore.jdbc.JDBCDataStoreFactory
juddi.uuidgenFactory = org.juddi.uuidgen.jvm.JavaUUIDGenFactory
Do you want me to test another configuration?.
Regards,
Jorge
-----Mensaje original-----
From: Steve Viens <sv...@at...>
RE: Communication link failure
2003-06-26 01:54
Jorge, are you using the jUDDI-based Connection Pooling or are you using
a JNDI DataSource setup under Tomcat (preferred method).
To quickly determine if you're using jUDDI-based Connection Pooling, see
if the juddi.useConnectionPool property is set to "true" in the
juddi.properties file.
Steve
-----Mensaje original-----
De: Jorge Lorenzo [mailto:jorgelg@tid.es]
Enviado el: jueves, 26 de junio de 2003 8:43
Para: juddi-users@lists.sourceforge.net
Asunto: Communication link failure
Hi all,
When JUDDI register has been working for a day (more or less), I always get
a "Communication link failure" exception.
The request is:
<?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>
<get_authToken cred="admin1" generic="2.0" userID="admin"
xmlns="urn:uddi-org:api_v2"/>
</soapenv:Body>
</soapenv:Envelope>
and the response is:
<?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>
<Fault>
<faultcode></faultcode>
<faultstring>Communication link failure:
java.io.IOException</faultstring>
</Fault>
</soapenv:Body>
</soapenv:Envelope>
In the JUDDI logs:
...
2003-06-26 15:22:03,637 [Thread-5] INFO
org.juddi.datastore.jdbc.PublisherTable - select from PUBLISHER table:
SELECT PUBLISHER_NAME,ADMIN FROM PUBLISHER WHERE PUBLISHER_ID=?
PUBLISHER_ID=admin
2003-06-26 15:22:03,639 [Thread-5] ERROR
org.juddi.datastore.jdbc.PublisherTable - Communication link failure:
java.io.IOException
2003-06-26 15:22:03,641 [Thread-5] ERROR
org.juddi.registry.function.GetAuthTokenFunction - RegistryException:
Communication link failure: java.io.IOException
SOAPFault Actor: null
SOAPFault Code: null
SOAPFault String: Communication link failure: java.io.IOException
[A DispositionReport was not present]
2003-06-26 15:22:03,670 [Thread-5] INFO
org.juddi.datastore.jdbc.JDBCDataStoreFactory - release a JDBC connection
back into the the DataSource connection pool.
...
This problem is solved when I restart the tomcat server (where is JUDDI).
I'm using Apache Tomcat/4.1.12-LE-jdk14, mysql-3.23.54a, and the last
version of JUDDI (juddi_0.7.0).
It looks like a bug.
Best regards,
Jorge
[juddi-Users] RE: Communication link failure
Posted by Jorge Lorenzo <jo...@tid.es>.
Hi Steve,
I think that I'm using a JNDI DataSource setup because my web.xml contains
the following configuration:
...
<resource-ref>
<description>jUDDI DataSource</description>
<res-ref-name>jdbc/juddiDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>CONTAINER</res-auth>
</resource-ref>
...
Apart from that, the juddi.useConnectionPool doesn't appear in the
juddi.properties file. The complete content of this file (without comments)
is:
juddi.operatorName = jUDDI.org
juddi.maxNameLength = 255
juddi.maxNameElementsAllowed = 5
juddi.authFactory = org.juddi.auth.simple.SimpleAuthenticatorFactory
juddi.dataStoreFactory = org.juddi.datastore.jdbc.JDBCDataStoreFactory
juddi.uuidgenFactory = org.juddi.uuidgen.jvm.JavaUUIDGenFactory
Do you want me to test another configuration?.
Regards,
Jorge
-----Mensaje original-----
From: Steve Viens <sv...@at...>
RE: Communication link failure
2003-06-26 01:54
Jorge, are you using the jUDDI-based Connection Pooling or are you using
a JNDI DataSource setup under Tomcat (preferred method).
To quickly determine if you're using jUDDI-based Connection Pooling, see
if the juddi.useConnectionPool property is set to "true" in the
juddi.properties file.
Steve
-----Mensaje original-----
De: Jorge Lorenzo [mailto:jorgelg@tid.es]
Enviado el: jueves, 26 de junio de 2003 8:43
Para: juddi-users@lists.sourceforge.net
Asunto: Communication link failure
Hi all,
When JUDDI register has been working for a day (more or less), I always get
a "Communication link failure" exception.
The request is:
<?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>
<get_authToken cred="admin1" generic="2.0" userID="admin"
xmlns="urn:uddi-org:api_v2"/>
</soapenv:Body>
</soapenv:Envelope>
and the response is:
<?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>
<Fault>
<faultcode></faultcode>
<faultstring>Communication link failure:
java.io.IOException</faultstring>
</Fault>
</soapenv:Body>
</soapenv:Envelope>
In the JUDDI logs:
...
2003-06-26 15:22:03,637 [Thread-5] INFO
org.juddi.datastore.jdbc.PublisherTable - select from PUBLISHER table:
SELECT PUBLISHER_NAME,ADMIN FROM PUBLISHER WHERE PUBLISHER_ID=?
PUBLISHER_ID=admin
2003-06-26 15:22:03,639 [Thread-5] ERROR
org.juddi.datastore.jdbc.PublisherTable - Communication link failure:
java.io.IOException
2003-06-26 15:22:03,641 [Thread-5] ERROR
org.juddi.registry.function.GetAuthTokenFunction - RegistryException:
Communication link failure: java.io.IOException
SOAPFault Actor: null
SOAPFault Code: null
SOAPFault String: Communication link failure: java.io.IOException
[A DispositionReport was not present]
2003-06-26 15:22:03,670 [Thread-5] INFO
org.juddi.datastore.jdbc.JDBCDataStoreFactory - release a JDBC connection
back into the the DataSource connection pool.
...
This problem is solved when I restart the tomcat server (where is JUDDI).
I'm using Apache Tomcat/4.1.12-LE-jdk14, mysql-3.23.54a, and the last
version of JUDDI (juddi_0.7.0).
It looks like a bug.
Best regards,
Jorge
RE: [juddi-Users] Communication link failure
Posted by Steve Viens <sv...@attbi.com>.
Jorge, are you using the jUDDI-based Connection Pooling or are you using
a JNDI DataSource setup under Tomcat (preferred method).
To quickly determine if you're using jUDDI-based Connection Pooling, see
if the juddi.useConnectionPool property is set to "true" in the
juddi.properties file.
Steve
-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net] On Behalf Of Jorge
Lorenzo
Sent: Thursday, June 26, 2003 2:43 AM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] Communication link failure
Hi all,
When JUDDI register has been working for a day (more or less), I always
get a "Communication link failure" exception. The request is:
<?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>
<get_authToken cred="admin1" generic="2.0" userID="admin"
xmlns="urn:uddi-org:api_v2"/>
</soapenv:Body>
</soapenv:Envelope>
and the response is:
<?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>
<Fault>
<faultcode></faultcode>
<faultstring>Communication link failure:
java.io.IOException</faultstring>
</Fault>
</soapenv:Body>
</soapenv:Envelope>
In the JUDDI logs:
...
2003-06-26 15:22:03,637 [Thread-5] INFO
org.juddi.datastore.jdbc.PublisherTable - select from PUBLISHER table:
SELECT PUBLISHER_NAME,ADMIN FROM PUBLISHER WHERE PUBLISHER_ID=?
PUBLISHER_ID=admin
2003-06-26 15:22:03,639 [Thread-5] ERROR
org.juddi.datastore.jdbc.PublisherTable - Communication link failure:
java.io.IOException 2003-06-26 15:22:03,641 [Thread-5] ERROR
org.juddi.registry.function.GetAuthTokenFunction - RegistryException:
Communication link failure: java.io.IOException SOAPFault Actor: null
SOAPFault Code: null SOAPFault String: Communication link failure:
java.io.IOException
[A DispositionReport was not present]
2003-06-26 15:22:03,670 [Thread-5] INFO
org.juddi.datastore.jdbc.JDBCDataStoreFactory - release a JDBC
connection back into the the DataSource connection pool. ...
This problem is solved when I restart the tomcat server (where is
JUDDI).
I'm using Apache Tomcat/4.1.12-LE-jdk14, mysql-3.23.54a, and the last
version of JUDDI (juddi_0.7.0).
It looks like a bug.
Best regards,
Jorge
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users