SHARED SERVER MODE: connection refused [message #399464] |
Wed, 22 April 2009 06:19 |
jmoran
Messages: 6 Registered: April 2009
|
Junior Member |
|
|
Hello,
I have configured 15 shared servers and 3 dispatchers (two for TCP and one for TCPS). We have a servlet configured with Apache Jserv; In dedicated server mode the servlet connects to the database without error, when I switch to shared server mode the servlet does not connect and the Jserv.log shows:
22/04/2009 11:21:53:222 BST] OutputBrowser/com.sx3.servlet.OutputBrowser: Attempting to send message to client: A database error occurred: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(ERR=12504)) user = FSC
[22/04/2009 11:21:53:222 BST] javax.servlet.ServletException
at com.sx3.servlet.OutputBrowser.doGet(OutputBrowser.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
I've have verified that the jar file containing servlet code is signed.
Does anyone have suggestions on how to resolve this?
Kind regards
John
|
|
|
|
Re: SHARED SERVER MODE: connection refused [message #399476 is a reply to message #399472] |
Wed, 22 April 2009 06:59 |
jmoran
Messages: 6 Registered: April 2009
|
Junior Member |
|
|
Thanks Michel,
the JDBC connect string isuued in the servlet is the standard format, so the problem appears to be with the way this is being handled by the tns listener in shared server mode.
Does anyone know if there are additional tns config changes required for JDBC connections with shared server?
Kind regards
John
|
|
|
|
|
|
|
|