-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mihamina,
Mihamina Rakotomandimby (R12y) wrote:
> catch(Exception e)
> {
> try
> {
> Class.forName("org.gjt.mm.mysql.Driver");
> }
> catch (ClassNotFoundException
On Wed, Feb 4, 2009 at 8:28 AM, Mihamina Rakotomandimby (R12y)
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 (apt, yast etc.), it'
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 reading
> 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.
Mihamina Rakotomandimby (R12y) wrote:
Mihamina Rakotomandimby (R12y) wrote:
DriverManager.getConnection("jdbc:mysql://localhost/baseName",
"login",
"password");
There, I see some hardcoded localhost.
Might i
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
2009/2/3 Caldarale, Charles R :
>> From: Mihamina Rakotomandimby (R12y)
>> [mailto:miham...@lab.vectoris.fr]
>> Subject: Re: tomcat only query localhost database
>>
>> /etc/tomcat6/Catalina/localhost/webappName.xml
>>
>> > reloadable=&
> From: Mihamina Rakotomandimby (R12y)
> [mailto:miham...@lab.vectoris.fr]
> Subject: Re: tomcat only query localhost database
>
> /etc/tomcat6/Catalina/localhost/webappName.xml
>
> reloadable="true"
> docBase="norpassWeb&
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
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!)
- please post the piece of code where the said webapp tries to create
the database-connection.
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
try {
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
12 matches
Mail list logo