Mysql and Tomcat

2002-04-14 Thread Lawrence, Gareth
Greetings All, Just when I though everything was sweet I'm having a nasty problem. I'm running: Debian Linux, Tomcat 4.0.3, Mysql, Ant, MM JDBC driver. Basically I've set everything up sweet and when I run a test file from the command line (java test.class) I get a connection to the database n

RE: RE: Configuring Tomcat 4

2002-03-27 Thread Lawrence, Gareth
Ignore "Notice again that the name we are using is onjava." Lol :-) G. -Original Message----- From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 March 2002 2:47 p.m. To: 'Tomcat Users List' Subject: RE: RE: Configuring Tomcat 4 You need to depl

RE: RE: Configuring Tomcat 4

2002-03-27 Thread Lawrence, Gareth
You need to deploy a web application properly :-) http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html Notes: 1. Create Directory in web-apps (eg test) create sub-folder WEB-INF with sub-folders inside lib and classes 2. Add the following entry to the TOMCAT_HOME/conf/server.xml file, se

RE: Deployment [Newbie]

2002-03-27 Thread Lawrence, Gareth
:-) lol :-) Well this horse was floating long before he went home yesterday :-) Full web-app deployment going no problem. The best way to learn web dev is from the web with mailing lists, forums, tutorials and articles. Books are for reference, learning by example is a much quicker way :-) J

RE: Newbie installation question

2002-03-27 Thread Lawrence, Gareth
; or "javac -help" from anywhere and get meaningful responses so I guess that means the path setting is OK. I don't use startup.sh as that file didn't seem to exist(?). I do "tomcat4 start" from the /etc/init.d folder. Z. -Original Message- From: Lawrence, Ga

RE: Newbie installation question

2002-03-27 Thread Lawrence, Gareth
Zoe, The default port is 8080 :-) Check out localhost:8080 and let us know if your still getting a problem. G. -Original Message- From: Zoe Adams [mailto:[EMAIL PROTECTED]] Sent: Thursday, 28 March 2002 8:39 a.m. To: [EMAIL PROTECTED] Subject: Newbie installation question Hi, This i

RE: Deployment [Newbie]

2002-03-26 Thread Lawrence, Gareth
btw: It isn't necessary to add all servlets to the web.xml file; it's only necessary when the servlet requires additional information, such as initialization parameters. So in most cases you wont need to worry about this :-)) -Original Message----- From: Lawrence, Gareth [mai

RE: Deployment [Newbie]

2002-03-26 Thread Lawrence, Gareth
et you started (without needing a long book - although they can be very exciting reading :-)) :-) Lol :-) G. -Original Message- From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 March 2002 3:02 p.m. To: '[EMAIL PROTECTED]' Subject: Deployment [Newbie] Greetin

RE: tomcat4 config.

2002-03-26 Thread Lawrence, Gareth
for it to work. but it still isn't being picked up the init.d version of tomcat4. On Wed, 27 Mar 2002, Lawrence, Gareth wrote: > Depends what shell your using and what your setup is :-)) > > I'm using tcsh on debian and the file to set my variables in is > /etc/csh.csh

RE: tomcat4 config.

2002-03-26 Thread Lawrence, Gareth
ork. but it still isn't being picked up the init.d version of tomcat4. On Wed, 27 Mar 2002, Lawrence, Gareth wrote: > Depends what shell your using and what your setup is :-)) > > I'm using tcsh on debian and the file to set my variables in is > /etc/csh.cshrc > >

RE: Deployment [Newbie]

2002-03-26 Thread Lawrence, Gareth
Lol :-) No time for reading books - I need to get this going :-) I've found http://www.onjava.com/lpt/a//onjava/2001/04/19/tomcat.html so hopefully that provides me with a better starting point than the tomcat documentation. -Original Message- From: Micael Padraig Og mac Grene [mailto

Deployment [Newbie]

2002-03-26 Thread Lawrence, Gareth
Greetings All, Got tomcat going well on linux, but deployment is giving me a headache :-(( I'm looking at the documentation and the example web.xml file and I'm not sure what I need to do to set up a webapp ??? I've got my folder in webapps: groupa Directory Structure: groupa

RE: tomcat4 config.

2002-03-26 Thread Lawrence, Gareth
Depends what shell your using and what your setup is :-)) I'm using tcsh on debian and the file to set my variables in is /etc/csh.cshrc I've got: setenv JAVA_HOME /usr/java/j2sdk1.4.0 setenv JAKARTA_HOME /usr/java/jakarta setenv ANT_HOME $JAKARTA_HOME/jakarta-ant-1.4.1 setenv TOMCAT_HOME $JAKAR

Newbie Installation Help

2002-03-24 Thread Lawrence, Gareth
Greetings All, Getting stuck with a Tomcat installation. Got jakarta-tomcat-4.0.2.src and gunzipped /tar it no problems. However there is no bin folder, I was expected this to run the startup command - does the src file needed to be executed or something? I have installed already (on Linux D

RE: Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
Greetings All, I installed the release version of Tomcat and it works great. Thanks again to everyone who made suggestions though you guys rock. G.

RE: Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
Okay, This is what I should have done the first time ;) I was thinking that I may need to add CATALINA_HOME as a variable this file seems to reference it ;) I'll try that and install the release version. Thanks again everybody. G He's my catalina.bat: @echo off rem

RE: Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
; > Can u please send me your tomcat.bat and classpath you have .. > --Saritha > > -Original Message- > From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 4:18 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Servlet Exceptio

RE: Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
nstalled. > > Craig > > > On Tue, 28 Aug 2001, Lawrence, Gareth wrote: > > > Date: Tue, 28 Aug 2001 10:50:45 +1200 > > From: "Lawrence, Gareth" <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > To: "'[EMAIL PROTECTED]'"

RE: Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
rvlet Exception - Please Help > > > Hi Gareth > Check whether tomcat classpath contains $Java_home\lib\tools.jar > Hope this helps .. > Thanks > SPula > > > -Original Message- > From: Lawrence, Gareth [mailto:[EMAIL PROTECTED]] > Sent: Monday, August

RE: Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
Hi Craig, Thank you greatly for the suggestion, that was my first thought too. I have c:\jdk1.3.1\bin added to the path, and SET JAVA_HOME=c:\jdk1.3.1 added to my autoexec. I know these work because I can access javac/java from anyplace. I have also added the servlet.jar to c:\jdk1.3.1\jre\lib\

Servlet Exception - Please Help

2001-08-27 Thread Lawrence, Gareth
Greetings All, Please, please, please help me ;) I've got to show off Servlets/JSP tomorrow at a presentation but I can't get tomcat even to boot the examples!!! If anyone could help me I would really appreciate it. Thanks Gareth. I get the error: A Servlet Exception Has Occurred Exception R