Sorry if this is a silly question but is there a monitor tool specifically for
connection pooling/dataSources in tomcat6? I have debug=5:
Context path=/myapp docBase=myapp
debug=5 reloadable=true crossContext=true
Do I need to change that to debug=0 to get what I'm after or does that just
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
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
---
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.
-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
-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
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: users@tomcat.apache.org
Sent: Saturday, February 23, 2008 9:00 PM
Subject: Help getting
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
[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
Yes,
In the context.xml I have ResourceParams name=jdbc/CurrencyDB
Also in web.xml I have
resource-ref
res-ref-namejdbc/CurrencyDB/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
Thanks,
Kevin
- Original Message
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
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
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
Hi all
I am getting error with jsp:useBean .I have placed BallMemberInfo.java
all jsp file at directory
apache-tomcat-6.0.16\webapps\examples\jsp\Ball .
jsp:useBean id=ballMemberInfo class=.BallMemberInfo scope=page/.
I am getting following error ,
HTTP Status 500
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
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 error
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
-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
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
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.
Making the
-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
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/ ...
--
Hassan
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,
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 users@tomcat.apache.org;
[EMAIL PROTECTED]
Sent: Sunday,
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
Christopher Schultz chris at 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
26 matches
Mail list logo