Cannot connect to database using DataSource

2005-09-14 Thread Michael Lai
I have a MySQL database in which I created a database named, javatest, and I am using Tomcat 5.5.9. I have unable to connect my database using Java's DataSource method. Here is my ROOT.xml setup for my application context: Context path= docBase=/home/tomcat/applications/ debug=0

Re: Cannot connect to database using DataSource

2005-09-14 Thread Sonja Löhr
Hi! For TC 5.5.x, put the name-value-pairs of all parameter elements inside the Resource start tag as attributes. Good luck! Am Mittwoch, den 14.09.2005, 16:30 +0800 schrieb Michael Lai: I have a MySQL database in which I created a database named, javatest, and I am using Tomcat 5.5.9. I

Cannot connect to tomcat

2005-08-31 Thread Guido Meyer
Hi list, I hope you can help me with this problem. I have running a servlet in a context running on the tomcat 5.0.28. It all works fine, but after three days of running i cannot connect to the tomcat server. The servlet is connected every 5 seconds 24 hours a day. After the first connection

Apache cannot connect to Tomcat in httpd.conf

2005-06-05 Thread Andreas Bauer
Hello! Can somebody help me, please? My OS is Suse 9.2 pro. Apache and Tomcat work for me. But If I start Apache with normal httpd.conf, Apache works for me. If I paste my lines for Apache-Tomcat Connection, Apache doesn't work for me, only Tomcat. It must be something wrong with this lines, but

Re: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-22 Thread Tom A
: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15 with Hibernate 2.1.7c with no problems. This is on both Windows XP Pro SP2 (development) and SuSE Linux SLES9 (test and production

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-22 Thread Richard Mixon (qwest)
Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 7:53 AM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15 with Hibernate 2.1.7c

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Richard Mixon (qwest)
PROTECTED] Sent: Sunday, February 20, 2005 10:43 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Wel we did the same to upgrade our product all went wel except for the connector. Then after some research I found that mysql-connector-java-3.1.6

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Shakeel Ahmad
,SCWCD SCBCD Sun Microsystems, Inc. Brain Bench Certified Java Programmer. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 6:16 PM To: Tomcat Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Shakeel

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-21 Thread Richard Mixon (qwest)
works in Tomcat 5.0.19, but not in Tomcat 5.5.7. Thanks - Richard -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 6:39 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Try to hard code

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? New approach

2005-02-21 Thread Richard Mixon (qwest)
: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 7:53 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? New approach [SOLVED]

2005-02-21 Thread Richard Mixon (qwest)
OK, yes it turned out to be one of those dumb configuration errors - BUT also a difference in how Tomcat 5.5.7 (or maybe is is Commons DBCP 1.2.1) behaves under Windows versus Linux. I had camelcased the username property in the context.xml Resource tag as userName. This worked under Windows,

Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Richard Mixon (qwest)
We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15 with Hibernate 2.1.7c with no problems. This is on both Windows XP Pro SP2 (development) and SuSE Linux SLES9 (test and production). In order to get failover to work the way we wanted we upgraded to Tomcat

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Shakeel Ahmad
, Pakistan. SCJP,SCWCD SCBCD Sun Microsystems, Inc. Brain Bench Certified Java Programmer. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 7:53 AM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.7 cannot connect to mysql datasource - what

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Richard Mixon (qwest)
Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Have you changed the corresponding mysql connector jar file ? -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 7:53 AM To: tomcat-user@jakarta.apache.org

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Shakeel Ahmad
. Brain Bench Certified Java Programmer. -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: 21 February, 2005 10:24 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed? Actually I tried MySQL Connector/J 3.0.15

cannot connect a sqlserver

2004-12-16 Thread g . j . c . draafsel
I have a problem building a testserver with a webapp using sqlserver2000. We got a productionserver running, so I installed java SDK (j2sdk-1_4_2_04-windows-i586-p.exe),tomcat (jakarta-tomcat-4.1.30.exe) and SQLserver2000 (restored a backup) and took the .war file from the productionserver

RE: cannot connect a sqlserver

2004-12-16 Thread Robert Taylor
. Try deleting the users, then adding them back and don't forget to re-run your permissions once you've added the users back. /robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 8:56 AM To: [EMAIL PROTECTED] Subject: cannot

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
permissions once you've added the users back. /robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 8:56 AM To: [EMAIL PROTECTED] Subject: cannot connect a sqlserver I have a problem building a testserver with a webapp using

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
Boyer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 10:45 AM To: [EMAIL PROTECTED] Subject: RE: [OT] cannot connect a sqlserver For the sake of clarifcation, this is only necessary when restoring to an instance of SQL server that is different from the one on which the backup

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread Robert Taylor
] Sent: Thursday, December 16, 2004 10:45 AM To: [EMAIL PROTECTED] Subject: RE: [OT] cannot connect a sqlserver For the sake of clarifcation, this is only necessary when restoring to an instance of SQL server that is different from the one on which the backup was created. On your production

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread Robert Taylor
Thanks David. /robert -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 11:27 AM To: [EMAIL PROTECTED] Subject: RE: [OT] cannot connect a sqlserver In Enterprise Manager: Right-click on the database, select All Tasks

Cannot connect to remote server

2004-10-19 Thread Robert Mark Bram
access http://localhost:8080 I get Cannot connect to remote server. When I examine catalina.out log I find the following exception: 20/10/2004 00:32:51 org.apache.catalina.startup.Bootstrap initClassLoaders SEVERE: Class loader creation threw exception java.lang.NoClassDefFoundError: javax

Re: Cannot connect to remote server

2004-10-19 Thread Antony Paul
as a Daemon process according to these instructions: http://phd.netcomp.monash.edu.au/RobertMarkBram/protected/notes/installingTomcat5.txt I have $CATALINA_HOME/conf/server.xml set up so that Tomcat runs on port 8080. But when I access http://localhost:8080 I get Cannot connect to remote server

Apache+Tomcat error -101 cannot connect to tomcat

2004-01-29 Thread Charles Daniel
I get an error -101 when Apache attempts to get a *.jsp from Tomcat. Please Help! [EMAIL PROTECTED] SUSE Linux 8.0, Apache 2.048, Tomcat 4.1.29, mod_jk. Installation Instructions @ http://www.johnturner.com/howto/apache2-tomcat4127-jk-rh9-howto.html The http.conf is reverted to the original

Cannot connect to tomcat-5.0.16 via SSL

2003-12-06 Thread Zsolt Koppany
Hi, I get an error message when I try to connect to tomcat-5.0.16 from mozilla via SSL: localhost has received an incorrect or unexpected message. Error Code: -12229. I don't have this problem with tc-4.1.24. How can I fix it? I have modified server.xml as follows: Connector port=8443

RE: cannot connect

2003-01-14 Thread Faine, Mark
-Original Message- From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 7:21 PM To: Tomcat Users List Subject: Re: cannot connect Faine, Mark wrote: Apache 2.0.43 mod_jk2 2.0.0 Tomcat 4.0.6 Can't get socket to work, I get this error message

RE: cannot connect

2003-01-14 Thread Brzezinski, Paul J
: -Original Message- : From: Faine, Mark [mailto:[EMAIL PROTECTED]] : Sent: Tuesday, January 14, 2003 8:34 AM : To: 'Tomcat Users List' : Subject: RE: cannot connect : : : : : -Original Message- : From: Brzezinski, Paul J [mailto:[EMAIL PROTECTED]] : Sent: Monday, January

cannot connect

2003-01-13 Thread Faine, Mark
Apache 2.0.43 mod_jk2 2.0.0 Tomcat 4.0.6 Can't get socket to work, I get this error message: [Mon Jan 13 14:43:21 2003] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g DAV/2 mod_jk2/2.0.0 configured -- resuming normal operations [Mon Jan 13 14:43:39 2003] [error] channelUn.connect()

Re: cannot connect

2003-01-13 Thread Brzezinski, Paul J
Faine, Mark wrote: Apache 2.0.43 mod_jk2 2.0.0 Tomcat 4.0.6 Can't get socket to work, I get this error message: Is this the log from apache or tomcat? [Mon Jan 13 14:43:21 2003] [notice] Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g DAV/2 mod_jk2/2.0.0 configured -- resuming normal

Re: Cannot connect Servlet/JSP running in Tomcat to MySQL Database

2001-12-06 Thread David Smith
Is your Tomcat using the security manager?? That would explain the error message. If so, you'll have to allow access to the datasource in catalina.policy. Otherwise it should work. --David On Wednesday 05 December 2001 05:19 pm, you wrote: Hi, I am unable to connect a servlet or jsp

Cannot connect Servlet/JSP running in Tomcat to MySQL Database

2001-12-05 Thread Stine, Matt
Hi, I am unable to connect a servlet or jsp running in Tomcat to a MySQL database. Here are the particulars: Tomcat Version: 4.0.1 MySQL Version: 3.23.45 MySQL JDBC Driver Version: mm.mysql-2.0.4-bin.jar Linux Version: Red Hat 7.1 running Kernel Version 2.4.2-2smp Here

Re: Cannot connect Servlet/JSP running in Tomcat to MySQL Database

2001-12-05 Thread August Detlefsen
Try using the 2 argument DriverManager.getConnection method: DriverManager.getConnection(String connectString, Properties connectProperties); Where: connectString doesn't include the ?user=rootpassword= connectProperties is a java.util.Properties with elements user and password

Re: Apache cannot connect to Tomcat

2001-07-29 Thread Jeff Kilbride
] To: [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 2:50 PM Subject: Apache cannot connect to Tomcat Hello, I've scoured the web and all the Tomcat lists that I can find and still cannot solve this error. Everything works fine through port 8080 as stand-alone, but when I try accessing Tomcat

Re: Apache cannot connect to Tomcat

2001-07-29 Thread Andrew Robson
there. --jeff - Original Message - From: Kelly E. Grooms [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 2:50 PM Subject: Apache cannot connect to Tomcat Hello, I've scoured the web and all the Tomcat lists that I can find and still cannot solve this error

Re: Apache cannot connect to Tomcat

2001-07-29 Thread Jeff Kilbride
: Andrew Robson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 29, 2001 12:56 PM Subject: Re: Apache cannot connect to Tomcat Hang on Jeff this isn't correct is it? mod_jk can support either the ajp12 or ajp13 protocol so adding the ajp13 connector to server.xml isn't likely to help

RE: Apache cannot connect to Tomcat

2001-07-29 Thread Kelly E. Grooms
. Kelly E. Grooms [EMAIL PROTECTED] -Original Message- From: Jeff Kilbride [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 3:23 PM To: [EMAIL PROTECTED] Subject: Re: Apache cannot connect to Tomcat You're right, Andrew! I misread and thought Kelly hadn't added _any_ connectors

Apache cannot connect to Tomcat

2001-07-28 Thread Kelly E. Grooms
Hello, I've scoured the web and all the Tomcat lists that I can find and still cannot solve this error. Everything works fine through port 8080 as stand-alone, but when I try accessing Tomcat through Apache the page times out with no output from the JSP. Afterward my mod_jk.log file contains:

Cannot connect to X11 Server (RS6000)

2001-01-15 Thread David Oxley
I'm trying to use java.awt.* on RS6000 without a gui running. I've read about Xvfb in the archives but there is no info on this with the RS6000 as I can only find info for Digital Unix and Solaris? Dave. [EMAIL PROTECTED] - To