----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Well your errors seem to inidcate an network problem
> [Wed Jul 26 11:48:42 2000] [error] [client 200.16.48.2] File does
> notexist:
>
/usr/local/apache/htdocs/telnor_en_linea/html/telnor_en_linea/imagenes/transparent.gif
> java.sql.SQLException: Attempt to connect to database server (Javasocket
> exception encountered:Connection timed out) failed.
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.sql.SQLException.<init>(Compiled Code)
Connection timed out realy sounds like the connection can't be opened,a t
least no before a timeout occurs.
and
> Error:java.lang.NullPointerException: null
> [26/07/2000 08:43:31:783] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
Would be what yo woudl expect if the code is tryingto reference a
Connection which does not exist due to a failed getConnection.
I am pretty sure DB2 thorws nullpointer exceptions when you cna't connect
to the server - I prsume you dbms would behave similarly.
Given that you have recently had a netwrok reorganisation, I would be
looking hard at the network/firwewall etc, especuially if no changes have
occured in previously working code.
Can you telnet from the machine you are running the servlett on to the
host and port as it appears in the url in you code for your jdbc
connection?
I would try this. You might not get anything back, but you shoudl at least
be able to connect.
If not examine the network again (or even better if posible let eth
network guys do this).
If you can telnet to the host/port in your code's jdbc connection url,
then look at the url you are using, could it be you forgot to update it to
relfect the new network configuration?
Regards
Jason
On Wed, 26 Jul 2000, Julio [iso-8859-1] César Mejía Vergara wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Hello,
>
> I'm traing to make an aplication work but my servlet dosent do
> enithing in the browser, an the only error i get in the jserv.log is
> this:
>
> [25/07/2000 22:20:20:138] (INFO)jserv_watchdog:(2234) watchdog_cleanup()
> [25/07/2000 22:20:20:173] (INFO) Apache Module was cleaned-up
> [26/07/2000 08:43:31:783] (ERROR) ajp11: Servlet
> Error:java.lang.NullPointerException: null
> [26/07/2000 08:43:31:783] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 08:43:56:153] (ERROR) ajp11: Servlet
> Error:java.lang.NullPointerException: null
> [26/07/2000 08:43:56:154] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 08:45:01:573] (ERROR) ajp11: Servlet
> Error:java.lang.NullPointerException: null
> [26/07/2000 08:45:01:573] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 08:50:51:081] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 08:50:51:081] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 12:00:04:184] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 12:00:04:184] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 12:00:41:684] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 12:00:41:684] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 12:01:23:945] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 12:01:23:945] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 12:01:52:045] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 12:01:52:045] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 12:02:00:714] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 12:02:00:714] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 12:04:18:698] (ERROR) ajp11: Servlet
> Error:java.lang.ArrayIndexOutOfBoundsException: 3 >= 3: 3 >= 3
> [26/07/2000 12:04:18:698] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
> [26/07/2000 13:31:28:524] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:31:42:013] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:31:59:697] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:32:20:683] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:32:38:264] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:36:08:834] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:36:19:204] (ERROR) ajp11: Servlet
> Error:ClassNotFoundException: Bienvenidos
> [26/07/2000 13:39:33:734] (EMERGENCY) ajp11: cannot scan servlet headers
> [26/07/2000 13:39:33:734] (ERROR) an error returned handling request
> viaprotocol "ajpv11"
>
> And in the Apache error log i get:
>
> [Wed Jul 26 11:48:42 2000] [error] [client 200.16.48.2] File does
> notexist:
>
>/usr/local/apache/htdocs/telnor_en_linea/html/telnor_en_linea/imagenes/transparent.gif
> java.sql.SQLException: Attempt to connect to database server (Javasocket
> exception encountered:Connection timed out) failed.
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.sql.SQLException.<init>(Compiled Code)
> at
> com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:462)
> at java.lang.reflect.Constructor.newInstance(Native Method)
> at java.lang.reflect.Constructor.newInstance(Compiled Code)
> at com.informix.jdbc.IfxDriver.connect(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at TestCon.Principal(Compiled Code)
> at TestCon.doPost(TestCon.java:29)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at
> org.apache.jserv.JServConnection.run(JServConnection.java:330)
> at java.lang.Thread.run(Compiled Code)
> java.sql.SQLException: Attempt to connect to database server (Java
> socket exception encountered:Connection timed out) failed.
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.fillInStackTrace(Compiled Code)
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.sql.SQLException.<init>(Compiled Code)
> at
> com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:462)
> at java.lang.reflect.Constructor.newInstance(Native Method)
> at java.lang.reflect.Constructor.newInstance(Compiled Code)
> at com.informix.jdbc.IfxDriver.connect(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at java.sql.DriverManager.getConnection(Compiled Code)
> at TestCon.Principal(Compiled Code)
> at TestCon.doPost(TestCon.java:29)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at
> org.apache.jserv.JServConnection.run(JServConnection.java:330)
> at java.lang.Thread.run(Compiled Code)
> [Wed Jul 26 11:56:45 2000] [error] [client 200.16.48.2] File does not
> exist:
>
>/usr/local/apache/htdocs/telnor_en_linea/html/telnor_en_linea/imagenes/transparent.gif
>
> The aplication was working fine las week, but when a swicht the
> machine to a secure private network (2 network card, one connected to
> the internet and the another to DB servers, both IP addresses are in
> diferent segments, my routs are fine, y snoop the traffic in mi card and
> no HTTP packets come out. So i think it must be something with the
> configuration of the Jserv properties or parameters.
> System SPARC running Solris 7, Apache 1.3.6, Jserv 1.3b, JDK
> 1.2.1, JSDK 2.0, perl 5.00.04, GNU gcc 2.8.1, GNU make 3.77
> Does someone have an idea?
>
> Best Regards
> Julio
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
--
------------------------------------------------------------------------------
Jason Tan [EMAIL PROTECTED]
Some people have a way about them that seems to say: "If I have
only one life to live, let me live it as a jerk."
-/usr/games/fortune
------------------------------------------------------------------------------
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]