Re: Tomcat/MySQL Application Update

2005-08-10 Thread Ronald Klop
Sounds like something WebStart can do very nice for you. Create a java app, which installs a .war file in the right location. Add a .war file as a resource to the webstart application. Put the webstart app in the startup-folder of windows. Or let the webstart app launch the Tomcat. You can

Tomcat/MySQL Application Update

2005-08-09 Thread Christopher Molnar
We have a servlet that is run locally on about 20 laptops. I am currently manually updating the application on each laptop about once per month. Can anyone suggest a method of updating an application running on both OS/X and Windows based machines that would check if a new version was

Re: Tomcat/MySQL Application Update

2005-08-09 Thread Will Hartung
From: Christopher Molnar [EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 4:56 PM We have a servlet that is run locally on about 20 laptops. I am currently manually updating the application on each laptop about once per month. Can anyone suggest a method of updating an application running

Re: Tomcat/MySQL Application Update

2005-08-09 Thread Stephen Caine
Christopher, We have a servlet that is run locally on about 20 laptops. I am currently manually updating the application on each laptop about once per month. Can anyone suggest a method of updating an application running on both OS/X and Windows based machines that would check if a new

apache/tomcat/mysql cluster info request

2005-07-26 Thread Kiarna Boyd
Good Morning, I'm looking for suggestions on a large scale tomcat cluster for one deployed app. I currently run our app happily with all server apps smushed on one server. Apache webserver 2.0.52/mod_jk/tomcat5.0.28/mysql 4.1.7 on Fedora Core 3. My company wants to deploy a site that would

Tomcat + mysql + axis

2004-09-21 Thread Daniel Snchez Gmez
Hi, I'm newbie of Web service and I want to do a web service wich inserts data into a mysql database I dont't know if I need to configue server.xml and web.xml files? (I work with Tomcat) I've read jndi-datasource-examples-howto.html, but it's a servlet example and I don't know if it

Re: Tomcat + mysql + axis

2004-09-21 Thread QM
On Tue, Sep 21, 2004 at 04:27:43PM +0200, Daniel S?nchez G?mez wrote: : I'm newbie of Web service and I want to do a web service wich : inserts data into a mysql database : : I dont't know if I need to configue server.xml and web.xml files? (I : work with Tomcat) : : I've read

looking for tomcat/mysql examples

2004-08-02 Thread Harold Pritchett
Hello again. In a couple of weeks, I am giving a seminar on installing and configuring software to create an open-source web site. This is to be a hands-on lab with the attendees actually installing and configuring the software. It's an all day affair. The software I'm using for this program

RE: looking for tomcat/mysql examples

2004-08-02 Thread Shapira, Yoav
Millennium Research Informatics -Original Message- From: Harold Pritchett [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 3:55 PM To: Tomcat Users List Subject: looking for tomcat/mysql examples Hello again. In a couple of weeks, I am giving a seminar on installing and configuring

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-02 Thread Jan Behrens
: Thursday, July 01, 2004 7:59 PM To: 'Tomcat Users List' Cc: '[EMAIL PROTECTED]' Subject: RE: Tomcat - MySQL = No suitable driver ERROR Ok, the contents of {TOMCAT_HOME}/conf/Catalina/localhost/DBTest.xml is: Context debug=5 displayName=DBtest docBase=DBTest path=/DBtest reloadable=true workDir=work

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-02 Thread Briggs, Patrick
- This exact formula has worked for me in I can't even count how many apps I've setup. --David -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 1:50 AM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-02 Thread Jan Behrens
problem. I am sure that someone will know... Jan -Original Message- From: Briggs, Patrick [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 6:36 PM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable driver ERROR David had me do this following proceedure and that seemed

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Jan Behrens
AM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR Ok. I think I'm seeing your trouble. The stuff you have in WEB-INF/DB-Test.xml should be in web.xml instead. In mine, the resource-ref.../resource-ref stuff is at the end of the file just before the closing /web

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Briggs, Patrick
: Wednesday, June 30, 2004 6:56 PM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR Ok. I think I'm seeing your trouble. The stuff you have in WEB-INF/DB-Test.xml should be in web.xml instead. In mine, the resource-ref.../resource-ref stuff is at the end of the file

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Briggs, Patrick
- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Thursday, July 01, 2004 1:04 AM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable driver ERROR David is right, you will need to rename {Catalina_Home}/webapps/DBTest/WEB-INF/DBTest.xml to {Catalina_Home}/webapps/DBTest/WEB-INF

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Robert Harper
, 2004 10:20 AM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable driver ERROR Yeah, I just tried that and still no go. Still getting: javax.servlet.ServletException: Unable to get connection, DataSource invalid: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Briggs, Patrick
: Tomcat - MySQL = No suitable driver ERROR I have seen this one too many times. It usually has to do with the naming lookup. I have had to keep playing with the form of the name until it worked. Robert S. Harper 801.265.8800 ex. 255 -Original Message- From: Briggs, Patrick [mailto:[EMAIL

Re: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread David Smith
Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR Ok. I think I'm seeing your trouble. The stuff you have in WEB-INF/DB-Test.xml should be in web.xml instead. In mine, the resource-ref.../resource-ref stuff is at the end of the file just before the closing /web-app tag

Re: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Hassan Schroeder
David Smith wrote: I was recommending you take the resource-ref.../resource-ref stuff you put in {TOMCAT_HOME}/webapps/DBTest/WEB-INF/DBTest.xml and put that in {TOMCAT_HOME}/webapps/DBTest/WEB-INF/web.xml. Yes, and in addition -- Here is what my web.xml looks like now: ?xml version=1.0

RE: Tomcat - MySQL = No suitable driver ERROR

2004-07-01 Thread Briggs, Patrick
/resource-ref /web-app Is this what you wanted? -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, July 01, 2004 10:25 AM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR Hold on a minute. I think we have a communication problem

RE: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread Jan Behrens
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 12:01 AM To: '[EMAIL PROTECTED]' Subject: Tomcat - MySQL = No suitable driver ERROR I'm trying to setup Tomcat 5.0.25 to talk to a MySQL database and I've had no luck after several days of fighting with this thing. I'm following along

RE: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread Briggs, Patrick
it where it needs changes for URL and username/password. Still getting the same error message :( So now what could it be? -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 1:58 AM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable

Re: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread David Smith
Behrens [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 1:58 AM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable driver ERROR Hi Patrick, the problem might be that in Tomcat 5.x the storage of the context related configuration changed from server.xml to a sepparate file

RE: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread Briggs, Patrick
12:19 PM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR Wrong place for mysql jar file. It should be in {TOMCAT_HOME}/common/lib right along side the DBCP jar file. --David Briggs, Patrick wrote: If the webapps.xml file is supposed to be located in Catalina

Re: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread David Smith
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 12:19 PM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR Wrong place for mysql jar file. It should be in {TOMCAT_HOME}/common/lib right along side the DBCP jar file. --David Briggs, Patrick wrote

RE: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread Jan Behrens
the ressource. HTH, Jan -Original Message- From: Briggs, Patrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 9:47 PM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable driver ERROR Ok, I have it in the common/lib directory, but that didn't make a difference. You'd think

RE: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread Briggs, Patrick
: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 1:33 PM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR I've set this up I don't know how many times and only ever had problems when I've mispelled the JNDI name I gave it somewhere in the 4 places

Re: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread David Smith
) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 1:33 PM To: Tomcat Users List Subject: Re: Tomcat - MySQL = No suitable driver ERROR I've set this up I don't know how many times and only ever had problems when I've

Re: Tomcat - MySQL = No suitable driver ERROR

2004-06-30 Thread David Smith
PROTECTED] Sent: Wednesday, June 30, 2004 9:47 PM To: 'Tomcat Users List' Subject: RE: Tomcat - MySQL = No suitable driver ERROR Ok, I have it in the common/lib directory, but that didn't make a difference. You'd think there would be a lot easier way to setup stuff like this. Editing XML files

Tomcat - MySQL = No suitable driver ERROR

2004-06-29 Thread Briggs, Patrick
I'm trying to setup Tomcat 5.0.25 to talk to a MySQL database and I've had no luck after several days of fighting with this thing. I'm following along the documentation at this URI: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how to.html The example says to edit

RE: Tomcat - MySQL = No suitable driver ERROR

2004-06-29 Thread FRANCOIS Dufour
[EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Tomcat - MySQL = No suitable driver ERROR Date: Tue, 29 Jun 2004 15:00:59 -0700 I'm trying to setup Tomcat 5.0.25 to talk to a MySQL database and I've had no luck after several days of fighting with this thing. I'm following

connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread Guillaume Roger
Hi all, I've a problem while connecting to mysql from tomcat. There is a bean which initializes the connexion between tomcat and mysql. The parameter which seems to be faulty is the url: jdbc:mysql://localhost:3306/appli After a reboot, this url caused an error, ie the connexion between mysql

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread David Smith
Are you sure it's not MySQL being funny? Try going in to mysql as root and executing this query: select user, host from mysql.user ; Take a look at the host field for the user tomcat is logging in as. If it specifies anything other than %, you may end up having to put in a row for every

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread Guillaume Roger
David Smith a écrit : Are you sure it's not MySQL being funny? Try going in to mysql as root and executing this query: select user, host from mysql.user ; That was an idea I already had, and I checked that. It is specified %, so I should be able to connect from everywhere. The thing is that I

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread David Smith
Well, then I'm not sure what to tell you. I use mysql all the time and have never had such an issue (Mandrake Linux 9.2, Tomcat 5.0.19, Apache 2.0). Very strange. Are there any firewalls or internet connection sharing programs at work? --David Guillaume Roger wrote: David Smith a écrit :

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread satbinder . singh
How do I unsubscribe from this mail group, as I keep getting mails every to minutes?

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread eric sato
try here http://jakarta.apache.org/site/mail2.html#Tomcat - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, March 30, 2004 0:41 am Subject: Re: connexion tomcat/mysql: IP vs localhost How do I unsubscribe from this mail group, as I keep getting mails every to minutes

Re: connexion tomcat/mysql: IP vs localhost

2004-03-29 Thread Giuseppe Briotti
== Date: Mon, 29 Mar 2004 11:03:11 +0200 jdbc:mysql://localhost:3306/appli jdbc:mysql://212.xxx.xxx.xxx:3306/appli quite strange... what happens if you put 127.0.0.1 (i.e. the IP address for localhost)? I think that, because you are working on a box (i.e. client and

Re: tomcat mysql not working

2003-12-21 Thread Leandro Costa
: Leandro Costa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 20, 2003 1:07 PM Subject: Re: tomcat mysql not working Thanks for your answer, but i'm not the one that's developing the site.. it's a webpage that's hosted in our servers and i don't think that it'd

tomcat mysql not working

2003-12-20 Thread Leandro Costa
Hi there, i'm trying to get a tomcat server running with mysql connectivity. Tomcat is running ok, and i've downloaded the new Connector/J, and copied the .jar file to $CATALINA_HOME/common/lib. I'm running Tomcat 5.0.16. The other JSPs work ok, but the ones that contain a connection to mysql,

Re: tomcat mysql not working

2003-12-20 Thread Leandro Costa
- From: Leandro Costa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 20, 2003 6:57 AM Subject: tomcat mysql not working Hi there, i'm trying to get a tomcat server running with mysql connectivity. Tomcat is running ok, and i've downloaded the new Connector/J

RE: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Euan Guttridge
: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' It could be related, but I'm not sure. I think the problem lies in the way the application gets deployed with this ant build file. Probably the docbase doesn't match (however that's just a wild guess) Still

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-19 Thread Ilja Hehenkamp
[EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' Date: Fri, 19 Sep 2003 19:37:46 +0200 Sorry, I don't really understand what you mean? Do you mean I shouldn't use the build file anymore? If so: that's too bad

Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Walker Chris
Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The situation seems to be this: - mod_webapp requires Tomcat to be already running when httpd starts - the Tomcat application contains a connection pool that requires MySQL to be

Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja
Ok, first some configuration information: Tomcat 5.09 MySQL Driver 3.08 stable OS: Mac OSX 10.2.6 J2SE 1.4.2 all commons libraries reside in $CATALINA_HOME/common/lib MySQL Driver resides in $CATALINA_HOME/common/lib as well I tried setting up a simple JNDI datasource connection but get the

Re: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Tim Funk
Don't use mod_webapp. Use jk or jk2. Webapp is unsupported. jk, jk2 allow for either side to go down and all is still ok when it comes back up -Tim Walker Chris wrote: Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Walker Chris
Users List Subject: Re: Apache/Tomcat/MySQL Startup Sequence on Linux Don't use mod_webapp. Use jk or jk2. Webapp is unsupported. jk, jk2 allow for either side to go down and all is still ok when it comes back up -Tim Walker Chris wrote: Hi, I'm having problems coordinating the startup

Re: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Tim Funk
- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 11:46 To: Tomcat Users List Subject: Re: Apache/Tomcat/MySQL Startup Sequence on Linux Don't use mod_webapp. Use jk or jk2. Webapp is unsupported. jk, jk2 allow for either side to go down and all is still ok when it comes back up

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Martin Jacobson
Ilja wrote: Ok, first some configuration information: Tomcat 5.09 MySQL Driver 3.08 stable OS: Mac OSX 10.2.6 J2SE 1.4.2 My config is not the same (TC 4.1.24, OSX 10.2.6, MySQL 3.07), and my parameters are different: ResourceParams name=jdbc/EuratomDB parameter namefactory/name

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Andy Eastham
/Tomcat/MySQL Startup Sequence on Linux Aaargh! I worked to 3am for several days to get webapp set up. I shouldn't believe what I read in books. What's the difference between jk and jk2? And why is webapp unsupported? Chris -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Walker Chris
13:37 To: Tomcat Users List Subject: RE: Apache/Tomcat/MySQL Startup Sequence on Linux Chris, Webapp is unsupported because JK is better and noone in the open source community wants to support it. Are you volunteering ;-) Andy -Original Message- From: Walker Chris [mailto:[EMAIL

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
Jacobson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' Date: Mon, 15 Sep 2003 14:00:52 +0200 Ilja wrote: Ok, first some configuration information

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Remy Maucherat
Ilja Hehenkamp wrote: I think I know where lies the problem, however I still don't know how to fix it... I use the sample build.xml file from Tomcat: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt to install, reload and distribute my sample application. When I do an ant

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
deployed application? From: Remy Maucherat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null' Date: Mon, 15 Sep 2003 15:17:53 +0200 Ilja Hehenkamp

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Remy Maucherat
Ilja Hehenkamp wrote: Sorry, I don't really understand what you mean? Do you mean I shouldn't use the build file anymore? If so: that's too bad, since I like the way of automated updating the tomcat manager... I'm sure you do. You seem to be stuck on that particular page of the docs, however,

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
? So for confirmation: I shouldn't use the old ant buildfile anymore? Ilja From: Remy Maucherat [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Paul
p.s. i would be happy to report my server.xml or web.xml or jsp code for calling connection, if you think it may be of any use to you. - Original Message - From: Ilja Hehenkamp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 15, 2003 9:10 AM Subject: Re: Tomcat, MySQL JNDI

Re: Tomcat, MySQL JNDI: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-09-15 Thread Ilja Hehenkamp
It could be related, but I'm not sure. I think the problem lies in the way the application gets deployed with this ant build file. Probably the docbase doesn't match (however that's just a wild guess) Still waiting for some confirmation from Remy Maucherat. He was talking about the client

RE: Apache/Tomcat/MySQL Startup Sequence on Linux

2003-09-15 Thread Dana Bourgeois
' Subject: Apache/Tomcat/MySQL Startup Sequence on Linux Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The situation seems to be this: - mod_webapp requires Tomcat to be already running when httpd starts - the Tomcat

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Amy Cheung
so what kind of connection is best? using the J/Connector or the OCBC one? --- Bill Barker [EMAIL PROTECTED] wrote: Assuming that you aren't using JDBCRealm, then it should be enough to put the jar file in $TOMCAT_HOME/lib/apps. If you are using JDBCRealm, then place it in

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Amy Cheung
--- Bill Barker [EMAIL PROTECTED] wrote: Assuming that you aren't using JDBCRealm, then it should be enough to put the jar file in $TOMCAT_HOME/lib/apps. If you are using JDBCRealm, then place it in $TOMCAT_HOME/lib/common. Setting the CLASSPATH is evil ;-). Amy Cheung [EMAIL

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Christopher Williams
I'll assume that you're using Connector /J. Stick the file mysql-connector-java-x.y.zz-bin.jar (where x.y.zz is the version number) in Tomcat's common/lib directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Christopher Williams
My apologies (and my tping error), the directory should be common/lib, not lib/common. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Kwok Peng Tuck
Any JDBC driver for mysql (that works for you) will do. Amy Cheung wrote: so what kind of connection is best? using the J/Connector or the OCBC one? --- Bill Barker [EMAIL PROTECTED] wrote: Assuming that you aren't using JDBCRealm, then it should be enough to put the jar file in

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Schalk
There is two things you can do. Set your CLASSPATH to include mm.mysql.driver and include the jar in your webapps lib folder. HTH Kind Regards Schalk Volume4

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Amy Cheung
OK. Thanks. It can connects to the database now. Here is a minor problem. The results I obtained from the query is a ResultSet, rs. I keyed in this code: while (rs.next()) { System.out.print(rs.getString(RoomID); } In the Tomcat server, it printed the results that I wanted. How to incorporate

RE: Connetion between Tomcat MySQL

2003-09-09 Thread Mike Curwen
- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 6:20 AM To: Tomcat Users List Subject: Re: Connetion between Tomcat MySQL There is two things you can do. Set your CLASSPATH to include mm.mysql.driver and include the jar in your webapps lib folder. HTH Kind

Re: Connetion between Tomcat MySQL

2003-09-09 Thread Marco Tedone
[EMAIL PROTECTED] Sent: Tuesday, September 09, 2003 4:40 AM Subject: Connetion between Tomcat MySQL Hi, I am using Tomcat 3.3.1 and MySQL 4.0 in Window XP. MySQL engine is running. When I run my jsp, it stated the error that import com.mysql.Driver not found. Anyone know how to install

Connetion between Tomcat MySQL

2003-09-08 Thread Amy Cheung
Hi, I am using Tomcat 3.3.1 and MySQL 4.0 in Window XP. MySQL engine is running. When I run my jsp, it stated the error that import com.mysql.Driver not found. Anyone know how to install the driver properly? I read something about setting the class path. But where to set? I don't know much about

Re: Connetion between Tomcat MySQL

2003-09-08 Thread Bill Barker
Assuming that you aren't using JDBCRealm, then it should be enough to put the jar file in $TOMCAT_HOME/lib/apps. If you are using JDBCRealm, then place it in $TOMCAT_HOME/lib/common. Setting the CLASSPATH is evil ;-). Amy Cheung [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I

Re: Tomcat+MySQL. Intermitent DbcpException: Server configuration denies access to data source - Now pool exhausted

2003-08-22 Thread Monica Ferrero
Hello! I got an answer in the mySQL list, that pointed out that my number of connections 500, was a lot more than the normal value of 100. Changing that solved the problem of the Server configuration error, but I've gone back to getting java.sql.SQLException: DBCP could not obtain an idle db

Tomcat+MySQL. Intermitent DbcpException: Server configuration denies access to data source

2003-08-12 Thread Monica Ferrero
Hi! I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the mysql- connector-java-2.0.14-bin.jar in commons/lib. The application runs normally, and usually about once or twice a day I get this exception org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Server configuration

[RePost] Tomcat+MySQL. Intermitent DbcpException: Server configuration denies access to data source

2003-08-11 Thread Monica Ferrero
Hi! I haven't got any answers to my question and I'm really stuck with it. Please, could anybody give me some ideas or do you need any other information? Thansk a lot. Monica Hi! I'm using Tomcat 4.1.24 with Apache 2 and MySQL 4.0.13. I have the mysql- connector-java-2.0.14-bin.jar in

Are there any successful website using Apache Tomcat + MySQL + Windows OS?

2003-06-16 Thread Denis
Just curious about the scalibility of this combination. - Denis

Re: TOMCAT + MYSQL need help

2003-03-19 Thread Martin Jacobson
Anthony Roque Adriano wrote: Sorry, i meant JDBC, all my configuration is default except for the polling i've added at server.xml and set debug level to 9. anyway here a sniff of the log file when i place the connector/j under my APPLICATION/WEB-INF/lib directory or at $CATALINA_HOME/common/lib

TOMCAT + MYSQL need help

2003-03-18 Thread Anthony Roque Adriano
Hi, I've been searching the mailist but can't seem to find a problem similar to what i'm encountering. First here's a background of my setup MySQL server = mysql-server-3.23.54a-3 TomCat = jakarta-tomcat-4.1.18 ODBC = Connector/J 3.0.6-stable Base OS = RedHat Linux 7.3 JSDK = j2sdk1.4.1_02

RE: TOMCAT + MYSQL need help

2003-03-18 Thread Gustavo Cebrian
- From: Anthony Roque Adriano [mailto:[EMAIL PROTECTED] Sent: 18 March 2003 11:53 To: [EMAIL PROTECTED] Subject: TOMCAT + MYSQL need help Hi, I've been searching the mailist but can't seem to find a problem similar to what i'm encountering. First here's a background of my setup MySQL server = mysql

Re: TOMCAT + MYSQL need help

2003-03-18 Thread Martin Jacobson
Anthony Roque Adriano wrote: Hi, I've been searching the mailist but can't seem to find a problem similar to what i'm encountering. First here's a background of my setup MySQL server = mysql-server-3.23.54a-3 TomCat = jakarta-tomcat-4.1.18 ODBC = Connector/J 3.0.6-stable Base OS = RedHat Linux

Re: TOMCAT + MYSQL need help

2003-03-18 Thread Anthony Roque Adriano
) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:155) Mark - Original Message - From: Martin Jacobson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 9:51 PM Subject: Re: TOMCAT + MYSQL need help Anthony Roque Adriano wrote: Hi, I've

RE: Tomcat/Mysql/Woody

2002-09-05 Thread Luc Santeramo
thanks Stefan for the idea but the problem is somewhere else. the problem comes from java just have to define CATALINA_OPTS=-Dfile.encoding=iso8859-1 before starting tomcat hope that will help other persons.. Thanks to Loic Luc At 10:15 03/09/2002 +0200, you wrote: Just an idea but maybe

Re: Tomcat/Mysql/Woody

2002-09-03 Thread Luc Santeramo
At 15:10 03/09/2002 +1000, you wrote: On Mon, Sep 02, 2002 at 04:36:11PM +0200, Luc Santeramo wrote: ... this jsp displays, on the potato box : -- hé hé hé Revue d'histoire consacrée à la période de la Révolution française et de l'Empire. ...

RE: Tomcat/Mysql/Woody

2002-09-03 Thread Stefan Langer
Just an idea but maybe the font you are using on Woody is unable to display the special characters and replaces them instead with a '?'. Stefan Langer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Tomcat/Mysql/Woody

2002-09-03 Thread Luc Santeramo
At 10:15 03/09/2002 +0200, you wrote: Just an idea but maybe the font you are using on Woody is unable to display the special characters and replaces them instead with a '?'. actually, I use internet explorer to see the result of the query If I do the same query using phpmyadmin with apache, I

Tomcat/Mysql/Woody

2002-09-02 Thread Luc Santeramo
Hi, I'm sorry, I'm new to this mailing list, and I didn't find any post in the archive about this subjector I don't know how to search. I've got a problem since I upgraded from debian potato to debian woody. the following jsp file doesn't display the same thing on the different debian

Re: Tomcat/Mysql/Woody

2002-09-02 Thread Jeff Turner
On Mon, Sep 02, 2002 at 04:36:11PM +0200, Luc Santeramo wrote: ... this jsp displays, on the potato box : -- hé hé hé Revue d'histoire consacrée à la période de la Révolution française et de l'Empire. ... -- the same jsp displays, on the

Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Murat Buyukkal ([EMAIL PROTECTED])
I have a web application containing Servlets JSP pages and uses data on Oracle 9i Server. Data is like a product catalogue. I plan to periodically distribute this system (to people who do not have enough bandwidth to access to our LAN) on CDROM media which contains binaries of a JVM, Tomcat

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread andre . powroznik
I would put only static documents on the CD if I were you... You won't look like professional if you ship a CD containing a JVM, Tomcat MySQL to install. Personally, I would not install it. Greetings, André POWROZNIK -Original Message- From: Murat Buyukkal ([EMAIL PROTECTED

Re: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Mohammed Omar
The user will install them , the man means that the user will run tomcat and mysql services from the CD . You did not get what he means . Thanks - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 4:06 AM Subject: RE: Tomcat MySQL Run On Read

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread andre . powroznik
I understood very well what he means. I simply tell people will not be happy if they have to install or to run many programs to browse his CD... My personal opinion is : as a customer, I would install (fear of viruses, lack of competences, lack of time...) a JVM, Tomcat MySQL to browse a CD

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Murat Buyukkal ([EMAIL PROTECTED])
PROTECTED]] Sent: Monday, July 15, 2002 2:21 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat MySQL Run On Read-Only Media .. I understood very well what he means. I simply tell people will not be happy if they have to install or to run many programs to browse his CD... My personal opinion

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread andre . powroznik
I am afraid it is not as as much easy as you think... 1) Will your customer agree to run these applications on their computer? 2) What if they are not using a PC (Mac?) or if they are not using Windows (Linux?)? 3) To run JSP you need a JDK, not a JRE. 4) If you copy JDK, Tomcat MySQL files

Re: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Tim Funk
) If you copy JDK, Tomcat MySQL files on the CD, will it work? In order to run they need : - DLLs in Windows system directories; - keys in Windows registry; - write access to some of their files... 5) What about AUTOEXEC.BAT? It will do nothing if you put it on a CD : it needs

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Martin van den Bemt
it, they have to.. 3) To run JSP you need a JDK, not a JRE. Wrong here.. Just if you want your jsp's to be dynamic.. Just precompile them.. 4) If you copy JDK, Tomcat MySQL files on the CD, will it work? In order to run they need : - DLLs in Windows system directories; - keys

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread andre . powroznik
Subject: RE: Tomcat MySQL Run On Read-Only Media .. On Mon, 2002-07-15 at 13:59, [EMAIL PROTECTED] wrote: I am afraid it is not as as much easy as you think... 1) Will your customer agree to run these applications on their computer? 2) What if they are not using a PC (Mac

Re: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread David Goodenough
to be dynamic.. Just precompile them.. 4) If you copy JDK, Tomcat MySQL files on the CD, will it work? In order to run they need : - DLLs in Windows system directories; - keys in Windows registry; - write access to some of their files... Use hsqldb instead which has a memory

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Martin van den Bemt
: 15 July 2002 14:23 To: Tomcat Users List Subject: RE: Tomcat MySQL Run On Read-Only Media .. On Mon, 2002-07-15 at 13:59, [EMAIL PROTECTED] wrote: I am afraid it is not as as much easy as you think... 1) Will your customer agree to run these applications on their computer? 2) What

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread andre . powroznik
Subject: RE: Tomcat MySQL Run On Read-Only Media .. Agreed, but only with custom made software.. At the most you can ask your current customers to ask if they can agree to a certain solution, but hey : he is asking what the solution might be! Before he gets that answered customer contact is a big

RE: Tomcat MySQL Run On Read-Only Media ..(off-topic)

2002-07-15 Thread Turner, John
PROTECTED]] Sent: Monday, July 15, 2002 9:24 AM To: Tomcat Users List Subject: Re: Tomcat MySQL Run On Read-Only Media .. On Monday 15 July 2002 13:22, you wrote: On Mon, 2002-07-15 at 13:59, [EMAIL PROTECTED] wrote: I am afraid it is not as as much easy as you think... 1) Will your customer

RE: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Martin van den Bemt
only rely on a particular configuration (imo). -Original Message- From: Martin van den Bemt [mailto:[EMAIL PROTECTED]] Sent: 15 July 2002 15:30 To: Tomcat Users List Subject: RE: Tomcat MySQL Run On Read-Only Media .. Agreed, but only with custom made software.. At the most you

AW: Tomcat MySQL Run On Read-Only Media ..

2002-07-15 Thread Ralph Einfeldt
]] Gesendet: Montag, 15. Juli 2002 15:24 An: Tomcat Users List Betreff: Re: Tomcat MySQL Run On Read-Only Media .. There is a project (I forget its name) which is building a version of Linux designed to run on a CD. Thus you do not have to make any assumptions about what is on the PC. You can

  1   2   >