-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mihamina,
Mihamina Rakotomandimby (R12y) wrote:
catch(Exception e)
{
try
{
Class.forName(org.gjt.mm.mysql.Driver);
}
catch (ClassNotFoundException e1)
On Wed, Feb 4, 2009 at 8:28 AM, Mihamina Rakotomandimby (R12y)
miham...@lab.vectoris.fr wrote:
So, my deduction is the Linux tomcat6 has a setting that avoid reading
Catalina/localhost/webappName.xml
can you specify the Linux-distribution / version?
In case you are using package-distribution
Sorry, but you're providing too few informations.
- please post the file /etc/tomcat6/Catalina/localhost/webappName.xml
(masquerade the user-id / password!)
- please post the piece of code where the said webapp tries to create
the database-connection.
should looke similar to
code
Mihamina Rakotomandimby (R12y) wrote:
DriverManager.getConnection(jdbc:mysql://localhost/baseName,
login,
password);
There, I see some hardcoded localhost.
Might it be the nasty evil code?
--
Chef de
From: Mihamina Rakotomandimby (R12y)
[mailto:miham...@lab.vectoris.fr]
Subject: Re: tomcat only query localhost database
/etc/tomcat6/Catalina/localhost/webappName.xml
?xml version=1.0 encoding=UTF-8?
Context path=/norpassWeb
reloadable=true
docBase
2009/2/3 Caldarale, Charles R chuck.caldar...@unisys.com:
From: Mihamina Rakotomandimby (R12y)
[mailto:miham...@lab.vectoris.fr]
Subject: Re: tomcat only query localhost database
/etc/tomcat6/Catalina/localhost/webappName.xml
?xml version=1.0 encoding=UTF-8?
Context path=/norpassWeb
Mihamina Rakotomandimby (R12y) wrote:
Mihamina Rakotomandimby (R12y) wrote:
DriverManager.getConnection(jdbc:mysql://localhost/baseName,
login,
password);
There, I see some hardcoded localhost.
Might it be
Mihamina Rakotomandimby (R12y) wrote:
DriverManager.getConnection(jdbc:mysql://localhost/baseName,
login,
password);
There, I see some hardcoded localhost.
Might it be the nasty evil code?
Nope, it's in a
From: Dave Pawson [mailto:dave.paw...@gmail.com]
Subject: Re: tomcat only query localhost database
What are(or where can I find them) the rules on loading an app into
localhost | webapps or ROOT?
In the Tomcat docs:
http://tomcat.apache.org/tomcat-6.0-doc/config/index.html
Note that you
Gregor Schneider wrote:
Sorry, but you're providing too few informations.
- please post the file /etc/tomcat6/Catalina/localhost/webappName.xml
(masquerade the user-id / password!)
?xml version=1.0 encoding=UTF-8?
Context path=/norpassWeb
reloadable=true
After further investigations:
If I install a tomcat6 windows binary, and edit the
Catalina/localhost/webappName.xml file in order to use a different
database host, it's OK: the Windows tomcat6 go and use the other database.
So, my deduction is the Linux tomcat6 has a setting that avoid
Hi,
A developper gave me a .war webapp.
When deploying it, it creates an xml file:
/etc/tomcat6/Catalina/localhost/webappName.xml
which is a copy of the one in
/var/lib/tomcat6/webapps/webappName/META-INF/context.xml
Then context.xml file contains the JDBC/MySQL host,login,pass
where host is NOT
Mihamina Rakotomandimby wrote:
Any help?
I suspect there is a system-wide configuration that tells not to
consider the webapp-specific configuration, but I dont find where...
--
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby
13 matches
Mail list logo