Re: Inter-context communication

2008-02-06 Thread Filip Hanik - Dev Lists
Klaus Reimer wrote: Filip Hanik - Dev Lists wrote: not sure why you would need to go down the route of putting everything into a single jar and copy it to lib. as you have it is just fine, except one would question why TestServiceImpl is not in the lib as well, do you need to hot deploy test

Re: Inter-context communication

2008-02-06 Thread Filip Hanik - Dev Lists
Klaus Reimer wrote: Filip Hanik - Dev Lists wrote: why don't you just create a singleton object, and stuff it in common/lib(5.5) or lib(6.0) and any web app can access it That's fine if it's just a "connector"-like object (as I've described in my mai

Re: Inter-context communication

2008-02-06 Thread Filip Hanik - Dev Lists
why don't you just create a singleton object, and stuff it in common/lib(5.5) or lib(6.0) and any web app can access it Filip Klaus Reimer wrote: Hello, For a special application setup I need fast inter-context communication. This means in web context A I need to call methods in web context

Re: Fwd: http traffic logging

2008-02-05 Thread Filip Hanik - Dev Lists
you can log almost everything with the AccessLogValve http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html if you need more, then download wireshark, and sniff the network traffic directly Filip Kallai Kornel wrote: Hi, is there any solution to log the full http traffic with standard t

Re: Can't shutdown Tomcat

2008-02-05 Thread Filip Hanik - Dev Lists
your application probably starts some threads that are non-daemon threads, and don't stop when tomcat tries to tomcat. a kill -3 will dump the remaining threads to std out, and you can see what the threads are that are not wanting to go away :) Filip Alexander Ryan wrote: I am unable to shut

Re: Clustering problem with one box out of three

2008-02-05 Thread Filip Hanik - Dev Lists
the broadcast happens on the 228.0.0.9 address. however, if you're boxes have multiple nics, the system will pick one to send out the info. you should be able to add an entry to your routing table to force it to send the 228.0.0.9 broadcasts over the nic you designate. Filip Randy Paries wrote

Re: Obtain a SocketChannel instead of OutputStream ?

2008-02-05 Thread Filip Hanik - Dev Lists
John Caron wrote: My application is a scientific data server that transfers large amounts of binary data. I am looking to make it as fast as possible and have been experimenting with the NIO FileChannel.transferTo() method. This appears to be much faster (3-10X) than using an OutputStream, und

[ANN] Apache Tomcat 5.5.26 released

2008-02-05 Thread Filip Hanik - Dev Lists
The Apache Tomcat team announces the immediate availability of Apache Tomcat 5.5.26 stable. Apache Tomcat 5.5.26 incorporates numerous security updates and bug fixes. Please refer to the change log for the list of changes: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html Downloads: http://

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Filip Hanik - Dev Lists
y.support.ReplaceOverride] 1982271K->1982271K(1999424K), 7.4622510 secs] [Full GC 1982271K->1981801K(1999424K), 8.9731420 secs] And the Full GC's continue for a little while, and eventually the process just dies off. ----- Original Message - From: "Filip Hanik - Dev Lists&

Re: Out of Memory Errors when upgrading from 5.0.27 to 6.0.14

2008-02-04 Thread Filip Hanik - Dev Lists
what's the message after java.lang.OutOfMemoryError as there can be many different types of errors. Filip Dan D. wrote: Hello all, I'm currently working on upgrading our systems from using Tomcat 5.0.27 to 6.0.14. The upgrades are not being done in place (ie, we will have both systems out

Re: [Fwd: Windows Server 2003]

2008-02-01 Thread Filip Hanik - Dev Lists
just got word from a colleague that Win2003 server does have some bugs with this, I will let you know if I find out more FIlip Filip Hanik - Dev Lists wrote: some important bug fixes with regards to SSL in http://people.apache.org/~remm/tomcat-6/v6.0.16/ Filip Original Message

[Fwd: Windows Server 2003]

2008-02-01 Thread Filip Hanik - Dev Lists
some important bug fixes with regards to SSL in http://people.apache.org/~remm/tomcat-6/v6.0.16/ Filip Original Message Subject:Windows Server 2003 Date: Fri, 1 Feb 2008 11:34:43 -0500 From: Wade Hundley <[EMAIL PROTECTED]> Reply-To: Tomcat Developers List <[

Re: NIO connector

2008-02-01 Thread Filip Hanik - Dev Lists
to APR for now ... I wanted to run a benchmark, but it's not critical. Best regards, Brien On Jan 31, 2008 5:50 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: Connector c = e.createConnector((String)null,8080,"org.apache.coyote.http11.Http11NioProtocol"); Filip

Re: NIO connector

2008-01-31 Thread Filip Hanik - Dev Lists
null, port, "org.apache.coyote.http11.Http11NioProtocol" ); Brien On Jan 31, 2008 7:15 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: use public Connector createConnector(String address, int port,String protocol) set org.apache.coyote.http11.Http11NioProtocol as the p

Re: Tomcat 6 - Cluster error.

2008-01-31 Thread Filip Hanik - Dev Lists
ts on every hit. I cannot understand the node 2 log, why is the node 2 crashing?? What can I do?? Thanks on advance. Raúl. -Mensaje original- De: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Enviado el: lunes, 28 de enero de 2008 1:45 Para: Tomcat Users List Asunto: Re: Tom

Re: How to Disable TRACE and DELETE methods in tomcat 6.x

2008-01-31 Thread Filip Hanik - Dev Lists
Anand Kumar Singh wrote: Hi, Can anyone suggest me How to Disable TRACE and DELETE methods in tomcat 6.x? For security reason i want to - Disable TRACE and DELETE methods - Disable 8005 Port on Tomcat instance. Users can shutdown tomcat from that port. set port="-1" Filip - Anand Sing

Re: NIO connector

2008-01-31 Thread Filip Hanik - Dev Lists
use public Connector createConnector(String address, int port,String protocol) set org.apache.coyote.http11.Http11NioProtocol as the protocol value should work Filip brien colwell wrote: hi all -- I'm trying to hook the NIO connector to an engine, but I'm lost in how to do this. I'm using To

Re: TomCat Learning

2008-01-31 Thread Filip Hanik - Dev Lists
come and see us in amsterdam http://eu.apachecon.com/eu2008/program/talk/1001 Filip aum kumar wrote: Hi all, I am a java based developer used tomcat for the development purpose.but onlu know abt it in limited manner,i mean to say wat i have to use. Now i have some individual projects to dev

Re: comet end event

2008-01-29 Thread Filip Hanik - Dev Lists
Peter Warren wrote: Could you indulge me and try the client with the sleep? just did, worked exactly as before. event: BEGIN, subtype: null event: READ, subtype: null Read 10 bytes: comet test for session: A01334D0AC22505DCD4B323820963FEC read error event: ERROR, subtype: TIMEOUT

Re: comet end event

2008-01-29 Thread Filip Hanik - Dev Lists
Peter Warren wrote: Could you indulge me and try the client with the sleep? just did, worked exactly as before. event: BEGIN, subtype: null event: READ, subtype: null Read 10 bytes: comet test for session: A01334D0AC22505DCD4B323820963FEC read error event: ERROR, subtype: TIMEOUT I see the e

Re: comet end event

2008-01-29 Thread Filip Hanik - Dev Lists
an end event for me. If I send the two chunks together, I get the read error. Peter On Jan 28, 2008 1:37 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: works just dandy, the timeout happens after quite some time of just waiting Jan 28, 2008 2:33:31 PM org.apache.coyote.http

Re: comet end event

2008-01-28 Thread Filip Hanik - Dev Lists
nk in two separate submissions, I see an end event on the server. Peter On Jan 24, 2008 12:44 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: even with your code, I wasn't able to replicate what you were seeing. what I would need to see what's going on for you: 1. a war fi

Re: comet end event

2008-01-27 Thread Filip Hanik - Dev Lists
f) together, I see a read error on the server. If I submit a chunk and then submit the last chunk in two separate submissions, I see an end event on the server. Peter On Jan 24, 2008 12:44 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: even with your code, I wasn't a

Re: Tomcat 6 - Cluster error.

2008-01-27 Thread Filip Hanik - Dev Lists
INSTANCE-2 server.xml = filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;"/> ======= -

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy

2008-01-25 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy that is correct, we thought of this scenario and decided that we wouldn't support it. Not unreasonab

Re: comet end event

2008-01-24 Thread Filip Hanik - Dev Lists
m happy to get you any more information you need. Otherwise, I appreciate your time and thanks for all your work on tomcat! Peter On Jan 22, 2008 2:37 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: your test client is wrong,I've pasted in the correct one only three changes

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy

2008-01-24 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: ConcurrentModificationException on tomcat cluster with SimpleTcpClusterstrategy given that the session should represent a client state, and by the time the cluster tries to serialize it, the

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-24 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | no, its just common sense, given that the session should represent a | client state, | and by the time the cluster tries to serialize it, the request is over. There's no guar

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-23 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | if you look at the stack trace, there is no error in the clustering | code. something is modifying your session attribute while the cluster is | trying to send it I'm sugge

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-22 Thread Filip Hanik - Dev Lists
if you look at the stack trace, there is no error in the clustering code. something is modifying your session attribute while the cluster is trying to send it Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | the solution

Re: Tomcat 6 - Cluster error.

2008-01-22 Thread Filip Hanik - Dev Lists
e the new keepAliveCount="0", and both nodes worked perfectly during the "experiment" (45 min, 11.000 hits). It will be a pleasure that you get the debug error, let me know anything more you need. Thank you for the response. We will see the real results in 13 days, I'll u

Re: comet end event

2008-01-22 Thread Filip Hanik - Dev Lists
eam.flush(); } private void sendLastChunk() throws IOException { byte[] outputBytes = new String("0" + DELIMITER).getBytes(ENCODING); outputStream.write(outputBytes); outputStream.flush(); } } On Jan 22, 2008 9:07 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED

Re: comet end event

2008-01-22 Thread Filip Hanik - Dev Lists
your test client is wrong,I've pasted in the correct one only three changes 1. set the timeout so that the socket stays alive 2. keep reading data so that the socket stays alive 3. 0crlfcrlf as the last chunk works as expected. to make a workable client, it should read until it gets the last-ch

Re: comet end event

2008-01-22 Thread Filip Hanik - Dev Lists
return; } } while (inputStream.available() > 0); } } On Jan 21, 2008 11:53 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: answers inline Peter Warren wrote: First off, thanks for your responses. The contributors to

Re: comet end event

2008-01-22 Thread Filip Hanik - Dev Lists
System.out.println("Read " + n + " bytes: " + new String(buf, 0, n) + " for session: " + request.getSession(true).getId()); } else if (n < 0) { System.out.println("read error"); return;

Re: comet end event

2008-01-22 Thread Filip Hanik - Dev Lists
.out.println("read error"); return; } } while (inputStream.available() > 0); } } On Jan 21, 2008 11:53 AM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: answers inline Peter Warren wrote: First off, thanks for

Re: comet end event

2008-01-21 Thread Filip Hanik - Dev Lists
ll generate an END event: ...End will also be called when data is available and the end of file is reached on the request input (this usually indicates the client has pipelined a request). depends on what you mean by pipeline, see above Thanks, Peter On Jan 20, 2008 8:15 PM, Filip Hanik - Dev L

Re: comet client doesn't receive server response

2008-01-21 Thread Filip Hanik - Dev Lists
hine. On Jan 20, 2008 8:30 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: yes, most proxies will wait until they receive the end of the response, before passing it on. that's what you are seeing, a regular servlet, ends the response right away Filip Peter Warren wrote:

Re: comet client doesn't receive server response

2008-01-20 Thread Filip Hanik - Dev Lists
yes, most proxies will wait until they receive the end of the response, before passing it on. that's what you are seeing, a regular servlet, ends the response right away Filip Peter Warren wrote: What is interesting to me is that the exact same client code only using a different url (i.e. to a

Re: comet questions

2008-01-20 Thread Filip Hanik - Dev Lists
} public String receive() throws IOException { if (firstRead) { firstRead = false; readHeaders(); } return readChunk(); } private void readHeaders() throws IOException { String header; while

Re: comet end event

2008-01-20 Thread Filip Hanik - Dev Lists
comet event. Am I missing something? Is there a way to write to the client after the comet event is closed? Would you consider it a bug that HttpURLConnection is implemented that way? Peter On Jan 18, 2008 9:21 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: during e

Re: comet end event

2008-01-19 Thread Filip Hanik - Dev Lists
nt is closed? Would you consider it a bug that HttpURLConnection is implemented that way? Peter On Jan 18, 2008 9:21 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: during end and error, you MUST close the Comet event Filip Peter Warren wrote: What do I do to make the END

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-18 Thread Filip Hanik - Dev Lists
the solution is to not store stuff in the session modified by other threads, if that's the case, then its not really something you wanna store in a session Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | this is

Re: comet end event

2008-01-18 Thread Filip Hanik - Dev Lists
during end and error, you MUST close the Comet event Filip Peter Warren wrote: What do I do to make the END event stop repeating? I don't want to close the CometEvent yet because the server is waiting for data to send to the client. If I don't close the comet event, the END event repeats ince

Re: Ordered loading of WAR files

2008-01-18 Thread Filip Hanik - Dev Lists
I believe if you specify your applications as elements inside server.xml, they will be deployed in the order they are specified Filip Fu-Tung Cheng wrote: Hi, I have two war files. One is an authentication war and the other is setup to use the authentication war via the servlet context.xml

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-18 Thread Filip Hanik - Dev Lists
this is not a cluster error, basically, you are storing a map in the session, and someone is modifying the map while the cluster is trying to replicate it org.apache.commons.collections.LRUMap Filip LERBSCHER JEAN-PIERRE wrote: Hi, We work on Tomcat clustered server (5.5) and we have thi

Re: Tomcat 6 - Cluster error.

2008-01-17 Thread Filip Hanik - Dev Lists
already replied to your old thread ok, it looks like you might have ended up with a rogue socket, and what happens is that any message sent to that socket just gets lost in the ether, since it doesn't have any interest ops. There is a workaround for this, turn off keep alives all together, or i

Re: Tomcat 6 cluster

2008-01-16 Thread Filip Hanik - Dev Lists
it would be very strange to how the cluster would have anything to do with this :) the error you are getting is: Caused by: java.net.UnknownHostException: lexecfin the JDBC driver is unable to resolve that name, put the name in your hosts file, or put the IP address instead of hostname for th

Re: Tomcat 6's nio protocol is slower than the regular HTTP/1.1 protocol

2008-01-16 Thread Filip Hanik - Dev Lists
that's expected, maybe not 30% but it all depends on the test. What the NIO allows you for, is to have more sockets than threads, and also being able to free up a worker thread when sending down static content to the client. Filip Shlomi Tsur wrote: Hi We are testing the new nio connector,

Re: One of my boxes, the cluster is not working anymore

2008-01-16 Thread Filip Hanik - Dev Lists
aries wrote: On Jan 7, 2008 2:49 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: easiest way to see your packets fly by, is to use wireshark and just sniff UDP packets Filip Randy Paries wrote: On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists <[EMA

Re: Cluster error, timeouts.

2008-01-16 Thread Filip Hanik - Dev Lists
ok, it looks like you might have ended up with a rogue socket, and what happens is that any message sent to that socket just gets lost in the ether, since it doesn't have any interest ops. There is a workaround for this, turn off keep alives all together, or implement a keep alive timeout Opti

Re: How can I preserve a directory on Deployment?

2008-01-15 Thread Filip Hanik - Dev Lists
you answered your own question, yes, move the directory external to the webapp Filip Greg Kontos wrote: Hello, I have an application with an uploads directory located within the project root directory ( $TOMCAT_HOME/webapps/${project.dir}/uploads ) When I redeploy my .war file I want t

Re: One of my boxes, the cluster is not working anymore

2008-01-15 Thread Filip Hanik - Dev Lists
Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: easiest way to see your packets fly by, is to use wireshark and just sniff UDP packets Filip Randy Paries wrote: On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists <[EMAIL PRO

Re: Tomcat Java Wrapper problems under T4.1.18, jdk1.3.1

2008-01-10 Thread Filip Hanik - Dev Lists
hi Tim, ThreadDumpWrapper, you have the source code for that, so you can modify it any way you want, including compiling it for JDK 1.3.1 but the class Bootstrap is in 4.1, it should be in TC_HOME/bin/bootstrap.jar Filip [EMAIL PROTECTED] wrote: Hi I'm attempting to use the Tomcat Wrapper (

Re: debugging connectors

2008-01-09 Thread Filip Hanik - Dev Lists
no debug property anymore, you can add org.apache.coyote.http11.level=FINE in your logging.properties file Filip Dmitry Beransky wrote: Hi, I can't find any definitive documentation on this. Does the element in Tomcat 5.5. support the "debug" property (I've seen examples of this in older T

Re: Comet processor blocks if chunk includes final CRLF

2008-01-08 Thread Filip Hanik - Dev Lists
fyi, we had to rework the patch, as there is a nasty data corruption bug with the old way of doing things. the new patch is at http://people.apache.org/~fhanik/patches/fix-bz7-alt-1.patch and is up for voting Filip Filip Hanik - Dev Lists wrote: the patch has been applied and will go

Re: Comet API Question

2008-01-08 Thread Filip Hanik - Dev Lists
yes, uncommenting that valve in context.xml should do the trick, is it not firing or are you just not catching it? 2nd question, currently it just marks the request/response as non comet, and then calls response.finishResponse(), this will write any left over bytes to the socket. Filip Jens

Re: comet questions

2008-01-07 Thread Filip Hanik - Dev Lists
es that are new are: catalina.policy STATUS.txt changelog.xml Any ideas about the timeout setting or the comet error event without a subtype? Thanks for your response! Peter On Jan 7, 2008 12:44 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: what connector are you usin

Re: One of my boxes, the cluster is not working anymore

2008-01-07 Thread Filip Hanik - Dev Lists
easiest way to see your packets fly by, is to use wireshark and just sniff UDP packets Filip Randy Paries wrote: On Jan 7, 2008 1:55 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions INFO: Manager []: sk

Re: comet questions

2008-01-07 Thread Filip Hanik - Dev Lists
what connector are you using? I would try to use response.flushBuffer when you wanna flush it out (ie after you've written to and flushed your stream). also, there have been some bug fixes, that you can get from SVN, or wait for 6.0.16 to come out Filip Peter Warren wrote: I have some come

Re: One of my boxes, the cluster is not working anymore

2008-01-07 Thread Filip Hanik - Dev Lists
org.apache.catalina.cluster.session.DeltaManager getAllClusterSessions INFO: Manager []: skipping state transfer. No members active in cluster group. this indicates that the box not working, is not receiving multicast messages from the other nodes. you'd need to look into the multicasting config

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Filip Hanik - Dev Lists
as the previous user mentioned, if you copy libraries to different places, and sometimes to multiple places, you're going down a path that will be hard to debug. start fresh, don't place libraries inside tomcat, unless you know what you're doing, and only use WEB-INF/lib Filip Thomas Chang

Re: SSL client authentication

2008-01-06 Thread Filip Hanik - Dev Lists
set clientAuth="want" you still may have to do some mucking around in the realm code to be able to do both in a prioritized order Filip Dave wrote: Hi, I need some help on SSL client authentication. If a user has digital certificate installed on his/her machine, we like to authenticate

Re: Tomcat 5.5.20+ behind an F5 Load Balancer doing SSL Connector problem

2008-01-05 Thread Filip Hanik - Dev Lists
Gregory Gerard wrote: Thanks! I'll give that a whirl. So you're saying that my marking it as scheme='https' HttpServletRequest.isSecure() will respond with true? Good to know about the multiple IPs... Didn't know that was legal but makes sense. Logging would be fine (though I don't know how

Re: Tomcat 5.5.20+ behind an F5 Load Balancer doing SSL Connector problem

2008-01-05 Thread Filip Hanik - Dev Lists
Rainer Jung wrote: Hi Gregory, the descriptions below work (at least) for TC 5.0/5.5/6.0. Gregory Gerard schrieb: I've got an F5 load balancer running version 9.3 of the software. I've got several Tomcat installations behind it. The F5 does all SSL and clear traffic as a reverse proxy, rewrit

Re: Tomcat 5.5.20+ behind an F5 Load Balancer doing SSL Connector problem

2008-01-05 Thread Filip Hanik - Dev Lists
In Tomcat 6.0.x you can do In Tomcat 5.5.x you can write a Filter that creates a HttpServletRequestWrapper, that returns true on isSecure, and https on getScheme or you can take a look at org.apache.catalina.valves.SSLValve, which reads headers set by the server in front, most commonly apach

Re: Comet processor blocks if chunk includes final CRLF

2008-01-02 Thread Filip Hanik - Dev Lists
the patch has been applied and will go into 6.0.16 Filip Chris Pettitt wrote: Filip, Do you know which release this patch will go into? Is there a bug number I can watch? Thanks, Chris On Dec 19, 2007 9:13 AM, Chris Pettitt <[EMAIL PROTECTED]> wrote: Filip, Your patch has fixed the chun

Re: Comet processor blocks if chunk includes final CRLF

2007-12-14 Thread Filip Hanik - Dev Lists
I've proposed a patch for this behavior http://svn.apache.org/viewvc?view=rev&revision=604274 http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?r1=604274&r2=604273&pathrev=604274 Filip Filip Hanik - Dev Lists wrote: hi Chris, Paul Dumais just posted the same issue.

Re: Comet position of CRLF in request chunks

2007-12-14 Thread Filip Hanik - Dev Lists
I've proposed a patch for this behavior http://svn.apache.org/viewvc?view=rev&revision=604274 http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?r1=604274&r2=604273&pathrev=604274 Filip Filip Hanik - Dev Lists wrote: that's correct, that's how it works. I&

Re: Comet processor blocks if chunk includes final CRLF

2007-12-12 Thread Filip Hanik - Dev Lists
hi Chris, Paul Dumais just posted the same issue. I've been bit by it too, I'm gonna review the spec again, and see if and how we can make adjustments to the code Filip Chris Pettitt wrote: Hello, I'm using Tomcat 6.0.14 and its CometProcessor to create a long running connection between an H

Re: Comet position of CRLF in request chunks

2007-12-12 Thread Filip Hanik - Dev Lists
that's correct, that's how it works. I'll go over the specs to see if this is not what it is supposed to do Filip Paul Dumais wrote: I am using Comet for by directional communication between a native java client and a tomcat server. I noticed that when sending chunks to the Tomcat server over

Re: Tomcat 6 Clustering expireSessionsOnShutdown="false"

2007-12-10 Thread Filip Hanik - Dev Lists
can you check that you don't have the "" element in your conf/context.xml this will override the default settings from below Filip Filip Hanik - Dev Lists wrote: I'll take a look at this today or tomorrow filip Timothy Wonil Lee wrote: Dear list, I have a cluster of

Re: Session replication problem

2007-12-10 Thread Filip Hanik - Dev Lists
: After session persistance's activation (commenting the row above) session replication works as expected. Giancarlo Frison Filip Hanik - Dev Lists ha scritto: you can turn debug on and see the messages being sent back and forth. a previous user reported that sessions got expired dur

Re: HTTP 1.1 Not Supported

2007-12-05 Thread Filip Hanik - Dev Lists
that looks like a valid request, there most be something else in the data sent over that breaks it there is only one place where tomcat checks for this, its in the Http11Processor you should be able to turn on the debug to get the actual data that tomcat is trying to parse put org.apache.coy

Re: SEVERE: Unable to perform replication request

2007-12-05 Thread Filip Hanik - Dev Lists
you've set an incorrect filter .*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;*\.pdf;\*.jsp; should be .*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;.*\.pdf; two changes a) corrected your PDF filter b) removed JSP (they modify the session don't they? if they

Re: SEVERE: Unable to perform replication request

2007-12-05 Thread Filip Hanik - Dev Lists
you've set an incorrect filter .*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;*\.pdf;\*.jsp; should be .*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;.*\.pdf; two changes a) corrected your PDF filter b) removed JSP (they modify the session don't they? if they

Re: [Tomcat 6] jsp on the fly

2007-11-30 Thread Filip Hanik - Dev Lists
yes, this works out of the box, without any changes to any config files Filip Manca Davide wrote: Hello, I have a problem using jsp on tomcat 6 + jdk 6. I have some jsp under a webapp. I want to Tomcat recompile them into .class files without restarting. I already tried these: In

Re: SSL Session expires every request

2007-11-30 Thread Filip Hanik - Dev Lists
what session are you talking about, the HTTP session or the actual SSL session? Filip Bárbara Vieira wrote: Hi there!! I have a problem with SSL Session in Tomcat. I’m using CLIENT_CERT authentication to authenticate users in my web application. But, the session expires at every request, i

Re: Re^2: Comet servlet synchronization and flush problems

2007-11-30 Thread Filip Hanik - Dev Lists
ts striking yet powerful simplicity it's much simpler and clearer to handle than Grizzly (we tried Grizzly before choosing to go with Tomcat) or Jetty. I hope that any standardization efforts will go along Tomcat's lines. Frank Felix 1000MIKES.COM Filip Hanik - Dev Lists wrote: a NPE p

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-29 Thread Filip Hanik - Dev Lists
the Java connectors. Filip David Cassidy wrote: Has anyone got a comparison of the NIO one vs standard java connectors ? both with and without the native libs ? Ta On Thu, 2007-11-29 at 08:38 -0600, Brian Millett wrote: Filip Hanik - Dev Lists escribío: using mod_proxy_http, y

Re: Tomcat 6 Clustering expireSessionsOnShutdown="false"

2007-11-29 Thread Filip Hanik - Dev Lists
I'll take a look at this today or tomorrow filip Timothy Wonil Lee wrote: Dear list, I have a cluster of Tomcat 6.0.14 using DeltaManager. Session replication works fine while both instances are running. I can test this by for example, logging-in to one of the webapps on a Tomcat instance in t

Re: Session replication problem

2007-11-29 Thread Filip Hanik - Dev Lists
you can turn debug on and see the messages being sent back and forth. a previous user reported that sessions got expired during a normal shutdown, I yet have to investigate this Filip Giancarlo Frison wrote: Hi all, I have a cluster configured with 2 tomcat instaces in the same host and apac

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-28 Thread Filip Hanik - Dev Lists
using mod_proxy_http, you want to enable ProxyPreserveHost On Filip loknor wrote: Filip Hanik - Dev Lists wrote: three options mod_proxy_http mod_jk mod_proxy_ajp Filip Yep just found the other option, and a site that got me up to speed very quickly. I can now communicate

Re: Tomcat 6.0 with Apache 2.2 front-end

2007-11-28 Thread Filip Hanik - Dev Lists
three options mod_proxy_http mod_jk mod_proxy_ajp Filip loknor wrote: Hi, Can anyone provide links to a few tutorials on running Tomcat 6.0 with Apache on the front-end? I know there are 2 recommended techniques, mod_jk and mod_proxy. I'd like to use mod_proxy because it appears to be easie

Re: Comet servlet synchronization and flush problems

2007-11-22 Thread Filip Hanik - Dev Lists
a NPE probably has nothing to do with synchronization, more like you are trying to write back on an invalid connection (that probably timed out) Filip Leonardo Fraga wrote: Hello, I'm developing a java web application for finances quotes' real-time stream, for hundreds of concurrent users. T

Re: cluster deployer (farming)

2007-11-20 Thread Filip Hanik - Dev Lists
as soon as someone has time to fix it, contributions are welcome Filip Yair Ben-Meir wrote: Hi If I understand correctly, the cluster deployer is currently broken (I’ve tried running it with two tomcat instances on my machine in a cluster, and it threw me some exceptions). Is it going to

Re: How Do I use Tomcat 6.0.14 as a http Proxy?

2007-11-20 Thread Filip Hanik - Dev Lists
Tomcat doesn't have built in proxy capabilities. You want to use Apache in front of Tomcat, not the other way around Filip Tony Anecito wrote: Hi All, I found some old documentation and looking for something more current than 2004 about how to use Tomcat as a http proxy to say Apache. I am run

Re: Comet: response.sendRedirect() Problem

2007-11-20 Thread Filip Hanik - Dev Lists
Jens Hagel wrote: Hi filip, i've patched my Tomcat. Now, it works! Thank you! ;-) you're welcome, this will also be included in the next release Filip regards, jens On Nov 14, 2007 6:21 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: hi Jens, you've unco

Re: Can Tomcat be used as a servlet container for non-http servlets?

2007-11-16 Thread Filip Hanik - Dev Lists
Sean Nagle wrote: Where can I get more information about the design and use of Tomcat in regards to non-http servlet applications? I tried searching in the mailing list archives for "non http" and found this thread: http://mail-archives.apache.org/mod_mbox/tomcat-dev/24.mbox/%3c38F4C980. [EM

Re: Too many open files error -- using tomcat 6.0.14 on RHEL 4

2007-11-16 Thread Filip Hanik - Dev Lists
Since you are on a Linux system, use a little utility called "lsof" This one will list all the file descriptor associated with your process. When you get the output, it will point you to where you are using up all your file descriptors. Also, check your "ulimit -n" setting for the user running

Re: [TC 5.0.25] Posting directly to j_security_check

2007-11-15 Thread Filip Hanik - Dev Lists
David Smith wrote: j_security_check should never be directly referenced. Clients should be requesting a secured resource. Tomcat then saves the request and forwards the client to the login page (specified in WEB-INF/web.xml) which in turn submit's authentication information to j_security_che

Re: Tomcat performance questions

2007-11-14 Thread Filip Hanik - Dev Lists
. Since that becomes OS/CPU dependent, you must understand the underlying value. You can of course put in any timers you want in Tomcat, just plug in a valve or another component that does the measurement for you. Filip Hope that helps. -Tony --- Filip Hanik - Dev Lists <[EMAIL PROTEC

Re: Tomcat performance questions

2007-11-14 Thread Filip Hanik - Dev Lists
Tony Anecito wrote: Hi All, I am using Tomcat 6.0.14 with java 1.6.0_02 on Windows 2000 professional. I am wondering what is the best parser to use for this configuration? The one with java 1.6.0_02? for XML? the Sun JRE implements the Xerces and Xalan parsers, so it would be the same as i

Re: Issue finding Worker using mod_jk ...

2007-11-14 Thread Filip Hanik - Dev Lists
yep, re-reading the logs shows my ignorance :) Filip Kim Albee wrote: Filip, Yep, we're doing that...it's in the Virtual Host directive. Thanks, Kim ;-) On Nov 8, 2007 12:21 PM, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: you must define the JkMount direc

Re: Comet: response.sendRedirect() Problem

2007-11-14 Thread Filip Hanik - Dev Lists
hi Jens, you've uncovered a bug in Tomcat. basically, Tomcat doesn't respect that you are calling CometEvent.close upon the BEGIN event. I've proposed a fix http://svn.apache.org/viewvc?view=rev&revision=594957 and if it is accepted it will be included in our next release which should be withi

Re: I'm desparate with an Apache problem and ReverseProxy

2007-11-12 Thread Filip Hanik - Dev Lists
On Tomcat side proxyHost and proxyPort in the Connector element on the apache sidfe ProxyPreserveHost On if you do the apache side, you can remove the proxyHost on the tomcat side Filip Christoph P. Kukulies wrote: I know this may not be the correct mailing list but maybe I can find an expert

Re: Issue finding Worker using mod_jk ...

2007-11-08 Thread Filip Hanik - Dev Lists
you must define the JkMount directive inside your httpd.conf file to map a worker to a URL in this case I believe it would be JkMount / ein1 JkMount /* ein1 Filip Kim Albee wrote: We are having an issue when setting up integration between Apache 2.0.52 and Tomcat 6.0.14... Here are the mod

Re: Clustering Tomcat with multiple machines

2007-11-08 Thread Filip Hanik - Dev Lists
remove the mcastBindAddress attribute Filip Steven Crosley wrote: Thanks Clifford, So if I'm setting up 3 servers, each tomcat instance needs to have this element twice? Is the mcastAddr, the IP for the other machines? Thanks, Steven On Nov 8, 2007, at 11:04 AM, Clifford Bryant wrote:

Re: Apache Http Server and Tomcat

2007-11-07 Thread Filip Hanik - Dev Lists
yes, if you have tons of static content, or if you want to run PHP, Perl or other scripts as well. Filip bajistaman wrote: Are there good reasons to use an Apache Http Server in front of a Tomcat even if I'm using a HW Load Balancer? Thanks, Johann -

Re: Comet: response.sendRedirect() Problem

2007-11-07 Thread Filip Hanik - Dev Lists
there is a bug in 6.0.14 regarding pipelining HTTP events on a comet connection, your code is correct, try with our current release candidate http://people.apache.org/~remm/tomcat-6/v6.0.15/bin/ Filip Jens Hagel wrote: Hello, I'm trying to use the sendRedirect() function in the begin event of

<    1   2   3   4   5   6   7   8   9   10   >