Hi Olivier,
I'm not able to run this with tomcat6 as it's a Servlet 3.0 project. I'll
get the issue created -- should have some time next week to put together a
sample project.
Thanks,
Leigh
On 04/04/2012 11:36, "Olivier Lamy" wrote:
>Hello,
>Looks to be an issue (does that work with tomcat6:
Chris,
Good question on the version. But I'm not sure how to tell. Both servers
are in a directory named Tomcat 7.0. But I can't remember if that was the
default or if I forced that name. Where can I look in the install
directory to find the version? I do know that I installed both servers
ar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jerry,
On 4/4/12 5:31 PM, Jerry Malcolm wrote:
> I am using TC 7.0 on a couple of servers.
7.0.what?
There have been a bunch of questions about authentication and
authorization lately involving a (somewhat) recent change when
resources aren't protec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 3/31/12 8:40 AM, Mark Thomas wrote:
> /res/ide-support/eclipse
Also, as I've discovered:
$ echo "base.path=[path where downloads will be put]" > build.properties
$ ant ide-eclipse
Then, go to Preferences | Java/Build Path/Classpath Variab
Hi Ryan- in my case, it turned that the SSL settings were configured in
another part of the application - HP Service Center in this case. The
server.xml file is still using the AJP connector. I know that doesn't help
you much here though unless you're using the same app.
--
View this message in c
I am using TC 7.0 on a couple of servers. I have id/pw fields and a
'login' button at the top of all guest pages on my site. If the user
clicks the login, it goes to a guest page that does the request.login()
method call and then redirects to a protected page. If the login fails,
the normal j_se
Hi,
I am not sure how helps (I am using Tomcat 7)
Also:
>>you should be able to fix this by setting initialSize>0 so that the thread is
>>started using the main class loader when tomcat starts, not when an app
starts using the pool
But how was I supposed to know this? I will try it and let
Thank you for your explanation.
I will take this to H2 but I have one more question on your comment:
>>Nope. It is a memory leak in the JDBC driver which is why Tomcat is reporting
>>it. When a web application shuts down, nothing should be
>>retaining a reference to the web application class loa
Comments inline and surrounded by === COMMENT =
- Original Message -
> From: Dhaval Jaiswal
> To: Tomcat Users List
> Cc:
> Sent: Wednesday, April 4, 2012 12:12 PM
> Subject: Re: SEVERE: Unable to start cluster.
>
>T hanks to all for sharing info. I will test it &
2012/4/4 Léa Massiot :
> Ok. So, I found a solution, if I can call that a solution.
>
> - I created a file "an_alias_1.xml" in "/etc/tomcat6/Catalina/localhost/"
> (the OS being Debian Squeeze).
>
> - Here are the contents of this "an_alias_1.xml" file:
> < Context path="/an_alias_1" docBase="/home
Thanks to all for sharing info. I will test it & come back to you.
Also want to know that after starting session replication there will be a
huge logging in catalina.out for session information. How to minimize it ?
Below are the logs of catalina.out. As per the log it shows that it has
added mem
> From: Léa Massiot [mailto:lmhe...@orange.fr]
> Subject: Re: Tomcat6 - Context - aliases
> Ok. So, I found a solution, if I can call that a solution.
How about a much easier solution: install Tomcat 7. Easier to configure,
faster, and more secure. Stop making your life difficult.
- Chuck
Ok. So, I found a solution, if I can call that a solution.
- I created a file "an_alias_1.xml" in "/etc/tomcat6/Catalina/localhost/"
(the OS being Debian Squeeze).
- Here are the contents of this "an_alias_1.xml" file:
< Context path="/an_alias_1" docBase="/home/d1" crossContext="true" / >
- Thi
Forgive me if my first message was unclear.
I have an executor and an AJP connector set up.
When I watch it with psi-Probe, I can see that it is indeed killing idle
threads as I expect it to. What I am not seeing is the minSpareThreads
attribute being honored as I expect it to, though it ma
On 04/04/2012 17:02, Ofer Israeli wrote:
> Hi all,
>
> We have recently witnessed a strange situation. Our Tomcat (6.0.35)
> listens on 2 ports: 8080 and 8009, handling HTTP and AJP
> respectively. At some point in time we found that Apache is replying
> HTTP 503s to all clients and a look at ne
On 04/04/2012 17:14, Hermes Flying wrote:
> Hi Mark,thank you for your reply. 2 questions related your mail 1)I
> don't understand what you are saying here: "but as of 7.0.12 yo an
> set the closeMethod for a resource that should be the name of a zero
> atg method to call to shut down the resour
The real fix to your problem should have been
(available in
Tomcat 7)
If I understand the problem you're having is two fold
1. you see reports about memory leaks
"started a thread named [H2 File Lock Watchdog" you should be able to fix this
by setting initialSize>0 so that the thread is starte
Ok. So how is the configuration parameter fixing my problem? Would you please
explain this to me to undestand how this works?
From: Filip Hanik Mailing Lists
To: Tomcat Users List ; Hermes Flying
Sent: Wednesday, April 4, 2012 7:50 PM
Subject: Re: Discrepa
no, that would happen if you set maxIdle=0, not minIdle
- Original Message -
> From: "Hermes Flying"
> To: "Tomcat Users List"
> Sent: Wednesday, April 4, 2012 10:45:24 AM
> Subject: Re: Discrepancy between Tomcat's connection pool and tomcat's report
> on memory leaks
>
> But if I set
But if I set 'minIdle=0' all the connections would close imediatelly, right?
So why would I need a connection pool in the first place if I do this?
From: Filip Hanik Mailing Lists
To: Tomcat Users List
Sent: Wednesday, April 4, 2012 7:28 PM
Subject: Re: Discr
just set minIdle=0 and enable the eviction process to take care of it.
Filip
- Original Message -
> From: "Hermes Flying"
> To: "Daniel Mikusa"
> Cc: users@tomcat.apache.org
> Sent: Wednesday, April 4, 2012 9:53:30 AM
> Subject: Re: Discrepancy between Tomcat's connection pool and tomc
In Tomcat 6, the default thread pool ignores minSpareThreads, but if you use
and then From: llow...@oreillyauto.com
> To: users@tomcat.apache.org
> Sent: Wednesday, April 4, 2012 7:50:24 AM
> Subject: Tomcat6 thread pool questions
>
>
> Greetings,
>
> I was wondering if someone could help me und
Hi Mark,thank you for your reply.
2 questions related your mail
1)I don't understand what you are saying here: "but as of 7.0.12 yo an set the
closeMethod for a resource that should be the name of a zero atg method to call
to shut down the resource". Could you please explain or send a link to a
Hi all,
We have recently witnessed a strange situation. Our Tomcat (6.0.35) listens on
2 ports: 8080 and 8009, handling HTTP and AJP respectively. At some point in
time we found that Apache is replying HTTP 503s to all clients and a look at
netstat showed that indeed Apache could not communic
I'll take a look at the test failures, but yes you can ignore them. Tomcat
7.0.27 will have the fix included, about to be released shortly
building it is easy, builds with both maven and ant
Filip
- Original Message -
> From: "Michael Osipov"
> To: "Tomcat Users List"
> Sent: Friday, M
> There are some databases that do go in and periodically kill off
> connections, aside from the Tomcat settings.
you may want to explore the maxAge option for this, as we can disconnect and
create new connections before the DB does kills it as long lived
- Original Message -
> From: "Ba
>>Which is indicating that the application deployed to "/GeneralApplication" is
>>creating a thread named "H2 Log Writer >>GENERICAPPLICATION" and never
>>stopping it. I do not believe that this would be associated with the pool
>>created by Tomcat as that would >>be created as a global resourc
On 04/04/2012 13:54, Hermes Flying wrote:
> Hi Pid,
>
> This is the configuration The following entry is in server.xml
>
> type="javax.sql.DataSource" driverClassName="org.h2.Driver"
> url="jdbc:h2:file:/opt/en/repos/tomcat/webapps/GeneralApplication/db/internaldatabase;SCHEMA=genericschema"
>
On 04/04/2012 14:50, llow...@oreillyauto.com wrote:
>
> Greetings,
>
> I was wondering if someone could help me understand how the threadpools are
> handled in tomcat6. I know that a lot of the functionality was moved to
> executors.
>
> I set one up and using psi-Probe I could see that it was i
-Ursprüngliche Nachricht-
Von:Dhaval Jaiswal
Gesendet: Mi 04.04.2012 16:41
Betreff:SEVERE: Unable to start cluster.
An: Tomcat Users List ;
CC: Shrinivas Devarkonda ;
> Hi List,
>
> Below is the error we are facing while starting tomcats.
>
> SEVERE: Unable to
- Original Message -
> Hi List,
>
> Below is the error we are facing while starting tomcats.
>
> SEVERE: Unable to start cluster.
> org.apache.catalina.tribes.ChannelException:
> java.net.SocketException: Not
> a multicast address; No faulty members identified.
>
The address you specifi
Repeating the message because I signed it (again, *sigh*), causing trouble -
sorry.
Hi,
we have done the tests and got the following results (7.0.11 and 7.0.26).
Thank you for taking the time:
=== Tomcat 7.0.11
==
First call t
> -Ursprüngliche Nachricht-
> Von: André Warnier [mailto:a...@ice-sa.com]
> Gesendet: Dienstag, 3. April 2012 14:07
> An: Tomcat Users List
> Betreff: Re: AW: FormAuthentication Valve changes fail with
> RequestListeners?
>
> Thomas Strauß wrote:
> ...
>
> >>>
> >>> We have not succeeded so
Hi List,
Below is the error we are facing while starting tomcats.
SEVERE: Unable to start cluster.
org.apache.catalina.tribes.ChannelException: java.net.SocketException: Not
a multicast address; No faulty members identified.
Our cluster setting is as below in server.xml
Hello André,
André Warnier wrote
>
> - you need to tell your webapp where the uploaded files should be
> stored/retrieved
> - you cannot do it via an "alias" under Tomcat < v7
>
Exactly.
André Warnier wrote
>
> - so instead of an alias, do it via a property in a properties file, which
> yo
There are some databases that do go in and periodically kill off connections,
aside from the Tomcat settings.
In addition to testOnBorrow=true, I also had two other attributes, but not sure
if Tomcat 7.0 uses them or not, as I'm on 6.0.29.
testOnBorrow="true"
timeBetweenEvictionRunsMill
Greetings,
I was wondering if someone could help me understand how the threadpools are
handled in tomcat6. I know that a lot of the functionality was moved to
executors.
I set one up and using psi-Probe I could see that it was indeed killing off
threads as I expected. However, the minSpareThread
Hi Pid,
This is the configuration
The following entry is in server.xml
And the following entry is under $TOMCAT_HOME/conf/context.xml
Concerning your other questions:
1) Yes I could shut down the database manually but I would like to do it as a
last resort if this issue is something tha
Hi Dan,
The following entry is in server.xml
And the following entry is under $TOMCAT_HOME/conf/context.xml
Do you need more details than these?
From: Daniel Mikusa
To: Tomcat Users List
Sent: Wednesday, April 4, 2012 3:35 PM
Subject: Re: Discrep
- Original Message -
> My db connections seem to be lost after an extended period of
> inactivity
There could be a number of reasons that this occurs. Perhaps a network issue
is causing them to be disconnected or the database may be timing them out. At
any rate, it's not likely that
On 04/04/2012 12:08, S Ahmed wrote:
> My db connections seem to be lost after an extended period of inactivity
> (for a web application). And the only way to get the connections to work
> again is to restart tomcat.
>
> My tomcat.jdbc.pool.Datasource settings have:
>
>
>
>
>
On 04/04/2012 13:05, Hermes Flying wrote:
> Hi,
>
> I am using Tomcat 7.0.25 in a Linux machine
>
> I am using Tomcat's connection pool
> (org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am using H2 as a
> file database.
> All is ok, but I have the following problem.
> On shutdown o
- Original Message -
> Hi,
>
> I am using Tomcat 7.0.25 in a Linux machine
>
> I am using Tomcat's connection pool
> (org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am
> using H2 as a file database.
Where are you defining the connection pool? Can you include your configur
Hi,
I am using Tomcat 7.0.25 in a Linux machine
I am using Tomcat's connection pool
(org.apache.tomcat.dbcp.dbcp.BasicDataSource). As database I am using H2 as a
file database.
All is ok, but I have the following problem.
On shutdown of Tomcat I see in catalina.out:
SEVERE: The web applicati
Hello,
Looks to be an issue (does that work with tomcat6:run ?)
Could you create an issue here:
https://issues.apache.org/jira/browse/MTOMCAT (if possible with a
small sample project to reproduce).
Thanks
--
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.
Hello,
Have a look here:
http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/snapshot-test.html
2012/4/4 Matt Munz :
> Olivier,
>
> I made that change to settings.xml and now I'm getting a different error.
> [1] How can I find out where this plugin is stored? Perhaps there is a
> problem with
46 matches
Mail list logo