Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread cuco2772
t's ok for contexts too ? And maybe I'm getting too much into the minuteia of this at the moment, but what does the 'auth' attribute for ? Usually auth is short for authorization, or maybe authority. 'auth=Container' doesn't make any sense to me. Thanks again

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread cuco2772
quot; password="javadude" > driverClassName="com.mysql.jdbc.Driver" > > url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/> > > > --David > > cuco2772 wrote: >> I'm starting to think that

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
username="javauser" password="javadude" > driverClassName="com.mysql.jdbc.Driver" > > url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/> > > > > I added the second it was just the first element,

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
> Remove the rest from tomcat's lib directory and things should be good to >> go. If the mysql .jar file is located anywhere else in your tomcat >> installation including any of your webapps, please remove it from all >> those other places. It can be either in tomcat'

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-14 Thread cuco2772
ysql .jar file is located anywhere else in your tomcat > installation including any of your webapps, please remove it from all > those other places. It can be either in tomcat's lib directory OR your > webapp's WEB-INF/lib directory -- never both. > > --David > &

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
/lib. I decided to move the mysql-connector-java-5.0.8 directory to /apache-tomcat-6.0.14/lib also, in case some of those files were needed. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: RE: how to configure (server.xml) for mysql dev

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
/lib/mysql-connector-java-5.0.8 (I also have the mysql-connector-java-5.0.8-bin.jar file copied to /lib, but not in mysql-connector-java-5.0.8. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: Re: how to configure (server.xml) for mysql dev with

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
ok at > http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html > for authoritative information on how to configure tomcat 6. > > --David > > cuco2772 wrote: >> Hello all; >> >> I'm in need of some help in setting up my environment c

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
ighly recommend you take a look at > http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html > for authoritative information on how to configure tomcat 6. > > --David > > cuco2772 wrote: >> Hello all; >> >> I'm in need of some help i

how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-13 Thread cuco2772
Hello all; I'm in need of some help in setting up my environment correctly. I have mysql 5.0, tomcat 6, and am running tomcat through apache2. I downloaded mysql-connector-java-5.0.8-bin.jar and put it in /usr/local/tomcat/apache-tomcat-6.0.14/lib There is also a copy in ...webapps/examples/W

RE: web.xml configured correctly, but still getting'404...resourcenot found'

2008-01-10 Thread cuco2772
t you want to do something like that, I mean what kind of situation would compel you to want to edit one of those context.xmls ? Anyway, thanks a bunch for the help. This is the most helpful forum I'v been on. You guys rock ! -adam Caldarale, Charles R wrote: > >> From: cuco

RE: web.xml configured correctly, but still getting '404...resourcenot found'

2008-01-09 Thread cuco2772
g of it. Thanks for your help. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: Re: web.xml configured correctly, but still getting >> '404...resourcenot found' >> >> There was a parse error at context.xml,

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
Fixed. There was a parse error at context.xml, line 20, column 2. The offending line: crossContext="true"> > I read somewhere that you were supposed to do this. Evidently bad info or old info. Thanks for all the replies. cuco2772 wrote: > > Check this out, I did &#

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
e > appears to be an error message in there further up. > > --David > > cuco2772 wrote: > >>The guide I've been using for trying to set this up is the coreservlets book >>by Marty Hall. He says set the >>classpath but the info there is for tomcat 4. Are you

RE: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
I did touch web.xml and it worked. Weird. Of course if I restart tomcat it wont work again. Its the latest tomcat 6.0.14. The tomcat error logs are posted in the above reply. Caldarale, Charles R wrote: > >> From: cuco2772 [mailto:[EMAIL PROTECTED] >> Subject: web.xml confi

Re: web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
l. > > Are there any messages in your tomcat logs regarding the request? Are > you sure the webapp is running after you restart tomcat? > > --David > > cuco2772 wrote: > >> error from tomcat. Here is my web.xml: >> >> >>HelloServlet >&g

web.xml configured correctly, but still getting '404...resource not found'

2008-01-09 Thread cuco2772
error from tomcat. Here is my web.xml: HelloServlet HelloServlet HelloServlet2 coreservlets.HelloServlet2 HelloServlet /classes/HelloServlet HelloServlet2 /classes/coreservlets.HelloServlet2 when I went to the following urls after I had edited web.xml to the above, http://localhos

Re: Configuring tomcat, servlet not found error

2007-12-24 Thread cuco2772
ow -- that that it is the very * first * thing contained in a > web.xml file and you also need the tag right under that. > It contains the and the tags. Hope that that > helps you to "fly right" with trying to get the servlet viewed in Tomcat. > > - Origina

Re: Simple Howto: Follow up

2007-12-20 Thread cuco2772
Mary, When I did something similar to this PATH=$JAVA_HOME/bin;$PATH, editing my my .bashrc file for my root account and my username account (ubuntu feisty) the bash shell couldn't find basic programs such as ls or vim. The only thing that saved this from being a real nightmare was that I had mul

Configuring tomcat, servlet not found error

2007-12-19 Thread cuco2772
I keep getting this error: 'The requested resource (/servlet/HelloServlet) is not available'. (404) The servlet is not getting located by tomcat for some reason. This happens when I go to localhost:8080/servlet/HelloServlet. The servlet engine is running, tomcat is running. I did this: javac -c