Actually , I have do it 5 times by different way.
But Tomcat 7 tells me Exception!
In Tomcat 7 , conf/server.xml - GlobalNamingResources
!-- BoneCP datasource --
Resource acquireIncrement=2 auth=Container
driverClass=com.mysql.jdbc.Driver *
factory=com.jolbox.bonecp.BoneCPDataSource*
Another example:
1.In Tomcat 7, conf/server.xml - GlobalNamingResources
!-- BoneCP datasource --
Resource acquireIncrement=2 auth=Container
*driverClass*=com.mysql.jdbc.Driver
*driverClassName*=com.mysql.jdbc.Driver *factory*=*
com.jolbox.bonecp.BoneCPDataSource*
On 02/05/2012 02:12, zuxiong lin wrote:
Hi, All.
Any help ?
Thanks?
Perhaps you could read the following:
http://www.catb.org/~esr/faqs/smart-questions.html
and then rephrase your question?
p
--
[key:62590808]
signature.asc
Description: OpenPGP digital signature
On 02/05/2012 00:53, umar farooq wrote:
Hi All,
I am trying to use Chat example of WebSocket given in Tomcat
version 7.0.27. Problem I faced are here.
1) After opening the web socket it closes the socket automatically
after 20 sec. I want connection open until Guest (i.e. user)
But the whole question was not answered there. They said that this question
is from user list.
kindly tell me how to increase 20sec timeout and how can we explicitly
close the connection.?
I am in trouble please help me.
On Wed, May 2, 2012 at 1:25 AM, Pid p...@pidster.com wrote:
On 02/05/2012
See appending mail.
On Wed, May 2, 2012 at 4:23 PM, Pid p...@pidster.com wrote:
On 02/05/2012 02:12, zuxiong lin wrote:
Hi, All.
Any help ?
Thanks?
Perhaps you could read the following:
http://www.catb.org/~esr/faqs/smart-questions.html
and then rephrase your question?
p
Any particular reason you are building from source?
~
I may need to work on the source, for example, TC's log valve. So I
want to make sure that my baseline compiled
~
Also, why should you have a particular reason to build from source? ;-)
~
lbrtchx
On Mon, Apr 30, 2012 at 9:12 PM, Mark Eggers its_toas...@yahoo.com wrote:
- Original Message -
From: Reka Thirunavukkarasu rthirunavukkaras...@gmail.com
To: Tomcat Users List users@tomcat.apache.org
Cc:
Sent: Monday, April 30, 2012 4:19 AM
Subject: Re: SNI (Server Name Indication)
- Original Message -
But the whole question was not answered there. They said that this
question
is from user list.
http://markmail.org/message/v5uztyakaczjxxrr
kindly tell me how to increase 20sec timeout and how can we
explicitly
close the connection.?
I am in trouble please
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Miguel,
On 5/1/12 6:17 PM, Miguel González Castaños wrote:
On 28/04/2012 22:50, evernat wrote:
Then, there is an issue with Tomcat 5.5, only if you use
javamelody v1.36. See
http://code.google.com/p/javamelody/issues/detail?id=207 It will
be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Albrecht,
On 5/2/12 5:32 AM, Albretch Mueller wrote:
Any particular reason you are building from source?
I may need to work on the source, for example, TC's log valve. So I
want to make sure that my baseline compiled
Fair enough.
My
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zuxiong,
On 5/2/12 3:09 AM, zuxiong lin wrote:
In Tomcat 7 , conf/server.xml - GlobalNamingResources !-- BoneCP
datasource -- Resource acquireIncrement=2 auth=Container
driverClass=com.mysql.jdbc.Driver *
You asked the Tomcat users' group, not the Javamelody users' group:
did you expect to find many Javamelody experts around here?
The author is around and some other users too, since the recommendation
of using this software actually came from this user group.
Also in the beginning I thought It
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
-Original Message-
From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
Sent: Wednesday, May 02, 2012 2:35 AM
To: Tomcat Users List
Subject: Re: How to config the Tomcat 7.x JNDI datasource by using
BoneCP ??
See appending
Have the client send a ping message every 10 seconds
-Original Message-
From: umar farooq [mailto:umarfarooq...@gmail.com]
Sent: Tuesday, May 01, 2012 6:06 PM
To: users@tomcat.apache.org
Subject: Web Socket Issue
Hi All,
I am trying to use Chat example of WebSocket given
But it is not requirement. I want to send ping once to open the socket
after that it should depend on user when he wants to close the connection.
Cannot I explicitly call some method to set timeout forever on client or
server side. Or any other mechanism..??
On Wed, May 2, 2012 at 10:04 AM, Filip
We are running Tomcat 7.0.26 (no httpd front end) with BIO/NIO and SSL
(entire webapp is in security context) and see this exception
periodically on our Linux server:
May 2, 2012 3:03:45 AM org.apache.jasper.runtime.JspFactoryImpl
internalGetPageContext
SEVERE: Exception initializing page
Pid wrote:
On 02/05/2012 00:53, umar farooq wrote:
Hi All,
I am trying to use Chat example of WebSocket given in Tomcat
version 7.0.27. Problem I faced are here.
1) After opening the web socket it closes the socket automatically
after 20 sec. I want connection open until Guest (i.e.
On 02/05/2012 19:50, André Warnier wrote:
Pid wrote:
On 02/05/2012 00:53, umar farooq wrote:
Hi All,
I am trying to use Chat example of WebSocket given in Tomcat
version 7.0.27. Problem I faced are here.
1) After opening the web socket it closes the socket automatically
after 20
I am running Tomcat 7.0.26 on Linux we received a lot of the following
exceptions during load testing:
May 2, 2012 3:04:03 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run
SEVERE: Socket accept failed
java.io.IOException: Too many open files
at
On 2 May 2012, at 20:19, David Wall d.w...@computer.org wrote:
I am running Tomcat 7.0.26 on Linux we received a lot of the following
exceptions during load testing:
May 2, 2012 3:04:03 AM org.apache.tomcat.util.net.NioEndpoint$Acceptor run
SEVERE: Socket accept failed
java.io.IOException:
While the API call to set timeout is missing (it is present in Tomcat's
Comet implementation) a forever setting would not do you any good
Your application has to learn how to deal with disconnects, as they are very
common over WAN.
I expect that a future version will have that call, but it wont
Folks,
I'm trying to use the manager app, so that I can collect performance
metrics on our running Standalone Tomcat setup. The standalone came bundled
with an application - in an effort to provide a completely encapsulated
solution that runs right out of the box.
The problem is I'd like to
From: Todd Seidenberg [mailto:todd.seidenb...@gmail.com]
Subject: Adding the manager app to a Standalone tomcat install
I'm trying to use the manager app, so that I can collect performance
metrics on our running Standalone Tomcat setup.
What kind of performance information do you think the
On 5/2/2012 12:34 PM, Pid * wrote:
It's an OS issue: google 'ulimit'.
p
Yes, I am familiar with ulimit -Sn (it's 1024), but I suspect this could
be a Tomcat issue somehow opening too many files and/or not releasing
them. I had never seen this issue before we upgraded from Tomcat 5.5
We are running Tomcat 7.0.26 and have not see this except before running
high load testing. It's an odd exception in that our getParam() code is
just calling: String[] pv = request.getParameterValues(name);
That is, we are not making a call that should be attempting to change
any parameter
From: David Wall [mailto:d.w...@computer.org]
Subject: Tomcat 7 - No modifications are allowed to a locked ParameterMap
May 2, 2012 1:55:03 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: No
Here's another odd exception we are receiving on Tomcat 7.0.26 when
doing load testing.
When this exception occurs, our code is basically calling:
response.encodeURL(url);
It's in a FORM tag we created that is defined on a JSP page that should
already have a session object created by:
Ok, lsof -p pid (IIRC) should do the trick, it will tell all the handles open
for that process, and you can deduce where the problem stems from
-Original Message-
From: David Wall [mailto:d.w...@computer.org]
Sent: Wednesday, May 02, 2012 2:48 PM
To: users@tomcat.apache.org
Subject:
From: David Wall [mailto:d.w...@computer.org]
Subject: Tomcat 7 - .ApplicationDispatcher invoke - Cannot create a session
after the response has been committed
It really seems like Tomcat is confusing sessions or the like
when the load gets high, but not sure how to show/prove that.
Look
On 5/2/2012 2:17 PM, Caldarale, Charles R wrote:
Both this symptom and your earlier one about creating a session after a
response has been committed are representative of the kinds of errors seen when
a webapp stores references in an inappropriate scope. For example, keeping a
reference to
On 5/2/2012 2:41 PM, Caldarale, Charles R wrote:
Look carefully at the code in your webapp(s) for issues like the ones
described in an earlier response.
Has anybody seen this?
Lots of times - and it's _always_ been a problem in a webapp.
- Chuck
I hope my comment about our session
From: David Wall [mailto:d.w...@computer.org]
Subject: Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap
I am pretty sure we never store the request/response objects in the
session, static field or thread-local.
What about in your servlets? Or third-party libraries?
I just want to have one instance of tomcat up and running always
whenever I start my system exactly the way I have httpd service running
always.
ok now moving forward, I installed the tomcat 7.0.27 as service,made
changes to shutdown ports/APR ports etc and now its runing fine as a
service.I
On 5/2/2012 2:17 PM, Caldarale, Charles R wrote:
Both this symptom and your earlier one about creating a session after a
response has been committed are representative of the kinds of errors seen when
a webapp stores references in an inappropriate scope. For example, keeping a
reference to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 5/2/12 2:46 PM, David Wall wrote:
We are running Tomcat 7.0.26 (no httpd front end) with BIO/NIO and
SSL (entire webapp is in security context) and see this exception
periodically on our Linux server:
May 2, 2012 3:03:45 AM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 5/2/12 8:01 PM, David Wall wrote:
On 5/2/2012 2:17 PM, Caldarale, Charles R wrote:
Both this symptom and your earlier one about creating a session
after a response has been committed are representative of the
kinds of errors seen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 5/2/12 5:40 PM, Filip Hanik (mailing lists) wrote:
Ok, lsof -p pid (IIRC) should do the trick, it will tell all the
handles open for that process, and you can deduce where the
problem stems from
+1
If you have maxThreads=800 then
When I use BoneCP in per-web-app, it is OK with partitionCount .
partitionCount is a property of BoneCP.
MySQL Connector/J 5.1.19, I put it into both Tomcat's
lib/ directory and my webapp's WEB-INF/lib directory . (I can have a try. I
think it doesnot work :
you'll need to have the JAR
I have a try , but it does work.
On Thu, May 3, 2012 at 12:54 AM, Filip Hanik (mailing lists)
devli...@hanik.com wrote:
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html
-Original Message-
From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
Sent: Wednesday, May 02, 2012
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Zuxiong,
On 5/2/12 9:13 PM, zuxiong lin wrote:
When I use BoneCP in per-web-app, it is OK with partitionCount .
partitionCount is a property of BoneCP.
Okay, that's fine then.
MySQL Connector/J 5.1.19, I put it into both Tomcat's lib/
Don't do that: remove mysql-connector-j-5.1.9.jar from WEB-INF/lib.
Also remove the JAR for BoneCP.
I donot have a try now. This morning I received your mail ,UTC+8.
Before I sent my mail for help , I just put the jar in both Tomcat/lib dir
and webapp/WEB-INF/lib.
And I found I am very confused
BoneCP doesn't have a JNDI factory AFAICT, and it's also missing a lot of
critical features, like validation etc
Filip
-Original Message-
From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
Sent: Wednesday, May 02, 2012 7:36 PM
To: Tomcat Users List
Subject: Re: How to config the
com.jolbox.bonecp.BoneCPDataSource implements DataSource, *ObjectFactory ,
*
*isnot it a JNDI factory ?
*
On Thu, May 3, 2012 at 10:30 AM, Filip Hanik (mailing lists)
devli...@hanik.com wrote:
BoneCP doesn't have a JNDI factory AFAICT, and it's also missing a lot of
critical features, like
Aah, yes you are right. The specify
Resource name=jdbc/DB factory=com.jolbox.bonecp.BoneCPDataSource
type=javax.sql.DataSource .../
Filip
-Original Message-
From: zuxiong lin [mailto:linzuxiong1...@gmail.com]
Sent: Wednesday, May 02, 2012 8:40 PM
To: Tomcat Users List
Subject: Re:
So , why does tomcat report exception casued by commons.dbcp ...factory ?
It is more like a bug...
On Thu, May 3, 2012 at 10:42 AM, Filip Hanik (mailing lists)
devli...@hanik.com wrote:
Aah, yes you are right. The specify
Resource name=jdbc/DB factory=com.jolbox.bonecp.BoneCPDataSource
46 matches
Mail list logo