the problem you are having is because you didn't shutdown the java process.
invoking shutdown.sh when your tomcat instance has suffered a memoryleak
doesn't guarantee that it will stop, or how long it takes to stop it.
you must ensure the process is killed properly
Filip
Bryce Nesbitt wrote:
it's blocking on initialization of SSL, did you set the correct
attributes for APR/SSL (they are not the same as the java
connector)
Filip
Stefan Armbruster wrote:
Hi,
thanks for the responses so far. I removed all libapr* deb packages and
installed apr 1.2.8 from source, but Tomcat still
shutdown and start in the same thread (so shutdown completes
before the startup happens). AFIK, shutdown actually does shut down the
java process. If shutdown is not meant to shut down the java process, what
does it do?
Filip Hanik - Dev Lists wrote:
the problem you are having is because you
Filip
Hoa Doan wrote:
Hi, I am trying to direct Tomcat to my own web root director, and I know you
can do that by changing the host tag in server.xml. But Tomcat wont read any
of my web file unless they are in a folder name 'ROOT'.
Kind of confusing but here is an example of what i did.
Sebastiaan van Erk wrote:
Hi,
Thanks for all the answers! :-)
It's good to know the way the events should be treated and
interpreted. It's quite different from how it's described on
http://tomcat.apache.org/tomcat-6.0-doc/aio.html, and the JavaDoc does
not really describe the spec either.
Martin Gainty wrote:
MG--
You want to make sure your abandoned connections are properly
re-cycled e.g.
To configure a DBCP DataSource so that abandoned dB connections are
removed and recycled add the following paramater to the ResourceParams
configuration for your DBCP DataSource Resource:
Mladen Turk wrote:
Stefan Armbruster wrote:
Hi
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Wow, that something. You are very brave and root ;)
awesome!
Try with setting:
$> export RANDFILE=/dev/urandom
then start Tomcat.
or create a $HO
Rémy Maucherat wrote:
On 4/3/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
yes, a proposal is coming up, my guess is that you will do a {public int
write(ByteBuffer)} on the CometEvent object. returns number of bytes
written, but nothing is set in stone yet
I hope that your pr
Yerramsetti, Naga wrote:
Hi,
What happens if we use session replication and we try to store in
session an object that is not serializable?
throws an error, probably an IllegalArgumentException on
session.setAttribute
you can also take a look at www.terracotta.org, as they don't require
if you are already using mod_proxy, why use AJP, mod_proxy in
particular, has a more solid implementation in HTTP than AJP
Filip
Mirko Viviani wrote:
Hi,
We are using Tomcat 5.5.20 with Apache 2.2.3/ssl/svn and jdk
1.6.0-b105 on a
Windows Server 2003 R2/SP1 SE with 4 Xeon cores and 4GB ram.
-Djavax.net.debug=handshake,ssl
Filip
Julien Gaulon wrote:
Dear Tomcat Users,
I'm using a tomcat 5.5 on win XP. My servlet uses 2 secure connectors
(different cipher suites and protocol SSL and TLS) on 2 ports.
I have already found a way to have in my servlet a trigger when a ssl handshake
Elias Naur wrote:
Hi,
I'm experimenting with the new tomcat 6 NIO connector to get a
CometProcessor servlet running. I've run into a problem that I hope
you guys can help me with. I'm testing a servlet that looks like this:
public final class QueryEvent extends HttpServlet implements
CometProc
Elias Naur wrote:
On 4/6/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote:
On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm experimenting with the new tomcat 6 NIO connector to get a
> CometProcessor servlet running. I've run into a problem that I hope
> you guys can help me with. I'm
Elias Naur wrote:
On 4/7/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote:
On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote:
> I'm aware that a correct implementation must empty the buffer on a
> READ event, but as I stated in the original post, a READ event is
> never received (not even when the cli
Elias Naur wrote:
On 4/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Elias Naur wrote:
> On 4/7/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote:
>> On 4/6/07, Elias Naur <[EMAIL PROTECTED]> wrote:
>> > I'm aware that a correct implementation m
Elias Naur wrote:
On 4/9/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Elias Naur wrote:
> On 4/8/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
>> Elias Naur wrote:
>> > On 4/7/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote:
>> >>
I would take a hint from this line
Current thread (0x099aedf8): GCTaskThread [id=18292]
My guess is that you have enabled parallel and concurrent GC/mark/sweep,
remove all the GC options from your command line and try again
I've seen this error before
Filip
Randy Paries wrote:
Hello,
I am not
this is the list that goes into Tomcat lib
annotations-api.jar jasper-el.jartomcat-dbcp.jar
catalina-ant.jar jasper-jdt.jar tomcat-i18n-es.jar
catalina-ha.jar jasper.jar tomcat-i18n-fr.jar
catalina-tribes.jar jsp-api.jar tomcat-i18n-ja.jar
catalina.jar
http://geronimo.apache.org
they did it :)
filip
José Perdigão wrote:
Hi,
has anyone been able to integrate OpenEJB with Apache-Tomcat 6.0.x?
Or is it just impossible to do it?
-
To start a new topic, e-mail: users@tomcat.ap
David Blevins wrote:
On Apr 11, 2007, at 8:21 PM, Filip Hanik - Dev Lists wrote:
http://geronimo.apache.org
they did it :)
filip
:)
Just as a general note, as with OpenEJB 1.0 and before (0.9.x, 0.8.x,
etc) you can once again plug OpenEJB 3 into Tomcat. OpenEJB 3 is the
EJB 3.0 version
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.defaultlog=error
you are forcing commons-logging to not use log4j
Filip
Pranas Baliuka wrote:
Hello,
Can some one help me problems in starting TomCat 5.5 on JRockit with log4
Sebastiaan van Erk wrote:
Hi,
I'm running Tomcat 6.0.10 on Linux Ubuntu Feisty on Java 5. I have a
CometProcessor which handles a large number of requests in a very
short time, and after about 3000 requests I consistently get the
following two errors:
Apr 18, 2007 12:09:19 PM org.apache.tom
Benjamin Larchevêque wrote:
Hello, I saw that Tomcat proposes some interfaces to use Comet like Servlet
from version 6.x. Even(t) if I get the main idea I was not able to reuse the
pseudo code servlet ChatServlet provided on the following page:
http://tomcat.apache.org/tomcat-6.0-doc/aio.html
Reich, Matthias wrote:
I did a fresh build this morning from the SVN trunk, and I see the memory leak
with both NIO and APR connector.
Why don't you enable -XX:+HeapDumpOnOutOfMemoryError and send us a link
where we can download the HPROF files that get generated.
Also send us your config a
Do you have a small test case,
if nothing else, your connections should eventually timeout and that
should recycle the processors.
As long as the comet connection is active, the processor is spoken for.
Filip
Reich, Matthias wrote:
So far, I have the feeling that I am the only one who has see
Rémy Maucherat wrote:
On 4/25/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Do you have a small test case,
if nothing else, your connections should eventually timeout and that
should recycle the processors.
As long as the comet connection is active, the processor is spoken for
definitely a bug, I will work on a fix right away.
Filip
Sebastiaan van Erk wrote:
Hi,
I have the following problem with Comet. I have a long request, and I
asynchronously write data to the output stream of the response while
the request is between the BEGIN and END/ERROR events. However, the
Sebastian,
I have checked in a fix to SVN. You can also work around the problem by
not using the shared selector by adding
-Dorg.apache.tomcat.util.net.NioSelectorShared=false
to your command line
Filip
Filip Hanik - Dev Lists wrote:
definitely a bug, I will work on a fix right away.
Filip
1. dont use folders with spaces, in theory they should work, in
practice, who knows
2. building is easier than that, follow these steps
a) svn co http://svn.apache.org/repos/asf/tomcat/current/tc5.5.x
b) cd tc5.5.x
c) edit build.properties.default (the base.path parameter is where it
will
Daniel Doubleday wrote:
Hi this post is a follow up from
http://issues.apache.org/bugzilla/show_bug.cgi?id=42198 where this post does
not belong.
I want to find out if my understanding of the comet api in tomcat is right
concerning how connections are handled and event are triggered. I have a
ve
e is
bound to the request / response model. As soon as the response is closed you
would expect an END event.
That's pretty much how it is
Filip
Filip Hanik - Dev Lists wrote:
Daniel Doubleday wrote:
Hi this post is a follow up from
http://issues.apache.org/bugzilla/show_bug.cgi?id=
Hanik - Dev Lists wrote:
Sebastian,
I have checked in a fix to SVN. You can also work around the problem
by not using the shared selector by adding
-Dorg.apache.tomcat.util.net.NioSelectorShared=false
to your command line
Filip
Filip Hanik - Dev Lists wrote:
definitely a bug, I will work on
Rémy Maucherat wrote:
On 4/26/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
Sebastiaan van Erk wrote:
> Hi,
>
> The fixes seem to work well, thanks again! :-)
Excellent, thanks for bringing it to my attention
And it was committed before tagging, not 5 minutes after as
Yes, this is an interesting use case, I usually issue a read on the
BEGIN event.
These events are IO related, ie, triggered by IO events and that is what
they are. Since the data already has been read in with the request headers,
there will be no following IO event.
You could issue a read() in t
Correct, an asynchronous close doesn't go all the way down to the IO
layer, it just marks the request closed.
remember event.close doesn't mean TCP.socket.close, it means that this
event/request sequence is done
There are still many enhancements to be done to the Comet API, such as
non blockin
Sebastiaan van Erk wrote:
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
I don't understand why the client does not get an immediate -1 (EOF) on
the read() as soon as I do this. The socket itself does not need to be
closed, but the output stream close should flu
Sebastiaan van Erk wrote:
Rémy Maucherat wrote:
On 4/26/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
If the body of the POST request is not present at the time of the
getParameter() call, it returns null even if the parameter value is
set.
Things don't work like this, obviously. Pa
Sebastiaan van Erk wrote:
Hi,
* Is it possible, somehow, to end a request asynchronously (that is,
outside the event method)?
Because I keep getting "Out of file descriptor errors" since the END
events come so terribly late after I do the close().
you'd still get "too many open files" errors
Rémy Maucherat wrote:
On 4/27/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
> GET parameters, ie parameters in the URL will work.
> However, using Comet you shouldn't rely on parameters in the body, the
> body if for you usage, and your usage alone.
Seems to me that this is a pretty common u
Vinícius Paiva wrote:
Hi,
In the tomcat clustering documentation it's not even mentioned the problems concerning applications with the usage of critical sessions/semaphores (concurrency) and in-memory caching of data.
Has anybody any suggestion of reading about how to deal with this?
[EMAIL PROTECTED] wrote:
Tomcat 6 Http Connector will first send only the header during a large chunked response. This causes problems for some of our client processors. In 5 and 5.5 with the same code, the header is sent along with some of the body content. We are doing no flush until all conte
working directory is the "bin" directory
Filip
[EMAIL PROTECTED] wrote:
In the working directory of the process. Of course you need enough free
disk space.
working directory means something like:
/TomcatServer/work/Catalina/localhost/webapp_name/ ?
because there is nothing there :( and
Reich, Matthias wrote:
-Original Message-
From: Sebastiaan van Erk [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 7:24 PM
To: Tomcat Users List
Subject: Re: Comet: problem with request.getParameter() in
Comet POST requests
GET parameters, ie parameters in the URL
Praveen Balaji wrote:
Thanks Sebastiaan. I came to about the same conclusions
as you listed out here. I also saw your post on parsing POST parameters and I
think
it's going to create problems for me as well!
I am unsure the API would be "improved". I
simply think, as Filip pointed out ear
I don't think the clusterSSO implementation ever really got finished. It
got submitted, but never completed.
At least that was my impression of it
Filip
Alejandro Fernandez wrote:
Hi, I am Alejandro from Argentina.
I am having an issue with tomcat 6.0.10 using clusters and single sign on,
wh
it will return 0 after the timeout has expired if there was no events.
most likely its not a bug in the JDK but in your linux kernel/distro
so far I haven't seen the behavior you've explained.
Filip
Sebastiaan van Erk wrote:
Hi,
I have a problem that sometimes the NIO selector goes into a bus
Sebastiaan van Erk wrote:
Hi,
Due to the latest changes (r535030) to the Comet code I'm getting the
AsyncCloseExceptions again, meaning that my synchronization which
worked before is not correct anymore.
What I am doing is synchronizing all access to the response output
stream and synchroni
Filip Hanik - Dev Lists wrote:
Sebastiaan van Erk wrote:
Hi,
Due to the latest changes (r535030) to the Comet code I'm getting the
AsyncCloseExceptions again, meaning that my synchronization which
worked before is not correct anymore.
What I am doing is synchronizing all access t
Roger Parkinson wrote:
I have two different applications and they both make use of a common
jar library. The common library has several static fields.
Up until last week the static fields in one application never saw the
static fields in the other but I changed something and suddenly they do.
Al
Reich, Matthias wrote:
The NioEndpoint seems to close a connection during the timeout handling.
My client reacts to a connection failure with a resubmit of the last
request,
and I see this in the log:
07.05.2007 22:08:14 comettest.CometServlet event
WARNUNG: BEGIN(16) POST /comettest/comet/reque
it comes down to multicasting working properly on your system.
that is where your troubleshooting efforts need to go. Sometimes
removing mcastBindAddr helps.
Filip
Vinu Varghese wrote:
Hi,
I have a clustered environment which have 4 machines that are in
the same private switch. I have conf
send us a small test app please
Filip
Adam Lipscombe wrote:
Folks
I have an odd problem that occurs on TC6 running on fedora core 6.
Apache in fronting TC.
When I try to pass an HTML parameter from a JSP it is not in present
in the request object for the receiving JSP. I get the following in
Reich, Matthias wrote:
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 08, 2007 11:00 AM
However, the Javadoc of enum EventSubType says:
TIMEOUT - the connection timed out (sub type of ERROR);
note that this
maybe try to run it under another service manager, like the Java Service
Wrapper
http://people.apache.org/~fhanik/wrapper.html
to rule out the case, that its a win service problem
Filip
Jason Polites wrote:
Hi all,
I am running Tomcat 5.5.23 on a Win32 platform as an NT Service, with the
nati
32 bit limitations, the entire process heap is around 2GB, leaving you
with the number you found for the java heap
Filip
Ian H wrote:
I have Tomcat 5.5 running on a Windows 2000 machine having 4GB of RAM
(recently upgraded from 2GB). The JVM in place is 1.4.2_12.
Using the "Configure tomcat"
change
| /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 &
to
2>&1 | /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 &
ie, redirect stderr into stdout before passing it into the logger
Filip
Andy wrote:
This is a correction of the Subject: which I failed to set
- Dev Lists wrote:
change
| /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 &
to
2>&1 | /u00/tomcat/bin/logger "$CATALINA_BASE"/logs/catalina 2>&1 &
ie, redirect stderr into stdout before passing it into the logger
Filip
Andy wr
here is what happens,
your start copying in a large .war file, tomcat detects this file before
the upload is complete and starts expanding it,
tomcat receives a ZipFileCorrupted error (as the upload hasn't
completed) and aborts the deployment
you need to work around the fact that your upload i
have you considered that the client might be aborting the connection
because you are taking too long to respond?
Filip
Propes, Barry L wrote:
I belive you can do it in a connection pool setting.
-Original Message-
From: Ignacio Iborra [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 09,
the procrun files for tomcat can be found in Tomcat SVN,
http://svn.apache.org/viewvc/tomcat/connectors/trunk/procrun/bin/
you can also try out an alternative wrapper, works in a similar fashion
http://people.apache.org/~fhanik/wrapper.html
Filip
Pascal Fonte wrote:
Hi,
I want to install tomca
Gross, Keith wrote:
I was wondering what people use for cluster monitoring and administration.
I have my test cluster set up with the farm deployer so
deployment/undeployment across the cluster are easy enough. What I'm looking
for is something like what the admin and manager appliactions can do
you're expecting the * (wildcard) to apply to stuff in your realm, it
doesn't.
I believe you have to define the roles in (security-role) web.xml, and
your * applies to the roles defined by security-role
Filip
Daniel Curran wrote:
I have added an auth constraint
*
I am now challenged bu
James is a better platform
http://james.apache.org/
Filip
Johnny Kewl wrote:
Has anyone seen or heard of a mailing list built on Tomcat?
More I use "this" mailing list, more I appreciate the technology, and I think
Tomcat is an almost perfect platform for the technology.
Sort of thing that ca
there is something wrong in this sucker
/opt/docu/tst/tomcat4/webapps/ROOT/WEB-INF/lib/dmvirtuallink.jar
are you using symlinks?
if so,
http://tomcat.apache.org/tomcat-4.1-doc/config/context.html#allowLinking
you end up getting a FileNotFoundException, turning on debug logging,
might yield mo
the maven jars/upload is still in process, if you want to contribute
help, take a look at res/maven in the tomcat 6 tree
Filip
lightbulb432 wrote:
The tomcat-dbcp library doesn't seem to be available from the Maven
repository for Tomcat at http://tomcat.apache.org/dev/dist/m2-repository or
rep
there is a disableUploadTimeout flag on the element,
are you sure tomcat is timing out the connection?
Filip
ben short wrote:
Hi,
I am trying to deploy a large war via the manager webapp over a slow
connection. After about 10 mins the connection times out. Is it
possible to increase this time
$CATALINA_HOME/lib
Filip
Brian Millett wrote:
Hello, I've setup my tomcat 6.0.13 with the CATALINA_HOME=/opt/tomcat and
CATALINA_BASE=/opt/webBaseDir on a FC6 system.
I read in http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
"Common - This class loader contains additional class
Brian Millett wrote:
Filip Hanik - Dev Lists escribío:
$CATALINA_HOME/lib
Doesn't that defeat the CATALINA_BASE setup for multiple instances of tomcat?
I always get the BASE and HOME mixed up. but I believe HOME is the
installation of all the shared binaries,
hence all c
did you try
Class singletongClassObj = this.getClass().getClassLoader().loadName(singletonClassName);
Filip
Mike Peremsky wrote:
I think this may be a class loader issue, but am not sure as I have never really worked with them before. I am putting together a JAR file that contains a set of c
t is looking for are located in the
/apache-tomcat-5.5.23/webapps/myExternalApp/WEB-INF/classes directory.
Filip Hanik - Dev Lists wrote:
did you try
Class singletongClassObj = this.getClass().getClassLoader().loadName(singletonClassName);
Filip
Mike Peremsky wrote:
I think this may
it could be because the data from the request already came in with the
request.
when the BEGIN happens, perform the actions as if there was a READ as
well, ie, empty out the buffer.
Filip
Peter Warren wrote:
The following client code generates a comet BEGIN event on the server
but not a subse
Lists <[EMAIL PROTECTED]> wrote:
that work around is probably not what you want. You've just disabled the
ability to reload your app correctly.
Try using another classloader, maybe the
Thread.currentThread().getContextClassLoader()
where are you storing the class that is trying
proxyName is only for the Host name, which can also be accomplished by
adding
ProxyPreserveHost On
in apache, and hence be able to support more than just one URL. So
remove proxyName from the connector and added the above statement to
your httpd config
in terms of what you are doing, that's
take a look at the documentation, the way you are reading it is incorrect.
you need to take advantage of the available() method
Filip
Peter Warren wrote:
My BEGIN block in my comet servlet now looks like the code below (added
a while loop to read until the buffer is empty). Is that what you ha
if you are using APR, then you need a different set of options in the
element,
take a look at the SSL documentation again
Filip
Roger Roger wrote:
Yes I'm using APR. The dll is in de bin directory. Thanks for pointing
this
out. Deleting the dll didn't resolve the problem though. I'll try this
ot;);
}
} while (is.available() > 0);
return inputBuffer.toString();
}
Filip Hanik - Dev Lists wrote:
take a look at the documentation, the way you are reading it is
incorrect.
you need to take advantage of the available() method
Filip
Peter Warren wrote:
nope, not at this time
Filip
Corobitsyn Roman wrote:
Hello list
Is there opportunity to replicate configuration files for nodes of
cluster?
Thx
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail
if your service method is invoked means you are not running the correct
connector.
You must run the NIO or the APR connector.
take a look at the "protocol" attribute in
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html
Filip
Márton Szabolcs wrote:
Hi!
Ive been trying to use tomcat co
What I like to do is to compile my JSPs just like Tomcat would do it
runtime, so that I can keep the ability to recompile my JSP files.
http://people.apache.org/~fhanik/precompile.html
http://people.apache.org/~fhanik/tomcat-6-precompile.xml
I just whipped up the v6 script, but I believe it to
send us a link to your test WAR file, and I can give it a shot, looks
good to me.
Filip
Márton Szabolcs wrote:
Hi!
i set my connector like this.
it should be correct, isnt it?
CometSampleServlet
sample.CometSampleServlet
CometSampleServlet
/CometSampleServlet
public
ran out of disk space or the file is too large
Filip
Propes, Barry L wrote:
Hello,
I have a strange situation.
Tomcat has stopped logging today on my prod. server. Not sure why. All of the app seems to be working just fine, but the key log file stopped generating new info.
I have a schedu
i would like if somebody, who made this cometprocessor worked describe
the things what have to do. I already done what is in tomcat docs
(advanced NIO)
regards,
Saby
2007/5/29, Filip Hanik - Dev Lists <[EMAIL PROTECTED]>:
send us a link to your test WAR file, and I can give it a shot, looks
g
ut stream and generates both a begin event
and then a subsequent read event.
Thanks,
Peter
(I'm the guy who started the "comet read event" thread. I never heard
back after you asked me which connector I was using, and I'm still
struggling with it.)
Filip Hanik - Dev Lists wrot
What connector are you using? ie, how does the element look
in server.xml?
Filip
Dejan Krsmanovic wrote:
We have two applications running on the same Tomcat instance. These two
applications are used by completely different people and one of them has
much higher traffic than another one.
Recen
Rashmi Rubdi wrote:
On 5/29/07, Berglas, Anthony <[EMAIL PROTECTED]> wrote:
Thanks for that, but I don't see how it will help. If you look below
it is the jasper2 that is causing me grief, which is essentially the
same as yours.
How long does it take to precompile the JSPs. Is it several JSP
valve enabled.
I wanted to know if TC 5.5.23 supports SSO session replication ?
Googling tells me that a patch was submitted for this,
http://fabien.carrion.free.fr/TomcatCluster.html and even the
catalina-cluster.jar has the ClusterSingleSignOn valve. But TC mailing lists
suggest that the supp
hi Kristian, Farm deployer is currently broken, has been for a while and
needs to be completely revised.
Filip
Kristian Rink wrote:
Folks;
being knee-deep into building a test system to see whether our
clustered applications also will work in a tc 6.0 clustered environment
(currently they ru
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html
check out AccessLogValve
Filip
robert lazarski wrote:
Hi all, I have a requirement to get in our logs some data - in Apache the
log format is:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"
\"%{forensic-id}n\"
Sebastiaan van Erk wrote:
Hi,
Filip Hanik - Dev Lists wrote:
it will return 0 after the timeout has expired if there was no events.
most likely its not a bug in the JDK but in your linux kernel/distro
I just found the Sun bug report + workaround confirming this issue as
a Linux JDK bug.
The
you might have the wrong version of APR or tcnative,
when the system stops, do a kill -3 on the process to get the thread dump
Filip
[EMAIL PROTECTED] wrote:
TOMCAT: 6.0.13
OS: linux-2.6.18-4-686
JAVA: java-1.5.0-sun-1.5.0.10
i tried to run with APR, followed
http://tomcat.apache.org/tomcat
s.read(buf); // can throw an IOException
if (n > 0) {
inputBuffer.append(new String(buf, 0, n));
} else if (n < 0) {
return ("read error");
}
} while (is.available() > 0);
return inputBuffer.toStr
Jeanfrancois Arcand wrote:
Hi,
Sebastiaan van Erk wrote:
Hi,
Filip Hanik - Dev Lists wrote:
it will return 0 after the timeout has expired if there was no events.
most likely its not a bug in the JDK but in your linux kernel/distro
I just found the Sun bug report + workaround confirming
ot send headers, cometgui is
100% manual :)
Filip
Peter
Filip Hanik - Dev Lists wrote:
you're treading dangerous waters my friend. the comet is somewhat like
a real socket, and sending up new HTTP headers might end up just being
data for the Comet servlet.
Filip
Peter Warren wrote:
why don't you make your test available, I'll run it through
Filip
Peter Warren wrote:
Yes, I'm using the NIO connector. Here is the config line from my
server.xml:
Are there any other configuration options I need to set?
Peter
Filip Hanik - Dev Lists wrote:
and yo
w an IOException
if (n > 0) {
inputBuffer.append(new String(buf, 0, n));
log("Read " + n + " bytes: " + new String(buf, 0, n) + "
for session: "
+ request.getSession(true).getId());
} else if (n < 0) {
log(&
you probably have some rogue java process still running somewhere with
clustering enabled,
Filip
Daniel M Garland wrote:
Hi all,
I've been running two Tomcat 5.5.20 servers in a cluster for some time
on Mac OSx but we've recently moved to 64-bit architecture (Debian
etch) . I tried as far a
Your trust store will need to contain the cert the client is supposed to
send up,
Filip
[EMAIL PROTECTED] wrote:
Hi,
I am unable to set client authentication for SSL in tomcat 5.5.2. I have
generated the certificate for the client and imported the same into the
server's keystore so that t
yeah, but if you bind to 127.0.0.1 how do you expect clustering to work
between nodes? :)
Filip
Andrew Hole wrote:
Hello everyone!
For using Tomcat session clustering I need to put the following
component in all nodes?
hibernate is using the org.apache.commons.dbcp pool, so you need to
configure that one, or tell hibernate to use tomcat's pool
the clue here is, that tomcat's connection pool (while the same as
commons.dbcp) has the package renamed to org.apache.tomcat.dbcp.
this is a hibernate problem, your
Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Subject: Re: Session Replication
yeah, but if you bind to 127.0.0.1 how do you expect
clustering to work between nodes? :)
Well, you could run all the Tomcat instances on the same box. What's
that saying about eggs and baskets?
- C
401 - 500 of 1269 matches
Mail list logo