Christopher Schultz christopherschultz.net> writes:
>
> [...]
> | problem is, none of these approaches work in Tomcat 5.5. For 1), this
> simply
> | didn't have any effect for me. 2) neither, maybe Tomcat simply ignores
> that
> | property?
>
> How did you set the property?
I am running my web
Well, I'm happy to say that you are correct. It's very strange. I tried
moving the file to META-INF, restarting tomcat and it did not work.
Next I tried deleting the webapp directory and war file. Moving the
context.xml file in my source, rebuild war and redeploy. Not it works!
Lesson learned
Are you sure? I thought the webapp context.xml went in WEB-INF. At any rate
I tried moving it to META-INF and it did not help.
Thanks,
Kevin
- Original Message -
From: "Hassan Schroeder" <[EMAIL PROTECTED]>
To: "Tomcat Users List" ;
<[EMAIL PROTECTED]>
Sent: Sunday, February 24, 20
Ok, so here is what I am. I have moved the connection to the doGet() method.
And if I do the following (no pooling) it works fine, I get the connection
and I can query the DB.
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test",
On Sun, Feb 24, 2008 at 2:59 PM, <[EMAIL PROTECTED]> wrote:
> I implemented the resource as you suggested (short hand method as follows):
>
> WEB-INF\context.xml for the app now has
Is that a typo or really what you did? Your webapp's context.xml
goes in META-INF/ , not WEB-INF/ ...
--
Hass
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
[EMAIL PROTECTED] wrote:
| Now for the issue at hand. I turned off my Windows firewall and this did
| not fix the issue.
Yeah, that was unlikely to change anything. Make sure you turn that back on!
| I implemented the resource as you suggest
"Johnny Kewl" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> ---
> HARBOR: http://coolharbor.100free.com/index.htm
> The most powerful application server on earth.
> The only real POJO Application Server.
> M
Chris,
Thanks for the help. On your code analysis, points well taken. I'll
implement you suggestions.
Now for the issue at hand. I turned off my Windows firewall and this did not
fix the issue.
I implemented the resource as you suggested (short hand method as follows):
WEB-INF\context.xml
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
[EMAIL PROTECTED] wrote:
| I tested mysql and it is using tcp/ip. "mysql -h 127.0.0.1 -u javauser
| -p" works fine.
| Also the MSQLAdmin program shows it is connecting to the correct port 3306
Okay, good. Any software firewalls enabled? The d
Hello Sneha, you can put files directly into Tomcat deployment but it needs to
comform to the .war (web archive) file structure. How are you building your
application? I suggest strongly that you use Ant and build.xml to output a
proper .war representation of you app. Since you are using JSP I a
Hi ,
where do I need to place user defined .java files in tomcat directory
Sneha Manohar <[EMAIL PROTECTED]> wrote:
Date: Sun, 24 Feb 2008 18:23:45 + (GMT)
From: Sneha Manohar <[EMAIL PROTECTED]>
Subject: jsp:useBean is giving error
To: users@tomcat.apache.org
Hi all
I am getting err
Thank you very much Chris and Chuk.
Regards,
-Hitesh
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 7:58 PM
To: Tomcat Users List
Subject: Re: JASPER libraries incompatibilities
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hit
Hi all
I am getting error with .
I am getting following error ,
HTTP Status 500 -
-
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apac
Binding Servlet wrote:
Hi,
Is there a way to configure Tomcat so that servlets can be created by
multiple users without having to either place them in the webapps directory
and without updating conf/web.xml for every servlet? I know the invoker
servlet is available, but I have read that is insec
Hi,
Is there a way to configure Tomcat so that servlets can be created by
multiple users without having to either place them in the webapps directory
and without updating conf/web.xml for every servlet? I know the invoker
servlet is available, but I have read that is insecure. Basically, the
effec
Mark, thanks so much! I just installed it (in about 5 seconds!), and I've got
to say 'Probe rocks!' Thanks for taking the time to answer my question. This
gives me what I asked for but much much more ;)
Mark Thomas <[EMAIL PROTECTED]> wrote: Rob Levin wrote:
> Sorry if this is a silly question
Yes,
In the context.xml I have
Also in web.xml I have
jdbc/CurrencyDB
javax.sql.DataSource
Container
Thanks,
Kevin
- Original Message -
From: "Alan Chaney" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, February 24, 2008 9:11 AM
Subject
[EMAIL PROTECTED] wrote:
Thanks for the help. I still don't have this working completely, but
tomcat is now working.
I tested mysql and it is using tcp/ip. "mysql -h 127.0.0.1 -u javauser
-p" works fine.
Also the MSQLAdmin program shows it is connecting to the correct port
3306
Thanks for the help. I still don't have this working completely, but tomcat
is now working.
I tested mysql and it is using tcp/ip. "mysql -h 127.0.0.1 -u javauser -p"
works fine.
Also the MSQLAdmin program shows it is connecting to the correct port 3306
I see your point about purring the reso
Hi Kevin-
is there a MySQL listener installed on port 3306..you can verify with
netstat -a | grep 3306?
If so can you connect using mySQL client?
M-
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Saturday, February 23, 2008 9:00 PM
Subject: Help getting MySQL connected to Tomca
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
[EMAIL PROTECTED] wrote:
| I've tried following the directions from the tomcat dist and from the
| mysql dist but I always get can't connect exceptions when I start tomcat.
"Connection refused" usually means that everything is configured
prop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lessie,
Lessie Z. Mitch wrote:
| url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"
Don't use autoReconnect=true... that parameter has been deprecated for
years, and the effect is better achieved by using testOnBorrow="true"
along with va
---
HARBOR: http://coolharbor.100free.com/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
Making the Java dream come true.
--
java.net.ConnectException: Connection refused: connect
Some distributions of mysql configure it by default to use named pipes
w/o a port listening at 3306. It's mainly for security reasons, but can
be a real PITA when your application requires a TCP/IP port. Check the
parameters MySQL was
Rob Levin wrote:
Sorry if this is a silly question but is there a monitor tool specifically for
connection pooling/dataSources in tomcat6? I have debug=5:
Not specifically for connection pools but I would use the excellent lambdaprobe
http://www.lambdaprobe.org/
It does everything you want an
Sorry if this is a silly question but is there a monitor tool specifically for
connection pooling/dataSources in tomcat6? I have debug=5:
Do I need to change that to debug=0 to get what I'm after or does that just
make it more verbose? What I'd really like to see is how many connection are
act
26 matches
Mail list logo