Re: Debian Etch, Eclipse 3.2, Tomcat5 can't work together?

2008-11-23 Thread Mark Thomas
Csanyi Pal wrote: Hi, I have on Debian GNU/Linux Etch system installed Eclipse 3.2 Tomcat5. snip/ Why haven't I success? Any advices will be appreciated! Try the Eclipse 3.4 for Java EE developers. I just switched to this from Eclipse + MyEclipseIDE for Tomcat development and so far I

Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Iñigo Mediavilla Saiz
When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Is there any other way to let a web app access to a lib without having to copy the jar in apache\lib? I'm using

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Mark Thomas
Iñigo Mediavilla Saiz wrote: When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Is there any other way to let a web app access to a lib without having to copy

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Michael Ludwig
Iñigo Mediavilla Saiz schrieb am 23.11.2008 um 11:08:52 (+): When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Putting the driver in WEB-INF/lib only

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Michael Ludwig
Mark Thomas schrieb am 23.11.2008 um 11:25:43 (+): Iñigo Mediavilla Saiz wrote: [Tomcat 6] When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache distribution. Is there

Re: Debian Etch, Eclipse 3.2, Tomcat5 can't work together?

2008-11-23 Thread Csanyi Pal
Mark Thomas [EMAIL PROTECTED] writes: Csanyi Pal wrote: I have on Debian GNU/Linux Etch system installed Eclipse 3.2 Tomcat5. snip/ Why haven't I success? Any advices will be appreciated! Try the Eclipse 3.4 for Java EE developers. I just switched to this from Eclipse +

Re: Debian Etch, Eclipse 3.2, Tomcat5 can't work together?

2008-11-23 Thread Michael Ludwig
Csanyi Pal schrieb am 23.11.2008 um 21:51:50 (+0100): But on Debian Etch I can to install only the Eclipse 3.2 and the Tomcat5, or Tomcat5.5. So what can I do? You can install Tomcat or Eclipse directly from the vendor, without bothering to ask apt-get or aptitude or whatever it is you're

Re: Debian Etch, Eclipse 3.2, Tomcat5 can't work together?

2008-11-23 Thread Youssef Mohammed
just download it from eclipse site and run it .. you can do the same for latest versions of tomcat too. th Regards, Youssef On Sun, Nov 23, 2008 at 10:51 PM, Csanyi Pal [EMAIL PROTECTED] wrote: Mark Thomas [EMAIL PROTECTED] writes: Csanyi Pal wrote: I have on Debian GNU/Linux Etch system

Re: Deploying mysql-connector-java-5.1.7-bin.jar in /WEB-INF/lib

2008-11-23 Thread Mark Thomas
Michael Ludwig wrote: Mark Thomas schrieb am 23.11.2008 um 11:25:43 (+): Iñigo Mediavilla Saiz wrote: [Tomcat 6] When I try to access to a Database through the connector it fails if I leave it inside WEB-INF\lib, but everything works if I copy the jar in the lib folder of the apache

Filter and ServletResponseWrapper obligations

2008-11-23 Thread Michael Ludwig
This is both Tomcat 5.5.27 and 6.0.18. (And also Jetty 6.1.18.) Consider the following servlet code: PrintWriter out = res.getWriter(); ... out.println( pbefore include/p); rd = context.getRequestDispatcher( /include.html); // contains pincluded HTML/p rd.include( req, res);

Tomcat 6 unstable

2008-11-23 Thread Ariela Carrera
Hi dear users of Tomcat. I am writing to you because my webapp is not working fine. I am developing a web application with Java, a Servlet and JSP some in Tomcat 6.0.14, using Ubuntu Gutsy. I have developed a class that connects to DB2, which I tested plenty of times, with a kind of test, for

RE: Tomcat 6 unstable

2008-11-23 Thread Matthew Chambers
Where to begin? Tomcat is not unstable. If you have been editing setclaspath.sh then you should probably start with a fresh tomcat install. You don't have to edit that file and who knows what else has been changed. Go download tomcat (don't use the Ubuntu version). Untar it. Don't copy your