Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
Edition. Version: 7.1.394 / Virus Database: 268.8.2/357 - Release Date: 6/6/2006 -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: HTTPD with Tomcat

2006-06-07 Thread Filip Hanik - Dev Lists
Corporation / 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, everything

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

2006-06-05 Thread Filip Hanik - Dev Lists
@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Query Regarding Clustering

2006-06-02 Thread Filip Hanik - Dev Lists
] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - To start a new topic, e-mail

Re: Farm Deployer looping

2006-06-02 Thread Filip Hanik - Dev Lists
ion: 7.1.394 / Virus Database: 268.8.0/353 - Release Date: 5/31/2006 -- Filip Hanik

Re: error when starting tomcat 4.1.27

2006-06-02 Thread Filip Hanik - Dev Lists
. Version: 7.1.394 / Virus Database: 268.8.1/354 - Release Date: 6/1/2006 -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Farm Deployer looping

2006-06-01 Thread Filip Hanik - Dev Lists
of this? e -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT] Performance of AtomicLong

2006-05-28 Thread Filip Hanik - Dev Lists
on. And this is still performant? regards Leon - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik

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

2006-05-26 Thread Filip Hanik - Dev Lists
input, Terry No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.7.1/347 - Release Date: 5/24/2006 -- Filip Hanik

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
] -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: load balancer

2006-05-25 Thread Filip Hanik - Dev Lists
: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Filip Hanik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

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
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 PROTECTED] interesting, are you saying that the handle is not closed when

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

2006-05-22 Thread Filip Hanik - Dev Lists
: 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 - Dev Lists

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 TOMCAT_ROOT/conf We run four applications on this server. My

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: 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 way

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

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

2006-05-21 Thread Filip Hanik - Dev Lists
(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 and cluster-wide (farm) deployment yes, farm deployment is triggered by simplying copying a WAR

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

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=399358view=rev Log: Session timeout much shorter than setting at web.xml at

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

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

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

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

Re: NoClassDefFoundError: javax/servlet/http/HttpServlet

2006-05-02 Thread Filip Hanik - Dev Lists
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
) at java.util.jar.JarFile.init(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

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 Host name=client.com

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 Host name=client.com

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

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

Re: Tomcat clustering session data

2006-04-21 Thread Filip Hanik - Dev Lists
(),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 context attributes

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

2006-04-19 Thread Filip Hanik - Dev Lists
will suffice. If you think few 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

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

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-17 Thread Filip Hanik - Dev Lists
: 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: exactly, the realm element

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

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

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-14 Thread Filip Hanik - Dev Lists
check your log files upon startup, your myapp.xml doesn't have a docBase attribute to associate it with the app itself. Context docBase=${catalina.home}/server/webapps/myapp path=/myapp. Scott Smith wrote: Sorry, I sent this so many times. Hopefully, I have all of the typos out of it this

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-14 Thread Filip Hanik - Dev Lists
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 realm tag? On 4/14/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote

Re: Tomcat 5.5.16 configuration problem--THIRD RESEND

2006-04-14 Thread Filip Hanik - Dev Lists
However, that didn't change 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

Re: Performance issue with Tomcat 5.0

2006-04-13 Thread Filip Hanik - Dev lists
you wanna support 700 concurrent connections on 150 threads? maxThreads==max number of concurrent connections but in your case, put in a profiler, and that will tell you very quickly what is causing the CPU spikes. Filip opensta wrote: One more Question :: for Tomcat config file these

Re: 5.5.16, Too many open files on startup

2006-04-13 Thread Filip Hanik - Dev lists
the question is if you're ulimit really is unlimited. there are a few settings, linux has 1024 for open files. [EMAIL PROTECTED] tomcat]$ ulimit unlimited [EMAIL PROTECTED] tomcat]$ ulimit -a core file size(blocks, -c) 0 data seg size (kbytes, -d) unlimited file size

Re: Tomcat 5.0 Datasource Realm and Cluster/load balance web servers

2006-04-10 Thread Filip Hanik - Dev Lists
the loadbalancer doesn't do replication, tomcat does. the principal (the object that your user info is stored in) is replicated across the different nodes in the cluster. Filip Manisha Sathe wrote: Thanks for the reply, Do you mean to say that not Tomcat but load balancer will do the

Re: how to control lifetime of JSessionID cookie in Tomcat 5.5

2006-04-04 Thread Filip Hanik - Dev Lists
that is correct, yahoo for example will not store anything on the server, they just store a cookie on the client. Filip Leon Rosenberg wrote: I think you mixing things up. The http session isn't designed to run forever. The session ends as soon as the user closes his browser. If you want to

Re: Tomcat Clusters, private network for replication, and Oracle 8i JDBC driver

2006-04-04 Thread Filip Hanik - Dev Lists
interesting, you might wanna play around with the route table and add some static routes for how you want your traffic to flow. Filip Tim Lucia wrote: I have a 3-node cluster, running on Linux. All 3 boxes are identical. Eth0 - A class B network address - The 'public' interface for web

Re: Tomcat Clusters, private network for replication, and Oracle 8i JDBC driver

2006-04-04 Thread Filip Hanik - Dev Lists
- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 04, 2006 3:49 PM To: Tomcat Users List Subject: Re: Tomcat Clusters, private network for replication, and Oracle 8i JDBC driver interesting, you might wanna play around with the route table and add some static

Re: thanks very much Filip

2006-03-31 Thread Filip Hanik - Dev Lists
googling, reading, trying to solve it. I really really appreciate your help. I could not find anything through google, or tomcat docs based on the info I had from tomcat logs. I was utterly lost until you prodded me(and that gave me some ideas). thanks, dean Filip Hanik - Dev Lists wrote: ok

Re: classCastException while deploying a web service using netbeans 5.0 and Tomcat 5.5.X

2006-03-31 Thread Filip Hanik - Dev Lists
my guess is that the class webservice.cedarWSImpl does NOT implement the servlet interface, yet you are trying to declare it as a servlet in web.xml Filip colin holloway wrote: I'm developing a web service to deploy on Tomcat 5.5.X using netbeans 5.0but i get a ClassCastException when i try

Re: FarmWarDeployer ROOT.war - / - How to?

2006-03-31 Thread Filip Hanik - Dev Lists
Tim Lucia Wrote: and a more recent post from Peter Rossbach saying that it SHOULD be the appBase. [http://marc.theaimsgroup.com/?l=tomcat-userm=113828526109819w=2] On Thursday 26 Jan 2006 11:33, Peter Rossbach wrote: Please, set the deployDir to your webapps dir. Peter ha ha,

Re: tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-30 Thread Filip Hanik - Dev Lists
Remy Maucherat wrote: On 3/30/06, Markus Schönhaber [EMAIL PROTECTED] wrote: The RuntimeException is to make it more noticeable in the logs. I mean 953 hits on googling is quite alot of people having trouble. Would be nice to cut that number down with an easy log statement that tomcat

Re: Tomcat cluster Questions

2006-03-30 Thread Filip Hanik - Dev Lists
talk to your operations team or sys admins, in conjunction you will come up with a solution that works for you. ie, you can deploy the webapp in a shared directory on the san, and have all tomcats read it from there, its up to you FM wrote: Hello everybody, Next month, we'll have 6 servers

Re: tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-29 Thread Filip Hanik - Dev Lists
here is the code, the StandardContext.java logs the error, its just a matter of finding how to get it to spew it out. Running a tomcat embedded will spit this sucker out, but running it within the tomcat catalina.sh swallows it. I will resolve this and let you know what happens to it. Filip

Re: tomcat 5.0 vs. 5.5? tomcat 5.5 has been bad!

2006-03-29 Thread Filip Hanik - Dev Lists
ok, that was fairly easy, the error gets logged to the TOMCAT_HOME/logs/localhost.2006-03-29.log this is on the default install, no loggers modified so are you still having a problem? Mar 29, 2006 9:12:47 AM org.apache.catalina.core.ApplicationContext log INFO:

Re: NoClassDefFoundError in SystemLogHandler during Bootstrap in binary version

2006-03-28 Thread Filip Hanik - Dev Lists
Classpath: /usr/local/apache-tomcat-5.5.16/bin: /usr/local/apache-tomcat-5.5.16/server/lib: /usr/local/apache-tomcat-5.5.16/common/lib: /usr/local/jdk1.5.0_06/lib:/usr/local/jdk1.5.0_06/jre/lib/ext this is not a valid classpath. you need to specify each JAR that you want included. only for

Re: Cluster member discovery

2006-03-27 Thread Filip Hanik - Dev Lists
- - Original Message - From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, March 26, 2006 3:06 PM Subject: Re: Cluster member discovery did you try to remove the bind address? Filip Parham, Clinton wrote: Hello Tomcat Users

Re: Cluster member discovery

2006-03-27 Thread Filip Hanik - Dev Lists
the mcastBindAddress fix, UDP broadcasts were sent/received by both nodes correctly. I suppose the public adapter configuration on nodeB was set in some way to ignore UDP traffic. I appreciate your assistance. Thank You. -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED

Re: Cluster member discovery

2006-03-26 Thread Filip Hanik - Dev Lists
did you try to remove the bind address? Filip Parham, Clinton wrote: Hello Tomcat Users! I'm trying to setup two node clustering (nodeA nodeB) using the following: Windows 2003, Tomcat 5.5.16 (apache-tomcat-5.5.16.exe) and JDK1.5. For some inexplicable reason, I cannot get nodeB to discover

Re: 5.5.15: is the context of the webapp clustered?

2006-03-21 Thread Filip Hanik - Dev Lists
The servlet context is not replicated, but it will be in near future with the new clustering engine that we are putting in. If you want to jump start that, you can build Apache Tribes (the new tomcat clustering engine) (svn location: tc5.5.x/container/modules/groupcom), its got a couple of

Re: FarmWarDeployer instructions

2006-03-21 Thread Filip Hanik - Dev Lists
only one server should have (watchEnabled=true), this is the location where you deploy all your files. if you enable it on all servers, then just be careful so that you don't deploy the same file in two locations and end up with a deployment collission. tempDir=/tmp/war-temp/ -- The directory

Re: Questions on Clustering

2006-03-20 Thread Filip Hanik - Dev Lists
you have several problems: 1. jvmRoute should be a unique value on each tomcat, not the same across all. 2. you have used (tcpListenAddress=auto) - what this does, is look up your hostname, and then resolves that to an IP address. The problem on your computer is that your local hostname

Re: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Filip Hanik - Dev Lists
google for a tutorial on how to use a profiler, then use the profiler, and whoops, you'll find your problem Filip Michael McQuade wrote: Hi all. I have an application running on Tomcat v 5.0.28 , written in Java and running a MySql database. I have one screen that is built

Re: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Filip Hanik - Dev Lists
of profilers out there, NetBeans I think might even come with a free one. others are www.yourkit.com, JProbe, Borland OptimizeIt, and so on. Filip Michael McQuade wrote: Filip, what is a profiler? Is it a product to download, or is it something in Tomcat? - Original Message - From: Filip

Re: Tomcat clustering

2006-03-17 Thread Filip Hanik - Dev Lists
actually, the answer is no, even if you enable multicast over WAN, you are dealing with some serious security issues, cause the the transmission of the data is not encrypted and you are facing a serious liability. For TC6 we have separated out the comm protocol from the replication logic, and

Re: Threads

2006-03-17 Thread Filip Hanik - Dev Lists
yes, Quartz, is a nice open source scheduler. best place to start it, is in an init method of a servlet. Filip Leon Rosenberg wrote: On 3/17/06, Morten Andersen [EMAIL PROTECTED] wrote: I need a thread that will write some emails and stuff every night. why not using scheduler?

Re: Tomcat clustering

2006-03-17 Thread Filip Hanik - Dev Lists
David Rees wrote: On 3/17/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: You conveniently left out a crucial part of Tim's note which would address any security concerns as well as having to cooperate with ISPs: no I didn't, had you actually read the whole thread :) It boils

Re: getParameter().getBytes() behaves differently on Linux

2006-03-17 Thread Filip Hanik - Dev Lists
getBytes() is deprecated for the reason that different VMs/OSs have different default encoding. could that be the cause of your problem? what if you try getBytes(ISO-8859-1) on both platforms, do you still get diff results? Filip Ahmed Ashour wrote: Dear all, I think something is

Re: Concurrency question for servlets

2006-03-16 Thread Filip Hanik - Dev Lists
when the session is destroyed, and your listener calls getId(), it might throw an exception that the session has already been invalidated. I believe its a IllegalStateException, this issue has been fixed in the most recent version Filip Klotz Jr, Dennis wrote: Thanks Leon for replying. I

Re: Tomcat 5.0.28 Clustering and Load Balancing

2006-03-16 Thread Filip Hanik - Dev Lists
Peter Rossbach has done a great job documenting most of it here. http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html Filip Dadyala, Manjeet S wrote: I’m new to Tomcat and am in the process of investigating the configuration of Tomcat 5.0.28 on RedHat Linux (AS 3) and Load Balancing.

Re: Help on error Name jdbc is not bound in this context

2006-03-14 Thread Filip Hanik - Dev Lists
what did you put in your web.xml? Filip Edward Manalansan wrote: Hi there, I've trying to setup a Datasource in Tomcat 5.028 and I can't get it to work. I've meticulously followed the tomcat documentation and still no luck. I went into several famous forums and still didn't work.

Re: how can I run normal web sites using Tomcat?

2006-03-13 Thread Filip Hanik - Dev Lists
the setup can be trivial, if you pair one apache to one tomcat, and use mod_proxy. you should be up and running fairly quickly. Filip Alan Chaney wrote: Hi Andrew Tomcat is not a 'general purpose' web server - rather, it is a 'Java web application' server and is specifically designed to

Re: Ant/Jasper problems

2006-03-13 Thread Filip Hanik - Dev Lists
does the directory C:/Dola/tomcat/webbapps/projecta exist? ie, is the war already exploded? also, there is another mechanism to precompile your JSP files, the solution below, will compile the files just as Tomcac would runtime, and you will not lose the ability to recompile JSP files post

Re: classloader problem

2006-03-10 Thread Filip Hanik - Dev Lists
it would help if you gave us your Tomcat and your axis versions Filip MW Janssen wrote: Hi all, Some strange thing. I am using axis SOAP jars. When I start Tomcat my SOAP messages are ok..when I restart the webapps via the Tomcat Manager I get a null pointer exception, see below. After

Re: classloader problem

2006-03-10 Thread Filip Hanik - Dev Lists
, Maarten -Oorspronkelijk bericht- Van: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 10 maart 2006 17:37 Aan: Tomcat Users List Onderwerp: Re: classloader problem it would help if you gave us your Tomcat and your axis versions Filip MW Janssen wrote: Hi

Re: Performance tricks with multiple tomcat instances

2006-03-09 Thread Filip Hanik - Dev Lists
If I were to add my two cents, I would say the OS scheduler, the bus, memory access all will play their part. ie, I think you will get more juice out of 8 single CPU machines each running a tomcat, than one machine with 8 CPU's, as your 8cpu machine will not have 8 parallel buses, 8 drives, 8

Re: Performance tricks with multiple tomcat instances

2006-03-09 Thread Filip Hanik - Dev Lists
Leon Rosenberg wrote: On 3/9/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: If I were to add my two cents, I would say the OS scheduler, the bus, memory access all will play their part. ie, I think you will get more juice out of 8 single CPU machines each running a tomcat, than one

Re: Is this tomcat or my app?

2006-03-09 Thread Filip Hanik - Dev Lists
there are two answers, one easy and one difficult Easy answer: mod_proxy, you'll be up and running in five minutes, Hard answer: try upgrading jk, or downgrade, play around with the configs, and spend the next few days fiddling :) here is a great article on proxying capabilities with apache

Re: session storing on disk

2006-03-09 Thread Filip Hanik - Dev Lists
did you try to replace with amp; in the connectionURL? Filip [EMAIL PROTECTED] wrote: Hi, I have been trying to store session informations in the disk by using Context .. Manager .. Store . I am constantly getting error below for JDBC connection string and I do have tried amp; instead of ,

Re: Performance tricks with multiple tomcat instances

2006-03-09 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: The select capability isn't required to implement the behavior I described. Once the request is read in over the wire, the request object is passed off to a worker thread, and the reader thread goes back for another one. I'm going to have to dig deeper into the

Re: Performance tricks with multiple tomcat instances

2006-03-09 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: Performance tricks with multiple tomcat instances the select (non blocking) capability would be required if you wanna do keep alive connections with less threads than connections that is why BEA

Re: Performance tricks with multiple tomcat instances

2006-03-09 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: Performance tricks with multiple tomcat instances Tomcat APR will use one thread per connection. but APR also has non blocking option. Does Tomcat use the non-blocking option? (I haven't

Re: Upgrade to Tomcat 5.5 has broken my jndi

2006-03-08 Thread Filip Hanik - Dev Lists
http://www.laliluna.de/260.html ALEX HYDE wrote: Thanks for the help. I seem to be able to get it working when I have a context file under my web-app in the meta-inf directory. But I am still unable to properly configure a global datasource. Here is my context.xml. very standard:

Re: question about redirect and session management

2006-03-07 Thread Filip Hanik - Dev Lists
I suggest you use Firefox and a little plug-in called LiveHttpHeaders, that way you can see what JSESSIONID cookie is sent up to the server from your browser, and this will help you figure out what is wrong Filip csp wrote: On 2/25/06, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote

Re: Tomcat Crashes after 1000 sessions.

2006-03-07 Thread Filip Hanik - Dev Lists
you can configure maxActiveSession, http://tomcat.apache.org/tomcat-5.0-doc/config/manager.html Vikram Godse wrote: Hi, My CATALINA_OPTS parameter has the following values i have 4gb ram on my server CATALINA_OPTS=-server -XX:MaxPermSize=512m -Xms1024m -Xmx1024m This is what i see

Re: Upgrade has broken my jndi

2006-03-07 Thread Filip Hanik - Dev Lists
here are the docs http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html I don't see them declare the factory attribute in 5.5, you didn't tell us what version you were on Filip ALEX HYDE wrote: Hi All, I've seen this one all over the user group but I seem to have come

Re: double cluster in one server.xml?

2006-03-04 Thread Filip Hanik - Dev Lists
with context path :-) Peter Am 04.03.2006 um 15:59 schrieb Filip Hanik - Dev Lists: if you have an engine cluster and two webapps with the same name, one in each host, how does it know which one it is? Filip Peter Rossbach wrote: Yes, you must use different domains, but you can also used

Re: cluster and sendRedirect? (session not replicated?)

2006-03-03 Thread Filip Hanik - Dev Lists
depends on your cluster configuration, if you are using sync or async async, there is a good chance that the session hasn't been replicated yet, hence it requires sticky LB. sync means that the request shouldn't complete until the replication is complete Filip Ronald Klop wrote: Hello,

Re: WHY TOMCAT MEMORY FROM 1G TO 15M IN 10 MINUTES

2006-03-02 Thread Filip Hanik - Dev Lists
I would consider 15M pretty low. If the memory drops,what problem are you having? Sounds like it would be worse going the other way. jiang ying wrote: Hi. When I run the TPCW bookstore application, I found the server behave erratic. Experiment enviroment: Hardware: a client PC, two server

Re: ClassLoader IllegalStateException

2006-03-02 Thread Filip Hanik - Dev Lists
what is a client? browser? if the webapp has stopped, or is stopping, that means that the .war file or WEB-INF/web.xml timestamp changed, and the webapp might be reloading. more info would be needed for further analysis Filip Matteo Barbieri wrote: Hi, I have a web application that uses

Re: ClassLoader IllegalStateException

2006-03-02 Thread Filip Hanik - Dev Lists
ok, there could be plenty of things. but basically this is what is happening: one of your JDBC connections is being garbage collected. When this happens, it tries to close itself and in doing so, it needs to load a class. But the webapp is in a state where it has stopped (either been stopped,

Re: ClassLoader IllegalStateException

2006-03-02 Thread Filip Hanik - Dev Lists
1. where in the tomcat directory structure is the mysql jdbc driver JAR file stored? 2. when does this happen? all the time? or as soon as you have more than one browser connect? 3. are you using a connectionpool? 4. how are you closing your connections? Matteo Barbieri wrote: Filip Hanik

Re: double cluster in one server.xml?

2006-03-02 Thread Filip Hanik - Dev Lists
I'm gonna let Peter Rossbach give you the final answer since he developed the simpleconfig concept. My guess is yes, if your hosts have webapps with the same names, they will most likely get mixed up. my suggestion to try would be Host name=test1.example.com appBase=webapps autoDeploy=false

Re: Tomcat 5 problems

2006-03-01 Thread Filip Hanik - Dev Lists
what script are you using to startup? This class exists in TOMCAT_HOME/bin/commons-logging-api.jar and should be part of your startup classpath Filip Devireddy, Nagendra Reddy (STSD) wrote: Hi, I am getting this problem while starting tomcat .. java.lang.reflect.InvocationTargetException

Re: Tomcat 5 problems

2006-03-01 Thread Filip Hanik - Dev Lists
-Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 8:03 PM To: Tomcat Users List Subject: Re: Tomcat 5 problems what script are you using to startup? This class exists in TOMCAT_HOME/bin/commons-logging-api.jar and should be part

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-03-01 Thread Filip Hanik - Dev Lists
This could be completely unrelated, but let me throw something at you, maybe it will help btw. I prefer to run mod_proxy over mod_jk over http, much simpler, and in *our* load tests has scaled much better during stress. Response already committed This can happen if your servlet/jsp has code

<    7   8   9   10   11   12   13   >