Re: maxProcessors vs maxThreads

2004-01-21 Thread Bill Barker

Cox, Charlie [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Is there a similar setting for jk2 under 4.1.29?

The connector code is the same, so the same setting should work.


  -Original Message-
  From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
  Sent: Tuesday, January 20, 2004 2:16 AM
  To: [EMAIL PROTECTED]
  Subject: Re: maxProcessors vs maxThreads
 
  Oh, come on, get real :).  The Jk-Coyote docs are probably second to the
  mod_jk2 docs for being the most incomplete.  While (as Remy has stated),
  you
  can perfectly happily set this on the Connector, the jk2.properties
syntax
  is:
container.maxThreads=value
 
  Shapira, Yoav [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
 
  Howdy,
 
  thanks yoav, i noticed that but then does that mean that there is no
  method to specify max threads/processors for the coyote ajp connector?
  that sounds a bit strange
 
  If it's not documented, then there's no configurable way to do it.  Of
  course, you can always subclass/extend a connector just like any other
  tomcat element to add the behavior you want.
 
  how does tomcat behave with the ajp connector? does it indefinitely
  spawn
  threads to handle requests until it bombs out of memory? or is there
  behaviour as specified by the acceptcount/max processors for the http
  connector buried in the code of the ajp connector that can't be
  modified?
 
  I don't use the AJP connector, so I can't answer that one, but the code
  is open for you to inspect at your leisure...
 
  Yoav Shapira
 
 
 
  This e-mail, including any attachments, is a confidential business
  communication, and may contain information that is confidential,
  proprietary
  and/or privileged.  This e-mail is intended only for the individual(s)
to
  whom it is addressed, and may not be saved, copied, printed, disclosed
or
  used by anyone else.  If you are not the(an) intended recipient, please
  immediately delete this e-mail from your computer system and notify the
  sender.  Thank you.
 
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



jk2 is ignoring graceful flag

2004-01-21 Thread Johann Uhrmann
Hello,

according to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html
setting graceful to 1 in the channel.socket session should disable the
channel for new sessions.
In my installation, the flag seems to be ignored.

Therefore, I have two questions:

1. If I want a channel to get requests for existing sessions only,
   is the correct setting:
  a) graceful = 1
 disabled = 0
	or

  b) graceful = 1
 disabled = 1
2. If a channel is configured for not accepting any new sessions,
   how can the number of remaining sessions be checked?
   I need this to determine if the tomcat instance can be safely
   switched off without kicking out users.
Thank You,

Johann Uhrmann

--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: maxProcessors vs maxThreads

2004-01-21 Thread Bill Barker
I'd go with 'or'.  In the TC 3.x line, the HTTP Connector really s*cked
(except that with the TC 3.3.2-dev nightly, you have the option of using the
same CoyoteConnector as TC 4.1.x-5.0.x :). Unless you *need* the features of
e.g. mod_rewrite, mod_php, I'd agree with Yoav, and you should use Tomcat as
stand-alone.

Shapira, Yoav [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

Howdy,

Hm, we have setup IIS in front of Tomcat so it can serve off the static
content, I thought that was the conventional wisdom.

Conventional and/or outdated.  Or is the more likely operator in the
previous sentence.

We're looking at about 300+ users of which maybe lets say 20 concurrent
at
quiet times, probably approaching 100+ when we announce something.
Would
you say Tomcat can handle that fairly well including the static stuff?

Yeah, I would, but the specifics depend on your application, your
hardware, your OS.  It's not hard to test: put together a JMeter (or AB,
or Grinder, or whatever tool you like) test plan that simulates however
many concurrent users you expect, run it on tomcat standalone, on tomcat
with IIS, on a cluster, iteratively tune the system, and see what
happens.

Would I just need to look at server.xml to get more performance from
Tomcat
(exluding the JProfiler run) or is a cluster a really good idea too. If
a

Again, depends on your requirements.  Clusters increase setup and
maintenance costs, but can also increase reliability and possibly
performance if you balance the load in the cluster.  Read Filip Hanik's
various docs and articles on tomcat clustering.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cannot configure to use port other than 8009

2004-01-21 Thread Bill Barker
There was a bug (that I think was fixed, but I can't be bothered to look,
since I don't use Jk2 :).  Jk2 was using a signed short for the port number,
which means that it can't see half of the port numbers (since it considers
'port  0 ' to be invalid).  The short-term fix is to use a port  32K.

[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I've been having trouble configuring JK2 (version 2.0.2) to connect to a
 Jetty server on any port other than 8009.  I'm including the
 workers2.properties file and the jk2.log.  I've had similar results on
 both IIS and Apache 1.3.  Has anyone had any luck running on other ports?

 The log below shows that it first tries to connect using port 8009 and
 gets a Connection refused even though the configuration file specifies
 another port (50101).  It then shows it trying to connect to the correct
 port and still getting a Connection refused, but I'm pretty sure that is
 bogus because I can telnet to that port and get a response.  When I start
 Jetty on port 8009 instead (even with the below configuration) everything
 works fine.

 Any ideas?  Am I missing some configuration parameters?

 Thanks,

 Jonathan

  workers2.properties 

 [logger:]
 level=INFO

 [shm:]
 file=${serverRoot}/logs/jk2.shm
 size=1048576

 [lb:load_balancer]

 [channel.socket:172.18.1.115:50101]
 port=50101
 host=172.18.1.115
 group=load_balancer
 lb_factor=1

 [uri:/test/*]
 group=lb:load_balancer

  jk2.log 

 [Tue Jan 20 02:38:40 2004]  (error) [jk_channel_socket.c (335)]:
channelSocket.open() connect failed 172.18.1.115:8009 146 Connection refused
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_ajp13.c (247)]:
ajp13.connect() failed ajp13:172.18.1.115:50101
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_ajp13.c (322)]:
ajp13.service() failed to connect endpoint errno=146 Connection refused
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_ajp13.c (512)]:
ajp13.service() Error  forwarding ajp13:172.18.1.115:50101 1 1
 [Tue Jan 20 02:38:40 2004]  ( info) [jk_worker_ajp13.c (552)]:
ajp13.done() close endpoint ajp13:172.18.1.115:50101 error_state 1
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_lb.c (402)]: lb.service()
worker failed 21000 for ajp13:172.18.1.115:50101
 [Tue Jan 20 02:38:40 2004]  ( info) [jk_worker_lb.c (217)]: lb.getWorker()
All workers in error state, use the one with oldest error
 [Tue Jan 20 02:38:40 2004]  (error) [jk_channel_socket.c (335)]:
channelSocket.open() connect failed 172.18.1.115:8009 146 Connection refused
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_ajp13.c (247)]:
ajp13.connect() failed ajp13:172.18.1.115:50101
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_ajp13.c (322)]:
ajp13.service() failed to connect endpoint errno=146 Connection refused
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_ajp13.c (512)]:
ajp13.service() Error  forwarding ajp13:172.18.1.115:50101 1 1
 [Tue Jan 20 02:38:40 2004]  ( info) [jk_worker_ajp13.c (552)]:
ajp13.done() close endpoint ajp13:172.18.1.115:50101 error_state 1
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_lb.c (402)]: lb.service()
worker failed 21000 for ajp13:172.18.1.115:50101
 [Tue Jan 20 02:38:40 2004]  ( info) [jk_worker_lb.c (217)]: lb.getWorker()
All workers in error state, use the one with oldest error
 [Tue Jan 20 02:38:40 2004]  ( info) [jk_worker_lb.c (248)]: lb.getWorker()
We tried all possible workers 2
 [Tue Jan 20 02:38:40 2004]  (error) [jk_worker_lb.c (348)]:
lb_worker.service() all workers in error or disabled state
 [Tue Jan 20 02:38:40 2004]  (error) [mod_jk2.c (427)]: mod_jk.handler()
Error connecting to tomcat 21000




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



disableUploadTimeout

2004-01-21 Thread Krause Karin
Hi everybody,
I have a question regarding the org.apache.coyote.tomcat4.CoyoteConnector (Tomcat 
4.1.27)
What does the property disableUploadTimeout really mean? I do not understand the 
explanation:
This flag allows the servlet container to use a different, longer connection timeout 
while a servlet is being executed, which in the end allows either the servlet a longer 
amount of time to complete its execution, or a longer timeout during data upload. If 
not specified, this attribute is set to false.
Which connection timeout will be used if the property is set to true? Is it 
recommended to set it to true?
Thanx for any help.
Karin




Viele Grüsse
Karin Krause

WIOI1
052 261 2947


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: disableUploadTimeout

2004-01-21 Thread Bill Barker
Actually, I believe that there is a documentation error:  I believe that the
default value is 'true'.

With all other values at there default setting, disableUploadTimeout=true
means that Tomcat will use a longer timeout value (default: 5Min, like
Apache/httpd) when reading the request message body than it does when
waiting for the next keep-alive request (default: 15Sec).  This can be
usefull if your webapp uploads large amounts of data, but probably won't
matter if you only POST small, simple forms.

Krause Karin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everybody,
I have a question regarding the org.apache.coyote.tomcat4.CoyoteConnector
(Tomcat 4.1.27)
What does the property disableUploadTimeout really mean? I do not
understand the explanation:
This flag allows the servlet container to use a different, longer
connection timeout while a servlet is being executed, which in the end
allows either the servlet a longer amount of time to complete its execution,
or a longer timeout during data upload. If not specified, this attribute is
set to false.
Which connection timeout will be used if the property is set to true? Is it
recommended to set it to true?
Thanx for any help.
Karin




Viele Grüsse
Karin Krause

WIOI1
052 261 2947




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to limit( or reduce) the amount of RAM used by Tomcat?

2004-01-21 Thread Salvador Santander Gutierrez
I want to limit ( or reduce) the max Mb of RAM for the tomcat application,
Can I configure this in Tomcat?
We've a problem with Tomcat: Memory assigned to Tomcat grows and grows and
when process of Tomcat use the 64% of phisical memory, Tomcat crash and I
need to restart the server.
We're using Red Hat Linux 9, jdk 1.4.2, and Tomcat 4.1.24.
Thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to limit( or reduce) the amount of RAM used by Tomcat?

2004-01-21 Thread William Sundberg
Try and use the java memory options:

export JAVA_OPTS='-Xms64m -Xmx128m'


-Original Message-
From: Salvador Santander Gutierrez
[mailto:[EMAIL PROTECTED]
Sent: den 21 januari 04 09:25
To: Tomcat List
Subject: How to limit( or reduce) the amount of RAM used by Tomcat?


I want to limit ( or reduce) the max Mb of RAM for the tomcat application,
Can I configure this in Tomcat?
We've a problem with Tomcat: Memory assigned to Tomcat grows and grows and
when process of Tomcat use the 64% of phisical memory, Tomcat crash and I
need to restart the server.
We're using Red Hat Linux 9, jdk 1.4.2, and Tomcat 4.1.24.
Thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.0 mod_jk Configuration

2004-01-21 Thread Bill Barker

Brennon Obst [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Thank you for the reply,

 Could you please clairify a few points.
 1. Is the new home available for web access?

It is just a re-packaging, nothing more.  TC 5 doesn't contain the
o.a.ajp.** packages.


 2. For Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/usr/local/apache2/modules/mod_jk.so
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)?


Listener className=org.apache.jk.config.ApacheConfig ... /
Everything else is the same.

 3. Is there a new version of the how-to for jk2/Apache2/tomcat5.0 ?


Not yet (As another thread has pointed out, I'm not the best doc writer :).
The TC 4 docs are still vaild, once you change the package name however.
Also, ApacheConfig doesn't work with mod_jk2:  It is only for mod_jk.

 Thank you in advance,

 Brennon Obst

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker
 Sent: Wednesday, 21 January 2004 4:42 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat 5.0  mod_jk Configuration


 As of 5.0.18, ApacheConfig and friends have moved to their new home in
 the org.apache.jk.config package.  With 5.0.18, there is no change in
 the functionality.  It may be extended on future releases.

 Brennon Obst [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Tomcat 5.0  mod_jk Configuration
  by James Thornton [EMAIL PROTECTED] PROTECTED]  Dec
 
 http://www.talkaboutprogramming.com/group/comp.lang.java.programmer/arc
 hive
  /2003-12-31.html 31, 2003 at 12:34 AM
 
 
 
  What in tomcat 5.0's configuration for mod_jk differs from how you
  would
 
  do it for tomcat 4.x? Is this documented anywhere?
 
 
 
  In the tomcat 4.x server.xml, I had:
 
 
 
  Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 
  modJk=/usr/local/apache2/modules/mod_jk.so /
 
 
 
  Is this the same for tomcat 5? (notice ...ajp.tomcat4.config...)
 
 
 
  I tried simply changing it to ...ajp.tomcat5.config... to no avail.
 
 
 
  Thanks.
 
 
 
  I have posted this exact same thing and also do not have any avenues
  yet. Can anyone help us out here? thank you in advance,
 
 
  Brennon Obst
 
 
  Java Security Programmer
  iEnergy Main Branch
  39 Melbourne St. / Brisbane
  p. (617) 3846-
  [EMAIL PROTECTED]
 
 
 




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: disableUploadTimeout

2004-01-21 Thread Salvador Santander Gutierrez
Yes, the value is false or true.

- Original Message -
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 9:35 AM
Subject: Re: disableUploadTimeout


 Actually, I believe that there is a documentation error:  I believe that
the
 default value is 'true'.

 With all other values at there default setting,
disableUploadTimeout=true
 means that Tomcat will use a longer timeout value (default: 5Min, like
 Apache/httpd) when reading the request message body than it does when
 waiting for the next keep-alive request (default: 15Sec).  This can be
 usefull if your webapp uploads large amounts of data, but probably won't
 matter if you only POST small, simple forms.

 Krause Karin [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
 Hi everybody,
 I have a question regarding the org.apache.coyote.tomcat4.CoyoteConnector
 (Tomcat 4.1.27)
 What does the property disableUploadTimeout really mean? I do not
 understand the explanation:
 This flag allows the servlet container to use a different, longer
 connection timeout while a servlet is being executed, which in the end
 allows either the servlet a longer amount of time to complete its
execution,
 or a longer timeout during data upload. If not specified, this attribute
is
 set to false.
 Which connection timeout will be used if the property is set to true? Is
it
 recommended to set it to true?
 Thanx for any help.
 Karin




 Viele Grüsse
 Karin Krause

 WIOI1
 052 261 2947




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: disableUploadTimeout

2004-01-21 Thread Krause Karin
Thanx for your answer.
Now it is more clear for me.
By the way, I have seen that the default value for the disableUploadTimeout is yet 
false.
It is logged by the org.apache.jk.server.JkCoyoteHandler (in Debug level).
Regards Karin

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 21. Januar 2004 09:36
To: [EMAIL PROTECTED]
Subject: Re: disableUploadTimeout


Actually, I believe that there is a documentation error:  I believe that the
default value is 'true'.

With all other values at there default setting, disableUploadTimeout=true
means that Tomcat will use a longer timeout value (default: 5Min, like
Apache/httpd) when reading the request message body than it does when
waiting for the next keep-alive request (default: 15Sec).  This can be
usefull if your webapp uploads large amounts of data, but probably won't
matter if you only POST small, simple forms.

Krause Karin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi everybody,
I have a question regarding the org.apache.coyote.tomcat4.CoyoteConnector
(Tomcat 4.1.27)
What does the property disableUploadTimeout really mean? I do not
understand the explanation:
This flag allows the servlet container to use a different, longer
connection timeout while a servlet is being executed, which in the end
allows either the servlet a longer amount of time to complete its execution,
or a longer timeout during data upload. If not specified, this attribute is
set to false.
Which connection timeout will be used if the property is set to true? Is it
recommended to set it to true?
Thanx for any help.
Karin





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How can I limit ( or reduce) the max Mb of RAM for tomcat?

2004-01-21 Thread Salvador Santander Gutierrez
I want to limit ( or reduce) the max Mb of RAM for tomcat,
Can I configure this in Tomcat?
We've a problem with Tomcat: Memory assigned to Tomcat grows and grows and
when process of Tomcat use the 64% of phisical memory, Tomcat crash and I
need to restart the server.
We're using Red Hat Linux 9, jdk 1.4.2, and Tomcat 4.1.24 with the options
JAVA_OPST=-server -Xms128m -Xmx512m -Dfile.encoding=ISO-8859-1
Thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



connectionTimeout

2004-01-21 Thread Krause Karin
 Hi everybody,
 I have a question regarding the configuration/behaviour of the 
 org.apache.coyote.tomcat4.CoyoteConnector (Tomcat 4.1.27).
I use Tomcat together with Apache (over mod_jk).
When I set the connectionTimeout to a very high value (for example 5 hours) and the 
maxProcessors to a very
low value (for example 3) I can see the following behaviour. I can only make 2 
requests,
than tomcat complains
org.apache.tomcat.util.threads.ThreadPool: All threads are busy, waiting. Please 
increase maxThreads or check the servlet status3 3
No more requests can be performed until a restart.
Does this mean a connection (socket) is as long occupied as long the connectionTimeout 
is set (even if the response was already sent back to the browser)?
I had expected that even if the set connectiontimeout is high, the socket should be 
given free when the response is sent back to the client.
I observed the Tomcat process by means of lsof and saw that the tomcat process has 
opened 3 sockets to apache.
When I set a connectionTimeout to a low value (for example 15 sec) the error above 
(all threads are busy) does not appear any more.
The lsof command shows that sockets are regulary removed and build again. I debug the 
Tomcat code and saw that the socket is 
closed when the timeout occurs. I had expected another behaviour. I mean that not 
every time a new socket is established from Tomcat
to apache but sockets are reused.

Thanx for any help
Karin



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TC on Xeon, chapter 0

2004-01-21 Thread K. Harvatis
TC still starts with 'severe filterStart' errors. Both 5.0 and 4.1. Not a
single magic spell changed anything.

Here's a more basic question: Why on one machine TC5 runs fine, out of the
box, while on the other (just to start) it needs a \lib directory?

(Both machines are Intel - Windows 2000)



Kostas Harvatis
-
National Center for Social Research - Directorate of Research Support
www.ekke.gr




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How can I limit ( or reduce) the max Mb of RAM for tomcat?

2004-01-21 Thread Peter Guyatt
Hi There,

the -Xmx is what is used to limit the maximum amount of memeory that java
uses.

I have heard of problems in the JVM itself when using the -server, try
removing this and see if this memory problem resolves itself.


It could be that there is a memory leak in your code, do you have a session
listener that adds sessions to a collection?, if so do you remove them from
this collection when the session is destroyed ?

Thanks

Pete

-Original Message-
From: Salvador Santander Gutierrez
[mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 09:00
To: Tomcat List
Subject: How can I limit ( or reduce) the max Mb of RAM for tomcat?


I want to limit ( or reduce) the max Mb of RAM for tomcat,
Can I configure this in Tomcat?
We've a problem with Tomcat: Memory assigned to Tomcat grows and grows and
when process of Tomcat use the 64% of phisical memory, Tomcat crash and I
need to restart the server.
We're using Red Hat Linux 9, jdk 1.4.2, and Tomcat 4.1.24 with the options
JAVA_OPST=-server -Xms128m -Xmx512m -Dfile.encoding=ISO-8859-1
Thanks.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: connectionTimeout

2004-01-21 Thread Bill Barker

Krause Karin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  Hi everybody,
  I have a question regarding the configuration/behaviour of the
org.apache.coyote.tomcat4.CoyoteConnector (Tomcat 4.1.27).
 I use Tomcat together with Apache (over mod_jk).
 When I set the connectionTimeout to a very high value (for example 5
hours) and the maxProcessors to a very
 low value (for example 3) I can see the following behaviour. I can only
make 2 requests,
 than tomcat complains
 org.apache.tomcat.util.threads.ThreadPool: All threads are busy, waiting.
Please increase maxThreads or check the servlet status3 3

Yup.  In the normal state, the 'maxProcessors' should be at least as big as
the number of Apache children.  Also, 'connectionTimeout' should usually be
disabled (although on a few Linux systems, I've had problems doing this).
There is a one-to-one mapping from Apache children to Tomcat socket
connections.  If Apache launches one more child than Tomact can handle, you
will see the results as below.

 No more requests can be performed until a restart.
 Does this mean a connection (socket) is as long occupied as long the
connectionTimeout is set (even if the response was already sent back to the
browser)?
 I had expected that even if the set connectiontimeout is high, the socket
should be given free when the response is sent back to the client.
 I observed the Tomcat process by means of lsof and saw that the tomcat
process has opened 3 sockets to apache.
 When I set a connectionTimeout to a low value (for example 15 sec) the
error above (all threads are busy) does not appear any more.
 The lsof command shows that sockets are regulary removed and build again.
I debug the Tomcat code and saw that the socket is
 closed when the timeout occurs. I had expected another behaviour. I mean
that not every time a new socket is established from Tomcat
 to apache but sockets are reused.

 Thanx for any help
 Karin




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



HELP: Want to custom the TOMCAT NOT-FOUND page.

2004-01-21 Thread Rai Ou
Tomcat will give the HTTP 404, 500 (and so on...) Error pages when 
accessed by a wrong URL. 

I want to custom that pages but, it seems that they are hard-coding
in tomcat, any good ideas for doing it ?

Thanks. 
Rai.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Urgent-Java webservers on iSeries and other platforms

2004-01-21 Thread Pete Stokes
Thanks for all your help.

Pete.



Peter Lin wrote:

My friend works at a shop that is heavily IBM centric. They use solaris, and iSeries. they had a similar issue with memory going crazy and not getting cleared correctly. Once they patched the VM, the memory issues went away.

it's possible you may have found a new GC issue, which has no fix yet. The problem he discovered was patched last year. I don't know the details, but the behavior you described sounded very similar to his experience.

this behavior sounds similar to other GC issues. sorry I can't provide more details about my friend's environment, since that information is beyond my reach. I believe he is using jdk1.3.1, since they are very slow with upgrades and typically wait a long time.

peter lin





Pete Stokes [EMAIL PROTECTED] wrote:
Peter,
Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM! ;) (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.
Peter Lin wrote:

 

I asked around and a close friend encountered a similar problem a year back. Try patching the VM and the problem should go away.

peter lin

Peter Stokes wrote:
Hi,
I'm on a site where a third party application has been put on WebSphere 4.0.5 on an iSeries 820/V5R2. We have had horrendous performance / stability problems even with 10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I then actually have some stats / papers to help recommendations, if IBM cannot fix this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
   



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: connectionTimeout

2004-01-21 Thread Krause Karin
thanx for your answer (again )

As far as I know I cannot disable the connectionTimeout.
The connectionTimeout I mean here is a property of the CoyoteConnector
(and if not set the default value is 60 sec). What I do not understand is,
why the socket is not free again after the response is sent back to the client.
Tomcat can only accept new requests if the socket is removed (and it is removed
when the connectionTimeout is reached).

Cheers Karin

-Original Message-
From: Bill Barker [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 21. Januar 2004 10:34
To: [EMAIL PROTECTED]
Subject: Re: connectionTimeout



Krause Karin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  Hi everybody,
  I have a question regarding the configuration/behaviour of the
org.apache.coyote.tomcat4.CoyoteConnector (Tomcat 4.1.27).
 I use Tomcat together with Apache (over mod_jk).
 When I set the connectionTimeout to a very high value (for example 5
hours) and the maxProcessors to a very
 low value (for example 3) I can see the following behaviour. I can only
make 2 requests,
 than tomcat complains
 org.apache.tomcat.util.threads.ThreadPool: All threads are busy, waiting.
Please increase maxThreads or check the servlet status3 3

Yup.  In the normal state, the 'maxProcessors' should be at least as big as
the number of Apache children.  Also, 'connectionTimeout' should usually be
disabled (although on a few Linux systems, I've had problems doing this).
There is a one-to-one mapping from Apache children to Tomcat socket
connections.  If Apache launches one more child than Tomact can handle, you
will see the results as below.

 No more requests can be performed until a restart.
 Does this mean a connection (socket) is as long occupied as long the
connectionTimeout is set (even if the response was already sent back to the
browser)?
 I had expected that even if the set connectiontimeout is high, the socket
should be given free when the response is sent back to the client.
 I observed the Tomcat process by means of lsof and saw that the tomcat
process has opened 3 sockets to apache.
 When I set a connectionTimeout to a low value (for example 15 sec) the
error above (all threads are busy) does not appear any more.
 The lsof command shows that sockets are regulary removed and build again.
I debug the Tomcat code and saw that the socket is
 closed when the timeout occurs. I had expected another behaviour. I mean
that not every time a new socket is established from Tomcat
 to apache but sockets are reused.

 Thanx for any help
 Karin




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [RE-POST] Re: Eclipse+Ant+Tomcat 5 - problems [HELP!]

2004-01-21 Thread Remy Maucherat
Brice Ruth wrote:

Remy Maucherat wrote:

Brice Ruth wrote:

OK, I'm not getting any closer with Tomcat 5. Using the localWar
attribute (and specifying a file:/// URL to my .WAR) - I was able to get
the Tomcat deploy task to work. Great. So, I then modified my remove
to use the undeploy task - tested that, works fine. Now, when I run my
deploy task again, it seems to do the double-init again (and throw
exceptions) Here's what I get:
[INFO] TilesPlugin - -Tiles definition factory loaded for module ''.
Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardHostDeployer
remove
INFO: Removing web application at context path /fiskars.com
Jan 20, 2004 10:59:27 AM org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger
Catalina:type=Logger,path=/fiskars.com,host=localhost
Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:C:\Tomcat-5.0\conf\Catalina\localhost\fiskars.com.xml
Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Cannot find message associated with key
standardContext.resourcesStart
java.lang.IllegalArgumentException: Document base
C:\Tomcat-5.0\webapps\fiskars.com does not exist or is not a readable
directory
then (after the first stack trace):

Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jan 20, 2004 10:59:27 AM org.apache.catalina.core.StandardContext start
SEVERE: Exception during cleanup after start failed
LifecycleException:  Container StandardContext[/fiskars.com] has not
been started
The [INFO] line for Tiles is the last line of my standard startup log
output - when this line hits, the app is finished starting.
Now, notice how the next line is talking about a remove ... what the
*heck* is going on here?!?
Respectfully, and frustrated,


When you undeploy, 
C:\Tomcat-5.0\conf\Catalina\localhost\fiskars.com.xml should be 
removed. At least this is what's intended.
I think you should post the task sequence so that this is reproduceable.

Yet another solution: you can create a .war in the host appBase and 
overwrite it to redeploy the webapp.

Thanks, Remy. Here's what I do:

- start Tomcat 5
- deploy WAR (localWar)
- undeploy WAR
- deploy WAR
*BANG*
If you don't post the task list, I can't help you.

I've worked around this for now by having localWar point to my 
project, which is structured as a valid deployment (unpacked WAR) - and 
just using the reload action, after doing an initial install.

I've noticed, however, that the temporary context.xml files don't get 
removed when I shut-down Tomcat 5. This seems like a bug, right?
No. The .xml should only be removed on undeploy.

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: HELP: Want to custom the TOMCAT NOT-FOUND page.

2004-01-21 Thread Krause Karin
Hi,
you can specify custom error pages in the web.xml
file
see the servlet spec

here is an example:

error-page
error-code404/error-code
location/errorpages/404.html/location
/error-page

Karin


-Original Message-
From: Rai Ou [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 21. Januar 2004 10:24
To: 'Tomcat Users List'
Subject: HELP: Want to custom the TOMCAT NOT-FOUND page.


Tomcat will give the HTTP 404, 500 (and so on...) Error pages when 
accessed by a wrong URL. 

I want to custom that pages but, it seems that they are hard-coding
in tomcat, any good ideas for doing it ?

Thanks. 
Rai.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: jspexception in admin webapp

2004-01-21 Thread James Neville
Apu

further, this is not due to clicking save or going back or any such user
action, it happens as soon as i click the Service (Catalina) link. 

It also happened for us with any host or context nodes. (without using 
the back button and on all browsers)

See my post here:-
http://marc.theaimsgroup.com/?l=tomcat-userm=107399516922291w=2
We have since reproduced it on a similar machine, using TC 5.0.16, and 
assumed it was something to do with the struts libraries that came with 
the binary distribution.
We tried replacing them with the struts/bean etc .jars from the 1.0/1.1 
distributions, to no avail.

However, we managed to get a working TC 5.0.16 by building from source.
I must say that the new ant build works a treat! :)
I wish I could clarify the problem further, sorry I can't be any more help.

James.

 

On Tuesday 20 January 2004 02:22 pm, Apu Shah wrote:
   

wondering if anyone has seen this while running the admin webapp
from tomcat 5.0.16?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Single session across webapps

2004-01-21 Thread Todd O'Bryan
I asked a much more involved question before and no one responded, so...

Is there a way to share sessions across webapps running in the same 
container? A previous message talked about putting a singleton in 
/common/lib, but wasn't too specific about how to work it. Could 
somebody be more specific or direct me somewhere that is?

Thanks,
Todd
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Single session across webapps

2004-01-21 Thread Dale, Matt

There is no actual way that I know of to directly share sessions.

I'd imagine what the person meant was if you create a singleton in /common/lib, then 
you need to store all the session information for each user in that singleton, then 
when you enter a new app you should check in the singleton to see if the information 
for that user has been stored and if so then replicate all the information there into 
the current session. Not exactly session sharing but a shared location for objects 
common across webapps.

Ta
Matt

-Original Message-
From: Todd O'Bryan [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 11:04
To: Tomcat Users List
Subject: Single session across webapps


I asked a much more involved question before and no one responded, so...

Is there a way to share sessions across webapps running in the same 
container? A previous message talked about putting a singleton in 
/common/lib, but wasn't too specific about how to work it. Could 
somebody be more specific or direct me somewhere that is?

Thanks,
Todd


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat - Automatically writes a session?

2004-01-21 Thread Sanjeev Kumar

Login to the tomcat server administration
(http://serverhost:8080/admin). In the left frame go to Tomcat Server
- Service - Host. Below the Host click on the context which is
applicable to your web application. In the right frame you can see the
Context properties. Set the values for Cookies to 'false'. Click on
'Save'.

Is it worth trying!!!???

  Neal wrote:
  I used the tag  which does appear correct,
  but I'm still seeing that header:
  
  Set-Cookie: JSESSIONID=97C8777F16379B8EC2CD17273CE35C3C; Path=/
  
  There are two reasons why I want to get rid of this:
  
  1. I assume I'm waiting server resources holding open a 
 session for 
  every user, unnecessarily.
  
  2. I've been told this may prevent Google from properly 
 spidering the 
  site.
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Single session across webapps

2004-01-21 Thread Sanjeev Kumar
Putting in /common/lib ensures the classes are loaded by the system
classloader. The application classes are loaded by the 'war classloader'
which is a child of system classloader. You can access the classes
loaded by the system classloader from the web applications.

-Original Message-
From: Dale, Matt [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 21, 2004 4:39 PM
To: Tomcat Users List
Subject: RE: Single session across webapps


There is no actual way that I know of to directly share sessions.

I'd imagine what the person meant was if you create a singleton in
/common/lib, then you need to store all the session information for each
user in that singleton, then when you enter a new app you should check
in the singleton to see if the information for that user has been stored
and if so then replicate all the information there into the current
session. Not exactly session sharing but a shared location for objects
common across webapps.

Ta
Matt

-Original Message-
From: Todd O'Bryan [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 11:04
To: Tomcat Users List
Subject: Single session across webapps


I asked a much more involved question before and no one responded, so...

Is there a way to share sessions across webapps running in the same 
container? A previous message talked about putting a singleton in 
/common/lib, but wasn't too specific about how to work it. Could 
somebody be more specific or direct me somewhere that is?

Thanks,
Todd


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Gurlal Brar
Hi Everybody,

 We can deploy a web application directly into Tomcat and use itself as
web server.In second case we can integrate Tomcat with any web server(Apache
or Tomcat) using AJP connector.
 Which approach is best under which circumstances?
 Can i  get any documentation which contains comparison of both
approaches ?

  
 
Thanks and Regards
Gurlal Brar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread jerome moliere
 Hi Everybody,

  We can deploy a web application directly into Tomcat and use itself
 as
 web server.In second case we can integrate Tomcat with any web
 server(Apache
 or Tomcat) using AJP connector.
there are many others available
using the in-process approach for exemple (tomcat becoming achild of the
apache process)
  Which approach is best under which circumstances?
for your 2 architectures you must just consider your requirements:
- delivering static pages or just dynamic pages (servlets/JSP)
- using complex HTTP handlings (proxies/url rewritings) or direct HTTP
requests
if you answer A) to both questions use an AJP connector (or at least A) to
second question)
if answer B) to both questions, use tomcat stand alone

  Can i  get any documentation which contains comparison of both
 approaches ?

humm I guess, that you can find numerous books dealing with such topic
(wrox press professional tomcat e.g)

HTH
Jerome


 Thanks and Regards
 Gurlal Brar

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Ben Souther
   Which approach is best under which circumstances?
We don't know your circumstances.  

   Can i  get any documentation which contains comparison of both
   approaches ?
This issue has been discussed many times on this list so a search of the 
archives should give you plenty to read.  There have also been articles 
published on this subject so a google search should also give you plenty to 
read.

While reading, you may run into statements that claim that Tomcat is much 
slower than apache at serving up static documents.  While this certainly was 
the case with earlier releases, there have been significant improvements in 
both the Java runtime and in Tomcat itself that have narrowed the gap.




On Wednesday 21 January 2004 06:46 am, you wrote:
 Hi Everybody,

  We can deploy a web application directly into Tomcat and use itself as
 web server.In second case we can integrate Tomcat with any web
 server(Apache or Tomcat) using AJP connector.
  Which approach is best under which circumstances?
  Can i  get any documentation which contains comparison of both
 approaches ?



 Thanks and Regards
 Gurlal Brar

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Single session across webapps

2004-01-21 Thread Robbie Baldock
Todd wrote:

 Is there a way to share sessions across webapps running in the same 
 container? 

Yes, I do this for a set of apps which I wrote recently.

You need to make sure each of the apps which need access to the
cross-context session are defined like this in server.xml:

Context path=/mycontext docBase=mydocbase debug=0 reloadable=true
crossContext=true
...
/Context

crossContext=true is the important bit.

If you're deploying your apps as WARs you'll need to deploy them, restart
Tomcat, edit server.xml and then restart Tomcat again...!

As for accessing this shared session, I found some code on the web ages ago
which had examples but I can't find this at the moment.

The code I use for reading information from the shared session looks like
this:

ServletContext currentContext = config.getServletContext();
ServletContext sharedSessionContext =
currentContext.getContext(sharedcontextname);
Hashtable sessiondata =
(Hashtable)sharedSessionContext.getAttribute(attributename);

However, as others have suggested, I was only able to get code like this
working when loaded from common/lib or common/classes.  

In my case, I have this code running in a servlet filter loaded from a JAR
in common/lib.

Hope that helps.


Robbie



RE: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Yiannis Mavroukakis
No easy answer on this one..There are proponents of the httpd-Tomcat
approach
who say that since Apache httpd has been developed to excel at static
content 
delivery then you should use that.
On the other hand, there are people that say that Tomcat can perform equally
well at serving static content, so why burden yourself with another 
layer?
I would say try both out, and see what performs better for YOU. Load test
tomcat as standalone and httpd+tomcat together. There is no clear cut
solution
and nothing works the same for everyone.

Good luck,
Yiannis

-Original Message-
From: Gurlal Brar [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 11:47
To: [EMAIL PROTECTED]
Subject: Apache-Tomcat integration vs Direct Tomcat


Hi Everybody,

 We can deploy a web application directly into Tomcat and use itself as
web server.In second case we can integrate Tomcat with any web server(Apache
or Tomcat) using AJP connector.
 Which approach is best under which circumstances?
 Can i  get any documentation which contains comparison of both
approaches ?

  
 
Thanks and Regards
Gurlal Brar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

RE: Help needed

2004-01-21 Thread Edson Alves Pereira
Try this:

in your applet code:

{
//...

getAppletContext( ).showDocument(
http://127.0.0.1/your-webapp/servlet/HellWorld; );
//...
}

 --
 De:   niranjan inamdar[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  terça-feira, 20 de janeiro de 2004 15:05
 Para: [EMAIL PROTECTED]
 Assunto:  Help needed
 
 hello,
   I am a new tomcat user and i want to know whether we
 can use tomcat for applet - servlet connection using
 java URL class and openconnection methode. I am trying
 to invoke a servlet from an applet using java URL
 class but the servlet is not being activated. do i
 nedd to change any config. options? I just can't see
 whether servlet is getting invoked. 
 
 __
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 http://hotjobs.sweepstakes.yahoo.com/signingbonus
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/connectors.html#integrate

-Tim

Gurlal Brar wrote:
Hi Everybody,

 We can deploy a web application directly into Tomcat and use itself as
web server.In second case we can integrate Tomcat with any web server(Apache
or Tomcat) using AJP connector.
 Which approach is best under which circumstances?
 Can i  get any documentation which contains comparison of both
approaches ?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Help needed

2004-01-21 Thread Ben Souther
You might want to read this as well.
http://csajsp-chapters.corewebprogramming.com/CSAJSP-Chapter17.pdf






On Wednesday 21 January 2004 08:25 am, you wrote:
   Try this:

   in your applet code:

   {
   //...

   getAppletContext( ).showDocument(
 http://127.0.0.1/your-webapp/servlet/HellWorld; );
   //...
   }

  --
  De: niranjan inamdar[SMTP:[EMAIL PROTECTED]
  Responder:  Tomcat Users List
  Enviada:terça-feira, 20 de janeiro de 2004 15:05
  Para:   [EMAIL PROTECTED]
  Assunto:Help needed
 
  hello,
I am a new tomcat user and i want to know whether we
  can use tomcat for applet - servlet connection using
  java URL class and openconnection methode. I am trying
  to invoke a servlet from an applet using java URL
  class but the servlet is not being activated. do i
  nedd to change any config. options? I just can't see
  whether servlet is getting invoked.
 
  __
  Do you Yahoo!?
  Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
  http://hotjobs.sweepstakes.yahoo.com/signingbonus
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat 5.x and ServletContainer JAAS objects

2004-01-21 Thread Scott McReynolds
Hi,
I have implemented a JAAS Relm with Tomcat 4.X.  After I upgraded to 
Tomcat 5.x I get an error saying that the LoginModule class could not be 
found.  The class location had not changed from 4.x to 5.x.  
I added the webapp/web-inf/lib to the server.loader property of the 
catalina.properties file.  That fixed the class not found problem but now 
when I try to use my ServletContainer JAAS object I now get an error 
saying that org.apache.turbine.services.InstantiationException: 
ServiceBroker: unknown service Logging requested (which is log4j) which is in 
the web application config folder.
I am using Tomcat 5.x with Jetspeed.  Any thoughts.  It seems as if the 
classloader has been broken with Tomcat 5.x
 
Any thoughts?




-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes

develop new application

2004-01-21 Thread seema gupta
I just want to know 
How can i create a new context in apache-tomcat-4.1.29?
By context i mean that i want to create a new application to be run on tomcat.how can 
i accomplish that?
Please explain me in detail.



Changing FORM Authentication page

2004-01-21 Thread Ricardo García
Is there some way to personalise the form authentication page of a context by passing 
a parameter? I want to change an image of the login page depending on the origin 
(static) page of the user. Is this possible?
 
Thanks,
Ricardo.


The Tomcat(5.0.16) service does not start on Windows XP

2004-01-21 Thread Tobias Eriksson
Hi 
 I'm having a tough time here trying to figure out why the Windows
Service for Tomcat wont start. This is what I have done:
 
1) I've downloaded Tomcat 5.0.16, and unzipped the files into a
directory, (E:\tomcat_test\).
 
2) I have also installed the service according to the link:
http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2
0service
http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%
20service 
I.e. with the following arguments
E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5
--DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4
http://jakarta.apache.org; --ImagePath  E:\tomcat_test\jakarta-tomcat
-5.0.16\bin\bootstrap.jar --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop  --Java
C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt
--StdErrorFile e:\err.txt --WorkingPath
e:\tomcat_test\jakarta-tomcat-5.0.16\
 
3) Launched Windows Services tool, and started it from there, but then
it seems to start and then it exists
 
4) As an alternative I started it from the command line by using the
command:
E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw
//GT//Tomcat5
Now this works, cause the process comes up and I am able to browse the
http://localhost:8080 http://localhost:8080/  page with no trouble
 
5) And then I started it by using the command:
e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw
//GT//Tomcat5
Now this does NOT work
 
I've been using both regmon and filemon to try and figure out what is
happening. 
 
And this is my conclusion without a solution :-(
 
So when I am running it from the command line, from the working
directory it works fine. From the tools filemon and regmon I could see
important differences between when it worked and when it did NOT work.
The differences seems to be that the service is very dependent on the
actual working directory, cause when it did not work it failed to find
the entries below, whereas when it worked fine it used the proper path
to these, 
 
NOT WORKING
C:\Windows\system32\conf\catalina.properties
C:\Windows\system32\common\classes
C:\Windows\system32\common\endorsed
C:\Windows\system32\common\lib
 
WORKING
E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties
E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes
E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed
E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib
 
Any ideas, what is going wrong here?
 
Regards
 Tobias
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: The Tomcat(5.0.16) service does not start on Windows XP

2004-01-21 Thread Robbie Baldock
There should be something in Tomcat/logs/catalina.out to explain where the
problem is.

Or at least, try to start the service and see what's in the most recently
written to logs in this directory.


Robbie

-Original Message-
From: Tobias Eriksson [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 12:56
To: [EMAIL PROTECTED]
Subject: The Tomcat(5.0.16) service does not start on Windows XP


Hi 
 I'm having a tough time here trying to figure out why the Windows
Service for Tomcat wont start. This is what I have done:
 
1) I've downloaded Tomcat 5.0.16, and unzipped the files into a
directory, (E:\tomcat_test\).
 
2) I have also installed the service according to the link:
http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2
0service
http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%
20service 
I.e. with the following arguments
E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5
--DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4
http://jakarta.apache.org; --ImagePath  E:\tomcat_test\jakarta-tomcat
-5.0.16\bin\bootstrap.jar --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop  --Java
C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt
--StdErrorFile e:\err.txt --WorkingPath
e:\tomcat_test\jakarta-tomcat-5.0.16\
 
3) Launched Windows Services tool, and started it from there, but then
it seems to start and then it exists
 
4) As an alternative I started it from the command line by using the
command:
E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw
//GT//Tomcat5
Now this works, cause the process comes up and I am able to browse the
http://localhost:8080 http://localhost:8080/  page with no trouble
 
5) And then I started it by using the command:
e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw
//GT//Tomcat5
Now this does NOT work
 
I've been using both regmon and filemon to try and figure out what is
happening. 
 
And this is my conclusion without a solution :-(
 
So when I am running it from the command line, from the working
directory it works fine. From the tools filemon and regmon I could see
important differences between when it worked and when it did NOT work.
The differences seems to be that the service is very dependent on the
actual working directory, cause when it did not work it failed to find
the entries below, whereas when it worked fine it used the proper path
to these, 
 
NOT WORKING
C:\Windows\system32\conf\catalina.properties
C:\Windows\system32\common\classes
C:\Windows\system32\common\endorsed
C:\Windows\system32\common\lib
 
WORKING
E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties
E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes
E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed
E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib
 
Any ideas, what is going wrong here?
 
Regards
 Tobias
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: The Tomcat(5.0.16) service does not start on Windows XP

2004-01-21 Thread Tobias Eriksson
Hi Robbie,
 Problem is that none of the logs stderr,stdout and the one in the
c:\jakarta-service.log files contain anything, they are created but
nothing is written to them...

/Tobias

-Original Message-
From: Robbie Baldock [mailto:[EMAIL PROTECTED] 
Sent: den 21 januari 2004 13:58
To: 'Tomcat Users List'
Subject: RE: The Tomcat(5.0.16) service does not start on Windows XP

There should be something in Tomcat/logs/catalina.out to explain where
the
problem is.

Or at least, try to start the service and see what's in the most
recently
written to logs in this directory.


Robbie

-Original Message-
From: Tobias Eriksson [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 12:56
To: [EMAIL PROTECTED]
Subject: The Tomcat(5.0.16) service does not start on Windows XP


Hi 
 I'm having a tough time here trying to figure out why the Windows
Service for Tomcat wont start. This is what I have done:
 
1) I've downloaded Tomcat 5.0.16, and unzipped the files into a
directory, (E:\tomcat_test\).
 
2) I have also installed the service according to the link:
http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2
0service
http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%
20service 
I.e. with the following arguments
E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5
--DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4
http://jakarta.apache.org; --ImagePath  E:\tomcat_test\jakarta-tomcat
-5.0.16\bin\bootstrap.jar --StartupClass
org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
org.apache.catalina.startup.Bootstrap;main;stop  --Java
C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt
--StdErrorFile e:\err.txt --WorkingPath
e:\tomcat_test\jakarta-tomcat-5.0.16\
 
3) Launched Windows Services tool, and started it from there, but then
it seems to start and then it exists
 
4) As an alternative I started it from the command line by using the
command:
E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw
//GT//Tomcat5
Now this works, cause the process comes up and I am able to browse the
http://localhost:8080 http://localhost:8080/  page with no trouble
 
5) And then I started it by using the command:
e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw
//GT//Tomcat5
Now this does NOT work
 
I've been using both regmon and filemon to try and figure out what is
happening. 
 
And this is my conclusion without a solution :-(
 
So when I am running it from the command line, from the working
directory it works fine. From the tools filemon and regmon I could see
important differences between when it worked and when it did NOT work.
The differences seems to be that the service is very dependent on the
actual working directory, cause when it did not work it failed to find
the entries below, whereas when it worked fine it used the proper path
to these, 
 
NOT WORKING
C:\Windows\system32\conf\catalina.properties
C:\Windows\system32\common\classes
C:\Windows\system32\common\endorsed
C:\Windows\system32\common\lib
 
WORKING
E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties
E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes
E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed
E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib
 
Any ideas, what is going wrong here?
 
Regards
 Tobias
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Measuring latency between tomcat instances

2004-01-21 Thread Jeremy Nix
We have an instance where tomcat instance (A) is communicating with
tomcat instance (B), where instance (B) is located at another site.
Instance (A) formulates a request to instance (B) and instance (B)
responds with some valid response.  Now, my question is, from a
standpoint of instance (B), is it possible to measure latency?  If so,
how?


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Measuring latency between tomcat instances

2004-01-21 Thread Tim Funk
LOG4j might be nice kludge for this. On tomcat A, time the appropriate events 
 on how long it takes to do stuff on tomcat B.  Then log it in a specially 
formatted message. (mylogger.log(time:  + timeTaken) Then do the same on 
tomcat B. Its easier to do on tomcatB since you can use a Valve or servlet 
filter and stay out of the business logic.

I say LOG4J since it provides asynchronous loggers (Unless the performance on 
the non-asynchronous loggers are neglible in this case). But with LOG4j (or 
insert logging framework here) - you can use it to write to any log file or 
format you want. So your normal error messages can go to one file while these 
special messages can go to a differnet file/database/...

--

Or you can compare acces log entries since it does offer a %T option for time 
taken.

-Tim

Jeremy Nix wrote:

We have an instance where tomcat instance (A) is communicating with
tomcat instance (B), where instance (B) is located at another site.
Instance (A) formulates a request to instance (B) and instance (B)
responds with some valid response.  Now, my question is, from a
standpoint of instance (B), is it possible to measure latency?  If so,
how?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Changing FORM Authentication page

2004-01-21 Thread Matt Raible
You could check the referer and change accordingly.

 -Original Message-
 From: Ricardo García [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 21, 2004 5:15 AM
 To: Tomcat-user-list (E-mail)
 Subject: Changing FORM Authentication page
 
 
 Is there some way to personalise the form authentication page 
 of a context by passing a parameter? I want to change an 
 image of the login page depending on the origin (static) page 
 of the user. Is this possible?
  
 Thanks,
 Ricardo.
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Measuring latency between tomcat instances

2004-01-21 Thread Jeremy Nix
Okay, let me pose another (slightly differenc) question.  Say that
instance (A) and (B) are separate institutions, independent from each
other.  Same scenario as before.  How could instance (B) (the responding
instance) be able to measure latency in instance (A)?  The reason I ask
is related to an issue that has been reported to me, but I am unable to
understand how the latency was measured.


_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158



-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 21, 2004 8:26 AM
To: Tomcat Users List
Subject: Re: Measuring latency between tomcat instances


LOG4j might be nice kludge for this. On tomcat A, time the appropriate
events 
  on how long it takes to do stuff on tomcat B.  Then log it in a
specially 
formatted message. (mylogger.log(time:  + timeTaken) Then do the same
on 
tomcat B. Its easier to do on tomcatB since you can use a Valve or
servlet 
filter and stay out of the business logic.

I say LOG4J since it provides asynchronous loggers (Unless the
performance on 
the non-asynchronous loggers are neglible in this case). But with LOG4j
(or 
insert logging framework here) - you can use it to write to any log file
or 
format you want. So your normal error messages can go to one file while
these 
special messages can go to a differnet file/database/...

--

Or you can compare acces log entries since it does offer a %T option for
time 
taken.

-Tim

Jeremy Nix wrote:

 We have an instance where tomcat instance (A) is communicating with 
 tomcat instance (B), where instance (B) is located at another site. 
 Instance (A) formulates a request to instance (B) and instance (B) 
 responds with some valid response.  Now, my question is, from a 
 standpoint of instance (B), is it possible to measure latency?  If so,

 how?
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Measuring latency between tomcat instances

2004-01-21 Thread Philipp Taprogge
Hi!

Jeremy Nix wrote:
We have an instance where tomcat instance (A) is communicating with
tomcat instance (B), where instance (B) is located at another site.
Instance (A) formulates a request to instance (B) and instance (B)
responds with some valid response.  Now, my question is, from a
standpoint of instance (B), is it possible to measure latency?  If so,
how?
In order to measure latency between two systems (regardless of the 
application performing the measurement), you first need a way to 
synchronise the clocks at both sites. In most cases this brings a 
certain amount of tolerance you can't overcome. (For instance, 
synchronizing with an internet time server imposes a tolerance of a few 
miliseconds du to network packet delays).
Since you will only get accurate readings from withing the application 
(i.e. tomcat) you will then have to make sure that both OS'es system 
clocks are equally accurate. (For example System.currentTimeMillis() has 
a range of up to 50ms on Windows9x systems).
That said is it simple to write a small servlet that runs on A and makes 
a request to B including it's current time. A servlet on B then echos 
that request back to A and adds it's current time as well. Finally the 
servlet on A generates  some kind of user output containing the measured 
runtimes.

HTH

		Phil

--
And on the seventh day, He exited from append mode.
(Book of create(2), line 255)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Problem setting the mail.smtp.host in the server.xml (tomcat 5.0. 16)

2004-01-21 Thread Katz Guy
Hi;
I am using tomcat 5.0.16.
I configured the following uinder the global naming resources:

Resource auth=Container description=U name=mail/waves/Session
type=javax.mail.Session/
.
ResourceParams name=mail/waves/Session
  parameter
namemail.smtp.host/name
valuein.inter.net/value
  /parameter
/ResourceParams


However, when I try to send an email I see that 'localhost' is used instead
of 'in.inter.net'.
I also check in my code what the
session.getProperties().get(mail.smtp.host) returns and its 'localhost'

Is there a problem or bug related to configuring the smtp host in this
version?
Am I doing something wrong here?
Thanks,.



Re: Measuring latency between tomcat instances

2004-01-21 Thread Tim Funk
Instance B knows nothing about instance A. Instance B is only serving 
responses to instance A. Instance A might do a lot of work before and after 
it talks to instance B which might make instance B look bad even if that is 
the short part of a transaction.

The only gotcha is if client side javascript were introduced. The javascript 
might be doing calls back to A introducing a nasty piece to the puzzle.

-Tim

Jeremy Nix wrote:

Okay, let me pose another (slightly differenc) question.  Say that
instance (A) and (B) are separate institutions, independent from each
other.  Same scenario as before.  How could instance (B) (the responding
instance) be able to measure latency in instance (A)?  The reason I ask
is related to an issue that has been reported to me, but I am unable to
understand how the latency was measured.
_
Jeremy Nix
Southwest Financial Services, LTD.
[EMAIL PROTECTED]
(513) 621-6699 ext.1158


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 21, 2004 8:26 AM
To: Tomcat Users List
Subject: Re: Measuring latency between tomcat instances

LOG4j might be nice kludge for this. On tomcat A, time the appropriate
events 
  on how long it takes to do stuff on tomcat B.  Then log it in a
specially 
formatted message. (mylogger.log(time:  + timeTaken) Then do the same
on 
tomcat B. Its easier to do on tomcatB since you can use a Valve or
servlet 
filter and stay out of the business logic.

I say LOG4J since it provides asynchronous loggers (Unless the
performance on 
the non-asynchronous loggers are neglible in this case). But with LOG4j
(or 
insert logging framework here) - you can use it to write to any log file
or 
format you want. So your normal error messages can go to one file while
these 
special messages can go to a differnet file/database/...

--

Or you can compare acces log entries since it does offer a %T option for
time 
taken.

-Tim

Jeremy Nix wrote:


We have an instance where tomcat instance (A) is communicating with 
tomcat instance (B), where instance (B) is located at another site. 
Instance (A) formulates a request to instance (B) and instance (B) 
responds with some valid response.  Now, my question is, from a 
standpoint of instance (B), is it possible to measure latency?  If so,


how?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Urgent-Java webservers on iSeries and other platforms

2004-01-21 Thread Peter Lin
 
good luck with your debugging. I hope  you're able to fix it. if you figure out the 
problem, I hope you post the solution. In case others are struggling with iSeries :)
 
peter lin


Pete Stokes [EMAIL PROTECTED] wrote:
Thanks for all your help.

Pete.



Peter Lin wrote:

 
My friend works at a shop that is heavily IBM centric. They use solaris, and iSeries. 
they had a similar issue with memory going crazy and not getting cleared correctly. 
Once they patched the VM, the memory issues went away.
 
it's possible you may have found a new GC issue, which has no fix yet. The problem he 
discovered was patched last year. I don't know the details, but the behavior you 
described sounded very similar to his experience.
 
this behavior sounds similar to other GC issues. sorry I can't provide more details 
about my friend's environment, since that information is beyond my reach. I believe 
he is using jdk1.3.1, since they are very slow with upgrades and typically wait a 
long time.
 
peter lin
 
 
 


Pete Stokes wrote:
Peter,

Apparently we are fully PTF'd up, os, websphere, the works.

Did your friend get it working or did they move platforms?

If your friend whom had similar experiences could share them, it would 
be great to hear what they did. Anything would help because it's got to 
the point of IBM throwing RAM at us. I'm sure at this stage of the game 
we could try and get a finders fee from IBM! ;) (they're throwing RAM 
modules at 8k a pop for nothing so it's worth a go!!)

Regards,
Pete.


Peter Lin wrote:

 

I asked around and a close friend encountered a similar problem a year back. Try 
patching the VM and the problem should go away.

peter lin


Peter Stokes wrote:
Hi,

I'm on a site where a third party application has been put on WebSphere 4.0.5 on an 
iSeries 820/V5R2. We have had horrendous performance / stability problems even with 
10 users and even IBM cannot seem to help.

Production is currently sitting pretty on a rushed install of SuSE 9 on a Dell 
desktop with 1gig RAM and Tomcat.

What I am after is opinions / a comparason someone has done (weblink?) / docco about 
Java webservers performance looking at iSeries, Intel, Sparcs etc. They are into the 
iSeries/WebSphere 4.0.5 mindset, but no one can answer why this was the recommended 
setup and they seem to be fixed on this route, but no-one can make it work!

There is nothing else on WebSphere other than this app, so if I can get some info, I 
then actually have some stats / papers to help recommendations, if IBM cannot fix 
this in the next couple of days (they've had level 1 guys on it for 6 weeks).

Anything would be a great help.

Pete.




***
This email and any files transmitted with it are confidential and intended solely 
for the use of the individual or entity to whom they are addressed. If you have 
received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper 
for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


 




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
 




***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of 

RE: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Shapira, Yoav

Howdy,
I was nearly brought to tears of joy by the responses in this thread...
Excellent...


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 7:33 AM
To: Tomcat Users List
Subject: Re: Apache-Tomcat integration vs Direct Tomcat

http://jakarta.apache.org/tomcat/faq/connectors.html#integrate

-Tim

Gurlal Brar wrote:
 Hi Everybody,

  We can deploy a web application directly into Tomcat and use
itself
as
 web server.In second case we can integrate Tomcat with any web
server(Apache
 or Tomcat) using AJP connector.
  Which approach is best under which circumstances?
  Can i  get any documentation which contains comparison of both
 approaches ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problems with javascript utf-8 with tomcat 4.1.29

2004-01-21 Thread frontofyou
Good question !

Don't lose hope.

but ask you're question in esperanto !

STOCKHOLM, Raymond wrote:

Since I have upgraded to tomcat 4.1.29 (from 4.1.27), my javascript pages containing UTF-8 characters
are interpreted as ISO-8859-1 in Mozilla and OPera, but not IE 5.5
My JSP pages are properly declared UTF-8 :
%@ page contentType=text/html;charset=UTF-8 pageEncoding=UTF-8  %
My HTML page also: 
meta http-equiv=Content-Type content=text/html; charset=UTF-8
So is my javascript file :
script type=text/javascript src=javascript/menu.js charset=UTF-8/script
The javascript files are used to contain the translations of the menus,
now I have A@ instead of é in my menus...
Any ideas ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: develop new application

2004-01-21 Thread Shapira, Yoav

Howdy,
Read http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/index.html

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: seema gupta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 1:40 AM
To: [EMAIL PROTECTED]
Subject: develop new application

I just want to know

How can i create a new context in apache-tomcat-4.1.29?

By context i mean that i want to create a new application to be run on
tomcat.how can i accomplish that?

Please explain me in detail.





This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to set session timeout?

2004-01-21 Thread Shapira, Yoav

Howdy,
You should read the specification for session timeout.  You can't set it
for less than a minute using web.xml.  The default is 30 minutes.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 7:52 PM
To: Tomcat Users List
Subject: Re: How to set session timeout?

Whats the default value set for session timeout?? (tomcat 4.1.29)?

ie if I do not specify the session-timeout whats the default ?

Thanks


On Jan 20, 2004, at 3:30 PM, Filip Hanik wrote:

 in web.xml in your web application (WEB-INF/web.xml)

 Filip
 - Original Message -
 From: Mufaddal Khumri [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, January 20, 2004 2:27 PM
 Subject: How to set session timeout?


 From where can you set the session timeout ? In other words where in
 Tomcat can you control the session timeout ?

 Thanks



-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TCP Windowsize

2004-01-21 Thread Sebastian Klenk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everybody,

i have written a small application which connects to tomcat, sends some
data and recieves some data.
the problem i have is that tomcat suddenly sets the tcp window size to
zero so that the application stopps sending data and tomcat starts
sending its response before the request is finished. this only happens
when sending large data (ca 90+ kb)
can somebody tell me why this is happening and how to prevent tomcat
from doing that!?






Application Code ...
- -
Socket  ClientSocket = null;
OutputStreamWriter  Sender = null;
InputStreamReader   Reciever = null;
~StringBufferXMLBuffer = new StringBuffer();



		try {

ClientSocket = new Socket(IPAddress, Port);
Sender = new 
OutputStreamWriter(ClientSocket.getOutputStream());
Reciever = new 
InputStreamReader(ClientSocket.getInputStream());
} catch (UnknownHostException e) {
 System.err.println(Unknown host:  + IPAddress);
} catch(IOException e){
 System.err.println(IOException:  + IPAddress +  -  +
e.getMessage());
}
~try{
~/*
~POST /RPC2 HTTP/1.0
~User-Agent: Frontier/5.1.2 (WinNT)
~Host: betty.userland.com
~Content-Type: text/xml
~Content-length: 181
~?xml version=1.0?
~methodCall
~methodNameexamples.getStateName/methodName
~ params
~param
~valuei441/i4/value
~/param
~/params
~/methodCall
~*/
~/* POST */
~// + SourcePath + /data/Text?id=1edt=+id+
~String Message = new String(Method +   + File +
HTTP/1.1\r\n);
~Sender.write(Message,0,Message.length());
~/* HOST */
~Message = new String(Host: + IPAddress +: + Port + \r\n);
~Sender.write(Message,0,Message.length());
~Message = new String(Content-Type: text/xml\r\n);
~Sender.write(Message,0,Message.length());
~Message = new String(Transfer-Encoding: chunked\r\n);
~Sender.write(Message,0,Message.length());
~Message = new String(Content-Length: +Data.length()+\r\n);
~Sender.write(Message,0,Message.length());
~Message = new String(Connection: close\r\n\r\n);
~Sender.write(Message,0,Message.length());
~System.out.println(chunked: + 0x2000 + \nData.length():
+ Data.length());
~if (Data.length()  0x2000) {
~Sender.write(Data.length()+\r\n);
~Sender.write(Data,0,Data.length());
~Sender.write(\r\n,0,2);
~Sender.flush();
~}
~else {
~int a;
~for (a = 0; a  (Data.length() - 0x2000); a = a + 0x2000) {
~Sender.write(2000\r\n);
~Sender.write(Data.substring(a,a+0x2000),0,0x2000);
~Sender.write(\r\n,0,2);
~Sender.flush();
~}
~int b = (Data.length() - a);
~System.out.println(a: + a + \nb: + b +
\nData.length(): + Data.length());
~if (b  0x2000) {
~Sender.write(b + \r\n);
~Sender.write(Data.substring(Data.length() -
b,Data.length()),0,b);
~Sender.write(\r\n,0,2);
~Sender.flush();
~}
~}
~Sender.write(0,0,1);
~Sender.write(\r\n,0,2);
~Sender.flush();
} catch (UnknownHostException e) {
 System.err.println(getServer() : Unknown host:  + 
IPAddress);
} catch(IOException e){
 System.err.println(getServer() : IOException:  + IPAddress +  
-
 + e.getMessage());
}


~try {

~int c;
~while (Reciever.ready()) {
~c = Reciever.read();
~XMLBuffer.append((char)c);
~}
~/*String test[];
~// header / body
~test = XMLBuffer.toString().split(\r\n\r\n);
*/
~}catch (EOFException e){
~}catch (Exception e) {
~System.out.println(getServer() : Exception Cought:  +
e.getMessage());
~return null;
~}
~return XMLBuffer.toString();









Tomcat Servlet Code ...
- -
~ImageData Data = new ImageData();

~if (request.getMethod().equals(POST)) {
~try {
~StringBuffer Body = new StringBuffer();
~InputStreamReader BodyReader 

Re: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread K. Harvatis
To all those who were interested in this problem:

The change needed was to remove j2ee.jar from the classpath!

Still, I cannot figure out why
1) It run on my pc with j2ee.jar included
2) It needs that empty \lib created.

Regards,


Kostas Harvatis



- Original Message - 
From: Sanjeev Kumar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 2:17 PM
Subject: RE: TC5 won't start on Xeon


 In Catalina.bat replace the below line with
 
  set _EXECJAVA=start Tomcat %_RUNJAVA%
 With 
  set _EXECJAVA= %_RUNJAVA%
 
 Then cd to the bin directory and type
 Catalina start
 
 --- Check the output now
 
 
 -Original Message-
 From: K. Harvatis [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 19, 2004 5:42 PM
 To: Tomcat Users List
 Subject: Re: TC5 won't start on Xeon
 
 catalina start closes the DOS window too!
 
 
 - Original Message -
 From: Ben Souther [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 19, 2004 2:10 PM
 Subject: Re: TC5 won't start on Xeon
 
 
  Instead of using startup.bat, cd to the bin directory and type:
  catalina start
 
  This will cause TC to run in  a seperate DOS widow.  You may see some
 more
  information there.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache-Tomcat integration vs Direct Tomcat

2004-01-21 Thread Yiannis Mavroukakis
ROFLMAO! Why did I miss the joy part on my first read of your response?:)

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 13:58
To: Tomcat Users List
Subject: RE: Apache-Tomcat integration vs Direct Tomcat



Howdy,
I was nearly brought to tears of joy by the responses in this thread...
Excellent...


Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 7:33 AM
To: Tomcat Users List
Subject: Re: Apache-Tomcat integration vs Direct Tomcat

http://jakarta.apache.org/tomcat/faq/connectors.html#integrate

-Tim

Gurlal Brar wrote:
 Hi Everybody,

  We can deploy a web application directly into Tomcat and use
itself
as
 web server.In second case we can integrate Tomcat with any web
server(Apache
 or Tomcat) using AJP connector.
  Which approach is best under which circumstances?
  Can i  get any documentation which contains comparison of both
 approaches ?



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

RE: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Robbie Baldock
In my opinion, having j2ee.jar on the CLASSPATH is OK for building apps but
I never put it on the runtime CLASSPATH.  

Apps should get any J2EE files they need from the container (eg:
servlet.jar).


Robbie

-Original Message-
From: K. Harvatis [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 14:20
To: Tomcat Users List
Subject: Re: TC5 won't start on Xeon --SOLVED


To all those who were interested in this problem:

The change needed was to remove j2ee.jar from the classpath!

Still, I cannot figure out why
1) It run on my pc with j2ee.jar included
2) It needs that empty \lib created.

Regards,


Kostas Harvatis



- Original Message - 
From: Sanjeev Kumar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 2:17 PM
Subject: RE: TC5 won't start on Xeon


 In Catalina.bat replace the below line with
 
  set _EXECJAVA=start Tomcat %_RUNJAVA%
 With 
  set _EXECJAVA= %_RUNJAVA%
 
 Then cd to the bin directory and type
 Catalina start
 
 --- Check the output now
 
 
 -Original Message-
 From: K. Harvatis [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 19, 2004 5:42 PM
 To: Tomcat Users List
 Subject: Re: TC5 won't start on Xeon
 
 catalina start closes the DOS window too!
 
 
 - Original Message -
 From: Ben Souther [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, January 19, 2004 2:10 PM
 Subject: Re: TC5 won't start on Xeon
 
 
  Instead of using startup.bat, cd to the bin directory and type:
  catalina start
 
  This will cause TC to run in  a seperate DOS widow.  You may see some
 more
  information there.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Single session across webapps

2004-01-21 Thread Shapira, Yoav

Howdy,
Keep in mind that one possible reason for the lack of responses to your
original question is that it's a FAQ: you can search the archives for
answers.  It's also on the actual FAQ
(http://jakarta.apache.org/tomcat/faq)
in the HowTo wiki section.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Todd O'Bryan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 6:04 AM
To: Tomcat Users List
Subject: Single session across webapps

I asked a much more involved question before and no one responded,
so...

Is there a way to share sessions across webapps running in the same
container? A previous message talked about putting a singleton in
/common/lib, but wasn't too specific about how to work it. Could
somebody be more specific or direct me somewhere that is?

Thanks,
Todd


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Shapira, Yoav

Howdy,

Apps should get any J2EE files they need from the container (eg:
servlet.jar).

You're obviously entitled to your opinion, but you're wrong on this one
;)  Apps aren't necessarily going to get all their J2EE files from the
container.

Consider the case of a servlet/JSP webapp running on tomcat wishing to
communicate to a remote JMS server.  The webapp must have the JMS APIs
and a JMS client implementation.  These are not available by default in
servlet containers like tomcat, though they are in full-fledged J2EE
servers.

You would then obtain the jms.jar and a client implementation for your
server (OpenJMS rocks!), and put them in the WEB-INF/lib directory of
your webapp.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5 for production?

2004-01-21 Thread Shapira, Yoav

Howdy,
I'm disappointed to see someone even dignified Candyman's statement with a response ;)

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 9:29 PM
To: Tomcat Users List
Subject: Re: Tomcat 5 for production?



Candyman wrote:

Tomcat 5.0.18 more stable than 16, but it still have a lot of errors and
bugs.

He! before making such statement, can you dress a list of lot of errors
and bugs? Your statement is completely wrong.  There is not a lot of
errors and bugs:


http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEWbug_status=ASS
IGNEDbug_status=REOPENEDemail1=emailtype1=substringemailassigned_to1=1
email2=emailtype2=substringemailreporter2=1bugidtype=includebug_id=cha
ngedin=votes=chfieldfrom=chfieldto=Nowchfieldvalue=product=Tomcat+5sh
ort_desc=short_desc_type=allwordssubstrlong_desc=long_desc_type=allwords
substrbug_file_loc=bug_file_loc_type=allwordssubstrkeywords=keywords_ty
pe=anywordsfield0-0-0=nooptype0-0-0=noopvalue0-0-
0=cmdtype=doitorder=Reuse+same+sort+as+last+time



-- Jeanfrancois


If somebody will ask me I will recommend Jboss for the same
purposes.

Hello, Katz.

19  2004 ., 5:54:18 you wrote:

KG Hi;
KG I am a bi confused.
KG It the current release of 5.0.16 stable a production ready release?
KG If not, when could we expect a tomcat 5.x which is ready for
production.
KG P.S: when I say ready for production I think of non beta and ok with
KG licensing. (never mind the bugs...)
KG Thanks in advance.







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat - Automatically writes a session?

2004-01-21 Thread Shapira, Yoav

Howdy,

Well, the cookie is written but RAM memory must be allocated for these
users as well, right?  If you have a timeout set to 30 minutes, you've
got
a lot of little pieces of RAM being held by these users at any given
time.
Seems waistful to me, regardless how small they are.  It just seems
silly
to be writing cookies for every page, regardless of whether you need
one.

Ignoring the fact this is a spec-mandate feature, I suggest you run a
profiler on tomcat with your alleged cookie problem to see how much
memory is wasted before you complain.  Care to put your money where
your mouth is? ;)

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Robbie Baldock
Sorry, what I meant was apps should get their classes either from their J2EE
container or the relevant client JAR file!  

In other words, not from j2ee.jar.


Robbie

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 14:43
To: Tomcat Users List
Subject: RE: TC5 won't start on Xeon --SOLVED



Howdy,

Apps should get any J2EE files they need from the container (eg:
servlet.jar).

You're obviously entitled to your opinion, but you're wrong on this one
;)  Apps aren't necessarily going to get all their J2EE files from the
container.

Consider the case of a servlet/JSP webapp running on tomcat wishing to
communicate to a remote JMS server.  The webapp must have the JMS APIs
and a JMS client implementation.  These are not available by default in
servlet containers like tomcat, though they are in full-fledged J2EE
servers. 

You would then obtain the jms.jar and a client implementation for your
server (OpenJMS rocks!), and put them in the WEB-INF/lib directory of
your webapp.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat 5 for production?

2004-01-21 Thread Ben Souther
I'm sure that if someone else hadn't, you would have.  ;-)



On Wednesday 21 January 2004 09:44 am, Shapira, Yoav wrote:
 Howdy,
 I'm disappointed to see someone even dignified Candyman's statement with a
 response ;)

 Yoav Shapira
 Millennium ChemInformatics

 -Original Message-

 From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]

 Sent: Tuesday, January 20, 2004 9:29 PM
 To: Tomcat Users List
 Subject: Re: Tomcat 5 for production?
 
 Candyman wrote:
 Tomcat 5.0.18 more stable than 16, but it still have a lot of errors and
 bugs.
 
 He! before making such statement, can you dress a list of lot of errors
 and bugs? Your statement is completely wrong.  There is not a lot of
 errors and bugs:
 
 
 http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEWbug_status=AS
 S
  IGNEDbug_status=REOPENEDemail1=emailtype1=substringemailassigned_to1=
 1
  email2=emailtype2=substringemailreporter2=1bugidtype=includebug_id=c
 ha
  ngedin=votes=chfieldfrom=chfieldto=Nowchfieldvalue=product=Tomcat+5
 sh
  ort_desc=short_desc_type=allwordssubstrlong_desc=long_desc_type=allwor
 ds
  substrbug_file_loc=bug_file_loc_type=allwordssubstrkeywords=keywords_
 ty pe=anywordsfield0-0-0=nooptype0-0-0=noopvalue0-0-
 0=cmdtype=doitorder=Reuse+same+sort+as+last+time
 
 
 
 -- Jeanfrancois
 
 If somebody will ask me I will recommend Jboss for the same
 purposes.
 
 Hello, Katz.
 
 19  2004 ., 5:54:18 you wrote:
 
 KG Hi;
 KG I am a bi confused.
 KG It the current release of 5.0.16 stable a production ready release?
 KG If not, when could we expect a tomcat 5.x which is ready for
 
 production.
 
 KG P.S: when I say ready for production I think of non beta and ok with
 KG licensing. (never mind the bugs...)
 KG Thanks in advance.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an) intended
 recipient, please immediately delete this e-mail from your computer system
 and notify the sender.  Thank you.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison  Company, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Clustering question...

2004-01-21 Thread Rick Szeto
As I was not involved in the design decision, I can not say whether or 
not that it is a good call or not. But the reason that we need 
application context replication is that the entire site serves up  
relatively static data(infrequent updates) to all of it the users. They 
did not feel that hitting the DB every time a page is accessed was 
efficient.

Rick

Filip Hanik wrote:

application context data doesn't get replicated, since this is not tied to a
user, hence it doesn't serve any purpose in fail over.
ie, what ever got stored in application context on server A, should have got
stored on B by the same mechanism, not by session replication.
Is there a huge need to replicate context data?

Filip

- Original Message -
From: Rick Szeto [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 19, 2004 1:53 PM
Subject: Clustering question...
 

Hi All,
 I have question about synchronizing data within the application
context. If the data of a webapp's application context changes within
one of the nodes in the cluster, how does the other nodes get the
updated application context data? Is it handle the same way as user
session data(via some session manager implementation)? Or does the
change(s) get distributed?
Thanks for any help you can give,
Rick Szeto
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: out of memory problem. Help!

2004-01-21 Thread Cox, Charlie
Try this in your jk2.properties file and see if it fixes it for 4.1.29.
According to Bill Barker(thread: maxProcessors vs maxThreads), this is the
same as the 5.x connector setting for jk2.

container.maxThreads=value
container.maxSpareThreads=value
container.minSpareThreads=value

Unfortunately I do not have time to mess with this right now, but I am
interested to know if it fixes the leak.

Charlie

 -Original Message-
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of David Strupl
 Sent: Monday, January 19, 2004 2:08 PM
 To: [EMAIL PROTECTED]
 Subject: Re: out of memory problem. Help!
 
 This did not work for me in 4.1.29 since the only way to do this is to
 set minProcessors==maxProcessors but that did not have any effect in
 4.1.29. I am not sure whether I could use xxxThreads there but
 downgrading to 4.1.27 did help.
 
 For those using 5.0.16 this can help - Filip thanks for finding out.
 
 Best,
 
 David
 
 Filip Hanik wrote:
  set maxSpareThreads=minSpareThreads=maxThreads will cause the system to
  never shrink the pool
 
  Filip
 
  -Original Message-
  From: news [mailto:[EMAIL PROTECTED] Behalf Of David Strupl
  Sent: Monday, January 19, 2004 9:58 AM
  To: [EMAIL PROTECTED]
  Subject: Re: out of memory problem. Help!
 
 
  Remy Maucherat wrote:
 
 This is not true: there's indeed a memory leak with 5.0.16, but it would
 occur only with specific traffic patterns. It will not bring a server
 down in just a few requests.
 
 
  Indeed. The thread pool has to grow and shrink for this to happen.
  Unfortunatelly quite common e.g. day and night traffic.
 
  D.
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 5 for production?

2004-01-21 Thread Shapira, Yoav

Howdy,

I'm sure that if someone else hadn't, you would have.  ;-)

Nope, I had already dismissed it ;)  I'm trying to be less edgy although
the next why isn't my /servlet/com.myclass URL working, it did in
tomcat 3 question might destroy my resolution ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Session Tracking Question

2004-01-21 Thread John Sidney-Woollett
I have a webapp in which a servlet will redirect to another remote
webserver URL which will then redirect back to my webserver after
completing its request.

me.com/ServletA   ---   remote.com/someURL  --- me.com/ServletB

I need to be able to re-attach to the original session that the user had
before (in servletA) after returning from the remote site to my URL
me.com/ServletB.

Do I need to do anything special or can I rely on the jsessionid which is
recorded in the cookie for me.com to be automatically picked up when
ServletB is invoked again? Or will ServletB create a new session?

If cookies are switched off, what info do I need to pass to the remote
server (which can POST back anything that I POST to it). Does someone have
some sample code for ServletA and ServletB that allows it to identify the
original session, and re-attach to it?

I'm sorry if I'm asking a dumb question, but I've been checking on the net
for some answers but I don't seem to be making much progress.

I'm currently using Tomcat 5.0.16

Thanks for any help.

John Sidney-Woollett


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Clustering question...

2004-01-21 Thread Peter Lin
 
if I understand correctly, you have multiple tomcat instances.
 
1. each system has the same webapp
2. each system caches data locally
3. you want to update the application context
4. you want the cluster to replicate the application context
5. you didn't design it and have to live with it
 
replicating the app context ideally should happen in a push manner if being in sync 
is of any importance. I'm not convinced enhancing the exist session replication is the 
best way to handle this because the data could be huge. Even if the documentation were 
to state, do not put large amounts of data in the application context, people will 
still do it and blame tomcat. the worse part is caching app context data means an 
additional burden on the session replication mechanism, which is dangerous.
 
It might be better off for your app context to register for updates with a JMS server. 
this way, changes can be pushed to the tomcat instances. Or something equivalent to a 
push mechanism.
 
peter lin
 


Rick Szeto [EMAIL PROTECTED] wrote:
As I was not involved in the design decision, I can not say whether or 
not that it is a good call or not. But the reason that we need 
application context replication is that the entire site serves up 
relatively static data(infrequent updates) to all of it the users. They 
did not feel that hitting the DB every time a page is accessed was 
efficient.

Rick


-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes

Re: [RE-POST] Re: Eclipse+Ant+Tomcat 5 - problems [HELP!]

2004-01-21 Thread Brice Ruth
Remy Maucherat wrote:

Brice Ruth wrote:

Remy Maucherat wrote:

I think you should post the task sequence so that this is 
reproduceable.

Thanks, Remy. Here's what I do:

- start Tomcat 5
- deploy WAR (localWar)
- undeploy WAR
- deploy WAR
*BANG*


If you don't post the task list, I can't help you.

Remy - I'm not sure what you mean by tasklist? From my Ant?

I've worked around this for now by having localWar point to my 
project, which is structured as a valid deployment (unpacked WAR) - 
and just using the reload action, after doing an initial install.

I've noticed, however, that the temporary context.xml files don't get 
removed when I shut-down Tomcat 5. This seems like a bug, right?


No. The .xml should only be removed on undeploy.

Ah, I thought I read somewhere in the Tomcat documentation that actions 
taken through the Manager app are temporary ... maybe that's just the 
install/remove tasks?

--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat 5 for production?

2004-01-21 Thread Yiannis Mavroukakis

Oh no, we likes acerbic comments my precious;)

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 15:04
To: Tomcat Users List
Subject: RE: Tomcat 5 for production?



Howdy,

I'm sure that if someone else hadn't, you would have.  ;-)

Nope, I had already dismissed it ;)  I'm trying to be less edgy although
the next why isn't my /servlet/com.myclass URL working, it did in
tomcat 3 question might destroy my resolution ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

Re: [RE-POST] Re: Eclipse+Ant+Tomcat 5 - problems [HELP!]

2004-01-21 Thread Remy Maucherat
Brice Ruth wrote:
Remy Maucherat wrote:
If you don't post the task list, I can't help you.

Remy - I'm not sure what you mean by tasklist? From my Ant?
Yes. I need to be able to reproduce precisely what you are doing.

I've worked around this for now by having localWar point to my 
project, which is structured as a valid deployment (unpacked WAR) - 
and just using the reload action, after doing an initial install.

I've noticed, however, that the temporary context.xml files don't get 
removed when I shut-down Tomcat 5. This seems like a bug, right?
No. The .xml should only be removed on undeploy.

Ah, I thought I read somewhere in the Tomcat documentation that actions 
taken through the Manager app are temporary ... maybe that's just the 
install/remove tasks?
Deployment related tasks are no longer temporary, which is what should 
have been the first time around. start/stop are, of course.

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: problems with javascript utf-8 with tomcat 4.1.29

2004-01-21 Thread Alain Baucant
Good question.

Don't lose hope and try again in esperanto ;^)

STOCKHOLM, Raymond wrote:

Since I have upgraded to tomcat 4.1.29 (from 4.1.27), my javascript pages containing UTF-8 characters
are interpreted as ISO-8859-1 in Mozilla and OPera, but not IE 5.5
My JSP pages are properly declared UTF-8 :
%@ page contentType=text/html;charset=UTF-8 pageEncoding=UTF-8  %
My HTML page also: 
meta http-equiv=Content-Type content=text/html; charset=UTF-8
So is my javascript file :
script type=text/javascript src=javascript/menu.js charset=UTF-8/script
The javascript files are used to contain the translations of the menus,
now I have A@ instead of é in my menus...
Any ideas ?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
*-
*  Alain Baucant  -  [EMAIL PROTECTED]
*-
*  Aubay Luxembourg  (OFFIS / Aubay-SI)
*
*  Phone: +352 29 92 50 (40)
*  Fax: +352 29 92 51
*  Mobile: +352 021 35 12 81
*
*  51, place de Strasbourg
*  L-2561 LUXEMBOURG
*
*  http://www.aubay.lu
*-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


java.util.zip Exception during application install

2004-01-21 Thread Barry Kimelman






I am running Tomcat 5.0.16 on Linux Redhat 9.

First let me say that the sample applications work OK.
I can compile my Tomcat application successfully.
I can deploy my application using the manager webapp URL in the Mozilla browser.
However when I run the "ant install" command I receive the following error :

build.xml:365: FAIL - Encountered exception java.util.zip.ZipException: error in opening zip file

How do I determine which zip file is causing the problem ?









RE: java.util.zip Exception during application install

2004-01-21 Thread Shapira, Yoav

Howdy,
There's no stack trace anywhere, including the tomcat logs, for your ZipException?

build.xml:365: FAIL - Encountered exception java.util.zip.ZipException: error in 
opening zip file
 
How do I determine which zip file is causing the problem ?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: problems with javascript utf-8 with tomcat 4.1.29

2004-01-21 Thread Edson Alves Pereira
Check or change your file.encoding variable to the encoding format
that you want.

 --
 De:   Alain Baucant[SMTP:[EMAIL PROTECTED]
 Responder:Tomcat Users List
 Enviada:  quarta-feira, 21 de janeiro de 2004 12:27
 Para: Tomcat Users List
 Assunto:  Re: problems with javascript utf-8 with tomcat 4.1.29
 
 Good question.
 
 Don't lose hope and try again in esperanto ;^)
 
 STOCKHOLM, Raymond wrote:
 
  Since I have upgraded to tomcat 4.1.29 (from 4.1.27), my javascript
 pages containing UTF-8 characters
  are interpreted as ISO-8859-1 in Mozilla and OPera, but not IE 5.5
  My JSP pages are properly declared UTF-8 :
  %@ page contentType=text/html;charset=UTF-8 pageEncoding=UTF-8  %
  My HTML page also: 
  meta http-equiv=Content-Type content=text/html; charset=UTF-8
  So is my javascript file :
  script type=text/javascript src=javascript/menu.js
 charset=UTF-8/script
  The javascript files are used to contain the translations of the menus,
  now I have A@ instead of é in my menus...
  Any ideas ?
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -- 
 *-
 *  Alain Baucant  -  [EMAIL PROTECTED]
 *-
 *  Aubay Luxembourg  (OFFIS / Aubay-SI)
 *
 *  Phone: +352 29 92 50 (40)
 *  Fax: +352 29 92 51
 *  Mobile: +352 021 35 12 81
 *
 *  51, place de Strasbourg
 *  L-2561 LUXEMBOURG
 *
 *  http://www.aubay.lu
 *-
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: The Tomcat(5.0.16) service does not start on Windows XP

2004-01-21 Thread Jacob Kjome
Grab the latest Tomcat-5.0.18 and use the CATALINA_HOME/bin/service.bat.  You
might need to add JAVA_HOME/lib/tools.jar to the ImagePath in order to get JSP
compiling, but otherwise it will work for you.  Just type:

service install


Jake

Quoting Tobias Eriksson [EMAIL PROTECTED]:

 Hi
  I'm having a tough time here trying to figure out why the Windows
 Service for Tomcat wont start. This is what I have done:
 
 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a
 directory, (E:\tomcat_test\).
 
 2) I have also installed the service according to the link:
 http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2
 0service
 http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%
 20service
 I.e. with the following arguments
 E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5
 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4
 http://jakarta.apache.org; --ImagePath  E:\tomcat_test\jakarta-tomcat
 -5.0.16\bin\bootstrap.jar --StartupClass
 org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass
 org.apache.catalina.startup.Bootstrap;main;stop  --Java
 C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt
 --StdErrorFile e:\err.txt --WorkingPath
 e:\tomcat_test\jakarta-tomcat-5.0.16\
 
 3) Launched Windows Services tool, and started it from there, but then
 it seems to start and then it exists
 
 4) As an alternative I started it from the command line by using the
 command:
 E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw
 //GT//Tomcat5
 Now this works, cause the process comes up and I am able to browse the
 http://localhost:8080 http://localhost:8080/  page with no trouble
 
 5) And then I started it by using the command:
 e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw
 //GT//Tomcat5
 Now this does NOT work
 
 I've been using both regmon and filemon to try and figure out what is
 happening.
 
 And this is my conclusion without a solution :-(
 
 So when I am running it from the command line, from the working
 directory it works fine. From the tools filemon and regmon I could see
 important differences between when it worked and when it did NOT work.
 The differences seems to be that the service is very dependent on the
 actual working directory, cause when it did not work it failed to find
 the entries below, whereas when it worked fine it used the proper path
 to these,
 
 NOT WORKING
 C:\Windows\system32\conf\catalina.properties
 C:\Windows\system32\common\classes
 C:\Windows\system32\common\endorsed
 C:\Windows\system32\common\lib
 
 WORKING
 E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties
 E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes
 E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed
 E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib
 
 Any ideas, what is going wrong here?
 
 Regards
  Tobias
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
Hi.
As some might know I have had problems with jsessionid.

I know what is causing the problem now. It is one of the newest
important updates from Microsoft Update for XP.

If anybody know what the problem is please let me know

Soren




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TC5 won't start on Xeon --SOLVED

2004-01-21 Thread Nikola Milutinovic
 You're obviously entitled to your opinion, but you're wrong on this one
 ;)  Apps aren't necessarily going to get all their J2EE files from the
 container.

From J2EE container, they will.

 Consider the case of a servlet/JSP webapp running on tomcat wishing to
 communicate to a remote JMS server.  The webapp must have the JMS APIs
 and a JMS client implementation.  These are not available by default in
 servlet containers like tomcat, though they are in full-fledged J2EE
 servers.

Precisely. Even in Tomcat's case, you shouldn't supply j2ee.jar, you should
supply jms.jar ONLY.

 You would then obtain the jms.jar and a client implementation for your
 server (OpenJMS rocks!), and put them in the WEB-INF/lib directory of
 your webapp.

Yup!

Nix.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Weird context performance issue

2004-01-21 Thread Robbie Baldock
Thanks for the responses to this.

It turned out to be because log4j doesn't work particularly well on AIX (or
at least the %C PatternLayout option) and this was dragging down one of the
webapps...!

I still don't entirely understand why my initial fix for this problem
worked but at least I've got to the bottom of the problem now.


Robbie

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 17:35
To: Tomcat Users List
Subject: Re: Weird context performance issue


 
this may be the result of default heap size.  I've seen similar behavior on
windows with Sun jdk1.4.1.  what I've seen in the past was the result of
stress testing. basically I have an app with takes a set of data and
processes it for a set number of iterations. 
 
when I run it for 100-700K iterations the performance is flat, but when I
run it with 750K, the response times go up 50-60%. If I increase the
iterations to 800K-2million, it remains flat. Once I changed the initial
heap setting, this behavior went away.
 
it could be the addition of extra stuff causes the VM to allocate a larger
heap, which results in normal performance. other than that, I can't think of
anything else that could cause it.
 
peter lin


Robbie Baldock [EMAIL PROTECTED] wrote:
Dear all -

This is my first post to the list and I'm posting because I have a truly
bizarre context-related performance problem which I have been unable to
resolve.

I'm running a set of Java 1.3 webapps in Tomcat 4.1.27 in an AIX (64 bit)
environment.

Each context has a /Test servlet which simply displays the contents of a
properties file. For all but one of the webapps this servlet finishes
processing within a few (less than 10) milliseconds as expected.

However, for one of the contexts this servlet takes 400-500ms to finish.
Other servlets in this context are also very much slower than similar
servlets running in other contexts.

The really weird part is that if I put a copy of the code for another
context's Test servlet into the slow context's WEB-INF/classes directory
and add an entry for it to web.xml the slow context suddenly speeds up and
runs at a satisfactory speed! This is despite the fact that there is no
interdependency between these two webapps.

I can't find any exceptions or debug info in any logs to explain why the
context is running slowly without this extra code. 

What I don't understand is why dropping some essentially redundant code from
another webapp should make the slightest bit of difference to the
performance of a webapp. 

To further spice up the mix, this problem does not exist in a Linux
installation of the same webapps...!

Any ideas would be most welcome.

Thanks.


Robbie Baldock



-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes


JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
Here is something odd .. I have just installed Tomcat 5.0.18 so that it does not use 
IIS/JK2 like our 5.0.16 install. 

I have deployed our webapp on it. The profiling between the 2 is totally different.

On the 5.0.16 profile just 2 requests to the webapp made the heap profile have a scale 
of 100-200MB being used. Now on 5.0.18 it is 10-30MB. 

Also, all the dynamic graphs showing heap use, object use ad GC are all really active 
and spiky whereas the 5.0.16 version was very linear and GC never seemed to happen.

I'm no expert in this stuff but something has changed bigtime with this 5.0.18 
install. They both use the same JVM too.



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Shapira, Yoav

Howdy,

On the 5.0.16 profile just 2 requests to the webapp made the heap
profile
have a scale of 100-200MB being used. Now on 5.0.18 it is 10-30MB.

This is a very good change, to use far less memory.  I'm wondering what
your pages do that two requests need that much memory, but that's
besides the point.

Also, all the dynamic graphs showing heap use, object use ad GC are all
really active and spiky whereas the 5.0.16 version was very linear and
GC
never seemed to happen.

This is also a good change, less references being held for a long time.

I'm no expert in this stuff but something has changed bigtime with this
5.0.18 install. They both use the same JVM too.

Yup, see the fixed memory leak in the release notes.  What you've
observed is good and expected.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OFF-TOPIC] RE: Weird context performance issue

2004-01-21 Thread Shapira, Yoav

Howdy,
Are you saying you observed different behavior for %C on the same JVM on
different platforms?  Or are they different JVMs?  If it's the former,
i.e. same JVM, please post your findings to the log4j-user list as I'd
like to explore them.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Robbie Baldock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 11:56 AM
To: 'Tomcat Users List'
Subject: RE: Weird context performance issue

Thanks for the responses to this.

It turned out to be because log4j doesn't work particularly well on AIX
(or
at least the %C PatternLayout option) and this was dragging down one of
the
webapps...!

I still don't entirely understand why my initial fix for this problem
worked but at least I've got to the bottom of the problem now.


Robbie

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 17:35
To: Tomcat Users List
Subject: Re: Weird context performance issue



this may be the result of default heap size.  I've seen similar
behavior on
windows with Sun jdk1.4.1.  what I've seen in the past was the result
of
stress testing. basically I have an app with takes a set of data and
processes it for a set number of iterations.

when I run it for 100-700K iterations the performance is flat, but when
I
run it with 750K, the response times go up 50-60%. If I increase the
iterations to 800K-2million, it remains flat. Once I changed the
initial
heap setting, this behavior went away.

it could be the addition of extra stuff causes the VM to allocate a
larger
heap, which results in normal performance. other than that, I can't
think
of
anything else that could cause it.

peter lin


Robbie Baldock [EMAIL PROTECTED] wrote:
Dear all -

This is my first post to the list and I'm posting because I have a
truly
bizarre context-related performance problem which I have been unable to
resolve.

I'm running a set of Java 1.3 webapps in Tomcat 4.1.27 in an AIX (64
bit)
environment.

Each context has a /Test servlet which simply displays the contents
of a
properties file. For all but one of the webapps this servlet finishes
processing within a few (less than 10) milliseconds as expected.

However, for one of the contexts this servlet takes 400-500ms to
finish.
Other servlets in this context are also very much slower than similar
servlets running in other contexts.

The really weird part is that if I put a copy of the code for another
context's Test servlet into the slow context's WEB-INF/classes
directory
and add an entry for it to web.xml the slow context suddenly speeds up
and
runs at a satisfactory speed! This is despite the fact that there is no
interdependency between these two webapps.

I can't find any exceptions or debug info in any logs to explain why
the
context is running slowly without this extra code.

What I don't understand is why dropping some essentially redundant code
from
another webapp should make the slightest bit of difference to the
performance of a webapp.

To further spice up the mix, this problem does not exist in a Linux
installation of the same webapps...!

Any ideas would be most welcome.

Thanks.


Robbie Baldock



-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



NT Service Stopped

2004-01-21 Thread RamaReddy Pottipati
Hi,
 
I am using Apache2.0.44, Mod_jk2 and Tomcat4.1.24.
 
All of sudden my tomcat service (NT Service) stopped and checked the event viewer log 
found nothing.
 
Tomcat service configured as Automatic and using Local System Account for logon.
 
Any help will be greatly appreciated.
 
Thanks,
Rama Reddy Pottipati
  _  

| Sr. Technical Specialist | iGATE Global Solutions Limited | Office: 412.406.4394 | 
Fax: 412.494.9272 | [EMAIL PROTECTED] | 
| 246 Alpha Drive, Pittsburgh, PA 15238 | Website:  http://www.igate.com/ 
www.igate.com |
 


RE: java.util.zip Exception during application install

2004-01-21 Thread Barry Kimelman






Note : The name of my application is "tomcat1".

Here are the last group of messages in the logfile prior to the detection of the ZIP problem

Manager: deploy: Deploying web application at '/tomcat1'
Manager : Uploading WAR file to /home/tomcat/jakarta-tomcat-5.0.16/webapps/tomcat1.war
Manager: Extracting XML file to /home/tomcat/jakarta-tomcat-5.0.16/conf/Catalina/localhost/tomcat1.xml
Manager: managerServlet.extract[/tomcat]
java,util.zip.ZIPException: error in opening zip file

 at java.util.zip.ZipFile.open(Native Method)

 ... note that the stack trace goes on for some lenght 

Any ideas as to which zipfile is causing the problem ?



*

Barry KimelmanWinnipeg, Manitoba, Canadaemail : [EMAIL PROTECTED] , [EMAIL PROTECTED]
---Original Message---


From: Tomcat Users List
Date: Wednesday, January 21, 2004 9:54:54 AM
To: Tomcat Users List
Subject: RE: java.util.zip Exception during application install

Howdy,
There's no stack trace anywhere, including the tomcat logs, for your ZipException?

build.xml:365: FAIL - Encountered exception java.util.zip.ZipException: error in opening zip file

How do I determine which zip file is causing the problem ?

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

.









RE: [OFF-TOPIC] RE: Weird context performance issue

2004-01-21 Thread Robbie Baldock
No, %C slowed the app to a crawl but without %C it was fine.


Robbie

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 17:06
To: Tomcat Users List
Subject: [OFF-TOPIC] RE: Weird context performance issue



Howdy,
Are you saying you observed different behavior for %C on the same JVM on
different platforms?  Or are they different JVMs?  If it's the former,
i.e. same JVM, please post your findings to the log4j-user list as I'd
like to explore them.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Robbie Baldock [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 11:56 AM
To: 'Tomcat Users List'
Subject: RE: Weird context performance issue

Thanks for the responses to this.

It turned out to be because log4j doesn't work particularly well on AIX
(or
at least the %C PatternLayout option) and this was dragging down one of
the
webapps...!

I still don't entirely understand why my initial fix for this problem
worked but at least I've got to the bottom of the problem now.


Robbie

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: 20 January 2004 17:35
To: Tomcat Users List
Subject: Re: Weird context performance issue



this may be the result of default heap size.  I've seen similar
behavior on
windows with Sun jdk1.4.1.  what I've seen in the past was the result
of
stress testing. basically I have an app with takes a set of data and
processes it for a set number of iterations.

when I run it for 100-700K iterations the performance is flat, but when
I
run it with 750K, the response times go up 50-60%. If I increase the
iterations to 800K-2million, it remains flat. Once I changed the
initial
heap setting, this behavior went away.

it could be the addition of extra stuff causes the VM to allocate a
larger
heap, which results in normal performance. other than that, I can't
think
of
anything else that could cause it.

peter lin


Robbie Baldock [EMAIL PROTECTED] wrote:
Dear all -

This is my first post to the list and I'm posting because I have a
truly
bizarre context-related performance problem which I have been unable to
resolve.

I'm running a set of Java 1.3 webapps in Tomcat 4.1.27 in an AIX (64
bit)
environment.

Each context has a /Test servlet which simply displays the contents
of a
properties file. For all but one of the webapps this servlet finishes
processing within a few (less than 10) milliseconds as expected.

However, for one of the contexts this servlet takes 400-500ms to
finish.
Other servlets in this context are also very much slower than similar
servlets running in other contexts.

The really weird part is that if I put a copy of the code for another
context's Test servlet into the slow context's WEB-INF/classes
directory
and add an entry for it to web.xml the slow context suddenly speeds up
and
runs at a satisfactory speed! This is despite the fact that there is no
interdependency between these two webapps.

I can't find any exceptions or debug info in any logs to explain why
the
context is running slowly without this extra code.

What I don't understand is why dropping some essentially redundant code
from
another webapp should make the slightest bit of difference to the
performance of a webapp.

To further spice up the mix, this problem does not exist in a Linux
installation of the same webapps...!

Any ideas would be most welcome.

Thanks.


Robbie Baldock



-
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: java.util.zip Exception during application install

2004-01-21 Thread Shapira, Yoav

Howdy,

Here are the last group of messages in the logfile prior to the detection of the ZIP 
problem
 
Manager: deploy: Deploying web application at '/tomcat1'
Manager : Uploading WAR file to 
/home/tomcat/jakarta-tomcat-5.0.16/webapps/tomcat1.war
Manager: Extracting XML file to 
/home/tomcat/jakarta-tomcat-5.0.16/conf/Catalina/localhost/tomcat1.xml
Manager: managerServlet.extract[/tomcat]
java,util.zip.ZIPException: error in opening zip file
 
    at java.util.zip.ZipFile.open(Native Method)
snip/
Any ideas as to which zipfile is causing the problem ?

Yeah, tomcat1.war.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
I read about the leak and some other posts but it seemed that Remy did not consider it 
to be anything many people would run into or even a big leak.

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 17:05
To: Tomcat Users List
Subject: RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour


Howdy,

On the 5.0.16 profile just 2 requests to the webapp made the heap
profile
have a scale of 100-200MB being used. Now on 5.0.18 it is 10-30MB.

This is a very good change, to use far less memory.  I'm wondering what
your pages do that two requests need that much memory, but that's
besides the point.

Also, all the dynamic graphs showing heap use, object use ad GC are all
really active and spiky whereas the 5.0.16 version was very linear and
GC
never seemed to happen.

This is also a good change, less references being held for a long time.

I'm no expert in this stuff but something has changed bigtime with this
5.0.18 install. They both use the same JVM too.

Yup, see the fixed memory leak in the release notes.  What you've
observed is good and expected.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] 5.0.18

2004-01-21 Thread Apu Shah

sorry for this off-topic question, it's meant for any tomcat developers
reading this list

currently, there is a tagged version of 5.0.18alpha. this has the fix
for RequestGroup/RequestGroupInfo memory leaks and some additional
clustering functionality (thanks filip!) this is primarily the reason i
upgraded.

i want to push this out to production but my co-workers feel that it's
alpha software and by definition buggy, unstable and not optimized.

i've shown them the benchmarks run against 5.0.18alpha and they all seem
fine but they are not convinced due to the alpha tag on the release.

my question is, when will 5.0.18 be tagged and released as final? is
there a fixed date for release or is it just based on popular consensus?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: servlets are no where to be found

2004-01-21 Thread Wendy Smoak
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 3. html file(s) = c:\tomcat\webapps\ROOT\datatel\openweb

Have you asked on info-datatel?  I know someone posted a HOWTO with
screenshots on getting WebAdvisor to work on Tomcat.  Datatel has some
interesting ideas about where to put things, and as I recall you have to
answer some install questions in a non-intuitive manner to get it all
working.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Remy Maucherat
Allistair Crossley wrote:
I read about the leak and some other posts but it seemed that Remy
did not consider it to be anything many people would run into or even
a big leak.
The leak can be significant in some cases. But it's easy to avoid on 
5.0.16 (increase maxSpareThreads), and you'll need a significant amount 
of traffic to leak large amounts of memory.

--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [OT] 5.0.18

2004-01-21 Thread Shapira, Yoav

Howdy,

i want to push this out to production but my co-workers feel that it's
alpha software and by definition buggy, unstable and not optimized.

i've shown them the benchmarks run against 5.0.18alpha and they all
seem
fine but they are not convinced due to the alpha tag on the release.

my question is, when will 5.0.18 be tagged and released as final? is
there a fixed date for release or is it just based on popular
consensus?

There are all common questions and it will do you good to search the
archives before you post.

In this particular case, 5.0.18 should be upgraded to stable within
the next couple of days as our vote is basically done.  Tomcat is like
other Apache projects in that there are fixed release dates, it's ready
when the developers concur that it's ready by voting.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Allistair Crossley
Hey,

How would you explain what I have posted about JProfiler for 5.0.16 and 5.0.18? That 
was just 2 people traffic on a development box!! 5.0.16 was consuming over 100MB and 
now it does not go above 30MB. 

Cheers, ADC

-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Sent: 21 January 2004 17:21
To: Tomcat Users List
Subject: Re: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour


Allistair Crossley wrote:
 I read about the leak and some other posts but it seemed that Remy
 did not consider it to be anything many people would run into or even
 a big leak.

The leak can be significant in some cases. But it's easy to avoid on 
5.0.16 (increase maxSpareThreads), and you'll need a significant amount 
of traffic to leak large amounts of memory.

-- 
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] 5.0.18

2004-01-21 Thread Tim Funk
Its called alpha since it was tagged and not voted on. But if you look in the 
tomcat-dev archives, there was a recent vote as to the qaulity of 5.0.18 and 
the vote so far seems to be stable. So enough committers have voted to say 
5.0.18 is stable to say its stable. But no lines of code changed, some 
people just voted and said - Sure - I think its stable Unless something has 
been caught recently, Remy will probably send an announcement in the next few 
days.

-Tim

Apu Shah wrote:

sorry for this off-topic question, it's meant for any tomcat developers
reading this list
currently, there is a tagged version of 5.0.18alpha. this has the fix
for RequestGroup/RequestGroupInfo memory leaks and some additional
clustering functionality (thanks filip!) this is primarily the reason i
upgraded.
i want to push this out to production but my co-workers feel that it's
alpha software and by definition buggy, unstable and not optimized.
i've shown them the benchmarks run against 5.0.18alpha and they all seem
fine but they are not convinced due to the alpha tag on the release.
my question is, when will 5.0.18 be tagged and released as final? is
there a fixed date for release or is it just based on popular consensus?
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [OT] 5.0.18

2004-01-21 Thread Remy Maucherat
Tim Funk wrote:
Its called alpha since it was tagged and not voted on. But if you look 
in the tomcat-dev archives, there was a recent vote as to the qaulity of 
5.0.18 and the vote so far seems to be stable. So enough committers have 
voted to say 5.0.18 is stable to say its stable. But no lines of code 
changed, some people just voted and said - Sure - I think its stable 
Unless something has been caught recently, Remy will probably send an 
announcement in the next few days.
Actually, I was planning to announce it later today.
Announcing releases near the end of the week is bad ;)
--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JProfiler with 5.0.16 vs 5.0.18 Strange behaviour

2004-01-21 Thread Remy Maucherat
Allistair Crossley wrote:
Hey,

How would you explain what I have posted about JProfiler for 5.0.16
and 5.0.18? That was just 2 people traffic on a development box!!
5.0.16 was consuming over 100MB and now it does not go above 30MB.
The memory used by this release should be equivalent.
Your profiler likely has the answers to your questions :)
--
x
Rémy Maucherat
Senior Developer  Consultant
JBoss Group (Europe) SàRL
x
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
More specific:

824145 Internet Explorer 6.0 security update.

Could anybody try to update with that package and see if the get the
same login/jsessionid problems?

When uninstalling, it works again!

-Oprindelig meddelelse-
Fra: Søren Blidorf [mailto:[EMAIL PROTECTED] 
Sendt: 21. januar 2004 17:52
Til: [EMAIL PROTECTED]
Emne: Microsoft Update for XP and jsessionid error

Hi.
As some might know I have had problems with jsessionid.

I know what is causing the problem now. It is one of the newest
important updates from Microsoft Update for XP.

If anybody know what the problem is please let me know

Soren




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Tim Funk
I love how patches make things worse.

http://www3.telus.net/dandemar/824145.htm

-Tim

Søren Blidorf wrote:

More specific:

824145 Internet Explorer 6.0 security update.

Could anybody try to update with that package and see if the get the
same login/jsessionid problems?
When uninstalling, it works again!

-Oprindelig meddelelse-
Fra: Søren Blidorf [mailto:[EMAIL PROTECTED] 
Sendt: 21. januar 2004 17:52
Til: [EMAIL PROTECTED]
Emne: Microsoft Update for XP and jsessionid error

Hi.
As some might know I have had problems with jsessionid.
I know what is causing the problem now. It is one of the newest
important updates from Microsoft Update for XP.
If anybody know what the problem is please let me know

Soren



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


class not found problem

2004-01-21 Thread William Sundberg

I receive the following error when I try to startup Tomcat after
configuring it to use ajp13, it runnes ok if I remove the
ajp13-configuration line in server.xml.

So my question is where is this class defiened(which jar file and where is
it)? or how can I get my system to start?

Best regards/William
-
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.ajp.tomcat4.Ajp13Connector
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:891)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:756)
at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at org.apache.commons.digester.Digester.startElement(Digester.java:1273)
at
org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester.java
:112)


-
I am running RedHat 9.0

To install the software i did the following steps, following the steps
in(http://daydream.stanford.edu/tomcat/install_web_services.html).



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Jon Wingfield
Interesting.
My IE 6 on XP has Q824145 installed. Tomcat's cookies work ok.
Jon

Søren Blidorf wrote:
More specific:

824145 Internet Explorer 6.0 security update.

Could anybody try to update with that package and see if the get the
same login/jsessionid problems?
When uninstalling, it works again!

-Oprindelig meddelelse-
Fra: Søren Blidorf [mailto:[EMAIL PROTECTED] 
Sendt: 21. januar 2004 17:52
Til: [EMAIL PROTECTED]
Emne: Microsoft Update for XP and jsessionid error

Hi.
As some might know I have had problems with jsessionid.
I know what is causing the problem now. It is one of the newest
important updates from Microsoft Update for XP.
If anybody know what the problem is please let me know

Soren



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SV: SV: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Søren Blidorf
Hmmm.

Cannot explain it, but I'm very sure!

Soren

-Oprindelig meddelelse-
Fra: Jon Wingfield [mailto:[EMAIL PROTECTED] 
Sendt: 21. januar 2004 19:03
Til: Tomcat Users List
Emne: Re: SV: Microsoft Update for XP and jsessionid error

Interesting.
My IE 6 on XP has Q824145 installed. Tomcat's cookies work ok.

Jon

Søren Blidorf wrote:
 More specific:
 
 824145 Internet Explorer 6.0 security update.
 
 Could anybody try to update with that package and see if the get the
 same login/jsessionid problems?
 
 When uninstalling, it works again!
 
 -Oprindelig meddelelse-
 Fra: Søren Blidorf [mailto:[EMAIL PROTECTED] 
 Sendt: 21. januar 2004 17:52
 Til: [EMAIL PROTECTED]
 Emne: Microsoft Update for XP and jsessionid error
 
 Hi.
 As some might know I have had problems with jsessionid.
 
 I know what is causing the problem now. It is one of the newest
 important updates from Microsoft Update for XP.
 
 If anybody know what the problem is please let me know
 
 Soren



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Microsoft Update for XP and jsessionid error

2004-01-21 Thread Mike Curwen
I have IE 6.0 with the Q824145 update installed.Can you point me to
a page that will exhibit trouble?  I've never noticed trouble with
jsessionid, but then again, I have cookies enabled.
 


 -Original Message-
 From: Søren Blidorf [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, January 21, 2004 11:37 AM
 To: 'Tomcat Users List'
 Subject: SV: Microsoft Update for XP and jsessionid error
 
 
 More specific:
 
 824145 Internet Explorer 6.0 security update.
 
 Could anybody try to update with that package and see if the 
 get the same login/jsessionid problems?
 
 When uninstalling, it works again!
 
 -Oprindelig meddelelse-
 Fra: Søren Blidorf [mailto:[EMAIL PROTECTED] 
 Sendt: 21. januar 2004 17:52
 Til: [EMAIL PROTECTED]
 Emne: Microsoft Update for XP and jsessionid error
 
 Hi.
 As some might know I have had problems with jsessionid.
 
 I know what is causing the problem now. It is one of the 
 newest important updates from Microsoft Update for XP.
 
 If anybody know what the problem is please let me know
 
 Soren
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   >