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
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
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
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
: 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
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
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
,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
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
: 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
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,
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
, 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
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
.
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
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
. 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
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
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
]
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
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
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
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
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
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
-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
: -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
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()
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
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
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
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
]
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
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
: 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
.
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
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:
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
38 matches
Mail list logo