Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-14 Thread Filip Hanik - Dev Lists
Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 5:05 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.16 configuration problem--THIRD RESEND What are you trying to accomplish with the tag? On 4/14/06, Filip Hanik - Dev Lists <[EMAIL PROTE

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-14 Thread Filip Hanik - Dev Lists
the error message. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 4:56 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.16 configuration problem--THIRD RESEND check your log files upon startup, your myapp.xml doesn't

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-14 Thread Filip Hanik - Dev Lists
maybe I should read the docs ;) yes, any container can have it, Filip Hanik - Dev Lists wrote: exactly, the realm element doesn't belong there, read up on the docs Scott Smith wrote: I am also doing Forms authentication...but I haven't got that far since the webapp doesn't

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-17 Thread Filip Hanik - Dev Lists
al Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Friday, April 14, 2006 6:58 PM To: Tomcat Users List Subject: Re: Tomcat 5.5.16 configuration problem--THIRD RESEND maybe I should read the docs ;) yes, any container can have it, Filip Hanik - Dev Lists wrote: exactl

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
who listens to port 80? Apache? if so, consult your apache docs. if Tomcat listens to port 80, then the webapps/ROOT/ is your root application "/" Filip [EMAIL PROTECTED] wrote: Hi, I'm running Ubuntu 5.10. I installed Tomcat 5.5.16. My webserver was going fine until I rebooted my computer

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
tomcat by default listens to port 8080, not 80, so if you just installed Tomcat, http://localhost:8080/ is the correct path Filip Jonathan Pare wrote: I didn't install apache, I just installed tomcat 5.5.16. So it's tomcat who's listening on port 80. But why the index.jsp file in the webapps/

Re: Directory listing... what happened ?

2006-04-17 Thread Filip Hanik - Dev Lists
just disable your apache server, on some linux that would be chkconfig --del httpd, what it is on your, I don't know, so read the docs :) Filip Jonathan Pare wrote: That's it ! Thaks a lot ! I changed the tomcat port back to 8080 and everything went back to normal. But then I remembered why

Re: IP Masking

2006-04-18 Thread Filip Hanik - Dev Lists
this is your own fault, http://www.siascend.com/index.html content="0;URL=http://84.40.31.164/Ascend/";> as you can see, you are redirecting the browser to the IP address, tomcat doesn't do that for you Filip Carl Crawford wrote: System: Tomcat 4.

[Fwd: RE: FW: Cant find User Account Lockout feature in Tomcat-5.5.12]

2006-04-19 Thread Filip Hanik - Dev Lists
pointers in the right direction will help, please do let me know to approach doing this. Thanks and I appreciate your quick response. Cheers Pawan -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: 19 April 2006 17:09 To: Tomcat Developers List Subject: R

Re: Typical memory usage of a empty vanilla tomcat 5.5 - no webapps.

2006-04-19 Thread Filip Hanik - Dev Lists
most of that is the IBM VM, plug in a profiler and you'll see that tomcat should be around 10MB or less Filip Abhi Karmos wrote: Hi, Is there some documentation on how much memory a typical Tomcat 5.5 installation takes (without any webapps - just the server overhead). It takes about 45 M

Re: Tomcat clustering session data

2006-04-20 Thread Filip Hanik - Dev Lists
In tomcat 6, maybe 5.5.x we will have a ReplicatedContext, meaning that the context attributes are replicated. So you can store data in the ServletContext and it will be available on the other nodes. In your situation right now, you can use the Tomcat "Tribes" module for communicating between

Re: Tomcat clustering session data

2006-04-21 Thread Filip Hanik - Dev Lists
mbers(),myMsg,0); Filip Len Popp wrote: I'm starting to look at a similar problem. Where can I find info about the Tomcat Tribes module? -- Len On 4/20/06, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote: In tomcat 6, maybe 5.5.x we will have a ReplicatedContext, meaning that the co

Re: multiple axis webapps

2006-04-25 Thread Filip Hanik - Dev Lists
my guess is that there was an error when /newapp started up, hence it never got deployed. Check the logs Filip Rajarshi Guha wrote: Hi, I'm not sure if this is a Tomcat problem or something to do with AXIS. If the latter apologies for posting it here. I have a Tomcat server that is providing

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Filip Hanik - Dev Lists
could you post the stack trace you get from the NPE Leon Rosenberg wrote: Hi, I'm still in process of migrating my application from 5.0 to 5.5. One of the still open issues is the shutdown behaviour of the tomcat. Right now I see very strange exceptions in the log file after I call shutdown.sh

Re: tomcat 5.5.16 does strange things with my log4j?

2006-04-26 Thread Filip Hanik - Dev Lists
this is interesting, can you supply a simple test case, cause somewhere the variable "log" must be set to null Filip Leon Rosenberg wrote: ok, I changed the code a bit: if (log==null) System.out.println("LOG IS NULL!!!");

Re: logging all URL requests

2006-04-26 Thread Filip Hanik - Dev Lists
configure the AccessLogValve http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html Filip D Law wrote: How can I log all the URL requests made to Tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: No Class def found error

2006-05-01 Thread Filip Hanik - Dev Lists
make sure that the valve classes are under server/lib or server/classes instead of common/lib or common/classes Abhishek Goel wrote: Hi , I am using tomcat 5.5.17 along with jdk 1.5. I am trying to define a Single sign on agent valve by using the following tag

Re: No Class def found error

2006-05-01 Thread Filip Hanik - Dev Lists
make sure that the valve classes are under server/lib or server/classes instead of common/lib or common/classes Abhishek Goel wrote: Hi , I am using tomcat 5.5.17 along with jdk 1.5. I am trying to define a Single sign on agent valve by using the following tag

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
try running a different VM, like the Sun VM, this could be a bug in the VM you are running. Filip Edoardo Panfili wrote: Edoardo Panfili wrote: Marc Farrow wrote: there is somethings wrog in my develope/deploy/me system. I'll begin from scratch. After a fresh installation the problem is still

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0) my guess is that you forgot to do this export PATH=$JAVA_HOME/bin:$PATH in catalina.sh Filip Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: try running a

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
very little about OS-X, but that is where I would recommend you to start looking Filip Edoardo Panfili wrote: Edoardo Panfili wrote: Filip Hanik - Dev Lists wrote: if you are running the Sun VM, why is this in your stack trace? at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)

Re: Exception while expanding web application archive SeasonAdminTool.war

2006-05-02 Thread Filip Hanik - Dev Lists
check your log files first, then post the results here Kenneth Litwak wrote: Any suggestions how to solve this exception? I wasn't having a problem deploying and undeploying and then boom WARNING: Exception while expanding web application archive SeasonAdminTool.war Started showing up. What

Re: Exception while expanding web application archive SeasonAdminTool.war

2006-05-02 Thread Filip Hanik - Dev Lists
java.util.jar.JarFile.(JarFile.java:92) at org.apache.catalina.manager.ManagerServlet.extractXml(ManagerServlet.jav a:1509) -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 10:10 AM To: Tomcat Users List Subject: Re: Exception while

Re: Allow web access to /WEB-INF?

2006-05-03 Thread Filip Hanik - Dev Lists
why don't you just workaround it and move the files you need accessed outside the WEB-INF directory, Dong, Roland wrote: Is there a way to have web access to /WEB-INF? I want to have this capability to access a directory under /WEB-INF by URL. Is there a way to configure that? I understand th

Re: Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-03 Thread Filip Hanik - Dev Lists
if you want to be able to reload it, I suggest that you load it using a FileInputstream, and not getResourceAsStream from the class loader. if you load it through the class loader, the class loader doesn't reload it until restart. Filip Chris Ward wrote: Hi all, I've build a little util clas

Re: Limiting the number of connection threads per application

2006-05-05 Thread Filip Hanik - Dev Lists
create a filter Ken Dombeck wrote: We have 2 applications installed inside the same Tomcat 5.0 instance app1 and app2. URL app1.url.com is for app1 and app2.url.com is for app2. Both URLs have the same ip address but still hit port 80. The maxThreads for the connector is set to 100. The probl

Re: Session last-access/lifetime clustered versus non

2006-05-08 Thread Filip Hanik - Dev Lists
yes, I believe peter just fixed this, here is the SVN commit log, let me know if this fixes it for you. Filip Author: pero Date: Wed May 3 10:16:15 2006 New Revision: 399358 URL: http://svn.apache.org/viewcvs?rev=399358&view=rev Log: Session timeout much shorter than setting at web.xml at clu

Re: Intercepting Context exceptions

2006-05-09 Thread Filip Hanik - Dev Lists
you have several options 1. implement a Valve that catches all exceptions and logs them 2. implement a filter (this will only catch within the application) 3. custom error page, and log the exception from there Edoardo Causarano wrote: Hello list, I'm managing some legacy web apps, some jsp

Re: classloader problem

2006-05-09 Thread Filip Hanik - Dev Lists
Hi A Srivani, I this is not a problem with tomcat, instead it is a problem with your deployment. You are putting commons-discovery.jar, and this JAR file is storing a reference to the webapp classloader. When the app is reloaded, the old webapp classloader gets invalidated, and a new one is cre

Re: Ant deploy task and cluster-wide (farm) deployment

2006-05-21 Thread Filip Hanik - Dev Lists
yes, farm deployment is triggered by simplying copying a WAR into the "watch" directory, with ant that would be using the copy task Filip Tim Lucia wrote: Is it possible to deploy to a cluster using the deploy task? (i.e., can it be done using /manager/html?) I think not (I can't find any wa

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Filip Hanik - Dev Lists
what does line ClusterAppSessionListener.java:47 do? can you send us a test case, could be possible that the context classloader isn't set, hence the loading is failing. java.lang.ClassCastException: com.package1.subpackage1.GW at common.listeners.ClusterAppSessionListener.printSessionIn

Re: ClassCastException on cluster deserialization

2006-05-21 Thread Filip Hanik - Dev Lists
Hi Jean-Christophe, can you try out this JAR, it sets the context class loader upon attribute realization. http://people.apache.org/~fhanik/catalina-cluster.jar filip Jean-Christophe Praud wrote: Hi all, I'm setting up a Tomcat cluster on two servers, and I keep getting a ClassCastException

Re: Ant deploy task and cluster-wide (farm) deployment

2006-05-21 Thread Filip Hanik - Dev Lists
it. At least with the manager application, when control returns to ant, the app is definitely (and reliably) undeployed. Tim -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Sunday, May 21, 2006 7:55 AM To: Tomcat Users List Subject: Re: Ant deploy task a

Re: Ant deploy task and cluster-wide (farm) deployment

2006-05-22 Thread Filip Hanik - Dev Lists
ucia wrote: Having re-read this, perhaps you meant to suggest that I make my master tomcat on the windows (build) box? Then I could deploy locally, and have it update the slaves. And only the slaves would have AJP connections set up from httpd? Tim -Original Message- From: Filip Hanik -

Re: ClassCastException when forwarding wrapped HttpServletRequest

2006-05-22 Thread Filip Hanik - Dev Lists
I remember seeing the spec that you can't do this, you have to provide a ServletRequestWrapper implementation Filip Yuri de Wit wrote: I am not sure I should have posted this question to the dev mailing list, let me know if that should be the case. I am using Tomcat 5.5.16. I have a series

Re: JDBC Pool - one instance per web application or one instance per Tomcat server (Tomcat 5.5)

2006-05-22 Thread Filip Hanik - Dev Lists
depends on how you define it, you can define a global pool in GlobalResources (server.xml) or define the entire pool in your context Filip Edmon Begoli wrote: We define the JDBC connection settings in the context.xml file under /conf We run four applications on this server. My question is:

Re: converting tomcat container from http to https

2006-05-22 Thread Filip Hanik - Dev Lists
make sure all your old tomcat processes are stopped, keyur sheth wrote: Hi everybody, Previously I had sent mail regarding this topic. The problem is after making necessary changes I am not able to start tomcat with https. Some message I sent previously is as follows:-

Re: Class loading question

2006-05-22 Thread Filip Hanik - Dev Lists
interesting, are you saying that the handle is not closed when you call stream.close()? Peter Crowther wrote: From: Black Buddha [mailto:[EMAIL PROTECTED] even after I've stopped the webapp Tomcat still holds an open file handle to the generated library files Welcome to a JVM bug. The

Re: Class loading question

2006-05-22 Thread Filip Hanik - Dev Lists
its not a good solution, as a VM tuning parameter is -XX:DisableExplicitGC or something like that. vineesh kumar wrote: Dear Peter, > - Ensure a garbage collection before the files need to be deleted - can > be difficult, as System.GC() is only a hint (as I found out when I ran > into this

Re: Is Tomcat Server for free?

2006-05-23 Thread Filip Hanik - Dev Lists
Tomcat is free, you don't need to buy anything to use it, install it, distribute it, do whatever you want with it. You can read the license, its very generous. You can get free support on these mailing lists, or you can buy commercial support as well. Filip [EMAIL PROTECTED] wrote: Hi

Re: Class loading question

2006-05-23 Thread Filip Hanik - Dev Lists
n GC it and have it let go of the handle to the jar file? Alternatively, a cleaner way of fetching the class bytes without opening a stream into the jar file? Thanks, Femi. On 5/23/06, Peter Crowther <[EMAIL PROTECTED]> wrote: > From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTEC

Re: load balancer

2006-05-25 Thread Filip Hanik - Dev Lists
that, or even a load balancing appliance, those tend to be extremely scalable. this one used to be free, you could download an image and create any box to be a LB http://www.loadbalancer.org/products.html Filip David Durham wrote: From the docs [1], it's slightly unclear to me what the l

Re: HOWTO remove username/password from logging to tomcat logs

2006-05-26 Thread Filip Hanik - Dev Lists
this is JK/AJP connector, and it sucks, cause you can't remove it. later versions of tomcat its only logging this under debug. Filip Terry Orechia wrote: How do I control the logging of username/password in tomcat logs when a user logs into the tomcat website. There are no logging statement

Re: How do I configure Tomcast HTTP server to generate working links for French file names in Tomcat Directory Listing?

2006-05-26 Thread Filip Hanik - Dev Lists
you can create a filter that does response.setContentType("UTF-8") or whatever encoding you need filip Ramez Ghazzaoui wrote: Hi, I have exposed a specific Windows file system folder on my Tomcat HTTP 5.5.9 server box's local hard drive so I can access files in that folder remotely. For sim

Re: [OT] Performance of AtomicLong

2006-05-28 Thread Filip Hanik - Dev Lists
yes, compared to using synchronized, this is a huge improvement Leon Rosenberg wrote: Hi, have someone made some actual measures on performance of atomiclong compared to old-style synchronization? Sun stats (http://java.sun.com/developer/technicalArticles/J2SE/concurrency/) that Atomics are f

Re: Farm Deployer looping

2006-06-01 Thread Filip Hanik - Dev Lists
Can you provide more information around your problem. There was a big change in the farm deployer between 5.0 and 5.5, and I am no longer sure on how it works, but I am more than happy to work through your issues with you. Filip Edoardo Causarano wrote: Hello list, I have a 3 node farm testb

Re: Query Regarding Clustering

2006-06-02 Thread Filip Hanik - Dev Lists
Peter is correct, first read the docs, then you'll know more and have more info to ask the right questions Filip Sandeep Gaikwad wrote: I had done through vertical clustering on Single Machine. Can you suggest me changes required for horizontal clustering across Two machine? -Original Me

Re: Farm Deployer looping

2006-06-02 Thread Filip Hanik - Dev Lists
Hi Ed, no you are right, the appBase was a change from 5.0 to 5.5, that requirement used to be the opposite. You can have a cluster and a farm deployer for each if you wish. Just configure it on a per host basis Filip Edoardo Causarano wrote: Got it, I was too pedantic in following the docum

Re: error when starting tomcat 4.1.27

2006-06-02 Thread Filip Hanik - Dev Lists
the user that the tomcat VM runs as, needs to have write permissions to the following file mentioned below Filip bhavik shah wrote: Hi I have tomcat 4.1.27 server. when ever i start the tomcat i saw a message below Starting service Tomcat-Standalone Apache Tomcat/4.1.27 Documentum Java Me

Re: any way to share objects between non-clustered tomcat instances ?

2006-06-05 Thread Filip Hanik - Dev Lists
sure, you can implement your own little app on top of a messaging framework, I would recommend using Tribes, http://people.apache.org/~fhanik/tribes/docs/introduction.html Filip Tomimitsu Masaru wrote: Hello all, Maybe this has already been discussed, but I dare ask you the question : are th

Re: Webapp Reload

2006-06-07 Thread Filip Hanik - Dev Lists
My guess is that your session attributes do not implement java.io.Serializable if they don't tomcat can not store them for a restart or reload Filip Asensio, Rodrigo wrote: Hello, We have a call center webapp with 100 simultaneous sessions all time ( 24/7 ). This webapp has several s

Re: Webapp Reload

2006-06-07 Thread Filip Hanik - Dev Lists
: Things brings up an interesting point. How do you make the standard tomcat session attributes Serializable? Because, I currently am using a security constraint against an LDAP server. However, every time I redeploy the application the session is lost. On 6/7/06, Filip Hanik - Dev Lists

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
you can also make your own life very easy, by switching to mod_proxy, and voila, everything works :) Filip Mann, Bradley wrote: Hello, I am attempting to setup a scenario in which Tomcat is hosting a web application behind HTTPD using the Jakarta Connector. I have installed the following on

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
orporation / GCSD (321) 984-6292 -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 4:45 PM To: Tomcat Users List Subject: Re: HTTPD with Tomcat you can also make your own life very easy, by switching to mod_proxy, and voila, everyt

Re: Way to debug ports Tomcat is listening on?

2006-06-08 Thread Filip Hanik - Dev Lists
Not that it answers your question, but if you are using >And my VirtualHost setting has the "JkMount / p1" and JkMount /* p1 then y Then you are much better off using mod_proxy ProxyPass / http://w1:8080/ ProxyPassReserve / http://w1:8080/ ProxyPassPreserveHost On less head aches, less time spen

Re: Restricting access to localhost for an HTTP connector

2006-06-08 Thread Filip Hanik - Dev Lists
yes, you can bind the connector the 127.0.0.1, meaning it will only listen on that address use the "address" attribute in the connector http://tomcat.apache.org/tomcat-5.5-doc/config/http.html Mark Claassen wrote: Is there to configure an HTTP Connector to only allow connections from loca

Re: Database Persistance And Session Replication

2006-06-12 Thread Filip Hanik - Dev Lists
unfortunately you can't do both, its either or Filip David Ron wrote: Hey everybody,     I would like to configure Tomcat for both session replication across  > 3 servers and database session persistence.  The database persistence lags several seconds which is why I don't think that

Tomcat5, Apache, mod_jk, and SSL

2006-06-13 Thread Stephen A. Cochran Lists
Looks like this is a common subject, but I haven't seen anyone talking about actually passing the SSL env variables to Tomcat. Here's my setup: httpd 2.0.x Tomcat 5.5.x mod_jk Both Tomcat and Apache work over SSL when accessed directly (443, and 8443 respect

Re: Problem clustering with multiple nodes

2006-06-13 Thread Filip Hanik - Dev Lists
How do you "go to another server"? are you using a load balancer? ie, is your session cookie passed correctly when you switch server. Filip Troy Davidson wrote: I am trying to get a horizontal and vertical cluster working. There are three servers with two instances on Tomcat on each one. Th

Re: Tomcat Service on Windows.

2006-06-13 Thread Filip Hanik - Dev Lists
you're better off using a different wrapper than the one that comes with Tomcat, this one allows for thread dumps and more customizations http://people.apache.org/~fhanik/wrapper.html In the wrapper.conf file you can change the name for your NT service Gohil, Jayesh wrote: Hi, Can anyone tel

Re: Tomcat Service on Windows.

2006-06-13 Thread Filip Hanik - Dev Lists
service.As by default it uses local sysytem account , but I want it to use My Doamin login account... -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 14, 2006 10:19 AM To: Tomcat Users List Subject: Re: Tomcat Service on Windows. you&#x

Re: downloaded JK binaries for Linux - which to use? workers or prefork?

2006-06-14 Thread Filip Hanik - Dev Lists
Prefork: http://httpd.apache.org/docs/2.0/mod/prefork.html Worker: http://httpd.apache.org/docs/2.0/mod/worker.html Kim Albee wrote: yes -- but what is the difference? i'm running Fedora Core 3 on a single processor Linux box, running Apache 2.x what does prefork mean? vs. worker? thanks,

Re: Tomcat Clustering SSH

2006-10-23 Thread Filip Hanik - Dev Lists
http://www.harding.motd.ca/autossh/ Filip Massimiliano Berruti wrote: You're perfectly right...the problem is we must do this because this is a sample application we're developping for our university and they asked to use ssh tunnel or something else to secure connection in the cluster... Thanx

Re: HttpSessionListener with session replication (cluster)

2006-10-23 Thread Filip Hanik - Dev Lists
ession replication payload as those ACL lists can be pretty big). But we have to remove those cached ACLs when the HttpSession times out, using a HttpSessionListener. In a Servlet Container cluster, the ACLs would be computed and cached on each node on the fly, but also have to be flushed out of

Re: Replication warning with tomcat cluster FastAsyncSockerSender

2006-10-23 Thread Filip Hanik - Dev Lists
connection refused, simple the Tomcat instance is unable to open a connection to the other instance to send the replication data. your systems will continue to function, but if you fail over that other node might not have your data. You'll want to find out why it is failing to open a connection,

Re: Tomcat 5.5.17 SSL

2006-12-13 Thread Filip Hanik - Dev Lists
yes, you can create a self signed/self generated certificate, will work just like production, except browser pop up a little warning. but the SSL part works the same, see the tomcat SSL docs on how to generate the cert yourself Filip Scott Purcell wrote: I am running a instance of Tomcat in w

Re: Forcing a sync when a cluster member reconnects

2006-12-13 Thread Filip Hanik - Dev Lists
there isn't a way to configure the sync that you are mentioning. In tomcat 6, we want to add versioned sessions, hence it would autosync when needed Filip Eric Demorsy wrote: Hi, I have configured a cluster of 2 tomcat servers and session sync is working fine, except for one point: if I unp

Re: Tomcat clustering broken - Unable to send message through cluster sender

2007-01-04 Thread Filip Hanik - Dev Lists
In TC 5.x.x message senders are removed when a multicast heartbeat is missed. so if your sender is null, then most likely your multicasting has a few hickups. in TC6 there is a safeguard against multicast failures using the TCP failure detector. Filip Spurlock, Robert J wrote: All, We've h

Re: Tomcat 6.0 vs Tomcat 5.5 Clustering Changes

2007-01-04 Thread Filip Hanik - Dev Lists
Mainly its been refactored, farming as in 5.5 is still pretty broken and hasn't been worked on. What has been worked on is the separation of session replication vs cluster/group communication. These are two separate packages now o.a.catalina.tribes (group com, simple overview at http://people.ap

Re: Moving Tomcat

2007-01-04 Thread Filip Hanik - Dev Lists
you can also install Tomcat from the .tar.gz (on apache's website), that creates a location independent layout for you Filip Steve Ingraham wrote: I have a website running with jakarta-tomcat-5.5.9. The server this website resides on is going to have to be rebuilt so I am needing to move every

Re: strange tomcat 5.5 problem/session handling?

2007-01-04 Thread Filip Hanik - Dev Lists
On the tomcat side, you can enable the RequestDumperValve to see what is going on, on the browser side use Firefox with a little plugin called LiveHttpHeaders, lets you see all the traffic going back and forward Filip Stefan Kuhn wrote: Hi all, I have got a rather strange problem with am appl

Re: how to configure tomcat for Turkey?

2007-01-04 Thread Filip Hanik - Dev Lists
it's your "," character. you need to use the java.text.DecimalFormat class Filip Dharma General wrote: hello, (1) i want my JSP application to run with Turkey locale. how should i configure apache Tomcat 5.x for Turkey? (2) at present, i want to find out about an error message --- java.lang.N

Re: how to configure tomcat for Turkey?

2007-01-05 Thread Filip Hanik - Dev Lists
lip Dharma General wrote: filip, thanks. but turkey locale uses "," to denote decimal vs "." in USA. for further testing, plz tell me what changes i need to make to tomcat to use turkey locale so that i can test my app in usa? On 1/4/07, Filip Hanik - Dev Lists <[EMAIL PROTEC

Re: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-10 Thread Filip Hanik - Dev Lists
to achieve what you want, although slower, you can create a filter, and in that filter simply set all the attributes again Enumeration e = session.getAttributeNames(); while ( e.hasNext() ) { String name = e.next(); Object value = session.getAttribute(name); if ( value != null ) session.setAt

Re: the best method to secure Apache/tomcat communication

2007-01-10 Thread Filip Hanik - Dev Lists
take a look at autoSSH http://www.harding.motd.ca/autossh/ Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lmk, lmk wrote: I have a question concerning the use of Apache server in front of tomcat, at the present time, we use tomcat 4, AJP, apache 2.2 and mod

Re: Tomcat 6 Clustering with StaticMembers

2007-01-16 Thread Filip Hanik - Dev Lists
on the servers that is running tomcat you need to match with so for the member that listens to 51077, you need to configure the port="51077" also to avoid conflict, you might want to turn on the membership, which I think I forgot to add in a flag for, I'll do that right now. Filip Mike Pr

Re: AW: Tomcat 5.5 Cluster: Session Replication before sending the response

2007-01-16 Thread Filip Hanik - Dev Lists
--Ursprüngliche Nachricht- Von: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. Januar 2007 16:52 An: Tomcat Users List Betreff: Re: Tomcat 5.5 Cluster: Session Replication before sending the response to achieve what you want, although slower, you can create a filt

Re: Sessionid duplication

2007-01-17 Thread Filip Hanik - Dev Lists
while there is a risk for duplicate sessions being generated, we believe it to be very very small. What you can do is set jvmRoute in the element to be unique for each one, that makes it less likely to be duplicate. Or you can come up with a better random algorithm, take a look at org.apache.ca

Re: Tomcat memory usage.

2007-01-17 Thread Filip Hanik - Dev Lists
the 1GB limit is OS specific, on Solaris for example, and a 32bit VM we had the limit of -Xmx1850m on a 64bit VM the limitation should be non existent Filip Stephen Caine wrote: Ayusman, I have a OS X server, running Tomcat 5.0.19. There are already three applications running but I will need

Re: mod_jk: mounting tomcat instances to subdirectories

2007-01-17 Thread Filip Hanik - Dev Lists
mod_proxy will do this in one line ProxyPass /1/myapp http://tomcat1:8080/myapp ProxyPass /2/myapp http://tomcat2:8080/myapp ProxyPass /3/myapp http://tomcat3:8080/myapp makes life easy Filip Ortwin Glück wrote: Hi, I have 3 Tomcat instances, each running a different version of the same a

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 acc

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 these should be defined before your static membership interceptor. you might also want to add in TCP ping interceptor, before both of the above one className="org.apach

Re: Tomcat 6.0 Clustering

2008-06-24 Thread Filip Hanik - Dev Lists
Shamshad, the tomcat clustering docs are in place for session replication, you may not need that. What you may need is a load balancer in front of Tomcat, so if one tomcat goes down, traffic gets redirected to another. this can be accomplished with an appliance like netscaler, f5 bigip, etc.

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 filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt;" /> if i remove that line everything is working fine... but lo

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Filip Hanik - Dev Lists
update 4. Any suggestions ? Thanks. Filip Hanik - Dev Lists wrote: 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 filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-26 Thread Filip Hanik - Dev Lists
at if filter parameter is empty for example: 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 manager = request.getContext().ge

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 a

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 o

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 t

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 conn

Re: Apache with MaxClients > maxThreads possible?

2008-06-28 Thread Filip Hanik - Dev Lists
use JkOptions +DisableReuse on the httpd/mod_jk side, this turns off keep alives, even though it sounds slower, we often see a performance increase of the overall site, due to much lower resource usage, and not having to match MaxClients to maxThreads Filip Jukka Merinen wrote: Hi all, I ha

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 ca

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 block

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-02 Thread Filip Hanik - Dev Lists
tLine" and tomcat is not able to serve any more request until 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.

Re: [OT] Performance Requirements

2008-07-03 Thread Filip Hanik - Dev Lists
there is one criteria that I always use, and that is "user response time" this can work for almost any webapp that has some sort of "real" user in front of it. 50 to 100ms would be excellent and very aggressive, but it depends on the app itself of course. 2-3 seconds for a complete page load is

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 that

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 Che

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