-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Yosef,
On 5/17/17 11:38 AM, Yosef Fastow wrote:
> Hi, I am running a spring framework website on eclipse jave ee
> using tomcat 7. When I try to connect to do anything connected to
> the databse it raises a HTTP 500:
>
> Request processing failed;
Hi, I am running a spring framework website on eclipse jave ee using tomcat
7. When I try to connect to do anything connected to the databse it raises
a HTTP 500:
Request processing failed; nested exception is
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get
JDBC
To: 'Tomcat Users List'
Subject: RE: Connecting to a Database
And after doing this, and getting my DataSourceRealm to work properly, now I
can't get the Tomcat manager app to work properly now...it references my JNDI
realm reference (DataSourceRealm actually) and throws an exception.
Even if I delete
: Tuesday, March 30, 2010 9:20 AM
To: 'Tomcat Users List'
Subject: RE: Connecting to a Database
Oh ok, I see. You've added a valve to the manager app. I probably need to do
that, and have not.
Thanks.
-Original Message-
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov
Right -- ok, that's good.
And I will do so (post the data Chuck asked for).
-Original Message-
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Sent: Tuesday, March 30, 2010 11:34 AM
To: 'Tomcat Users List'
Subject: RE: Connecting to a Database
I only added that valve
, 2010 6:09 PM
To: 'Tomcat Users List'
Subject: RE: Connecting to a Database
You are correct. I stumbled across that info while reading the Realm config
in the DataSource Database Realm section but I wasn't looking for that when I
saw it the first n times. I was looking for info about
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: Connecting to a Database
And after doing this
Doing which?
now I can't get the Tomcat manager app to work properly now...it
references my JNDI realm reference (DataSourceRealm actually) and
throws an exception.
Where
To: 'Tomcat Users List'
Subject: RE: Connecting to a Database
And after doing this, and getting my DataSourceRealm to work properly, now I
can't get the Tomcat manager app to work properly now...it references my JNDI
realm reference (DataSourceRealm actually) and throws an exception.
Even if I delete
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: Connecting to a Database
Thanks, Leo! I've not seen instructions in the How-To (maybe I
overlooked it) on the localDataSource=true attrib to the Realm in
the context.xml file
Unfortunately, it's not in the How-To, just
Thanks, Chuck. I'll take a look again at this to see what else I might have
overlooked!
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Friday, March 26, 2010 4:56 PM
To: Tomcat Users List
Subject: RE: Connecting to a Database
From: Propes
[mailto:chuck.caldar...@unisys.com]
Sent: Friday, March 26, 2010 2:56 PM
To: Tomcat Users List
Subject: RE: Connecting to a Database
From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
Subject: RE: Connecting to a Database
Thanks, Leo! I've not seen instructions in the How-To (maybe I
overlooked
On 24/03/2010 15:56, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: Connecting to a Database
If you define the datasource as a global resource, you can define the
Realm in server.xml (before or inside the Host), but then you need a
resource link in the context.xml
on that I assumed I could digest other passwords as well.
Leo
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, March 24, 2010 12:47 PM
To: Tomcat Users List
Subject: Re: Connecting to a Database
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/25/2010 10:50 AM, Leo Donahue - PLANDEVX wrote:
I can digest a password and use that digested password in the
tomcat-users.xml
Sorry, I was thinking server.xml for the DataSource setup: you cannot
use the database's password in a hashed
://localhost;database=authstore/
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, March 23, 2010 3:22 PM
To: Tomcat Users List
Subject: RE: Connecting to a Database
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov
Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, March 23, 2010 3:22 PM
To: Tomcat Users List
Subject: RE: Connecting to a Database
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: Connecting to a Database
Tomcat 6.0.24
Windows
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 11:43 AM, Leo Donahue - PLANDEVX wrote:
No, not sure. That is what I was confused about.
JDBC Realm, vs JNDI DataSourceRealm, vs JDBC DataSource
A Realm is something Tomcat uses for authentication. A DataSource is an
object
From: Pid [mailto:p...@pidster.com]
Subject: Re: Connecting to a Database
If you define the datasource as a global resource, you can define the
Realm in server.xml (before or inside the Host), but then you need a
resource link in the context.xml to make the global resource available
: Wednesday, March 24, 2010 8:56 AM
To: Tomcat Users List
Subject: Re: Connecting to a Database
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 11:43 AM, Leo Donahue - PLANDEVX wrote:
No, not sure. That is what I was confused about.
JDBC Realm, vs JNDI DataSourceRealm, vs JDBC
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 1:28 PM, Leo Donahue - PLANDEVX wrote:
I know you can specify digest for a Realm, but I don't see where I
can do that for a Resource.
Note that the digest is for hashing passwords during /user/
authentication, not connecting
-name
/security-role
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, March 24, 2010 12:47 PM
To: Tomcat Users List
Subject: Re: Connecting to a Database
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 1:28 PM, Leo
or alter this transmission.
From: leodona...@mail.maricopa.gov
To: users@tomcat.apache.org
Date: Wed, 24 Mar 2010 10:28:52 -0700
Subject: RE: Connecting to a Database
Thanks everyone. I understand this better.
I know you can specify digest for a Realm, but I don't see where I can do
-namewebservicereader/role-name
/security-role
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Wednesday, March 24, 2010 12:47 PM
To: Tomcat Users List
Subject: Re: Connecting to a Database
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leo,
On 3/24/2010 1:28
Tomcat 6.0.24
Windows Server 2003 R2 SP2
SQL Server 2005 Express
Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007
I know I need to configure a Realm and that can be in an Engine, Host or
Context element, but most likely in a context element inside the context.xml
under META-INF of my
On 23/03/2010 22:16, Leo Donahue - PLANDEVX wrote:
Tomcat 6.0.24
Windows Server 2003 R2 SP2
SQL Server 2005 Express
Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007
I know I need to configure a Realm and that can be in an Engine, Host or
Context element, but most likely in a
From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov]
Subject: Connecting to a Database
Tomcat 6.0.24
Windows Server 2003 R2 SP2
SQL Server 2005 Express
Microsoft SQL Server 2005 JDBC Driver 1.2 - October 2007
I know I need to configure a Realm
Are you sure? A Realm
ownership, and start tomcat with root
user, Then the application is connecting to the database without any
problem.
However, It is working, until the database location is /var/lib/mysql.
If I
change the database location to any other directory and specify in
/etc/my.cnf file as datadir, Then I
loganathan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 5:27 AM
To: users@tomcat.apache.org
Subject: Error while connecting to MySQL database
Hi,
I am facing a problem with my Apache-Tomcat-MySQL
installation.MyEnvironment is as follows:
Redhat ES4(2.6.9-5.EL), Apache-Tomcat-5.5.15, MySQL
as long as you can connect by using that pwd from the MySQL client.
Hope this helps.
Cheers,
Gordon Smith
-Original Message-
From: navaneethan loganathan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 7:57 PM
To: users@tomcat.apache.org
Subject: Error while connecting to MySQL
: Donnerstag, 29. Juni 2006 15:51
An: 'Tomcat Users List'
Betreff: RE: Error while connecting to MySQL database
If Class.forName throws a null pointer exception, chances are it can't find
the driver because you have a Tomcat configuration problem or other
classpath-related problem relating to driver setup
is connecting to the database without any
problem.
However, It is working, until the database location is /var/lib/mysql. If I
change the database location to any other directory and specify in
/etc/my.cnf file as datadir, Then I will not be able to start MySQL server
even. The detail of this new error
Hi,
I am facing a problem with my Apache-Tomcat-MySQL
installation.MyEnvironment is as follows:
Redhat ES4(2.6.9-5.EL), Apache-Tomcat-5.5.15, MySQL 4.1.12, Java version
1.5.0_06, Apache-Tomcat connector ajp13,
mysql-connector-java-3.2.0-alpha-bin.jar.
After installation and configuration I am
Hi,
When we restarted tomcat, we are getting the below error while
connecting to MySql database:
-
Catalina.start: LifecycleException: Exception opening database
connection: java.sql.SQLException: Access denied for user
'root'@'localhost.localdomain' (using password: YES
I am not sure if this is a Tomcat issue or a MySql issue.
I get these trace messages in catalina.out:
Wed Mar 08 07:48:48 CST 2006 TRACE:
about 800 to 1000 lines of them, each time I connect to the database.
I have googled and searched but can find nothing on the cause or the
solution
except
34 matches
Mail list logo