Re: HOW TO detect what app server you're running in

2011-10-26 Thread Pid *
On 26 Oct 2011, at 12:47, Konstantin Kolinko  wrote:

> Note, that this method is unreliable.
>
> 1) The actual value can be configured by server administrator.
> 2) There are 3-rd party repackaged distributions of Tomcat, which
> may/should change the value.
>
> It would be better to rely on presence of certain features that you
> are going to use, or let the user configure your webapp.

It


>
> Best regards,
> Konstantin Kolinko
>
> 2011/10/25 Bob DeRemer :
>> Yeah, that should do it - should have remembered that - I'm already using 
>> this - purely for diagnostic info.
>>
>> Thanks, guys!
>>
>> -Original Message-
>> From: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl]
>> Sent: Tuesday, October 25, 2011 7:39 AM
>> To: Tomcat Users List
>> Subject: Re: HOW TO detect what app server you're running in
>>
>> Does this help?
>>
>> public void doGet(HttpServletRequest request, HttpServletResponse 
>> response)
>> throws ServletException, IOException {
>> System.out.println("serverinfo: " + 
>> getServletContext().getServerInfo());
>> }
>>
>>  Ronald.
>>
>> Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRemer 
>> :
>>>
>>>
>>>
>>>  I may need to use some Tomcat-specific code in my web app.  As a result, I 
>>> would like to detect [if possible] when I'm running in Tomcat, so I can 
>>> invoke the logic.   If anyone knows how best to do this, ideally with some 
>>> sample java code, that'd be great.
>>>
>>>  Thanks,
>>>  Bob
>>>
>>>
>>>
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Rollback in Tomcat7 under parallel deployment

2011-10-26 Thread Ellecer Valencia
Hi,

If I'm using parallel deployment in Tomcat 7, and now have 2 webapps

/webapps/ROOT##001.war
/webapps/ROOT##002.war

and then get problems in the new version and want to rollback to ROOT##001.war.

If I delete the more recent version by doing

rm /tomcat/webapps/ROOT##002.war

What happens to the sessions that are being serviced by #002 once the
file is removed?  Will #002 still be around to service these sessions
expire, or does Tomcat remove all these sessions instantly?

Also, what happens if ROOT##001 and ##002 have the same log4j configs
and are writing to the same log file?? How have people handled this
situation?


thanks for you help,

Ellecer

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread Caldarale, Charles R
> From: jilen [mailto:jilen.zh...@gmail.com] 
> Subject: Re: "path" attribute in {myapp}/META-INF/context.xml always not work!

> So far as i understand, i have two choice to make my own 
> app as root app
> 1. replace the ROOT dir in the appBase with my own app

The strongly recommended way.

> 2. create a Context element in Host element with path=""

The very, very strongly discouraged and outdated way.

Make your life easy - name your webapp ROOT and you're done.  No need to 
complicate things.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-26 Thread Anantaneni Harish
Please help on this.

Thanks and Regards,
Harish

-Original Message-
From: Anantaneni Harish 
Sent: Wednesday, October 26, 2011 3:01 PM
To: Tomcat Users List
Subject: RE: cannot read complete HTTP request body. It reads only 8192 
characters

Thanks for your response.

The issue is on the following environment.

OS: Red Hat Enterprise Linux Server release 5.
Java: 1.6
Tomcat 5.5.28

Thanks and Regards,
Harish

-Original Message-
From: Pid * [mailto:p...@pidster.com] 
Sent: Wednesday, October 26, 2011 2:56 PM
To: Tomcat Users List
Subject: Re: cannot read complete HTTP request body. It reads only 8192 
characters

On 26 Oct 2011, at 06:31, Anantaneni Harish
 wrote:

> We have an environment using HTTP connector,
> customer environment using AJP connector. In HTTP environment this issue is 
> not occured.
> but in the AJP environment cannot read complete HTTP request body. It reads 
> only 8192 characters
>
> Can some help me, if there are any settings to be changed?

Yes, there are.

(Hint: give us some real info* and we'll return the favour)


p

* e.g. Exact OS, Java, Tomcat versions.



>
> Thanks and Regards,
> Harish
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




Re: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread jilen

On 10/27/2011 09:46 AM, Caldarale, Charles R wrote:

From: jilen [mailto:jilen.zh...@gmail.com]
Subject: "path" attribute in {myapp}/META-INF/context.xml always not work!
name and path attribute are override with the war name
So these attribute are not work.
Is tomcat supposed to do that?

Yes; read the doc:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

  - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



I have read the doc in detail.

So far as i understand, i have two choice to make my own app as root app
1. replace the ROOT dir in the appBase with my own app
2. create a Context element in Host element with path=""

Is there any other way to have this work done?

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread Caldarale, Charles R
> From: jilen [mailto:jilen.zh...@gmail.com] 
> Subject: "path" attribute in {myapp}/META-INF/context.xml always not work!

> name and path attribute are override with the war name
> So these attribute are not work.

> Is tomcat supposed to do that?

Yes; read the doc:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: "path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread jilen


Tomcat: 7.0.22  OS:linux  Java: OpenJDK 1.6-23
in org.apache.catalina.startup.HostConfig.deployWAR(ContextName, File, 
String)


i found some code like these

context.setName(cn.getName());
context.setPath(cn.getPath());
context.setWebappVersion(cn.getVersion());
context.setDocBase(file);
...
name and path attribute are override with the war name
So these attribute are not work.

Is tomcat supposed to do that?




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



"path" attribute in {myapp}/META-INF/context.xml always not work!

2011-10-26 Thread jilen
in org.apache.catalina.startup.HostConfig.deployWAR(ContextName, File, 
String)


i found some code like these

context.setName(cn.getName());
context.setPath(cn.getPath());
context.setWebappVersion(cn.getVersion());
context.setDocBase(file);
...
name and path attribute are override with the war name
So these attribute are not work.

Is tomcat supposed to do that?


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: BUILD FAILED apache-tomcat-7.0.22-src build.xml (lines 2211, 2313) ...

2011-10-26 Thread Albretch Mueller
 well I got the same error. I think I will have follow Chucks advice
when I have a little more time. I will let you know how it all went

 then thing is that while using the 1.6 version that comes with
knoppix I was getting other kinds of errors relation to ant, so I will
have to install 1.6 from sun locally first

 lbrtchx

# ant clean clean-depend
Buildfile: 
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/build.xml

clean:
   [delete] Deleting directory
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/output
   [delete] Deleting:
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/java/org/apache/catalina/startup/catalina.properties

clean:
[mkdir] Created dir:
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/modules/jdbc-pool/output
   [delete] Deleting:
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/webapps/docs/jdbc-pool.xml

clean-depend:
   [delete] Deleting directory
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22/tomcat7-deps/dbcp

BUILD SUCCESSFUL
Total time: 0 seconds

# ant download-compile
...
BUILD FAILED
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/build.xml:2211:
The following error occurred while executing this line:
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/build.xml:2313:
Compile failed; see the compiler error output for details.

Total time: 4 seconds

#

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



BUILD FAILED: apache-tomcat-7.0.22-src/build.xml ...

2011-10-26 Thread Albretch Mueller
 while trying to compile apache-tomcat-7.0.22 sources I am getting an
error I don't quite understand
~
 why is this happening?
~
 how can I fix this problem?
~
 lbrtchx
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ ~ ~ ~ ~
~
...
BUILD FAILED
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/build.xml:2211:
The following error occurred while executing this line:
/media/sda7/inst/java/jars/j2ee/servlets/apache-tomcat-7.0.22-src/build.xml:2313:
Compile failed; see the compiler error output for details.

Total time: 4 seconds

# java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Server VM (build 21.1-b02, mixed mode)

# javac -version
javac 1.7.0_01

# which java
/media/sda7/inst/java/jdk/jdk1.7.0_01/bin/java

# ant -version
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

# which ant
/media/sda7/inst/java/ant/apache-ant-1.8.2/bin/ant

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: JAR replaced in lib not seen in Eclipse projects

2011-10-26 Thread Savoy, Melinda
I have a project in my workspace for this specific JAR and there I have the 
source files.  I exported the project to a JAR into the server's lib directory.

When debugging I put a breakpoint in the source file and when the program hits 
that breakpoint the .class file comes up and I step thru the .class file which 
is the old file and the reference to that file is in the JAR that resides in 
the lib directory however the lib says it has the new JAR and the new files.

I have restarted the server but does not fix issue.
I have deleted server from eclipse servers and reinstalled it.
I do not know how to look at the classloader of my class.  Can u please help?

Thanks.

-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Sent: Wednesday, October 26, 2011 2:27 PM
To: Tomcat Users List
Subject: Re: JAR replaced in lib not seen in Eclipse projects

2011/10/26 Savoy, Melinda :
> I made updates on 2 files in a JAR file that I replaced in the lib directory 
> of my tomcat server.  All my projects in my eclipse workspace reference the 
> Apache Tomcat v6.0 [Apache Tomcat v6.0] library in my build path.  However 
> when I am debugging my app the old files I modified in my jar are still being 
> called.
>
> Any suggestions on what I'm doing wrong would be appreciated.  Thanks.

I'd guess that you replaced binaries only. How would eclipse find the
source code for them during debugging? Maybe it executes the new
classes, but still shows the old sources.

I hope that you have at least restarted Tomcat.

If everything else fails, you can delete the server runtime and
recreate it anew.

If you are debugging your app, you may look at the classloader of your
class. By examining the classloader hierarchy you may find whether it
is uses the jar file that you think it should be using.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: JAR replaced in lib not seen in Eclipse projects

2011-10-26 Thread Konstantin Kolinko
2011/10/26 Savoy, Melinda :
> I made updates on 2 files in a JAR file that I replaced in the lib directory 
> of my tomcat server.  All my projects in my eclipse workspace reference the 
> Apache Tomcat v6.0 [Apache Tomcat v6.0] library in my build path.  However 
> when I am debugging my app the old files I modified in my jar are still being 
> called.
>
> Any suggestions on what I'm doing wrong would be appreciated.  Thanks.

I'd guess that you replaced binaries only. How would eclipse find the
source code for them during debugging? Maybe it executes the new
classes, but still shows the old sources.

I hope that you have at least restarted Tomcat.

If everything else fails, you can delete the server runtime and
recreate it anew.

If you are debugging your app, you may look at the classloader of your
class. By examining the classloader hierarchy you may find whether it
is uses the jar file that you think it should be using.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



JAR replaced in lib not seen in Eclipse projects

2011-10-26 Thread Savoy, Melinda
I made updates on 2 files in a JAR file that I replaced in the lib directory of 
my tomcat server.  All my projects in my eclipse workspace reference the Apache 
Tomcat v6.0 [Apache Tomcat v6.0] library in my build path.  However when I am 
debugging my app the old files I modified in my jar are still being called.

Any suggestions on what I'm doing wrong would be appreciated.  Thanks.

Melinda Savoy
Sr. Programmer Analyst, ERP Systems
Innovative Technology Solutions
Texas Health Resources
600 E. Lamar Blvd, Ste 301, Arlington TX  76011
melindasa...@texashealth.org

Texas Health Resources: Arlington Memorial,
Harris Methodist and Presbyterian Hospitals
A shared mission and now a shared name.





The information contained in this message and any attachments is intended only 
for the use of the individual or entity to which it is addressed, and may 
contain information that is PRIVILEGED, CONFIDENTIAL, and exempt from 
disclosure under applicable law.  If you are not the intended recipient, you 
are prohibited from copying, distributing, or using the information.  Please 
contact the sender immediately by return e-mail and delete the original message 
from your system.

RE: s

2011-10-26 Thread Caldarale, Charles R
> From: Kobe [mailto:r...@mailcity.com] 
> Subject: Re: s

> Is it possible to make it say what library it missing?

It's missing the one you built.  (You did build the APR .so file, didn't you?)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: s

2011-10-26 Thread Caldarale, Charles R
> From: Kobe [mailto:r...@mailcity.com] 
> Subject: Re: s

> I changed the paths to standard locations (using 
> LD_LIBRARY_PATH).

So where is your .so file actually located?  You need to include that directory 
in LD_LIBRARY_PATH.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: ThreadLocal Memory Leak Protection - Executor threadRenewalDelay questions

2011-10-26 Thread Mark Thomas
On 26/10/2011 16:55, Rohit Kelapure wrote:
> Is this because we are never quite sure as to when *all*  of the
> threads in the pool have been renewed ?

I assume so, yes.

> 2. Does the thread renewal approach scale under load (i.e. all threads
> in the pool busy servicing requests and CPU close to 90%) ?

Don't know. It hasn't been tested. Looking at when it tests for renewal
it should only ever do it when there is some slack.

> Is it meant for production deployments ?

Will it work? Yes. Would you be better off fixing whatever memory leak
means you need to use this in the first place. Absolutely yes.

> 3. How about threads that are servicing long running HTTP Keep-alive
> connections that never let the thread return to the pool. Are these
> threads renewed before the server is stopped.

If the threads are never returned then they will never be renewed.

Mark

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: HOW TO detect what app server you're running in

2011-10-26 Thread Bob DeRemer
Good to know, thanks

-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] 
Sent: Wednesday, October 26, 2011 7:47 AM
To: Tomcat Users List
Subject: Re: HOW TO detect what app server you're running in

Note, that this method is unreliable.

1) The actual value can be configured by server administrator.
2) There are 3-rd party repackaged distributions of Tomcat, which may/should 
change the value.

It would be better to rely on presence of certain features that you are going 
to use, or let the user configure your webapp.

Best regards,
Konstantin Kolinko

2011/10/25 Bob DeRemer :
> Yeah, that should do it - should have remembered that - I'm already using 
> this - purely for diagnostic info.
>
> Thanks, guys!
>
> -Original Message-
> From: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl]
> Sent: Tuesday, October 25, 2011 7:39 AM
> To: Tomcat Users List
> Subject: Re: HOW TO detect what app server you're running in
>
> Does this help?
>
>     public void doGet(HttpServletRequest request, HttpServletResponse 
> response)
>             throws ServletException, IOException {
>         System.out.println("serverinfo: " + 
> getServletContext().getServerInfo());
>     }
>
>  Ronald.
>
> Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRemer 
> :
>>
>>
>>
>>  I may need to use some Tomcat-specific code in my web app.  As a result, I 
>> would like to detect [if possible] when I'm running in Tomcat, so I can 
>> invoke the logic.   If anyone knows how best to do this, ideally with some 
>> sample java code, that'd be great.
>>
>>  Thanks,
>>  Bob
>>
>>
>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



ThreadLocal Memory Leak Protection - Executor threadRenewalDelay questions

2011-10-26 Thread Rohit Kelapure
* Reposting from the dev list as advised *

Dear All,

After going through the thread renewal code in
/tomcat-8.0.x/java/org/apache/tomcat/util/threads/TaskQueue.java ,
/tomcat-8.0.x/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
and the bug (Improve ThreadLocal memory leak clean-up)
https://issues.apache.org/bugzilla/show_bug.cgi?id=49159 I had the
following questions-

1. Once the thread pool has been renewed  after No. of active threads
in pool * max (threadKeepAliveTimeout, longestRequest+
threadRenewalDelay) seconds, why does the ThreadPoolExecutor still
keep paying the price of thread renewal. ?

After org.apache.tomcat.util.threads.ThreadPoolExecutor.threadRenewalDelay
is set to 1000L it never goes back to -1.  Ideally once the all the
threads in the threadpool is renewed we should revert the
threadRenewalDelay back to -1 and NOT call
ThreadPoolExecutor.currentThreadShouldBeStopped()/ThreadPoolExecutor.stopCurrentThreadIfNeeded()
in TaskQueue.poll(long, TimeUnit) or TaskQueue.take().
Is this because we are never quite sure as to when *all*  of the
threads in the pool have been renewed ?

2. Does the thread renewal approach scale under load (i.e. all threads
in the pool busy servicing requests and CPU close to 90%) ? Is it
meant for production deployments ?

3. How about threads that are servicing long running HTTP Keep-alive
connections that never let the thread return to the pool. Are these
threads renewed before the server is stopped.

--Thanks,
Rohit Kelapure

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: s

2011-10-26 Thread Kobe

Is it possible to make it say what library it missing?
many thanks for your help.


Kobe wrote:
> 
> i think its shortening long path for display with "..."
> I changed the paths to standard locations (using LD_LIBRARY_PATH).
> I still get the same error:
> 
> 
> Oct 26, 2011 8:48:12 AM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/java/jdk1.6.0_21/jre/lib/i386/server:/usr/java/jdk1.6.0_21/jre/lib/i386:/usr/java/jdk1.6.0_21/jre/../lib/i386:/usr/local/apache-tomcat/apr-connector/lib:/usr/local/apache-tomcat/apr/lib:/usr/local/lib:/lib::/usr/java/packages/lib/i386:/lib:/usr/lib
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.UnsatisfiedLinkError:
> org.apache.tomcat.jni.Pool.create(J)J
> at org.apache.tomcat.jni.Pool.create(Native Method)
> at
> org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
> at
> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
> at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
> at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
> at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
> ... 6 more
> 
> 
> 
> Daniel Mikusa-2 wrote:
>> 
>> I see "java.library.path" is set to "/opt/asdasdasd/app/bin/../lib",
>> which looks a little funky.  Have you tried setting it to
>> "/opt/asdasdasd/app/lib"?  I'm assuming this is the location of the
>> compiled library files, please confirm.
>> 
>> Dan
>> 
>> 
>> On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote:
>>> i have tomcat6 with APR connector built for jdk6. When i start server I
>>> get
>>> unsatisfied link error.
>>> I try static linking for APR but no luck. can anyone help me plz...
>>> 
>>> 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init
>>> INFO: The APR based Apache Tomcat Native library which allows optimal
>>> performance in production environments was not found on the
>>> java.library.path: /opt/asdasdasd/app/bin/../lib
>>> java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at
>>> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
>>> at
>>> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>>> Caused by: java.lang.UnsatisfiedLinkError:
>>> org.apache.tomcat.jni.Pool.create(J)J
>>> at org.apache.tomcat.jni.Pool.create(Native Method)
>>> at
>>> org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
>>> at
>>> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
>>> at
>>> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
>>> at
>>> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
>>> at
>>> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
>>> at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
>>> at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
>>> ... 6 more
>>> 
>>> 
>>> my connector config is
>>> 
>>> 
>>>  >>protocol="org.apache.coyote.http11.Http11AprProtocol"
>>>connectionTimeout="11000"
>>>redirectPort="443"
>>>/>
>>> 
>>> 
>>> same for https also.
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/s-tp32723372p32725411.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: s

2011-10-26 Thread Kobe

i think its shortening long path for display with "..."
I changed the paths to standard locations (using LD_LIBRARY_PATH).
I still get the same error:


Oct 26, 2011 8:48:12 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/jdk1.6.0_21/jre/lib/i386/server:/usr/java/jdk1.6.0_21/jre/lib/i386:/usr/java/jdk1.6.0_21/jre/../lib/i386:/usr/local/apache-tomcat/apr-connector/lib:/usr/local/apache-tomcat/apr/lib:/usr/local/lib:/lib::/usr/java/packages/lib/i386:/lib:/usr/lib
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.Pool.create(J)J
at org.apache.tomcat.jni.Pool.create(Native Method)
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
at
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
at
org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
... 6 more



Daniel Mikusa-2 wrote:
> 
> I see "java.library.path" is set to "/opt/asdasdasd/app/bin/../lib",
> which looks a little funky.  Have you tried setting it to
> "/opt/asdasdasd/app/lib"?  I'm assuming this is the location of the
> compiled library files, please confirm.
> 
> Dan
> 
> 
> On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote:
>> i have tomcat6 with APR connector built for jdk6. When i start server I
>> get
>> unsatisfied link error.
>> I try static linking for APR but no luck. can anyone help me plz...
>> 
>> 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init
>> INFO: The APR based Apache Tomcat Native library which allows optimal
>> performance in production environments was not found on the
>> java.library.path: /opt/asdasdasd/app/bin/../lib
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>> Caused by: java.lang.UnsatisfiedLinkError:
>> org.apache.tomcat.jni.Pool.create(J)J
>> at org.apache.tomcat.jni.Pool.create(Native Method)
>> at
>> org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
>> at
>> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
>> at
>> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
>> at
>> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
>> at
>> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
>> at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
>> at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
>> ... 6 more
>> 
>> 
>> my connector config is
>> 
>> 
>>  >protocol="org.apache.coyote.http11.Http11AprProtocol"
>>connectionTimeout="11000"
>>redirectPort="443"
>>/>
>> 
>> 
>> same for https also.
> 
> 

-- 
View this message in context: http://old.nabble.com/s-tp32723372p32725391.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



tomcat6-differences between setup version(.exe) and zip version

2011-10-26 Thread Josh Ho
Dears
Setup version had installed on my windows2008 server and worked fine.
Now I wanna use zip version to replace it.
Otherwise I don't know if there are any differences between both.
I tried to compare both and found following differences.

   - setup version
  - installed as service in service manager.
  - shown an item in "programs and Features".
  - tomcat6w will be executed at startup.

Are there any other components will be installed when using setup version?
Please advice.
Thanks


Re: How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread André Warnier

Roland Schmitt wrote:

Yes the comment markers are removed.
And i have also restarted the tomcat after updating xml files.


We believe only what we see with our own eyes. ;-)

Copy and paste the contents of the file here, so that we can have a look.
(overwrite the passwords of course)

repeat : do not send the file as an attachment, the list strips them.  Copy and paste into 
the message to the list.





 Original-Nachricht 

Datum: Wed, 26 Oct 2011 08:38:28 -0500
Von: "Caldarale, Charles R" 
An: Tomcat Users List 
Betreff: RE: How to configure Tomcat 7 manager webapp into an subpath?


From: Roland Schmitt [mailto:roland-schm...@gmx.de] 
Subject: Re: How to configure Tomcat 7 manager webapp into an subpath?

The user is added in the tomcat7\conf\tomcat-users.xml

And are the comment markers removed?  Did you restart Tomcat after
updating the .xml file?

 - Chuck





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: RE: How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread Roland Schmitt
Yes the comment markers are removed.
And i have also restarted the tomcat after updating xml files.

 Original-Nachricht 
> Datum: Wed, 26 Oct 2011 08:38:28 -0500
> Von: "Caldarale, Charles R" 
> An: Tomcat Users List 
> Betreff: RE: How to configure Tomcat 7 manager webapp into an subpath?

> > From: Roland Schmitt [mailto:roland-schm...@gmx.de] 
> > Subject: Re: How to configure Tomcat 7 manager webapp into an subpath?
> 
> > The user is added in the tomcat7\conf\tomcat-users.xml
> 
> And are the comment markers removed?  Did you restart Tomcat after
> updating the .xml file?
> 
>  - Chuck

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread Caldarale, Charles R
> From: Roland Schmitt [mailto:roland-schm...@gmx.de] 
> Subject: Re: How to configure Tomcat 7 manager webapp into an subpath?

> The user is added in the tomcat7\conf\tomcat-users.xml

And are the comment markers removed?  Did you restart Tomcat after updating the 
.xml file?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



Re: How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread Roland Schmitt
Thanks now localhost/manager redirects to the manager app.
But after typing in username + password the access to the manager app doesnt't 
work i get the 401 authorization required page.

The user is added in the tomcat7\conf\tomcat-users.xml




best regards
Roland

 Original-Nachricht 
> Datum: Wed, 26 Oct 2011 16:22:39 +0400
> Von: Konstantin Kolinko 
> An: Tomcat Users List 
> Betreff: Re: How to configure Tomcat 7 manager webapp into an subpath?

> 2011/10/26 Roland Schmitt :
> > I have configure the tomcat webroot outside of the tomcat directory.
> > But then the tomcat managment application isn't accessible any more.
> > I have then tried to create an subcontext /manager which should allow
> access to the manager application. But localhost/manager doesn't show any
> content.
> >
> > How can i configure an subcontext just for accessing the manager
> application?
> >
> > I have configured two contextes under:
> > Tomcat7\conf\catalina\localhost
> >
> > ROOT.XML:
> >  reloadable="false" allowLinking="false" caseSensitive="true" unpackWAR="false"
> useNaming="false">
> > 
> >
> > manager.xml
> > 
> > 
> 
> 1. You cannot use path attribute in *.xml context files.
> 2. Manager webapp needs to be privileged.
> 
> 
>  antiResourceLocking="false" privileged="true">
> 
> 
> You may want to add a  className="org.apache.catalina.valves.RemoteAddrValve" ... /> inside
> the  tag.
> 
> Best regards,
> Konstantin Kolinko
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: s

2011-10-26 Thread Daniel Mikusa
I see "java.library.path" is set to "/opt/asdasdasd/app/bin/../lib",
which looks a little funky.  Have you tried setting it to
"/opt/asdasdasd/app/lib"?  I'm assuming this is the location of the
compiled library files, please confirm.

Dan


On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote:
> i have tomcat6 with APR connector built for jdk6. When i start server I get
> unsatisfied link error.
> I try static linking for APR but no luck. can anyone help me plz...
> 
> 16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path: /opt/asdasdasd/app/bin/../lib
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.UnsatisfiedLinkError:
> org.apache.tomcat.jni.Pool.create(J)J
> at org.apache.tomcat.jni.Pool.create(Native Method)
> at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
> at
> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
> at
> org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
> at
> org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
> at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
> at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
> ... 6 more
> 
> 
> my connector config is
> 
> 
>  protocol="org.apache.coyote.http11.Http11AprProtocol"
>connectionTimeout="11000"
>redirectPort="443"
>/>
> 
> 
> same for https also.


Re: How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread Konstantin Kolinko
2011/10/26 Roland Schmitt :
> I have configure the tomcat webroot outside of the tomcat directory.
> But then the tomcat managment application isn't accessible any more.
> I have then tried to create an subcontext /manager which should allow access 
> to the manager application. But localhost/manager doesn't show any content.
>
> How can i configure an subcontext just for accessing the manager application?
>
> I have configured two contextes under:
> Tomcat7\conf\catalina\localhost
>
> ROOT.XML:
>  allowLinking="false" caseSensitive="true" unpackWAR="false" useNaming="false">
> 
>
> manager.xml
> 
> 

1. You cannot use path attribute in *.xml context files.
2. Manager webapp needs to be privileged.





You may want to add a  inside
the  tag.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



How to configure Tomcat 7 manager webapp into an subpath?

2011-10-26 Thread Roland Schmitt
I have configure the tomcat webroot outside of the tomcat directory.
But then the tomcat managment application isn't accessible any more.
I have then tried to create an subcontext /manager which should allow access to 
the manager application. But localhost/manager doesn't show any content.

How can i configure an subcontext just for accessing the manager application?

I have configured two contextes under: 
Tomcat7\conf\catalina\localhost

ROOT.XML:



manager.xml



Roland
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: WG: Application Re-Deployment leads to OutOfMemoryException - Tomcat 7.22

2011-10-26 Thread Roland Schmitt
Thanks found an leak with your document in log4j, updating to version 1.2.16 
fixed the problem.


> Von: Mark Thomas 
> An: Tomcat Users List 
> Gesendet: 16:06 Dienstag, 25.Oktober 2011 
> Betreff: Re: Application Re-Deployment leads to OutOfMemoryException -
> Tomcat 7.22
> 
> On 25/10/2011 14:59, Roland Schmitt wrote:
> > Why is redeployment not possible?
> 
> Your web application has one or more memory leaks.
> 
> > Is this issue known and can i do anything about that?
> 
> Fix the memory leaks. [1] may help
> 
> Mark
> 
> [1]
> http://people.apache.org/~markt/presentations/2010-11-04-Memory-Leaks-60mins.pdf
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: HOW TO detect what app server you're running in

2011-10-26 Thread Konstantin Kolinko
Note, that this method is unreliable.

1) The actual value can be configured by server administrator.
2) There are 3-rd party repackaged distributions of Tomcat, which
may/should change the value.

It would be better to rely on presence of certain features that you
are going to use, or let the user configure your webapp.

Best regards,
Konstantin Kolinko

2011/10/25 Bob DeRemer :
> Yeah, that should do it - should have remembered that - I'm already using 
> this - purely for diagnostic info.
>
> Thanks, guys!
>
> -Original Message-
> From: Ronald Klop (Mailing List) [mailto:ronald-mailingl...@base.nl]
> Sent: Tuesday, October 25, 2011 7:39 AM
> To: Tomcat Users List
> Subject: Re: HOW TO detect what app server you're running in
>
> Does this help?
>
>     public void doGet(HttpServletRequest request, HttpServletResponse 
> response)
>             throws ServletException, IOException {
>         System.out.println("serverinfo: " + 
> getServletContext().getServerInfo());
>     }
>
>  Ronald.
>
> Op dinsdag, 25 oktober 2011 13:33 schreef Bob DeRemer 
> :
>>
>>
>>
>>  I may need to use some Tomcat-specific code in my web app.  As a result, I 
>> would like to detect [if possible] when I'm running in Tomcat, so I can 
>> invoke the logic.   If anyone knows how best to do this, ideally with some 
>> sample java code, that'd be great.
>>
>>  Thanks,
>>  Bob
>>
>>
>>
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



s

2011-10-26 Thread Kobe

i have tomcat6 with APR connector built for jdk6. When i start server I get
unsatisfied link error.
I try static linking for APR but no luck. can anyone help me plz...

16-Dec-2010 16:13:27 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: /opt/asdasdasd/app/bin/../lib
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.UnsatisfiedLinkError:
org.apache.tomcat.jni.Pool.create(J)J
at org.apache.tomcat.jni.Pool.create(Native Method)
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:613)
at
org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
at
org.apache.catalina.connector.Connector.initialize(Connector.java:1022)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:703)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:786)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
... 6 more


my connector config is


 


same for https also.
-- 
View this message in context: http://old.nabble.com/s-tp32723372p32723372.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Handling of CometEvents regarding order (Tomcat 6 and 7)

2011-10-26 Thread Mark Thomas
On 25/10/2011 10:57, Willem Fibbe wrote:
> Now for my questions: 1 - Can anybody confirm this lifecycle? If I
> read the AIO documentation, a typical lifecycle would be: Begin ->
> Read -> ... -> Error or End

That would be my expectation.

> However: - in Tomcat 6 I get the CometEnd twice.

I think the second CometEnd is a bug.

> - in Tomcat 7 I get a second CometRead, but never a CometError or
> CometEnd (see next question)
> 
> 2 - Related to the first question, how should we handle the second
> CometRead event in Tomcat 7? We tried two ways: - check whether the
> CometEvent was already closed, and if so just return out of the
> method - just try reading from the InputStream always when CometRead
> occurs. This means that the second CometRead results in an
> IOException ("Stream closed") (even reading a single byte)...
> however, Tomcat should catch this and should fire a CometError
> event.. yet, we don't see this CometError triggered in this case.

That looks like a bug to me. It may be related to [1]. You might want to
try running against a locally built 7.0.x to see if the issue is fixed.
If not, create a bug report.

Mark

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=51881

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org