Hello Sir,
I am using tomcat 4. When i shutdown tomcat i get this error.
Aug 6, 2009 3:45:13 PM org.apache.tomcat.util.net.PoolTcpEndpoint
closeServerSocket
SEVERE: Caught exception trying to unlock accept.
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socke
sunil chandran wrote:
Hello Sir,
I am using tomcat 4. When i shutdown tomcat i get this error.
Sunil,
as someone on this list may already have told you, Tomcat 4 is a *very
old* version of Tomcat (5 years or more). It is no longer being
developed or supported. The current version of Tomc
is it possible to isolate jvm runtime for each web app so that if one web app
memory leak it will not affect another web app for tomcat? i have experience
with tomcat5.5 where one web app crash and cause other web applications die.
i wonder is there any plan/milesstone tomcat gonna improve in hand
Hello,
I understand the current situation. But i have to content with tomcat 4.
Please help me solve this issue.
--- On Thu, 6/8/09, André Warnier wrote:
From: André Warnier
Subject: Re: issue : tomcat4 shutdown
To: "Tomcat Users List"
Date: Thursday, 6 August, 2009, 12:53 PM
sunil
zhang99 wrote:
is it possible to isolate jvm runtime for each web app so that if one web app
memory leak it will not affect another web app for tomcat? i have experience
with tomcat5.5 where one web app crash and cause other web applications die.
i wonder is there any plan/milesstone tomcat gonna
Why exactly would you want connection pool to be closed by TC?
I understand your point of view - you have that one web application and it is
using the pool and you are seeing something that looks like a leak.
Take a look from Tomcat's perspective. It has a JNDI bound resource, DataSource
in thi
Timothy J Schumacher wrote:
> Hi,
>
> I am currently running tomcat 5.0.12 and want to upgrade to 5.5.27.
Please don't hijack threads.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional command
sunil chandran wrote:
> Hello,
>
> I understand the current situation. But i have to content with tomcat 4.
>
> Please help me solve this issue.
If you must use Tomcat 4 and you only see the exception on shut down
what is the problem? Just ignore the error message.
Mark
---
Payne, George (ghp5h) wrote:
> I have tested this and it does exactly what I'd hoped. I tested it with
> tomcat 6.0.20 as described
Many thanks for testing this. I have proposed the patch for Tomcat 6.
Mark
-
To unsubscribe,
Hello Tomcatters,
Consider the following scenario. I have a Java web application, and it
is a packaged, commercial application I may not change it. In fact, I
don't have the source so I couldn't even if I wanted to.
The application declares two roles in web.xml - "users" and "admins". In
our corp
I THINK ITS POSSIBLE. But when you are fine with weblogic is there any specific
reason to use tomcat?
-Original Message-
From: Jason Royals [mailto:tomcat-mailingl...@fragstealers.com]
Sent: Thursday, August 06, 2009 4:32 PM
To: users@tomcat.apache.org
Subject: Mapping role names to grou
Try adding this to web.xml (and IIUC - this is portable across all
containers)
users
SG-FooBar-Users
admins
SG-FooBar-Admins
-Tim
Jason Royals wrote:
Hello Tomcatters,
Consider the following scenario. I have a Java web application, and it
is a packaged, commercial appli
Mark Thomas wrote:
sunil chandran wrote:
Hello,
I understand the current situation. But i have to content with tomcat 4.
Please help me solve this issue.
If you must use Tomcat 4 and you only see the exception on shut down
what is the problem? Just ignore the error message.
It looks real
Hi,
I am new to apache tomcat.
May I know which is the root directory for source files like html,jsp. I guess
it is webapps.
How to call the files using browser. http://localhost:8080/mywork/name.jsp Is
this right way to use?
Then How to check if the service runs? I don't have admin rights bu
Thanks for the advice, but I think is only valid
within the context of a element though? As such, it wont work
on JSP's or other resources that might do a
request.isUserInRole("admin") but are not servlets themselves (such as
filters and listeners). I'd also like to avoid changing anything in
web
Jason Royals wrote:
Thanks for the advice, but I think is only valid
within the context of a element though?
I have not checked, but are you sure ? Is it not at the level of the
web-app ? If so, it would apply to everything belonging to that webapp,
whether filters, servlets, jsp's, what
André Warnier wrote:
Jason Royals wrote:
Thanks for the advice, but I think is only valid
within the context of a element though?
I have not checked, but are you sure ? Is it not at the level of the
web-app ? If so, it would apply to everything belonging to that webapp,
whether filters,
Mohamed Shah wrote:
Please don't hijack threads.
Mark
> Hi,
>
> I am new to apache tomcat.
> May I know which is the root directory for source files like html,jsp. I
> guess it is webapps.
> How to call the files using browser. http://localhost:8080/mywork/name.jsp
> Is this right way to us
Yep, well according to the XSD that I'm using
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd but also
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd,
can only appear within a definition. It could certainly help
if it was directly under web-app, but it ain't allowed so therefore it's
usefulnes
Mohamed Shah wrote:
> Hi,
Sorry. Ignore my previous e-mail about thread hijacking.
> I am new to apache tomcat.
Welcome.
> May I know which is the root directory for source files like html,jsp. I
> guess it is webapps.
Not quite. The concept of a root directory doesn't exist in Tomcat in
the
Hi,
Have you read http://tomcat.apache.org/tomcat-6.0-doc/index.html?
The / urlpath correspoinds with $webappsdir/ROOT
For every webapp a directory under $webappsdir is used
HTH
Regards,
Serge Fonville
On Thu, Aug 6, 2009 at 2:24 PM, Mohamed Shah wrote:
> Hi,
>
> I am new to apache tomcat.
>
Mohamed Shah schrieb:
May I know which is the root directory for source files like
html,jsp. I guess it is webapps.
No, webapps is the directory where you put your web applications. Within
your web application, the top level directories is for HTML and JSP. But
of course you may also put them
Mohamed Shah wrote:
> Hi,
>
> I am new to apache tomcat.
> May I know which is the root directory for source files like html,jsp. I
> guess it is webapps.
> How to call the files using browser. http://localhost:8080/mywork/name.jsp
> Is this right way to use?
> Then How to check if the service
> From: Nikola Milutinovic [mailto:alok...@yahoo.com]
> Subject: Re: Right way to close database connection pool
>
> I understand your point of view - you have that one web application
> and it is using the pool and you are seeing something that looks
> like a leak.
If I understand the situation
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 8/3/2009 5:32 PM, jpdelato...@pucp.edu.pe wrote:
> Any body has experience with long running request (for example:those
> which wait for an event)?if the answer is yes, i would like to know what
> is maximum number of concurrent long runnin
Hi,
I've tomcat with serveral webapps running acessible both from htt &
https connectors.
I would like to bind one of the webapps to be accessible only from https
connector, how can it be done?
Thanks
Alex
-
To unsubscribe, e-
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Mapping role names to groups
>
> More precisely, it seems from the Servlet Spec, that all which concerns
> AAA applies in fact to "URLs" and/or "methods". It seems thus
> definitely independent from servlets, filters, jsps etc..
Excep
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/5/2009 7:09 PM, André Warnier wrote:
> Servlet Specification 2.4, SRV 5.2, Headers :
>
> "To be successfully transmitted back to the client, headers must be set
> before the response is committed. Headers set after the response is
> commi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul,
On 8/6/2009 2:17 AM, Paul Taylor wrote:
> It will be on UNIX so using jsvc looks simple enough OR i could install
> Apache. IM wondering if Apache is more the more normal way to do things,
> Im trying to keep things as simple as possible for a n
> From: Piavlo [mailto:lolitus...@gmail.com]
> Subject: howto bind a specific webapp to https only connector?
>
> I would like to bind one of the webapps to be accessible only from
> https connector, how can it be done?
Read the servlet spec. Include a of CONFIDENTIAL in that
webapp's WEB-INF/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/6/2009 5:24 AM, André Warnier wrote:
> If you want to really separate the webapps from one another, you have to
> run them in separate Tomcats, which in turn would run under separate JVMs.
More specifically, see the RUNNING.txt file that
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: isolate jvm for each web app possible?
>
> 2. More JVMs means larger memory requirements. A Sun 1.5+ JVM will
> help, as some of this memory is shared
Actually, the sharing *increases* memory requirements (it's an ad
Christopher Schultz schrieb:
When chunked encoding is being used, HTTP allows you to include
"headers" after the response by including a "final chunk" with more
headers for the previous chunk.
So those traling headers are actually footers.
The headers you want in this chunk should be mention
Hi there,
I'm having a problem with Tomcat 6.0.20 when attempting to configure
CombinedRealm authentication. I'm running on a Centos 5 machine.
Scenario:
I want to set up certificate auth with form fallback using the class
provided here http://wiki.apache.org/tomcat/SSLWithFORMFallback6
Certific
Would there still be a live connection when it shuts down?
-Original Message-
From: sunil chandran [mailto:sunilonweb2...@yahoo.co.in]
Sent: Thursday, August 06, 2009 2:17 AM
To: users@tomcat.apache.org
Subject: issue : tomcat4 shutdown
Hello Sir,
I am using tomcat 4. When i shutdown
Michael Ludwig wrote:
Christopher Schultz schrieb:
When chunked encoding is being used, HTTP allows you to include
"headers" after the response by including a "final chunk" with more
headers for the previous chunk.
I am well aware of that, at the HTTP level.
However, the Servlet Spec seems t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
On 8/5/2009 5:02 PM, Filip Hanik - Dev Lists wrote:
> and if you don't want to depend on a specific implementation, use
> reflection
Since this is a "missing feature", would it be reasonable for Tomcat to
provide a "sample" filter that webapps
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
On 8/6/2009 10:08 AM, Michael Ludwig wrote:
> Christopher Schultz schrieb:
>
>> When chunked encoding is being used, HTTP allows you to include
>> "headers" after the response by including a "final chunk" with more
>> headers for the previou
Hi Joerg,
I am facing the same issue with Tomcat 6.0 and caching of files. I'd really
appreciate it if anyone could explain how caching could be disabled.
Many thanks!
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Joerg,
>
> Joerg Endrullis wrote:
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jason,
On 8/6/2009 8:33 AM, Jason Royals wrote:
> Thanks for the advice, but I think is only valid
> within the context of a element though? As such, it wont work
> on JSP's or other resources that might do a
> request.isUserInRole("admin") but are
I agree with Chris and I also appreciate Michael's dilemma.
While headers can never be added as headers once the response is committed,
the trailer headers are in fact encoded in the body itself.
So the convention could be that if a user has specified certain trailer
headers: response.setHeader
Hi all, I've been trying to get this working...but no luck..
anyways..my system config is as follows:
[r...@s1 native]# uname -a
Linux s1.x.com 2.6.18-128.1.16.el5xen #1 SMP Tue Jun 30 06:39:23 EDT
2009 x86_64 x86_64 x86_64 GNU/Linux
[r...@s1 native]# java -version
java version "1.6.0_15"
Hi there.
My question is about Tomcat Manager HTTP interface.
I would like to deploy my application to the running Tomcat in the
production environment using the Cargo Mavan plugin or the Tomcat
Deployer. They work just fine, but Tomcat is in Amazon EC2 and the
network connection is kind of sl
p.s.
M4N - Arjan Tijms wrote:
I'm running Tomcat 6.0.20 using JDK 6 update 14 on a 64 bits Debian
Lenny. I've unpacked a stock Tomcat 6.0.20 and deployed a web module
to the webapps directory. After I started and stopped the web module,
I noticed that the META-INF/context.xml had been copied t
Hi,
I'm running Tomcat 6.0.20 using JDK 6 update 14 on a 64 bits Debian
Lenny. I've unpacked a stock Tomcat 6.0.20 and deployed a web module to
the webapps directory. After I started and stopped the web module, I
noticed that the META-INF/context.xml had been copied to
conf/Catalina/localhost
André Warnier wrote:
> Michael Ludwig wrote:
>> Christopher Schultz schrieb:
>>
>>> When chunked encoding is being used, HTTP allows you to include
>>> "headers" after the response by including a "final chunk" with more
>>> headers for the previous chunk.
>>
> I am well aware of that, at the HTTP l
M4N - Arjan Tijms wrote:
> Hi,
>
> I'm running Tomcat 6.0.20 using JDK 6 update 14 on a 64 bits Debian
> Lenny. I've unpacked a stock Tomcat 6.0.20 and deployed a web module to
> the webapps directory. After I started and stopped the web module, I
> noticed that the META-INF/context.xml had been c
Epithemeus wrote:
> Hi Joerg,
>
> I am facing the same issue with Tomcat 6.0 and caching of files. I'd really
> appreciate it if anyone could explain how caching could be disabled.
Read the docs. I'd start with this:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
Mark
--
Mark Thomas schrieb:
M4N - Arjan Tijms wrote:
Anyone has any idea?
Search the archives. This been covered repeatedly.
Hint: Tomcat has a manager app.
--
Michael Ludwig
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.a
RESOLVED:
when configuring openssl, you must run:
./config shared
Cheers
danomano wrote:
>
> Hi all, I've been trying to get this working...but no luck..
>
>
> anyways..my system config is as follows:
>
> [r...@s1 native]# uname -a
> Linux s1.x.com 2.6.18-128.1.16.el5xen #1 SMP Tue Ju
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keyur,
On 8/6/2009 12:35 PM, Keyur Shah wrote:
> While headers can never be added as headers once the response is committed,
> the trailer headers are in fact encoded in the body itself.
>
> So the convention could be that if a user has specified ce
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 8/6/2009 3:23 AM, André Warnier wrote:
> sunil chandran wrote:
>> Hello Sir,
>>
>> I am using tomcat 4. When i shutdown tomcat i get this error.
>>
> Sunil,
> as someone on this list may already have told you, Tomcat 4 is a *very
> old*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sunil,
On 8/6/2009 3:16 AM, sunil chandran wrote:
> I am using tomcat 4. When i shutdown tomcat i get this error.
Which specific version? Are you running the latest-available 4.1.x
version? If not, you should upgrade to the latest 4.1 Tomcat which is
I run 4.1.31 and I've never gotten this error, for what it's worth - -perhaps
I'm not doing, nor have tried to do, what Sunil is attempting to do.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Thursday, August 06, 2009 2:20 PM
To: Tomcat Users
Christopher Schultz wrote:
> André,
>
> On 8/6/2009 3:23 AM, André Warnier wrote:
>> sunil chandran wrote:
>>> Hello Sir,
>>>
>>> I am using tomcat 4. When i shutdown tomcat i get this error.
>>>
>> Sunil,
>> as someone on this list may already have told you, Tomcat 4 is a *very
>> old* version of
Hello folks, I am running Tomcat 6.0.18 on a dedicated server at a hosting
company. I have ported Apache HTTPD and Tomcat to talk to each other quite
nicely. I have ran into a small dilemma. I noticed that I have a 20GB
windows / program partition and a 500GB data partition. Am I able to create
> From: Josh Gooding [mailto:josh.good...@gmail.com]
> Subject: moving webapps directory to another location
>
> Am I able to create a directory on the data partition and have
> Tomcat host out of it instead of the default webapps folder?
Yes, just change what the appBase attribute points to in
Josh Gooding wrote:
> Hello folks, I am running Tomcat 6.0.18 on a dedicated server at a hosting
> company. I have ported Apache HTTPD and Tomcat to talk to each other quite
> nicely. I have ran into a small dilemma. I noticed that I have a 20GB
> windows / program partition and a 500GB data par
Josh Gooding wrote:
Hello folks, I am running Tomcat 6.0.18 on a dedicated server at a hosting
company. I have ported Apache HTTPD and Tomcat to talk to each other quite
nicely. I have ran into a small dilemma. I noticed that I have a 20GB
windows / program partition and a 500GB data partition
~ Do you know enough about Tomcat's chunking implementation
to write a patch (I certainly do not)?
Nope. I wish I did though...
--Keyur
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Keyur,
>
> On 8/6/2009 12:35 PM, Keyur Shah wrote:
>> While headers ca
Hi,
I'm trying to get the JNDIRealms working using my LDAP server in Tomcat
6.0.18 for the manager and admin applications and am having difficulty
getting them to work. I tried following instructions in the tomcat doc
site, and think I have things fairly well set up. I have enabled full logs
on
>Search the archives. This been covered repeatedly.
>Mark
Mark, I did try to search extensively, even after posting. A while after my
post I continued searching but the only post that appeared at the top of
the search results happened to be my very own post.
I searched using keyword "conf/Catali
arjan.tijms wrote:
>> Search the archives. This been covered repeatedly.
>> Mark
>
> Mark, I did try to search extensively, even after posting. A while after my
> post I continued searching but the only post that appeared at the top of
> the search results happened to be my very own post.
>
> I s
On Thu, 06 Aug 2009 23:52:24 +0200, arjan.tijms wrote:
>>Search the archives. This been covered repeatedly.
>>Mark
I did found this posting:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200906.mbox/%3c4a3f56c9.8050...@apache.org%3e
You explain here the copying of the context.xml that's
arjan.tijms wrote:
> On Thu, 06 Aug 2009 23:52:24 +0200, arjan.tijms wrote:
>>> Search the archives. This been covered repeatedly.
>>> Mark
>
> I did found this posting:
> http://mail-archives.apache.org/mod_mbox/tomcat-users/200906.mbox/%3c4a3f56c9.8050...@apache.org%3e
>
> You explain here the
I had this same issue, both with JNDIRealm, and logging.
Firstly the JNDIRealm; I was authenticating to an AD server and couldn't
get the parameters right in my Realm definition. This is how I resolved
it - this realm definition resides within an Engine directive:
ldap://hostname:389";
connec
> From: arjan.tijms [mailto:arjan.ti...@m4n.nl]
> Subject: Re: Tomcat copies context.xml to
> conf/Catalina/localhost/app.xml but neverupdates it?
>
> Can you confirm that copying for exploded deployments is a new
> and intended behavior for Tomcat 6.0.20?
It was always intended, and finally fix
> "Geofrey Rainey" wrote in message
> I had this same issue, both with JNDIRealm, and logging.
>
> Firstly the JNDIRealm; I was authenticating to an AD server and couldn't
> get the parameters right in my Realm definition. This is how I resolved
> it - this realm definition resides within an Engi
I remember the big issue I faced regarding the JNDIRealm auth were the
parameters in my Realm definition, there was one line that once added
Everything started working, I think it was either "referrals" or "
"userSearch="(sAMAccountName={0})" - which I recall were both necessary
in my instance, or
I am using Tomcat 6.0.20 and have implemented the SessionListener
interface. We can then use this to show a list of active sessions to
our users, and when they are logged in, we even know which user is tied
to the session. This is very handy.
However, on tomcat restart, all existing sessions
Hi,
http://localhost:8080 is returning page load error.
My apache is in program files directory. I have started services and startup
through command prompt.
My catalina_home variable is pointing some where else and I don't have
privileges to change this.
Is the variable affecting tomcat to be
Dear All,
I am currently testing tomcat connection limit, while doing so, I have
meet the 1100connection limit to Tomcat server, it was using two jmeter
server to "attack" single tomcat. But no matter what, tomcat could never
be able to handle more than 1100 connection.
I did use
ulimit -n 6
72 matches
Mail list logo