Re: Help - is this a JDBC issue??

From: "Ryan Chambers" <ryan(at)squaretrade(dot)com>
To: "Sharon Cowling" <sharon(dot)cowling(at)sslnz(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Help - is this a JDBC issue??
Date: 2002-04-23 22:35:34
Message-ID: NEBBICFOPMHJEAGDAAIHAEKJDLAA.ryan@squaretrade.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


I think the JDBC thing may be a red herring. I've seen
java.lang.IllegalStateException with tomcat as the servlet container, and
it's usually because there is a redirect attempted after the buffer has been
flushed... but of course there could be a lot of other tomcat reasons.
AFAIK, JDBC should only throw SQLExceptions, no?

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org]On Behalf Of Sharon Cowling
Sent: Tuesday, April 23, 2002 3:28 PM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Help - is this a JDBC issue??

I'm working on a web application and everything was fine until this morning
when I modified some Java code copied it over ran the application and got
this:

Error: 500
Location: /nzfm_frame.htm
Internal Servlet Error:
java.lang.IllegalStateException: Can't happen - classname is null, who added
this ?
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:261)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)

Now I can't get to any pages not even the index page, I have taken the code
out that I added to check if it was causing that (didn't think it could be)
all I get is this above error. Is this to do with the JDBC driver or
Tomcat?

taupo=> select version();
version
---------------------------------------------------------------
PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.95.3

JDBC Driver:
jdbc7.1-1.2

The application code is pretty much all written on the JSP pages and I am
refactoring the code for a model view controller architecture, only just
started the refactoring, nothing that could be causing this I'm sure. The
code I had been adding this morning just manipulated string formatting.

Advice please! The system is supposed to be in a state that the users can
have a preview of it tomorrow!

Regards,

Sharon Cowling

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-04-23 22:37:35 Re: Help - is this a JDBC issue??
Previous Message Sharon Cowling 2002-04-23 22:28:00 Help - is this a JDBC issue??