Re: tomcat clustering

2004-05-12 Thread Filip Hanik - Dev
', 'javax.servlet.jsp.jstl.fmt.request.charset', 'UTF-8') that's mean it's working or not ? thank you for answer. --- Filip Hanik - Dev [EMAIL PROTECTED] a écrit : Caused by: java.io.NotSerializableException: - Original Message - From: keita elhadji [EMAIL PROTECTED] To: [EMAIL

Re: Clustering problem with web.xml

2004-05-13 Thread Filip Hanik - Dev
check your web.xml for a mistake The markup in the document following the root element must be well-formed. or open it in an xml editor, it will tell you right away Filip - Original Message - From: Gabriele Paciucci [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 13, 2004

Re: Do log

2004-05-13 Thread Filip Hanik - Dev
you can use log4j, and you can have Tomcat do the same, it is just matter of configuration search a thread by me with log4j in the subject line. Filip - Original Message - From: Teixeira, Jorge (Informaker) [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, May

Re: tomcat clustering

2004-05-10 Thread Filip Hanik - Dev
Caused by: java.io.NotSerializableException: - Original Message - From: keita elhadji [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 10, 2004 4:52 AM Subject: tomcat clustering Hi, i have a problem with mod_jk2 . I have two PC with tomcat5.019 1st PC name is :

Re: virtual hosting

2004-05-04 Thread Filip Hanik - Dev
you should be able to do it just using virtual hosts in httpd.conf. play around with it, you may add one section for mod_jk for each virtual host FIlip - Original Message - From: Charles Jordan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 3:31 PM Subject: virtual

Re: Tomcat Crashes with this is catalina.out

2004-05-04 Thread Filip Hanik - Dev
Surely we must be dumb f***s who don't having a rough day, arent we? :) Filip - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 3:46 PM Subject: RE: Tomcat Crashes with this is catalina.out Hi, Tried the sun

Re: java.library.path

2004-05-05 Thread Filip Hanik - Dev
are you saying that passing in -Djava.library.path=xxx in catalina.bat (JAVA_OPTS) doesn't work for you? - Original Message - From: Cocalea, Eugen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 3:45 AM Subject: java.library.path Hello, In the file

Re: Clustering with 5.0.19

2004-05-05 Thread Filip Hanik - Dev
useDirtyFlag is not used with the DeltaManager, only with the SimpleTcpReplicationManager. As the name suggest, the DeltaManager only replicates deltas, and hence it can only replicate when the session is dirty. The clustering configuration has changed a little bit since 5.0.19, to make it more

log4j logging in Tomcat WAS: Clustering with 5.0.19

2004-05-05 Thread Filip Hanik - Dev
happier going with a release build if possible. Kind regards, Sam. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 05 May 2004 15:31 To: Tomcat Users List Subject: Re: Clustering with 5.0.19 useDirtyFlag is not used with the DeltaManager, only

Re: Tomcat 4 Clustering

2004-05-06 Thread Filip Hanik - Dev
this code uses Java.nio packages. if you are running this as a non privileged user, there is a chance that it fails to open the socket. as you can see, the problem is in native code, java.io.IOException: No such file or directory at sun.nio.ch.DevPollArrayWrapper.init(Native Method)

Re: Tomcat 4 Clustering

2004-05-06 Thread Filip Hanik - Dev
I responded on tomcat user - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, May 06, 2004 7:26 AM Subject: Tomcat 4 Clustering Hi Filip, I'm playing with Clustering on Tomcat 4.1.30 (1 Solaris-Server called eules with 2 tomcat

Re: Clustering with 5.0.19

2004-05-07 Thread Filip Hanik - Dev
be useful to paint a more complete picture! Sam. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 05 May 2004 16:48 To: Tomcat Users List Subject: log4j logging in Tomcat WAS: Clustering with 5.0.19 you need to enable it at the logger level, the code

Re: Tomcat 4 Clustering

2004-05-07 Thread Filip Hanik - Dev
think it must be an other problem. Could it be, that java miss some nativ libraries? The tomcat's are running in a chroot-environment. Jens -Ursprüngliche Nachricht- Von: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. Mai 2004 18:18 An: Tomcat Users List Betreff: Re

Re: unstoppable thread

2004-05-07 Thread Filip Hanik - Dev
set the thread to be a daemon thread, that should make the vm exit Filip - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 07, 2004 1:30 PM Subject: RE: unstoppable thread Hi, I have a web application which, when

Re: hwo to discover which app is is wating memory

2004-05-17 Thread Filip Hanik - Dev
use a profile, you will discover it instantly - Original Message - From: Emerson Cargnin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, May 17, 2004 3:29 PM Subject: Re: hwo to discover which app is is wating memory That's was I thought at first. Hadn't thought

Re: taglib - O'Reilly tutorial problem

2004-05-18 Thread Filip Hanik - Dev
looks like you are running compiled code against different version jar/class files. NoSuchMethod error means that the method the code is expecting doesn't exist, this happens when you compile your code using a library of version A, then deploy the same code with library of version B and B doesn't

Re: Persistent workspace

2004-05-18 Thread Filip Hanik - Dev
Can it be done? The safest bet is to write to the user's (the user running your tomcat) home directory. The property is user.home (System.getProperty(user.home) Filip - Original Message - From: Simon Brooke [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May

Re: Tomcat in a High Traffic Environment

2004-10-29 Thread Filip Hanik - Dev
turn off keep alive - Original Message - From: Andrew Miehs [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 29, 2004 10:45 AM Subject: Re: Tomcat in a High Traffic Environment Hi Yoav, I have not read the Servlet Spec, so please pardon my ignorance.

Re: Can application scope data be replicated

2004-11-02 Thread Filip Hanik - Dev
not at this time - Original Message - From: Norris Shelton [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 1:45 PM Subject: Can application scope data be replicated Is there a way to replicate application scope data like there is a way to replicate

Re: exception in clustering

2004-11-09 Thread Filip Hanik - Dev
looks pretty normal, this shows that a connection was broken between one server and the other, you need to figure out why it breaks? restart? network? Filip - Original Message - From: Ronald Klop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 10:02 AM Subject:

Re: exception in clustering

2004-11-09 Thread Filip Hanik - Dev
timeout settings? Or maybe something else. I have everything as default now. Ronald. On Tue Nov 09 17:21:47 CET 2004 Filip Hanik - Dev [EMAIL PROTECTED] wrote: looks pretty normal, this shows that a connection was broken between one server and the other, you need to figure out why it breaks? restart

Re: Killing threads during context restart

2004-11-09 Thread Filip Hanik - Dev
you can setup context listeners, and when the context is stopped you will receive an event and can stop your bg thread Filip - Original Message - From: TK Banks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 09, 2004 4:40 PM Subject: Killing threads during context

Re: Multi-Site Clustering? (hot failover)

2004-11-10 Thread Filip Hanik - Dev
You need your fail over to be higher up in your network stack Filip - Original Message - From: Steve Kirk [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 9:35 AM Subject: RE: Multi-Site Clustering? (hot failover) I've

Re: Multi-Site Clustering? (hot failover)

2004-11-10 Thread Filip Hanik - Dev
: Wednesday, November 10, 2004 12:39 PM Subject: RE: Multi-Site Clustering? (hot failover) thanks for replying, but can you be a bit more specific please? I'm stll not understanding how this can be done. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent

Re: Multi-Site Clustering? (hot failover)

2004-11-10 Thread Filip Hanik - Dev
to the second cluster. I would talk to your service provider. the smaller shops don't offer it, so you'll have to talk to a bigger ISP. peter On Wed, 10 Nov 2004 12:52:17 -0600, Filip Hanik - Dev [EMAIL PROTECTED] wrote: Even a datacenter by itself plugs in to more than one backbone (network

Re: Multi-Site Clustering? (hot failover)

2004-11-10 Thread Filip Hanik - Dev
Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday 10 November 2004 19:14 To: Tomcat Users List; Peter Lin Subject: Re: Multi-Site Clustering? (hot failover) which might also give you the idea, if you control your own DNS, you could manually switch

Re: Rotating catalina.out with Webmin

2004-11-15 Thread Filip Hanik - Dev
if you dont get webmin fixed, I recommend cronolog instead. You cant just rotate it, cause then tomcat loses the file handle, and you will lose all further output. with cronolog you simply pipe it through cronolog like this your java start command | /usr/local/sbin/cronolog

Re: Rotating catalina.out with Webmin

2004-11-15 Thread Filip Hanik - Dev
rotated logs in Directory Same directory as log file Default (Same directory as log file) 3) Extension for rotated filenames Default Should not this maintain the file handle? -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:19 PM

Re: Rotating catalina.out with Webmin

2004-11-15 Thread Filip Hanik - Dev
this was not the case when using a java.io.FileOutputStream(), so I assume you tried and verified this :) Filip - Original Message - From: [EMAIL PROTECTED] To: Filip Hanik - Dev [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:16 PM Subject

Re: Problem clustering tomcat when a failed server is restarting

2004-11-17 Thread Filip Hanik - Dev
What version of tomcat? It fails when it tries to write the principal information to the stream. Since I don't know what version of tomcat you are using, I can't tell you exactly what went wrong. maybe something in the principal returns null Filip - Original Message - From:

Re: valve versus filter

2004-11-17 Thread Filip Hanik - Dev
filter = portable standard valve = tomcat specific - Original Message - From: David Boyer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 11:48 AM Subject: Q: valve versus filter We're using IIS 6 with the JK2 ISAPI filter (Tomcat 5.0.28). I have several

Re: Problem clustering tomcat when a failed server is restarting

2004-11-17 Thread Filip Hanik - Dev
:55 AM Subject: RE : Problem clustering tomcat when a failed server is restarting We are using Tomcat 5.0.27. -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 18:27 À : Tomcat Users List Objet : Re: Problem clustering tomcat when

Re: Problem clustering tomcat when a failed server is restarting

2004-11-17 Thread Filip Hanik - Dev
a link to open bugzilla report? Or more recent versions of Tomcat can they correct this problem ? -Message d'origine- De : Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 novembre 2004 19:10 À : Tomcat Users List Objet : Re: Problem clustering tomcat when a failed server

Re: NoSuchElementException in cluster

2004-11-19 Thread Filip Hanik - Dev
are you using frames or in anyway have your system setup to access the same session by more than one thread? Filip - Original Message - From: Ronald Klop [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Ronald Klop [EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:35 AM

Re: NoSuchElementException in cluster

2004-11-19 Thread Filip Hanik - Dev
I fixed this, in cvs head and tomcat 5.0 branch. please try it out. Filip - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: Ronald Klop [EMAIL PROTECTED] Sent: Friday, November 19, 2004 10:17 AM Subject: Re: NoSuchElementException

Re: NoSuchElementException in cluster

2004-11-19 Thread Filip Hanik - Dev
I've updated the delta request to avoid these errors in the next release of tomcat5.0 and tomcat 5.5 Filip - Original Message - From: Ronald Klop To: Filip Hanik - Dev Sent: Friday, November 19, 2004 10:44 AM Subject: Re: NoSuchElementException in cluster Yes, but we

Re: Need a working example of Tomcat 5 clustering

2004-11-30 Thread Filip Hanik - Dev
use Pen as a load balancer instead siag.nu/pen Filip - Original Message - From: Steve Burns [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 29, 2004 12:28 PM Subject: Need a working example of Tomcat 5 clustering Has anyone gotten clustering to work? In an example I

Re: compiling mod_proxy_ajp

2004-12-01 Thread Filip Hanik - Dev
how about you correct the spelling :) Filip - Original Message - From: Elihu Smails [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 2:17 PM Subject: Re: compiling mod_proxy_ajp when I try to set up balancing, I get the following Apache

Re: clustering help

2004-12-02 Thread Filip Hanik - Dev
the logs are showing that everything is replicating fine. you can't change the browser url when switching to the other server, how are you testing if it works or not? Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday,

Re: clustering help

2004-12-03 Thread Filip Hanik - Dev
not available id: +id); return; } String test = (String) _session.getValue(killer); out.println(The killer value of session with ID + id + is +test); % Regards, Nandish Rudra -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 5:23

Re: JBoss + Tomcat + Apache-1.3.33

2004-12-03 Thread Filip Hanik - Dev
for the fastest and easiest solution, just use mod_proxy, it will only take you a few minutes to setup Filip - Original Message - From: Warron French [EMAIL PROTECTED] To: User Tomcat (E-mail) [EMAIL PROTECTED] Sent: Friday, December 03, 2004 2:53 PM Subject: JBoss + Tomcat +

Re: JBoss + Tomcat + Apache-1.3.33

2004-12-03 Thread Filip Hanik - Dev
Happy New Year! Warron French Sr. Network Engineer Xtria, LLC -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 3:56 PM To: Tomcat Users List Subject: Re: JBoss + Tomcat + Apache-1.3.33 for the fastest and easiest solution, just use

Re: Where do I get mod_jk

2004-12-03 Thread Filip Hanik - Dev
as I said, if you wish to compile an old mod_jk, have a fun weekend :) Filip - Original Message - From: Warron French [EMAIL PROTECTED] To: Users Apache (E-mail) [EMAIL PROTECTED] Cc: User Tomcat (E-mail) [EMAIL PROTECTED] Sent: Friday, December 03, 2004 3:44 PM Subject: Where do I get

Re: JBoss + Tomcat + Apache-1.3.33

2004-12-03 Thread Filip Hanik - Dev
port 8080? Is that a lot more work to do it? Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL

Re: JBoss + Tomcat + Apache-1.3.33

2004-12-03 Thread Filip Hanik - Dev
Year! Warron French Sr. Network Engineer Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 4:51 PM To: Tomcat Users List Subject: Re

Re: Where do I get mod_jk

2004-12-03 Thread Filip Hanik - Dev
, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 4:51 PM To: Tomcat Users List Subject: Re: Where do I get mod_jk as I said, if you wish to compile an old mod_jk, have

Re: Where do I get mod_jk

2004-12-03 Thread Filip Hanik - Dev
man, you are stubborn, you wish to go down the hard route :) - Original Message - From: Warron French [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 03, 2004 3:57 PM Subject: RE: Where do I get mod_jk OK, I found that link. I downloaded the:

Re: problems with session replication

2004-12-06 Thread Filip Hanik - Dev
yes, this is a known bug. Should be fixed in .29 or .30. Filip - Original Message - From: Ina Skåre [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 2004 6:47 AM Subject: problems with session replication Hi, I'm a newbie to tomcat session replication. I have a web

Re: Session replication problem

2004-12-06 Thread Filip Hanik - Dev
This is a TCP connection, using the tcpListenAddress and tcpListenPort attributes. You are probably broadcasting an invalid address, check those two attributes Filip - Original Message - From: marc ratun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 2004 3:08 AM

Re: another problem with session replication

2004-12-06 Thread Filip Hanik - Dev
is send and the new member receives any messages). Do you have any idea whats going on here? Thank you , Ina!. - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 06, 2004 3:00 PM Subject: Re: problems with session

Re: another problem with session replication

2004-12-06 Thread Filip Hanik - Dev
simialr. I was using 5.5.4 Allistair. -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 14:41 To: Tomcat Users List Subject: Re: another problem with session replication This should work fine. What do your logs say? Filip - Original

Re: off topic - how do i convert an int to char

2004-12-07 Thread Filip Hanik - Dev
am I being silly? char ch = (char)myint; Filip - Original Message - From: Robert Harper [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 10:01 AM Subject: RE: off topic - how do i convert an int to char The offset starts at '0' == 48 ( 0x30

Re: Tomcat 5.0.27 Cluster Issues

2004-12-07 Thread Filip Hanik - Dev
By looking at the following log entries INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=232390] 07-dic-2004 18:34:46 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member

Re: Documentation

2004-12-07 Thread Filip Hanik - Dev
if you want to see cluster output, just configure debug for org.apache.catalina.cluster using log4j for example to setup log4j all I did was to add log4j.xml into common/classes and log4j.jar into common/lib Filip - Original Message - From: Pablo Carretero [EMAIL PROTECTED] To:

Re: Repeating a question I did not get an answer for - from a novice

2004-12-07 Thread Filip Hanik - Dev
there are several different ways to install an app into tomcat, putting a war file under webapps/ is one way, read the docs to find out the others Filip - Original Message - From: Venkat Radha Venkataramanan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday,

Re: Session expiry and SessionListener problems with cluster

2004-12-10 Thread Filip Hanik - Dev
expireSessionsOnShutdown=false - on shutdown - expire sessions locally, but do not propagate to the cluster expireSessionsOnShutdown=true - on shutdown - expire sessions locally, and propagate to the cluster stupid name for the variable, I agree - Original Message - From: Christoph

Re: StandardManager always persists session data. Bug?

2004-12-14 Thread Filip Hanik - Dev
path=/dev/null could work - Original Message - From: T K [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 14, 2004 4:23 PM Subject: StandardManager always persists session data. Bug? Hi all, we have observed that, at least 4.1.31, always persists session data upon

Re: connection pooling

2004-12-16 Thread Filip Hanik - Dev
depends on what connection pool you use. but in almost all causes, its a pretty trivial thing (unless your code is funky of course) in our system, all we did was to switch the driver name (to the pooled driver), and it would pick up our connection pool. so it was a one line change. Filip -

Re: [OT]web development fee

2005-01-05 Thread Filip Hanik - Dev
watch out for free support - most people make this mistake and it ends up sucking up all their time. Charge a time and materials fee when shit hits the fan such as out of disk space etc, a shopping cart isn't working. Make it their responsibility to QA the site, and when they are done, have them

Re: Cluster nodes create extra sessions on top of the replicated one

2005-01-10 Thread Filip Hanik - Dev
file a bug for tracking, and I will look into it Filip - Original Message - From: LAM Kwun Wa Joseph [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Tuesday, December 28, 2004 2:41 AM Subject: Cluster nodes create extra sessions on top of the replicated one Hi, I found

Re: Session replication debugging

2005-01-14 Thread Filip Hanik - Dev
just enable debugging in the logs and you'll see what is going on. multicast is only used for membership, not for replication. TCP is used for that. Filip - Original Message - From: Edmon Begoli [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Friday,

Re: Meaning of threads

2005-01-24 Thread Filip Hanik - Dev
maxThreads=150 your server can handle a maximum of 150 concurrent clients minSpareThreads=25 if your server is idle, it will at least have 25 threads waiting to handle requests maxSpareThreads=75 if your server is idle, it will have no more than 75 threads waiting to handle requests you get

Re: Meaning of threads

2005-01-24 Thread Filip Hanik - Dev
can't resist asking a question about optimal values. Since the answer is obviously it depends let me put my question this way. If you were running craigslist (I assume you've heard of it) what would these values be? How about ebay? --- Filip Hanik - Dev [EMAIL PROTECTED] wrote: maxThreads=150

Re: Meaning of threads

2005-01-24 Thread Filip Hanik - Dev
Filip - Original Message - From: Dola Woolfe [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, January 24, 2005 3:50 PM Subject: Re: Meaning of threads That's counterintuitive, isn't it? How come? --- Filip Hanik - Dev [EMAIL PROTECTED] wrote: the number

Re: java.lang.ClassCircularityError

2004-05-19 Thread Filip Hanik - Dev
where are your classes? if you put them in server/lib or server/classes and not in your webapp, do you still get the error? Filip - Original Message - From: Viktor Matic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 11:04 AM Subject: Re:

Re: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik - Dev
two things: 1. export LD_ASSUME_KERNEL=2.4 before you start tomcat (add it to your startscript) 2. Starting the two instances at the exact same time, no instance has a state to replicate, wait 5 seconds with one once the servers have been running for a while, it will request state from your

Re: Trying to get a Cluster/Session Replication working

2004-05-19 Thread Filip Hanik - Dev
. That is not very possible in my envirnment. They are diffent sized boxes , so one starts faster than the other I still get the same two errors Randy -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 4:02 PM To: Tomcat Users List Subject: Re

Re: Trying to get a Cluster/Session Replication working

2004-05-20 Thread Filip Hanik - Dev
. They are diffent sized boxes , so one starts faster than the other I still get the same two errors Randy -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 4:02 PM To: Tomcat Users List Subject: Re: Trying to get a Cluster/Session Replication

Re: Is there any way to check # of Records in RecordSet

2004-05-20 Thread Filip Hanik - Dev
ResultSet rs; int i = 0; while( rs.next() ) { i++; } If the cursor is non scrollable, this will only work once. It is better for you to execute a Select count(1) ... query, to find out how many results you would get back. Or even better, execute a stored procedure that returns the count as an

Re: Is there any way to check # of Records in RecordSet

2004-05-20 Thread Filip Hanik - Dev
first code = result set not scrollable, you can only loop through it once Filip; - Original Message - From: soh_mah [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 9:50 AM Subject: RE: Is there any way to check # of Records in RecordSet Thanks

Re: session data in Tomcat 5

2004-05-20 Thread Filip Hanik - Dev
setAttribute(ml,null); is the same as removeAttribute(ml); just an fyi :) - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 20, 2004 10:24 AM Subject: Re: session data in Tomcat 5 On Thursday 20 May 2004 10:15 am,

Re: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev
try without mod_jk with another load balancer first, pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net) - Original Message - From: Vikas Gupta [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, May 23, 2004 12:07 PM Subject: Urgent: Issue with

Re: java.lang.ClassCircularityError

2004-05-24 Thread Filip Hanik - Dev
glad you got it working!! the class loaders were referencing each other in a cirular way. Filip - Original Message - From: Viktor Matic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, May 24, 2004 1:48 AM Subject: Re: java.lang.ClassCircularityError This is

Fw: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev
try without mod_jk with another load balancer first, pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net) - Original Message - From: Vikas Gupta [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, May 23, 2004 12:07 PM Subject: Urgent: Issue with

Re: How does Tomcat manage sesssions ?

2004-05-25 Thread Filip Hanik - Dev
look into the PersistanceManager, that will store the session in a DB for you http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html Filip - Original Message - From: Xavier MOGHRABI [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 10:29

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Filip Hanik - Dev
you couldn't use this one either? http://cvs.apache.org/~fhanik/precompile.html. You can very easily translate my XML file into actual Java commands, hence it eliminates the need for ANT. It will take a little work. The neat thing with my script is that it requires no mapping in web.xml since

Re: Tomcat 5 going to sleep

2004-05-25 Thread Filip Hanik - Dev
java.lang.OutOfMemoryError after this you are pretty much SOL and have to restart the server. Look for other threads with the subject memory leak Filip - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:47 AM

Re: JSP Compiling - painted in a corner?

2004-05-25 Thread Filip Hanik - Dev
file? Jason --- Filip Hanik - Dev [EMAIL PROTECTED] wrote: you couldn't use this one either? http://cvs.apache.org/~fhanik/precompile.html. You can very easily translate my XML file into actual Java commands, hence it eliminates the need for ANT. It will take a little work. The neat

Re: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Filip Hanik - Dev
to have would be to apply wieghtings to the target hosts but other than that spot on and no problems whatsoever so far. Ta Matt -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 15:47 To: Tomcat Users List Subject: Re: Clustering / Load Balancer

Re: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Filip Hanik - Dev
- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 15:47 To: Tomcat Users List Subject: Re: Clustering / Load Balancer / Session Cookie http://siag.nu/pen http://balance.sourceforge.net pen is my favorite, performs best and works on both windows and unix Filip

Re: Looking for naming-factory.jar from 5.0.24

2004-06-02 Thread Filip Hanik - Dev
http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.24/ - Original Message - From: Michael Mehrle [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 10:52 AM Subject: Looking for naming-factory.jar from 5.0.24 I recently ran into some JNDI problem

Re: java.lang.OutOfMemoryError

2004-06-03 Thread Filip Hanik - Dev
catalina.bat or catalina.sh, set JAVA_OPTS=-mx512m - Original Message - From: James Sherwood [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 9:39 AM Subject: Re: java.lang.OutOfMemoryError more information please, version of tomcat and

Re: Can't find classes

2004-06-03 Thread Filip Hanik - Dev
java.util.zip.ZipException: Access is denied this file is locked by another program, make sure to kill any other processes that are accessing this file. Filip - Original Message - From: David Rush [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 03, 2004

Re: TOO MANY OPEN FILES

2004-06-03 Thread Filip Hanik - Dev
you will need to change the number of open file descriptors your OS can handle. Should be in your kernel config or somewhere around there, don't know to much about Open VMS Filip - Original Message - From: HasanA [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent:

Re: Can't find classes

2004-06-03 Thread Filip Hanik - Dev
automatic start-up after a reboot, so there should be no errant processes left that have a lock on it. I can't find any indication of what it's trying to access. Any idea exactly what file is locked, or that java.util.zip can't open for whatever reason? David Filip Hanik - Dev wrote

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
persist sessions in a clustered environmentuse the PersistenceManager instead of the clustering if all you want is to write sessions to a file system. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html Did you need any help figuring out why in memory replication didn't work?

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
members of the cluster rise so high that the machine became unusable. what OS are you on, I would be very interested to see what threads went high up. For Solaris there is a free tool called ThreadAnalyser which tells you exactly what the threads are doing. I am running load tests with hundreds

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
members of the cluster rise so high that the machine became unusable. what OS are you on, I would be very interested to see what threads went high up. For Solaris there is a free tool called ThreadAnalyser which tells you exactly what the threads are doing. I am running load tests with hundreds

Re: persist sessions in a clustered environment

2004-06-08 Thread Filip Hanik - Dev
in on it as well as hopefully benefitting all tomcat users. Ta Matt -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: 08 June 2004 16:54 To: Tomcat Users List Subject: Re: persist sessions in a clustered environment members of the cluster rise so high

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
you should also see a stack trace, please post that one to the list, that should give us all the info we need. Most likely is that one of your attributes are not serializable Filip - Original Message - From: Matt Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09,

Re: Clustering on Tomcat 5.0.26 with DeltaManager

2004-06-09 Thread Filip Hanik - Dev
duh, didn't read your message all the way through. look in the other log files, it should get logged somewhere. Filip - Original Message - From: Filip Hanik - Dev [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 12:12 PM Subject

Re: Spawn New Thread

2004-06-09 Thread Filip Hanik - Dev
Thread t = new Thread(); t.setDaemon(true); t.start(); - Original Message - From: Corey Baswell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 4:18 PM Subject: Spawn New Thread Hello, I'm trying to figure out what the proper way for spawning a new thread in

Re: Spawn New Thread

2004-06-09 Thread Filip Hanik - Dev
Thread t = new Thread(); t.setDaemon(true); t.start(); - Original Message - From: Corey Baswell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 4:18 PM Subject: Spawn New Thread Hello, I'm trying to figure out what the proper way for spawning a new thread in

Re: Help! Moving app from TC4-TC5, blank pages, no errors!

2004-06-10 Thread Filip Hanik - Dev
did the context even get deployed? ie, do you have some system.out statements in your servlets when they get loaded that could tell you more info Filip - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 10, 2004 10:54

Re: Multiple requests sharing the same Servlet instance

2004-06-16 Thread Filip Hanik - Dev
any variable declared inside your service(request,response) method (actually any method) are thread specific, since they are added to a separate thread stack. hence you can have 20 threads executing the same servlet, and your method variables will never be shared. Filip - Original Message

Re: Second Try: Can anyone explain this?

2004-06-16 Thread Filip Hanik - Dev
the first line in your .java file should be package mypackage; when you compile it, with the -d . option, it will put it in a folder called mypackage Filip - Original Message - From: Mike Curwen [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, June 16,

Re: Cluster not working properly

2004-06-17 Thread Filip Hanik - Dev
uh, that code is so old, you are better off upgrading to tomcat 5, plus we can support you better. Filip - Original Message - From: Dale, Matt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 17, 2004 6:41 AM Subject: RE: Cluster not working properly

Re: All threads are busy ... servlet status 75

2004-06-17 Thread Filip Hanik - Dev
it means that you ran out of connections (sockets), you can increase the 75 value in server.xml under the connector section. you might also want to investigate why your code is not returning fast enough, or MAYBE NOT AT ALL? Filip - Original Message - From: Harald Henkel [EMAIL

Re: javax.servlet.jsp.tagext package

2004-06-17 Thread Filip Hanik - Dev
in CVS module jakarta-servletapi-5 path /jakarta-servletapi-5/jsr152/src/share/javax/servlet/jsp/tagext Filip - Original Message - From: Michael Labhard [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, June 17, 2004 3:18 PM Subject: javax.servlet.jsp.tagext

Re: javax.servlet.jsp.tagext package

2004-06-17 Thread Filip Hanik - Dev
Hanik - Dev wrote: jakarta-servletapi-5 Thank you for pointing me here. I have built from source and the README.txt in the jakarta-servletapi-5 directory states that a servlet.jar file should be built from the classes. However it isn't and the build.xml does not have a task to do

  1   2   3   >