Re: Limit the number of concurrent users

2007-10-18 Thread Filip Hanik - Dev Lists
tomcat is pretty useless without using connectors, how would you propose to use it, if you didn't have connectors? Filip Woodgett, Mel (MSFC-NNM04AA02C)[STEEPLE] wrote: Is there any way to limit the number of concurrent users in Tomcat without using any connectors?

Re: jdbc in tomcat problem

2007-10-18 Thread Filip Hanik - Dev Lists
yes, either MySQL or something else on the network closed the connection Caused by: java.net.SocketException: Socket closed if you are using the connection pool, make sure you have set testOnBorrow=true validationQuery=SELECT 1 so that it validates each connection for you Filip Jean-Pierre

Re: Limit the number of concurrent users

2007-10-18 Thread Filip Hanik - Dev Lists
? Is this possible right out of the box with tomcat or do I have to use Apache with tomcat? -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 1:35 PM To: Tomcat Users List Subject: Re: Limit the number of concurrent users tomcat is pretty

Re: jdbc in tomcat problem

2007-10-18 Thread Filip Hanik - Dev Lists
Filip Hanik - Dev Lists wrote: yes, either MySQL or something else on the network closed the connection Caused by: java.net.SocketException: Socket closed if you are using the connection pool, make sure you have set testOnBorrow=true validationQuery=SELECT 1 so that it validates each connection

Re: Too Many Open Files error

2007-10-20 Thread Filip Hanik - Dev Lists
usually it is added at /etc/security/limits.conf Filip Nix Hanwei wrote: Hi Dan, You can try sysctrl.conf file. Add in the ulimit -n for open files. - Original Message From: Daniel M Garland [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, 19 October

Re: The troubles with tribes

2008-03-12 Thread Filip Hanik - Dev Lists
Tom van Wietmarschen wrote: Tom van Wietmarschen wrote: Filip Hanik - Dev Lists wrote: The biggest issue I have is that I keep getting memberAdded/memberDisappeared events from the same member. I've made a small test app (based on the example on the Tribes introduction page) that I run

Re: STM

2008-03-12 Thread Filip Hanik - Dev Lists
you could create your own class MyWrapper extends StandardWrapper { public MyWrapper() { super(); setMaxInstances(xxx); } } and then in context.xml Context wrapperClass=...MyWrapper /Context something along those lines Filip David Steinberg wrote: Thanks Martin. But can I access

Re: Making the most of 8G of RAM

2008-03-17 Thread Filip Hanik - Dev Lists
there is a recorded webinar called Inside the Java Virtual Machine http://www.covalent.net/services/training/webinars.html it's one hour spent demystifying all you need to know about the JVM memory usage, once you've understood that, you'll have a very different perspective on -Xmx Filip

Re: ArrayIndexOutOfBoundsException in ClusterListenThread-2

2008-03-18 Thread Filip Hanik - Dev Lists
nope, it's not normal. means you got clobbered data. are you running multiple versions of tomcat? Filip Ronald Klop wrote: I have this in my logs. Running tomcat 5.5.26. Exception in thread ClusterListenThread-2 java.lang.ArrayIndexOutOfBoundsException: 1024 at

Re: IE and Mozilla issue with Cookies with setVersion(1)

2008-03-18 Thread Filip Hanik - Dev Lists
tomcat version? Rajeev Angal wrote: setVersion(1) only : cookie.setPath(/ ) doesnt return the cookie on IE and Mozilla. Works fine on Firefox. Code enclosed. TEST is retuned correctly back to the server... but TEST1 is not on IE and Mozilla...Firefox returns both. Any clue? % String

Re: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-03-20 Thread Filip Hanik - Dev Lists
It's expected behavior, sessions will always expire on the local node during a graceful shutdown. expireSessionsOnShutdown=false simply means that we don't expire sessions in the remote nodes Filip Ronald Klop wrote: Hello, When I shutdown a node in my cluster (tomcat 5.5.26)

Re: Tomcat 6.0 clustering

2008-03-25 Thread Filip Hanik - Dev Lists
Ch Praveena wrote: Hi, Are there anyone who have done with clustering Tomcat 6.0? I have lot many doubts about them. what's your question? No virus found in this incoming message. Checked by AVG. Version:

Re: Tomcat 6.0 clustering

2008-03-26 Thread Filip Hanik - Dev Lists
://www.covalent.net/services/training/webinars.html (see tribes and cluster) http://tomcat.apache.org/tomcat-6.0-doc/tribes/introduction.html http://people.apache.org/~fhanik/apachecon2006slides.ppt On 25/03/2008, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Ch Praveena wrote: Hi

Re: Memory leak in Tomcat 5.5.16

2008-03-27 Thread Filip Hanik - Dev Lists
try to disable the cache in conf/catalina.properties, at the bottom there is a setting you can set to false tomcat.util.buf.StringCache.byte.enabled=true if the problem still exists, use jmap to dump the heap, and analyse the actual dependencies for mem usage Filip Tom Price wrote: Hi, I

Re: Can a Filter know that a connection timeout has occurred?

2008-03-31 Thread Filip Hanik - Dev Lists
you can't know until you request the resource. ie, a timeout can happen at point X, 2 min later, the application does getOutputStream.print, and receives an IOException, obviously the timeout happened X+20sec, not X+2min, so no, no real way to know. for your filter to know that a ioexception

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 3:38 AM, Ronald Klop [EMAIL PROTECTED] wrote: See my previous mail about send/receive buffers filling because Ack wasn't read by FastAsyncSender. The option waitForAck=true did the trick for me. But for FastAsyncSender you should set sendAck=false

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 12:49 PM, Rainer Jung [EMAIL PROTECTED] wrote: First to make sure: counting objects in general only makes sense after a full GC. Otherwise the heap dump will contain garbage too. Yes, I made sure the objects I was looking at had a valid GC

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 12:52 PM, Rainer Jung [EMAIL PROTECTED] wrote: Ronald Klop schrieb: See my previous mail about send/receive buffers filling because Ack wasn't read by FastAsyncSender. The option waitForAck=true did the trick for me. But for

Re: Cluster Memory Leak - ClusterData and LinkObject classes

2008-03-31 Thread Filip Hanik - Dev Lists
David Rees wrote: On Mon, Mar 31, 2008 at 4:48 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: David Rees wrote: One problem I've intermittently had with clustering is that after a Tomcat restart (we shut down one node and it immediately restarts, generally within 30 seconds

Re: Bug 33594: ClassCastException compiling jsp (very infrequently happens)

2008-03-31 Thread Filip Hanik - Dev Lists
you can always reopen a bug, but what I would do, is turn on debugging for the org.apache.jasper package, and when the error happens, the bug might lead us to more information. Filip Caldarale, Charles R wrote: From: Harper, Brad [mailto:[EMAIL PROTECTED] Subject: Bug 33594:

Re: NIO connector source code

2008-04-10 Thread Filip Hanik - Dev Lists
it's in the java directory of the zip file Filip neil davudo wrote: Where? I downloaded the entire Tomcat source code. Can you point me to the directories? TIA Neil markt-2 wrote: neil davudo wrote: Where can I find the source code for the NIO connector that uses the

Re: FW: Tomcat ModJK Issues!!!

2008-04-23 Thread Filip Hanik - Dev Lists
what OS are you on, if you are on a Unix system, you can issue a kill -3 process id of java and that will generate a thread dump in your std.out looking at this file, you can see where the processors are taken up, and if they are locked up somewhere in your code, or simply busy with other

Re: Tomcat HTTTP Connectior Hangs

2008-04-28 Thread Filip Hanik - Dev Lists
you keep with holding information, post the entire thread dump, in its native format Filip Barak Yaish wrote: My mistake, you right. There is one thread waiting for a db connection from the pool: where 0x184e [1] java.lang.Object.wait (native method) [2]

Re: FW: Memory leak using SSL Tomcat 6.0.16

2008-04-30 Thread Filip Hanik - Dev Lists
add the flag -XX:+HeapDumpOnOutOfMemoryError when you get an OOM, it will dump a .hprof file, zip it up, and make it available to us (dont attach it to an email :) I can help you analyse it Filip Shapovalenko Daniil wrote: Hello there! I'm using Tomcat 6.0.16 with an extremely simple

Re: Web server and tomcat - firewall

2008-05-06 Thread Filip Hanik - Dev Lists
could be the extra space JkOptions + DisableReuse should be JkOptions +DisableReuse someone will correct me if I am wrong :) if you are not using disable reuse, one has to match up the max clients on the httpd side with the maxThreads on the tomcat side, so that you don't leave

Re: error 1067

2008-05-09 Thread Filip Hanik - Dev Lists
or even better, catalina.bat run to run it in the same window Martin wrote: Jim- Can you start at command line %CATALINA_HOME%\bin\startup.bat ? M- - Original Message - From: jim murray [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, May 09, 2008 2:37 PM Subject: error

Re: Tomcat + NTLM + Heavy load + Default config = Failure

2008-05-12 Thread Filip Hanik - Dev Lists
thanks for the info, sounds like the NTLM auth is not considering the fact that keep alives are optional, and can be controlled by the server. so it's really a problem with the client, not the server in this case. but its good to know you found a workaround Filip Sanglard Fabien wrote:

Re: Newbie: Tomcat LDAP Authentication

2008-05-12 Thread Filip Hanik - Dev Lists
John Russell wrote: Hi, I'm new to Tomcat though familiar with Apache, I'm trying to configure Authentication to an LDAP server but I've missed a step somewhere. From the documentation for JNDIRealm at http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html 0) I obtained ldap-1_2_4.zip from

Re: Clustering Tomcat - StandardManager loaded instead of DeltaManager

2008-05-13 Thread Filip Hanik - Dev Lists
do you by any chance have the Manager element uncommented in conf/context.xml or haven't set distributable/ in your web.xml Filip Petr Skokan wrote: Hi All, I am trying to configure Tomcat for cluster in Tomcat 6. However in the catalina.out tomcat is still creating StandardManager instead

Re: Once again, clear text passwords in context.xml files

2008-05-13 Thread Filip Hanik - Dev Lists
it's a wasted effort, the one way it could be truly secure, was if tomcat asked you for a key upon startup. this wouldn't work very well in a 1000 tomcat instance server farm. any other effort simply masks the problem, letting you think it is secure, when it isn't. what you should do is

Re: How to increase memory form Tomcat 5.5

2008-05-13 Thread Filip Hanik - Dev Lists
hi James, a better place is to create a file called setenv.sh that way you don't have to change any tomcat files sometimes you have to separate out the commands like JAVA_OPTS=-Xmx512m export JAVA_OPTS export is all lowercase Filip James Law wrote: I believe in Linux the command is Export

Re: Delima Load Balancing Question

2008-05-14 Thread Filip Hanik - Dev Lists
see corrections inline karthikn wrote: Hi Can some body suggest me any thin missing in here... I have 2 independent Tomcats clustered The Apache Configurations is as given httpd.conf - LoadModule jk_module modules/mod_jk.so JkWorkersFile

Re: Developing Tomcat using Eclipse

2008-05-14 Thread Filip Hanik - Dev Lists
it's pretty easy, if you check out tomcat from svn svn co http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk the trunk folder contains a .project and .classpath do a cd trunk ant download then you will need to setup two variables ANT_HOME TOMCAT_LIBS_BASE - this one points to the location

Re: Why worker.tomcat._home ?

2008-05-15 Thread Filip Hanik - Dev Lists
it's not needed Filip karthikn wrote: Hi worker.tomcat._home=c:/tomcat5.5.23 Can some body tell me Why is this configuration required in Worker.properties, If multiple Tomcats are clustered for Load balancing Am i missing something with regards Karthik

Re: JNDI look issue with Tomcat during server start up

2008-05-15 Thread Filip Hanik - Dev Lists
the best thing to do is to look into DataSourceRealm.java as part of the tomcat source code. the method open(), shows how server code would look up both a local or a global data source Filip Hanmay Udgiri wrote: Hi I have implemented datasource using JNDI look up. The code work fine If I call

Re: JNDI look issue with Tomcat during server start up

2008-05-15 Thread Filip Hanik - Dev Lists
PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: the best thing to do is to look into DataSourceRealm.java as part of the tomcat source code. the method open(), shows how server code would look up both a local or a global data source Filip Hanmay Udgiri wrote: Hi I have implemented

Re: tomcat 6 build from source-code

2008-05-15 Thread Filip Hanik - Dev Lists
ant download ant ant -f extras.xml ant -f dist.xml release Filip Vishwa Chary wrote: Thanks John, This one from SVN works correctly. The one I downloaded as src-zip file from apache had problems in the final distribution. Thanks again, Chary On Thu, May 15, 2008 at 4:11 PM, Johnny Kewl

Re: Trying to understand the concept of embedded Tomcat

2008-05-16 Thread Filip Hanik - Dev Lists
there are many ways of doing it, one is 100% embedded, where you create all the components programmatically, another one is to distribute a regular tomcat, and you can use a hybrid model Filip Frank Neslon wrote: Hello, So I had the idea that I would like to deploy my application with Tomcat

Re: log4j and two webapps

2008-05-16 Thread Filip Hanik - Dev Lists
what is it that doesn't work? Filip bizio wrote: Hi guys. This is my first post here. I have a problem with log4j in one of two mine webapps: the first log4j.properties looks like # Conventions used in code # + Only few logging statements are at level INFO, just to log user activity # + RPC

Re: changing server.xml attribs on the fly

2008-05-16 Thread Filip Hanik - Dev Lists
tomcat uses the common-digester code to parse server.xml, you can see several classes called XXXRuleSet.java, and those are the rules for how server.xml turns into java objects Filip Ramesh Narayanan (ramesnar) wrote: Hi folks Has anyone ventured into modifying the

Re: [Fwd: Tomcat manager]

2008-05-16 Thread Filip Hanik - Dev Lists
you have specified some_user multiple times, it should only have 1 entry per username. ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=tomcat/ role rolename=role1/ role rolename=manager/ role rolename=admin/ user username=some_user password=some_user123

Re: How to make Tomcat 6.0.x load system classes from .class files?

2008-05-16 Thread Filip Hanik - Dev Lists
just put them in the lib directory, you can see the class loader definitions in conf/catalina.properties Filip Markus Schönhaber wrote: Hi, I just fiddled around with the source of org.apache.jasper.compiler.Validator I dimly remember that in Tomcat 5.x, after editing and rebuilding some of

Re: Reload the Embedded Tomcat relam

2008-05-16 Thread Filip Hanik - Dev Lists
realms have a lifecycle, so you would need to start it Filip Satyanarayana Bobba wrote: Hi All, I am using the embedded tomcat in my application and I want to change the tomcat-users.xml file dynamically. Initially, I am setting that Realm to embedded tomcat by using the setRealm()

Re: understanding some tomcat code

2008-05-16 Thread Filip Hanik - Dev Lists
Leon Rosenberg wrote: Hi, was just browsing through tomcat code, and the following is just a mystery to me -StandardSession.fireSessionsEvent(type,data): public void fireSessionEvent(String type, Object data) { if (listeners.size() 1) return; SessionEvent event

Re: Refuse connections in the selector

2008-05-16 Thread Filip Hanik - Dev Lists
is this related to tomcat, or just generic java/nio? Filip ubekhet wrote: Hi, I would like to know, how I can refuse the connections when they are in the selector pool, just for waiting thread to manage connections. I use Tomcat 6 and also using NIO paradigm! and I dont know how to do that.

Re: Refuse connections in the selector

2008-05-16 Thread Filip Hanik - Dev Lists
, and in this case as I use Tomcat with NIO paradigm, is the same. Thanks Filip Hanik - Dev Lists wrote: is this related to tomcat, or just generic java/nio? Filip ubekhet wrote: Hi, I would like to know, how I can refuse the connections when they are in the selector pool, just for waiting thread to manage

Re: Long freeze during tomcat start

2008-05-19 Thread Filip Hanik - Dev Lists
just do two thread dumps during the freeze kill -3 tomcat process id sleep 5 kill -3 tomcat process id the thread dump will identify where it is hanging, and it gets output to std.out, by default to catalina.out Filip Adam Hardy wrote: I've been trying to solve this problem for a couple of

Re: catalina.out file

2008-05-27 Thread Filip Hanik - Dev Lists
*http://tinyurl.com/6obbgk* http://tomcat.markmail.org/search/?q=cronolog%20catalina.out#query:cronolog%20catalina.out%20list%3Aorg.apache.tomcat.users+page:1+state:facets Kaushal Shriyan wrote: Hi My Catalina.out file is 20GB, How can i safely remove it and then create it again Thanks

Re: tomcat jmx and INFO: Port busy 8009 java.net.BindException: Address already in use

2008-05-27 Thread Filip Hanik - Dev Lists
you're not trying to configure a JMX connector, you're trying to configure an AJP connector as defined by Connector port=${AJP.PORT} protocol=AJP/1.3 / Filip sudip shrestha wrote: with tomcat 5.5.20 and mx4j-tools.jar at common/lib and the following setting: Connector port=${AJP.PORT}

Re: Tomcat Comet Question

2008-05-27 Thread Filip Hanik - Dev Lists
try the simplest thing first, upgrade to 6.0.16, in terms of your config, you have tcnative-1.dll in your PATH, but you haven't configured the APR connector, you have configured NIO (which works for comet) and the regular blocking (which doesn't work for comet) Filip Adam Kaupisch wrote:

Re: Server push with Tomcat 6/Comet

2008-05-29 Thread Filip Hanik - Dev Lists
Sierk Schmittner wrote: Hi, I want to implement a server push mechanismus with Tomcat 6/Comet. The use case is that a javascript client sends an AJAX request to the server. The server is performing some internal asynchronous tasks (in seperate threads). The result of these tasks should be

Re: Tomcat 6 clustering

2008-05-29 Thread Filip Hanik - Dev Lists
you'd need to define Context className=org.apache.catalina.ha.context.ReplicatedContext ... for each context that you want that to happen Filip gangadhar p wrote: Hi guys, I am configuring Tomcat 6 clustering to have more than one instance access to each others ServletContext attributes.

Re: Server push with Tomcat 6/Comet

2008-05-30 Thread Filip Hanik - Dev Lists
Sierk Schmittner wrote: Hi, I am using a Comet-based servlet and I'm facing two problems: - When I write the data to the response's outputstream and call the flush method, the data is only send to the client when there is a minimum amount of bytes written on the outputstream. Is it

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
what does your log say? Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext, right ?) attributes are replicated across cluster members when the below element is added in either

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
managerClassName=org.apache.catalina.cluster.session.DeltaManager ? Or org.apache.catalina.session.PersistentReplicationManager is required to be set? Do you want to see my server.xml files and code? Thank you again. Filip Hanik - Dev Lists wrote: what does your log say? Filip gangadhar p

Re: Is Transfer-Encoding: chunked required for Comet?

2008-06-02 Thread Filip Hanik - Dev Lists
nope its not, if all you want to achieve is a long-poll (meaning you want to send the response async to the client, then you can use a content-length Filip Adam Kaupisch wrote: No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.4/1477 -

Re: Tomcat 6 clustering problem

2008-06-02 Thread Filip Hanik - Dev Lists
* attributes are replicated/shared across other cluster members? Context className=org.apache.catalina.ha.context.ReplicatedContext/ Thanks again. On 6/2/08, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: what do your logs say? gangadhar p wrote: Hi Filip, Thanks for your prompt

Re: Servlet + Corba Error - Access to the specified resource () has been forbidden.

2008-06-03 Thread Filip Hanik - Dev Lists
its really a corba questions, search in those forums http://java.sun.com/j2se/1.4.2/docs/api/org/omg/CORBA/LocalObject.html Filip Antonio González Artime wrote: Hello everybody: I'm trying to develop a simple application that uses a servlet and calls a Corba function; very similar to this

Re: Problem with FarmWarDeployer

2008-06-09 Thread Filip Hanik - Dev Lists
no work has been done on the farm deployer, and I can't say it has been working reliably in 5.5 and 6.0 work and patches are welcome Filip Vicente Tarín Font wrote: Hi guys! I have a little problem with the FarmWarDeployer. Im using Tomcat 6.0.16 (win32), and I have 2 instances on the same

Re: OutOfMemoryError while deploying

2008-06-10 Thread Filip Hanik - Dev Lists
could you be running into http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6280693 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6332094 so an upgrade to the JVM might fix it Filip Reid Swanson wrote: Hi, I have a web app that includes a large amount of data and I am having trouble

Re: Tomcat 6 clustering problem

2008-06-10 Thread Filip Hanik - Dev Lists
worked fine for me, here are my config files and example JSP files http://people.apache.org/~fhanik/replicated-context-example.zip Filip gangadhar p wrote: Hi Guys, The Tomcat 6 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html) says that the Context (ServletContext,

Re: Tomcat problems with large number of contexts in webapps

2008-06-13 Thread Filip Hanik - Dev Lists
if you use a more recent JDK, then the OutOfMemoryError should have an additional message, depending on what this message is, you'll need to apply different tuning parameters. so if you share the message with us, we can maybe help you, if your OOME doesn't have a message, upgrade your JDK and

Re: Tomcat to syslog

2008-06-13 Thread Filip Hanik - Dev Lists
you already posted this once Chris Pratt wrote: Hi all, Have a vanilla tomcat coherence instance logging to local files-- CATALINA_BASE/logs and CACHE/logs. I am implementing a central logserver and want to get these into the syslog. I tried: tail -f [file log] | logger -p local#.info but

Re: Any users with centralized logging?

2008-06-13 Thread Filip Hanik - Dev Lists
it would probably be easier to write a custom logger for the tomcat logger, that sends the entire message, as it is to where you want it Filip Chris Pratt wrote: Hi all, Have a vanilla tomcat coherence instance logging to local files-- CATALINA_BASE/logs and CACHE/logs. I am implementing a

Re: allow access without auth to app from several ip ranges , but leave auth from any other hosts

2008-06-13 Thread Filip Hanik - Dev Lists
hi Alex, that is an interesting use case. I don't think there is away to do this without doing some customization to the tomcat code base, such as implementing your own realm Filip Alex Mestiashvili wrote: HI ALL . I have basic authentication for my tomcat application . Now I want , allow

Re: Tomcat cluster problem - null pointer exeptions - bad members

2008-06-24 Thread Filip Hanik - Dev Lists
you should add the TcpFailureDetector interceptor into the stack, as well as the async interceptor Interceptor className=org.apache.catalina.tribes.group.interceptors.TcpFailureDetector/ Interceptor

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Filip Hanik - Dev Lists
what version of tomcat 6 are you using? Filip Milan Cvejic wrote: Hello, i am getting null pointer exceptions when i add the following line in server.xml Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt; /

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-26 Thread Filip Hanik - Dev Lists
is that if filter parameter is empty for example: Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter= / i don't get any exceptions. In any other case null pointer exceptions occur. Filip Hanik - Dev Lists wrote: it happens on the line ReplicationValve.java 348 : Manager

Re: Enabling APR

2008-06-26 Thread Filip Hanik - Dev Lists
you can also do this by setting -Djava.library.path=/usr/local/apr/lib Filip Philip Wigg wrote: Fixed - Had to add:- export LD_LIBRARY_PATH=/usr/local/apr/lib to my startup.sh. 2008/6/26 Philip Wigg [EMAIL PROTECTED]: Hi, I believe I've enabled APR on my Tomcat installation. I can

Re: java.net.SocketException: Broken pipe?

2008-06-26 Thread Filip Hanik - Dev Lists
this would be the web server shutting down the connection, if you are using mod_jk, look at your mod_jk logs (or post them) together with your workers.properties settings Filip Milan Cvejic wrote: Hello, i am getting weird warning... this is a part from log file... This warning is happening

Re: reading POST body fails on 6.0.16, works on 6.0.14

2008-06-26 Thread Filip Hanik - Dev Lists
yes, its a bug, and will be fixed in 6.0.17, I think its bug 44494 https://issues.apache.org/bugzilla/show_bug.cgi?id=44494 Filip John Cartwright wrote: Hello All, I have a very simple doPost method that reads the body of a POST request. Seems to work fine on 6.0.14 but consistently fails

Re: NIO/Large-scale pushes to browsers/Jetty 6 Continuations

2008-06-26 Thread Filip Hanik - Dev Lists
Ken Bowen wrote: Hi All, I'm working on a project which has developed a need to push data from the server to browsers. In the short term, the numbers of browsers will be moderate, but in the long term, it appears that we will need to scale up to very large numbers, so the 'one thread per

Re: Tomcat 6 CometProcessor interface

2008-07-01 Thread Filip Hanik - Dev Lists
Ken Bowen wrote: This is a follow up on using Tomcat 6 and the CometProcessor interface: A. From Kris Zyp's post on [http://cometdaily.com/2007/12/10/comet-gazing-scaling/ ], with the Tomcat CometProcessor, connections and threads are decoupled, so that the number of connections

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-01 Thread Filip Hanik - Dev Lists
if you are using keep alive connections, (Tomcat default config) then once a request is done, the system goes into reading the next request, and that is done by calling parseRequestLine, so this is not a bottleneck, but expected behavior. if you switch to the NIO connector, that doesn't do

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-02 Thread Filip Hanik - Dev Lists
these method calls finish. It can last 10 minutes before Tomcat is able to serve new requests. When Tomcat starts to respond again, we can clearly see that some http threads returned to their waiting state. Thank you. Christophe. - Original Message - From: Filip Hanik - Dev Lists [EMAIL

Re: OutOfMemoryError happening in embedded instance of Tomcat 6 (Apache OFBiz project)

2008-07-07 Thread Filip Hanik - Dev Lists
just use the -XX:+HeapDumpOnOutOfMemoryError and see what is causing the OOME Filip Jacopo Cappellato wrote: Hi all, I am one of the committers and PMC member of the Apache OFBiz project (ofbiz.apache.org). Our project is using an embedded instance of Tomcat to run the web applications

Re: Where is org.apache.webapp.balancer.rules.RoundRobinRule ??

2008-07-09 Thread Filip Hanik - Dev Lists
Shepherd, Mathew (IST) wrote: Thankyou! And for your prompt reply. Now to get it working... why would you want to use the tomcat-balancer app? if you are looking for load balancing, this is not really the route to take. take a look at mod_jk or mod_proxy_balancer used with httpd Filip

Re: CacheEventQueue.QProcessor Thread --Problem with JCS

2008-07-10 Thread Filip Hanik - Dev Lists
you might have more luck if you post to the JCS mailing list :) Filip Raghavendra Kumar Naik wrote: Hi Myself Raghu, is implementing the JCS for one of my projects.Here I use the concept of RemoteCacheServer and RemoteCacheClient. When I populate some 1 lakh objects from the client it

Re: tomcat 5.5.20 with jsvc crash

2008-07-10 Thread Filip Hanik - Dev Lists
are you seeing any errors reported in the tomcat log files? also make sure you didn't run into the linux oom-killer process, might have terminated your process to, this one would log into syslog Filip Umesh Kudtarkar wrote: Hi All, We are running Tomcat 5.5.20 on RHEL 4 with jsvc. After

Re: Version 6 Clustering problem

2008-07-10 Thread Filip Hanik - Dev Lists
try setting the |-Djava.net.preferIPv4Stack=true option for your tomcat launch Filip | János wrote: Hi, I am trying to establish a 3 member cluster on the same machine. Here is my server.xml copied from a sample I found on this list. ?xml version='1.0' encoding='utf-8'? Server port=8005

Re: Version 6 Clustering problem

2008-07-14 Thread Filip Hanik - Dev Lists
={27 24 -73 72 48 -6 70 32 -90 57 51 106 -94 -54 126 -52 }, payload={}, command={}, domain={}, ] Similarly on the other two nodes. What am I missing ?? Should I add the Context distributed=True / to the server.xml files ? Thanks ahead, János On Jul 10, 2008, at 6:03 PM, Filip Hanik - Dev

Re: Cluster session replication problems

2008-07-14 Thread Filip Hanik - Dev Lists
hi Georgiu, I just tested your configuration on tomcat 6.0.17 with JDK 1.5 with no problem. can you send the stack trace of the error you are seeing, thanks Filip georgiu marius wrote: Hi ! I'm working with a cluster application using Tomcat-6.0.14 and I want to make session replication

Re: Version 6 Clustering problem

2008-07-14 Thread Filip Hanik - Dev Lists
, Filip Hanik - Dev Lists wrote: write your own webapp, to make sure you actually replicate serializable data Filip János wrote: Hi Filip, I added it in the catalina.sh file on all three nodes and I am not seeing the error. I also disabled IP6 in Network Preferences. I added the distrubuted

Re: Closing a CometEvent in Tomcat 6.0.16

2008-07-16 Thread Filip Hanik - Dev Lists
the error 'Connection reset by peer' can happen to a regular servlet as well, and is not specific to Comet. you will need to handle any errors where clients disconnect (as they are allowed to) in your application, regardless if you write comet or regular servlets. for the error

Re: CometProcessor and DWR

2008-07-16 Thread Filip Hanik - Dev Lists
for your connector element you must have protocol=org.apache.coyote.http11.Http11NioProtocol or protocol=org.apache.coyote.http11.Http11AprProtocol (and the APR and tcnative libraries in your PATH/LD_LIBRARY_PATH) Filip Joe Walker wrote: Hi, It looks like servlet spec 3 is wy off. So

Re: CometProcessor and DWR

2008-07-17 Thread Filip Hanik - Dev Lists
event.close() when we're done. Everything appears to be working OK now. Many thanks, Joe. On Thu, Jul 17, 2008 at 2:34 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: what does your HTTP request look like, it would need to have a body for the READ event to be called. currently READ doesn't

Re: in need of concepts

2008-07-20 Thread Filip Hanik - Dev Lists
start out by taking some servlet tutorials, if you understand servlets and web application archives (WAR) then tomcat wont be confusing anymore. Filip Deepak Mishra wrote: hi, i am pretty new to tomcat. currently i have tomcat6 on ubuntu-linux. i have pursued some books on tomcat , but they

Re: clustering: session replication

2008-07-22 Thread Filip Hanik - Dev Lists
in tomcat 6, you configure it using logging.properties for example org.apache.catalina.ha.level=FINE org.apache.catalina.tribes.level=FINE Filip nch wrote: Sorry, I'm running 6.0.13. Does it work the same? - Original Message From: Peter Rossbach [EMAIL PROTECTED] To: Tomcat

[Fwd: Re: Tomcat throws UnsupportedOperationException when is starting]

2008-07-22 Thread Filip Hanik - Dev Lists
sending to tomcat-user list, Original Message Subject:Re: Tomcat throws UnsupportedOperationException when is starting Date: Tue, 22 Jul 2008 11:14:13 -0600 From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: [EMAIL PROTECTED] References: [EMAIL PROTECTED

Re: clustering: session replication

2008-07-22 Thread Filip Hanik - Dev Lists
also, post your configuration, to make sure you have it right (server.xml and context.xml) Filip nch wrote: Hello, again. Well, I'm asking about how to enable cluster logging because I'm running an apache/mod_jk balanced two node cluster (without sticky session). Whenever a request is being

Re: Setting up Comet on Tomcat 6

2008-07-30 Thread Filip Hanik - Dev Lists
does your servlet iimplement the CometProcessor interface? Filip Talal Rabaa wrote: Hello! I apologize if this question has been asked many times before. I've searched quite a bit for concrete answers on how to setup Comet but I'm having no luck. From what I understand, all that is needed

Re: HttpSessionListener session listener in tomcat cluster

2008-07-30 Thread Filip Hanik - Dev Lists
Madonesa sanjaya wrote: Hi, I have deployed my application on a clustered environment and used session created event to monitor the number of users login to each machine (Using SNMP MIB counters). But once a user is login to one machine counter gets updated in every machine. I believe this is

Re: Session replication problem in tomcat 6.0.14 (loadbalancing with Apache)

2008-07-30 Thread Filip Hanik - Dev Lists
this Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.tribes.membership.MemberImpl[tcp://d5-4232.xius.ltd:4002,d5-4232.xius.ltd,4002, alive=46858,id={-38 -119 -88 -15 -57 -62 77 116 -98 -70 -92 -50 45 -83

Re: Setting up Comet on Tomcat 6

2008-07-30 Thread Filip Hanik - Dev Lists
properly before I attempt to put any meat into this class. Anthony On 30/07/08 9:27 AM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: does your servlet iimplement the CometProcessor interface? Filip Talal Rabaa wrote: Hello! I apologize if this question has been asked many

Re: HttpSessionListener session listener in tomcat cluster

2008-07-31 Thread Filip Hanik - Dev Lists
, will it not cause problem if there is a load balancer at work? -- Pavan Kumar Singaraju On Wed, Jul 30, 2008 at 6:59 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Madonesa sanjaya wrote: Hi, I have deployed my application on a clustered environment and used session created

Re: Session replication problem in tomcat 6.0.14 (loadbalancing with Apache)

2008-07-31 Thread Filip Hanik - Dev Lists
in case if we want to avoid this exception, is there a way or should the exception be ignored?? -- Pavan Kumar Singaraju On Wed, Jul 30, 2008 at 7:00 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: this Jul 30, 2008 1:49:24 PM org.apache.catalina.ha.tcp.SimpleTcpCluster

Re: Setting up Comet on Tomcat 6

2008-07-31 Thread Filip Hanik - Dev Lists
(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, You must be using the APR or NIO connector to get the event method called.); } } -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 1:28 PM To: Tomcat Users List Subject: Re: Setting up Comet

Re: Tomcat 6 Cluster Woes

2008-08-05 Thread Filip Hanik - Dev Lists
have you by any chance deployed your apps in Host elements with a different name? Filip Zachariah Zachariah wrote: Hi, I am trying to set up a cluster of tomcat servers to serve up my dynamic content with session replication. Although failover seems to be working with each node aware of

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Filip Hanik - Dev Lists
suggestion(s) ? Thank's for the progress On 2/15/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: 1)Clustering need sticky_session=true and is only design for failover (see servlet spec). Not true for Tomcat, using replicationMode=pooled and waitForAck=true, you can do round robin

Re: Tomcat 5.5.15 Clustering ?

2006-02-15 Thread Filip Hanik - Dev Lists
David, you are all over the place. Slow down for a second. my guess is that one of your interfaces is not doing what you think it is doing. follow these simple steps 1. Make sure that your multicast is working 2. Stop all your tomcat processes 3. Make sure nothing else is broadcasting on the

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