why tomcat

2001-09-10 Thread Huaxin

Maybe I am confusing, but I don't know if I still need
TOm-cat or even J2EE if I have BEA-Weblogic.

It seems to me BEA-Weblogic can do the job at least for
Tomcat

Thanks a lot!





RE: why tomcat

2001-09-11 Thread De Ridder, Bavo

Tomcat is a web application server, implementing the latest Servlet and JSP
specifications.

It does not support EJB in version 3.x or 4.0 and as far as I know, it will
not in the near future.

For an open source EJB server with integration with Tomcat 3.x, I would
recommend JBoss mentioned below. They are planning integration with Tomcat
4.0.

-Original Message-
From: peter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: Re: why tomcat


Hi there

Just been reading your postings.  Am I right in saying that Tomcat does not
support EJBs?  What about tomcat 4?


Thanks

Peter

- Original Message -
From: Shay Mandel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 8:47 PM
Subject: RE: why tomcat


> If you want low cost EJB container (with Tomcat integrated in it) you
should
> go for JBoss www.jboss.org
>
>
>
> -Original Message-
> From: Tony Vinayak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 8:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: why tomcat
>
>
> You're right; BEA can do what Tomcat does, and more (EJBs).
>
> Having said that, if hosting servlets/JSPs is all you want to do, then
> Tomcat is a perfect (and lot less expensive!) solution, rather than having
> to buy a WebLogic license. If EJBs is your cup of tea, then you want to go
> the BEA route.
>
> regards,
> Tony
>
> -Original Message-
> From: Huaxin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 2:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: why tomcat
>
>
> Maybe I am confusing, but I don't know if I still need
> TOm-cat or even J2EE if I have BEA-Weblogic.
>
> It seems to me BEA-Weblogic can do the job at least for
> Tomcat
>
> Thanks a lot!
>
>




RE: why tomcat

2001-09-10 Thread Tony Vinayak

You're right; BEA can do what Tomcat does, and more (EJBs).

Having said that, if hosting servlets/JSPs is all you want to do, then
Tomcat is a perfect (and lot less expensive!) solution, rather than having
to buy a WebLogic license. If EJBs is your cup of tea, then you want to go
the BEA route.

regards,
Tony

-Original Message-
From: Huaxin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:40 PM
To: '[EMAIL PROTECTED]'
Subject: why tomcat


Maybe I am confusing, but I don't know if I still need
TOm-cat or even J2EE if I have BEA-Weblogic.

It seems to me BEA-Weblogic can do the job at least for
Tomcat

Thanks a lot!






RE: why tomcat

2001-09-10 Thread Peter Romianowski

you're right, if you have BEA-Weblogic you don't need tomcat.
weblogic is a high end (and thus very expensive) J2EE-Applicationserver
with built-in (and powerful) servlet engine. the single reason I could image
using tomcat in addition would be the need for servlet 2.3 features for
tomcat 4 will be the reference (and thus first?) implementation of the
2.3 servlet api...

cheers,
pero

-Original Message-
From: Huaxin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 8:40 PM
To: '[EMAIL PROTECTED]'
Subject: why tomcat


Maybe I am confusing, but I don't know if I still need
TOm-cat or even J2EE if I have BEA-Weblogic.

It seems to me BEA-Weblogic can do the job at least for
Tomcat

Thanks a lot!






RE: why tomcat

2001-09-10 Thread Shay Mandel

If you want low cost EJB container (with Tomcat integrated in it) you should
go for JBoss www.jboss.org



-Original Message-
From: Tony Vinayak [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 8:52 PM
To: [EMAIL PROTECTED]
Subject: RE: why tomcat


You're right; BEA can do what Tomcat does, and more (EJBs).

Having said that, if hosting servlets/JSPs is all you want to do, then
Tomcat is a perfect (and lot less expensive!) solution, rather than having
to buy a WebLogic license. If EJBs is your cup of tea, then you want to go
the BEA route.

regards,
Tony

-Original Message-
From: Huaxin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:40 PM
To: '[EMAIL PROTECTED]'
Subject: why tomcat


Maybe I am confusing, but I don't know if I still need
TOm-cat or even J2EE if I have BEA-Weblogic.

It seems to me BEA-Weblogic can do the job at least for
Tomcat

Thanks a lot!





Re: why tomcat

2001-09-10 Thread Pete and/or Dale

J2EE is a specification, not an actual product. Tomcat is the 
implementation of part of that spec (Servlet/JSP) whereas the  BEA 
 WebLogic server is an  implementation of the full (ish) specification. 
 Quick answer: you do not need tomcat or the J2EE reference 
implementation if you have WebLogic (although many on this list would 
probably argue that you should dump the BEA stuff instead)

cheers.

pete.

Huaxin wrote:

>Maybe I am confusing, but I don't know if I still need
>TOm-cat or even J2EE if I have BEA-Weblogic.
>
>It seems to me BEA-Weblogic can do the job at least for
>Tomcat
>
>Thanks a lot!
>
>
>






Re: why tomcat

2001-09-11 Thread peter

Hi there

Just been reading your postings.  Am I right in saying that Tomcat does not
support EJBs?  What about tomcat 4?


Thanks

Peter

- Original Message -
From: Shay Mandel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 8:47 PM
Subject: RE: why tomcat


> If you want low cost EJB container (with Tomcat integrated in it) you
should
> go for JBoss www.jboss.org
>
>
>
> -Original Message-
> From: Tony Vinayak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 8:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: why tomcat
>
>
> You're right; BEA can do what Tomcat does, and more (EJBs).
>
> Having said that, if hosting servlets/JSPs is all you want to do, then
> Tomcat is a perfect (and lot less expensive!) solution, rather than having
> to buy a WebLogic license. If EJBs is your cup of tea, then you want to go
> the BEA route.
>
> regards,
> Tony
>
> -Original Message-
> From: Huaxin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 2:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: why tomcat
>
>
> Maybe I am confusing, but I don't know if I still need
> TOm-cat or even J2EE if I have BEA-Weblogic.
>
> It seems to me BEA-Weblogic can do the job at least for
> Tomcat
>
> Thanks a lot!
>
>




RE: why tomcat

2001-09-11 Thread Reynir Hübner

Tomcat is "only" a servlet/jsp container...
To get EJB support you need an EJB container such as Jboss... 
Go to www.jboss.org and download a bundled jboss with tomcat for a
simple setup and all the reading material you need.


hope it helps, 
-r


-Original Message-
From: peter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: Re: why tomcat


Hi there

Just been reading your postings.  Am I right in saying that Tomcat does
not
support EJBs?  What about tomcat 4?


Thanks

Peter

- Original Message -
From: Shay Mandel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 8:47 PM
Subject: RE: why tomcat


> If you want low cost EJB container (with Tomcat integrated in it) you
should
> go for JBoss www.jboss.org
>
>
>
> -Original Message-
> From: Tony Vinayak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 8:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: why tomcat
>
>
> You're right; BEA can do what Tomcat does, and more (EJBs).
>
> Having said that, if hosting servlets/JSPs is all you want to do, then
> Tomcat is a perfect (and lot less expensive!) solution, rather than
having
> to buy a WebLogic license. If EJBs is your cup of tea, then you want
to go
> the BEA route.
>
> regards,
> Tony
>
> -Original Message-
> From: Huaxin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 2:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: why tomcat
>
>
> Maybe I am confusing, but I don't know if I still need
> TOm-cat or even J2EE if I have BEA-Weblogic.
>
> It seems to me BEA-Weblogic can do the job at least for
> Tomcat
>
> Thanks a lot!
>
>




Re: why tomcat

2001-09-11 Thread peter

I've looked at Caucho resin, Blazix.  How does JBoss compare with them?  I'm
aware that Resin is just a web server but it does support EJBs.  Is JBoss
robust and secure enough to compete with Weblogig and other app servers.

Thanks

Peter

PS. I'm currently downloading JBoss now.


- Original Message -
From: Reynir Hübner <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 10:43 AM
Subject: RE: why tomcat


Tomcat is "only" a servlet/jsp container...
To get EJB support you need an EJB container such as Jboss...
Go to www.jboss.org and download a bundled jboss with tomcat for a
simple setup and all the reading material you need.


hope it helps,
-r


-Original Message-
From: peter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: Re: why tomcat


Hi there

Just been reading your postings.  Am I right in saying that Tomcat does
not
support EJBs?  What about tomcat 4?


Thanks

Peter

- Original Message -
From: Shay Mandel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 8:47 PM
Subject: RE: why tomcat


> If you want low cost EJB container (with Tomcat integrated in it) you
should
> go for JBoss www.jboss.org
>
>
>
> -Original Message-
> From: Tony Vinayak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 8:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: why tomcat
>
>
> You're right; BEA can do what Tomcat does, and more (EJBs).
>
> Having said that, if hosting servlets/JSPs is all you want to do, then
> Tomcat is a perfect (and lot less expensive!) solution, rather than
having
> to buy a WebLogic license. If EJBs is your cup of tea, then you want
to go
> the BEA route.
>
> regards,
> Tony
>
> -Original Message-
> From: Huaxin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 2:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: why tomcat
>
>
> Maybe I am confusing, but I don't know if I still need
> TOm-cat or even J2EE if I have BEA-Weblogic.
>
> It seems to me BEA-Weblogic can do the job at least for
> Tomcat
>
> Thanks a lot!
>
>





Re: why tomcat

2001-09-11 Thread chris brown

> Just been reading your postings.  Am I right in saying that Tomcat does
not
> support EJBs?  What about tomcat 4?

Tomcat isn't an "EJB container", but it can be an EJB client.  You can't
"host" EJBs within Tomcat them, but if you have an EJB container somewhere
else on your network, you can access these EJBs from Java code in Tomcat in
the same way as you would from any other client application.

Why would you do this?  Well, if you buy an expensive EJB host such, you may
prefer to use it simply for its advanced J2EE capabilities, and delegate all
web-serving and presentation issues (formatting info using JSP or serlvets
for example) to another machine, running Tomcat.  It's one way to do
load-balancing.

Consider using Sun's Reference Implementation of Java Enterprise Edition ;
Tomcat is the in-built webserver and servlet/JSP engine, and can access
EJBs -- these EJBs are hosted by a different component of Sun's Reference
Edition.

-Chris




RE: why tomcat

2001-09-11 Thread Reynir Hübner

hi again, 
I guess this is probably a bit off-topic (for the tomcat mailing list).

for more info on Jboss, check out following urls on it: 
  http://www.theserverside.com/reviews/thread.jsp?thread_id=6215
  http://www.theserverside.com/reviews/thread.jsp?thread_id=2918
  http://www.cmis.csiro.au/adsat/ 

for more info.

I can recomend Jboss, it´s very easy to use, and simple to configure. 
The only big problem is it doesn´t support ejb2.0 (yet), but that is
because the spec is not finished.

OrionServer is also good... (www.orionserver.com) oracle have this one
for theyr j2ee implementation.

hope it helps,
-r




-Original Message-
From: peter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 10:18 AM
To: [EMAIL PROTECTED]
Subject: Re: why tomcat


I've looked at Caucho resin, Blazix.  How does JBoss compare with them?
I'm
aware that Resin is just a web server but it does support EJBs.  Is
JBoss
robust and secure enough to compete with Weblogig and other app servers.

Thanks

Peter

PS. I'm currently downloading JBoss now.


- Original Message -
From: Reynir Hübner <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 11, 2001 10:43 AM
Subject: RE: why tomcat


Tomcat is "only" a servlet/jsp container...
To get EJB support you need an EJB container such as Jboss...
Go to www.jboss.org and download a bundled jboss with tomcat for a
simple setup and all the reading material you need.


hope it helps,
-r


-Original Message-
From: peter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 11, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: Re: why tomcat


Hi there

Just been reading your postings.  Am I right in saying that Tomcat does
not
support EJBs?  What about tomcat 4?


Thanks

Peter

- Original Message -
From: Shay Mandel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 8:47 PM
Subject: RE: why tomcat


> If you want low cost EJB container (with Tomcat integrated in it) you
should
> go for JBoss www.jboss.org
>
>
>
> -Original Message-
> From: Tony Vinayak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 8:52 PM
> To: [EMAIL PROTECTED]
> Subject: RE: why tomcat
>
>
> You're right; BEA can do what Tomcat does, and more (EJBs).
>
> Having said that, if hosting servlets/JSPs is all you want to do, then
> Tomcat is a perfect (and lot less expensive!) solution, rather than
having
> to buy a WebLogic license. If EJBs is your cup of tea, then you want
to go
> the BEA route.
>
> regards,
> Tony
>
> -Original Message-
> From: Huaxin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 2:40 PM
> To: '[EMAIL PROTECTED]'
> Subject: why tomcat
>
>
> Maybe I am confusing, but I don't know if I still need
> TOm-cat or even J2EE if I have BEA-Weblogic.
>
> It seems to me BEA-Weblogic can do the job at least for
> Tomcat
>
> Thanks a lot!
>
>





Why tomcat shutdown?

2003-03-05 Thread Khanidtha Sapprecha
I'm programmer. I use JasperReports on jsp. when JasperReports occur any
Exception. tomcat will shutdown. i'd to know why tomcat shutdown and how to
fix it.

dori.jasper.engine.JRException: Could not load font from location :
CORDIAU.TIF
 at
dori.jasper.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:850)
 at
dori.jasper.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:316)
 at
dori.jasper.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:270)
 at
dori.jasper.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:214)
 at
dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:135)
 at
dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:101)
 at com.freewillsolutions.bean.JasperTest.pdfReport(JasperTest.java:72)
 at org.apache.jsp.ProjectReport$jsp.
_jspService(ProjectReport$jsp.java:203)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$jspServletWrapper.service(JspServlet.java:202)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
 at
org.apache.catalina.core.StandardWrapperValue.invoke(StandardWrapperValue.java:243)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValue.invoke(StandardContextValue.java:190)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at
org.apache.catalina.values.CertificatesValue.invoke(CertificatesValue.java:246)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardContextValue.invoke(StandardContextValue.java:2343)
 at
org.apache.catalina.core.StandardHostValue.invoke(StandardHostValue.java:180)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at
org.apache.catalina.values.ErrorDispatcherValue.invoke(ErrorDispatcherValue.java:170)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at
org.apache.catalina.values.ErrorReportValue.invoke(ErrorReportValue.java:170)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at
org.apache.catalina.values.AccessLogValue.invoke(AccessLogValue.java:468)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
 at
org.apache.catalina.core.StandardEngineValue.invoke(StandardEngineValue.java:174)
 at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
 at java.lang.Thread.run(Thread.java:536)

Please reply me.

Thanx.


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



Why tomcat stop?

2000-12-22 Thread Henry DU

I just installled tomcat 3.2.1 and apache 1.3.14 on solaris (ultra10 sparc). 
If the servlets do not have exceptions then run fine. but with 
exceptions(?), it seem s to be shutdown (no more connection and 500 internal 
server error). When I re-started tomcat, the servlet can run. Sure the 
problem still exists. This is not acceptable for production-level use.

Error message in mod_jk.log:
jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1

Is this a true shutdown of tomcat or simply disconnect?

Thanks a lot

---Henry

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Why Tomcat brakes connection?

2001-04-25 Thread Aleksey Studnev


Tomcat 3.2 under Win Nt 4. 
Client wants to re-use socket connection
for multiple requests from server - it is
actually a feature of HTTP 1.1. This saves
time on creating socket object, making
TCP connection.
What Tomcat is doing unlike other web servers
we have ( Apache, Weblogic) is resetting connection
after every request. The sequense which is seen in
the network is the following:

Client -> Connect
Client -> GET(socket NNN)
Tomcat -> Response
Client -> GET(socket NNN)
Tomcat -> Reset connection <-  Whats the hell?
Client -> Connect
Tomcat -> Bind  
Client -> GET(socket MMM)
Tomcat -> Response

Who knows why it happens?

Aleksey



why tomcat doesn't run?

2001-06-22 Thread rino . mail

I have Linux redhat 7.1
I do this command an then I try to see il tomcat runs by browsing with 
netscape "127.0.0.1:8080" but don't run: why?

Thankyou in advance, Rino.

COMMAND:

[rino@localhost rino]$ cd tomkat/
[rino@localhost tomkat]$ cd jakarta-tomcat-3.2.1
[rino@localhost jakarta-tomcat-3.2.1]$ cd bin/
[rino@localhost bin]$ echo &TOMCAT_HOME
[1] 2587
 
bash: TOMCAT_HOME: command not found
[1]+  Doneecho
[rino@localhost bin]$ echo $TOMCAT_HOME
/home/rino/tomkat/jakarta-tomcat-3.2.1
[rino@localhost bin]$ echo $JAVA_HOME
/usr/java/jdk1.3.0_02
[rino@localhost bin]$ export CATALINA_HOME="/usr/java/jdk1.3.0_02"
[rino@localhost bin]$ ./tomcat.sh start
Using classpath: 
/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/ant.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/jasper.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/jaxp.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/parser.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/servlet.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/test:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/webserver.jar:/usr/java/jdk1.3.0_02/lib/tools.jar
[rino@localhost bin]$



look the "ps" command:

[rino@localhost rino]$ ps -e
  PID TTY  TIME CMD
1 ?00:00:04 init
2 ?00:00:00 keventd
3 ?00:00:00 kapm-idled
4 ?00:00:00 kswapd
5 ?00:00:00 kreclaimd
6 ?00:00:00 bdflush
7 ?00:00:00 kupdated
8 ?00:00:00 mdrecoveryd
   67 ?00:00:00 khubd
  540 ?00:00:00 syslogd
  545 ?00:00:00 klogd
  559 ?00:00:00 portmap
  574 ?00:00:00 rpc.statd
  668 ?00:00:00 apmd
  717 ?00:00:00 automount
  729 ?00:00:00 atd
  744 ?00:00:01 sshd
  764 ?00:00:00 xinetd
  793 ?00:00:00 lpd
  827 ?00:00:00 sendmail
  840 ?00:00:00 gpm
  852 ?00:00:00 crond
  970 ?00:00:11 xfs
 1007 tty1 00:00:00 mingetty
 1008 tty2 00:00:00 mingetty
 1009 tty3 00:00:00 mingetty
 1010 tty4 00:00:00 mingetty
 1011 tty5 00:00:00 mingetty
 1012 tty6 00:00:00 mingetty
 1013 ?00:00:00 gdm
 1014 ?00:00:00 forge_server
 1021 ?00:00:18 X
 1022 ?00:00:00 gdm
 1033 ?00:00:00 ksmserver
 1141 ?00:00:00 kdeinit
 1143 ?00:00:00 kdeinit
 1145 ?00:00:00 kdeinit
 1148 ?00:00:08 artsd
 1151 ?00:00:00 kdeinit
 1165 ?00:00:00 kdeinit
 1167 ?00:00:00 knotify
 1168 ?00:00:01 kdeinit
 1170 ?00:00:01 kdeinit
 1172 ?00:00:03 kdeinit
 1178 ?00:00:40 autorun
 1184 ?00:00:00 kdeinit
 1185 ?00:00:00 kdeinit
 1187 ?00:00:00 kdeinit
 1188 pts/000:00:00 cat
 1222 ?00:00:00 kppp
 1223 ?00:00:00 kppp
 2418 ?00:00:00 java
 2445 ?00:00:00 java 
 2446 ?00:00:00 java
 2447 ?00:00:00 java
 2451 ?00:00:00 java
 2478 ?00:00:00 java 
 2479 ?00:00:00 java
 2480 ?00:00:00 java
 2490 ?00:00:05 kmail
 2493 ttyS100:00:00 pppd
 2522 ?00:00:00 kdeinit
 2523 pts/300:00:00 bash
 2549 pts/300:00:01 pan
 2551 ?00:00:00 esd
 2552 pts/300:00:00 pan
 2553 pts/300:00:00 pan
 2558 ?00:00:00 kdeinit
 2561 pts/400:00:00 bash
 2590 pts/400:00:00 java
 2617 pts/400:00:00 java 
 2618 pts/400:00:00 java
 2619 pts/400:00:00 java
 2621 pts/500:00:00 bash
 2647 pts/500:00:02 netscape-commun
 2682 pts/500:00:00 netscape-commun
 2684 pts/500:00:00 ps
[rino@localhost rino]$




Why Tomcat shutdown unprovokedly?

2003-12-28 Thread Mark.he
Hi All,

I have encountered a problem when using Tomcat4.1.29.
I changed the appbase to my appliaction's directory (not in $TOMCAT_HOME/webapps) and 
add a context like this:


The application isn't a standard webapp. There is no web.xml in the application's 
directory.

Everything works well after staring the Tomcat. 
But after 2-3 hours, the Tomcat will shutdown itself.

The catalina.out will record like this (I have modified the debug level to 8):

ServerLifecycleListener: Destroying MBean for ContextResource 
ContextResource[name=UserDatabase, description=User database that can be updated
 and saved, type=org.apache.catalina.UserDatabase, auth=Container, scope=Shareable]
ServerLifecycleListener: Destroying MBean for ContextEnvironment 
ContextEnvironment[name=simpleValue, type=java.lang.Integer, value=30, overri
de=true]
ServerLifecycleListener: Destroying MBean for NamingResources [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Valve [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Manager [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Logger [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Loader WebappLoader[]
ServerLifecycleListener: Destroying MBean for NamingResources [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Context 
StandardEngine[Standalone].StandardHost[localhost].StandardContext[]
ServerLifecycleListener: Destroying MBean for Valve ErrorReportValve[localhost]
ServerLifecycleListener: Destroying MBean for Valve ErrorDispatcherValve[localhost]
ServerLifecycleListener: Destroying MBean for Valve [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Logger [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Host 
StandardEngine[Standalone].StandardHost[localhost]
ServerLifecycleListener: Destroying MBean for Valve [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Realm [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Logger [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Engine StandardEngine[Standalone]
ServerLifecycleListener: Destroying MBean for Connector [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Connector [EMAIL PROTECTED]
ServerLifecycleListener: Destroying MBean for Service 
StandardService[Tomcat-Standalone]
ServerLifecycleListener: Destroying MBean for Server StandardServer[8005]
GlobalResourcesLifecycleListener: Destroying MBeans for Global JNDI Resources
Stopping service Tomcat-Standalone

I recorded  gc log, the records almost are FULL GC record like:
8341.069: [Full GC 491455K->314771K(519168K), 8.4939708 secs]
8400.893: [Full GC 479251K->313981K(519168K), 8.2763773 secs]
8450.546: [Full GC 478461K->295591K(519168K), 8.4257336 secs]
8504.026: [Full GC 460071K->300918K(519168K), 5.7439801 secs]
8552.918: [Full GC 465398K->305423K(519168K), 5.7107256 secs]
8596.866: [Full GC 469903K->309825K(519168K), 5.8541711 secs]

FYI some softwares related:
j2sdk-1_4_2_03-solaris-sparc.tar.Z
jakarta-tomcat-4.1.29.tar
64bit OS Solaris9 with Sparc CPU
MySQL4.0 (The problem arises even though I am not using the DataBase).

Any suggestion will be appreciated!

Thanks in advanced.
Mark
 




RE: why tomcat doesn't run?

2001-06-22 Thread GOMEZ Henri

Please make us a favor, try our RPM.

http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.2/rpms/

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
>Sent: Saturday, June 23, 2001 12:46 AM
>To: '[EMAIL PROTECTED]'
>Subject: why tomcat doesn't run?
>
>
>I have Linux redhat 7.1
>I do this command an then I try to see il tomcat runs by browsing with 
>netscape "127.0.0.1:8080" but don't run: why?
>
>Thankyou in advance, Rino.
>
>COMMAND:
>
>[rino@localhost rino]$ cd tomkat/
>[rino@localhost tomkat]$ cd jakarta-tomcat-3.2.1
>[rino@localhost jakarta-tomcat-3.2.1]$ cd bin/
>[rino@localhost bin]$ echo &TOMCAT_HOME
>[1] 2587
> 
>bash: TOMCAT_HOME: command not found
>[1]+  Doneecho
>[rino@localhost bin]$ echo $TOMCAT_HOME
>/home/rino/tomkat/jakarta-tomcat-3.2.1
>[rino@localhost bin]$ echo $JAVA_HOME
>/usr/java/jdk1.3.0_02
>[rino@localhost bin]$ export CATALINA_HOME="/usr/java/jdk1.3.0_02"
>[rino@localhost bin]$ ./tomcat.sh start
>Using classpath: 
>/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/ant.jar:/home/rino/t
>omkat/jakarta-tomcat-3.2.1/lib/jasper.jar:/home/rino/tomkat/jak
>arta-tomcat-3.2.1/lib/jaxp.jar:/home/rino/tomkat/jakarta-tomcat
>-3.2.1/lib/parser.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/li
>b/servlet.jar:/home/rino/tomkat/jakarta-tomcat-3.2.1/lib/test:/
>home/rino/tomkat/jakarta-tomcat-3.2.1/lib/webserver.jar:/usr/ja
>va/jdk1.3.0_02/lib/tools.jar
>[rino@localhost bin]$
>
>
>
>look the "ps" command:
>
>[rino@localhost rino]$ ps -e
>  PID TTY  TIME CMD
>1 ?00:00:04 init
>2 ?00:00:00 keventd
>3 ?00:00:00 kapm-idled
>4 ?00:00:00 kswapd
>5 ?00:00:00 kreclaimd
>6 ?00:00:00 bdflush
>7 ?00:00:00 kupdated
>8 ?00:00:00 mdrecoveryd
>   67 ?00:00:00 khubd
>  540 ?00:00:00 syslogd
>  545 ?00:00:00 klogd
>  559 ?00:00:00 portmap
>  574 ?00:00:00 rpc.statd
>  668 ?00:00:00 apmd
>  717 ?00:00:00 automount
>  729 ?00:00:00 atd
>  744 ?00:00:01 sshd
>  764 ?00:00:00 xinetd
>  793 ?00:00:00 lpd
>  827 ?00:00:00 sendmail
>  840 ?00:00:00 gpm
>  852 ?00:00:00 crond
>  970 ?00:00:11 xfs
> 1007 tty1 00:00:00 mingetty
> 1008 tty2 00:00:00 mingetty
> 1009 tty3 00:00:00 mingetty
> 1010 tty4 00:00:00 mingetty
> 1011 tty5 00:00:00 mingetty
> 1012 tty6 00:00:00 mingetty
> 1013 ?00:00:00 gdm
> 1014 ?00:00:00 forge_server
> 1021 ?00:00:18 X
> 1022 ?00:00:00 gdm
> 1033 ?00:00:00 ksmserver
> 1141 ?00:00:00 kdeinit
> 1143 ?00:00:00 kdeinit
> 1145 ?00:00:00 kdeinit
> 1148 ?00:00:08 artsd
> 1151 ?00:00:00 kdeinit
> 1165 ?00:00:00 kdeinit
> 1167 ?00:00:00 knotify
> 1168 ?00:00:01 kdeinit
> 1170 ?00:00:01 kdeinit
> 1172 ?00:00:03 kdeinit
> 1178 ?00:00:40 autorun
> 1184 ?00:00:00 kdeinit
> 1185 ?00:00:00 kdeinit
> 1187 ?00:00:00 kdeinit
> 1188 pts/000:00:00 cat
> 1222 ?00:00:00 kppp
> 1223 ?00:00:00 kppp
> 2418 ?00:00:00 java
> 2445 ?00:00:00 java 
> 2446 ?00:00:00 java
> 2447 ?00:00:00 java
> 2451 ?00:00:00 java
> 2478 ?00:00:00 java 
> 2479 ?00:00:00 java
> 2480 ?00:00:00 java
> 2490 ?00:00:05 kmail
> 2493 ttyS100:00:00 pppd
> 2522 ?00:00:00 kdeinit
> 2523 pts/300:00:00 bash
> 2549 pts/300:00:01 pan
> 2551 ?00:00:00 esd
> 2552 pts/300:00:00 pan
> 2553 pts/300:00:00 pan
> 2558 ?00:00:00 kdeinit
> 2561 pts/400:00:00 bash
> 2590 pts/400:00:00 java
> 2617 pts/400:00:00 java 
> 2618 pts/400:00:00 java
> 2619 pts/400:00:00 java
> 2621 pts/500:00:00 bash
> 2647 pts/500:00:02 netscape-commun
> 2682 pts/500:00:00 netscape-commun
> 2684 pts/500:00:00 ps
>[rino@localhost rino]$
>



RE: Why Tomcat shutdown unprovokedly?

2003-12-29 Thread Shapira, Yoav

Howdy,
Strange.  You definitely should NOT have a webapp without a web.xml
file.  Even an empty web.xml (with just the DOCTYPE and ) is
fine.

Enable more verbose logging of tomcat and your apps.  The GC log looks
fine.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Mark.he [mailto:[EMAIL PROTECTED]
>Sent: Sunday, December 28, 2003 9:01 PM
>To: Tomcat Users List
>Subject: Why Tomcat shutdown unprovokedly?
>
>Hi All,
>
>I have encountered a problem when using Tomcat4.1.29.
>I changed the appbase to my appliaction's directory (not in
>$TOMCAT_HOME/webapps) and add a context like this:
> docBase="/usr/local/myapplication"
> crossContext="true"
> debug="0"
> reloadable="true"
> trusted="false" >
>
>The application isn't a standard webapp. There is no web.xml in the
>application's directory.
>
>Everything works well after staring the Tomcat.
>But after 2-3 hours, the Tomcat will shutdown itself.
>
>The catalina.out will record like this (I have modified the debug level
to
>8):
>
>ServerLifecycleListener: Destroying MBean for ContextResource
>ContextResource[name=UserDatabase, description=User database that can
be
>updated
> and saved, type=org.apache.catalina.UserDatabase, auth=Container,
>scope=Shareable]
>ServerLifecycleListener: Destroying MBean for ContextEnvironment
>ContextEnvironment[name=simpleValue, type=java.lang.Integer, value=30,
>overri
>de=true]
>ServerLifecycleListener: Destroying MBean for NamingResources
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Valve
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Manager
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Logger
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Loader WebappLoader[]
>ServerLifecycleListener: Destroying MBean for NamingResources
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Context
>StandardEngine[Standalone].StandardHost[localhost].StandardContext[]
>ServerLifecycleListener: Destroying MBean for Valve
>ErrorReportValve[localhost]
>ServerLifecycleListener: Destroying MBean for Valve
>ErrorDispatcherValve[localhost]
>ServerLifecycleListener: Destroying MBean for Valve
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Logger
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Host
>StandardEngine[Standalone].StandardHost[localhost]
>ServerLifecycleListener: Destroying MBean for Valve
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Realm
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Logger
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Engine
>StandardEngine[Standalone]
>ServerLifecycleListener: Destroying MBean for Connector
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Connector
>[EMAIL PROTECTED]
>ServerLifecycleListener: Destroying MBean for Service
>StandardService[Tomcat-Standalone]
>ServerLifecycleListener: Destroying MBean for Server
StandardServer[8005]
>GlobalResourcesLifecycleListener: Destroying MBeans for Global JNDI
>Resources
>Stopping service Tomcat-Standalone
>
>I recorded  gc log, the records almost are FULL GC record like:
>8341.069: [Full GC 491455K->314771K(519168K), 8.4939708 secs]
>8400.893: [Full GC 479251K->313981K(519168K), 8.2763773 secs]
>8450.546: [Full GC 478461K->295591K(519168K), 8.4257336 secs]
>8504.026: [Full GC 460071K->300918K(519168K), 5.7439801 secs]
>8552.918: [Full GC 465398K->305423K(519168K), 5.7107256 secs]
>8596.866: [Full GC 469903K->309825K(519168K), 5.8541711 secs]
>
>FYI some softwares related:
>j2sdk-1_4_2_03-solaris-sparc.tar.Z
>jakarta-tomcat-4.1.29.tar
>64bit OS Solaris9 with Sparc CPU
>MySQL4.0 (The problem arises even though I am not using the DataBase).
>
>Any suggestion will be appreciated!
>
>Thanks in advanced.
>Mark
>
>




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]



Why Tomcat doesn't reload my filters

2003-10-13 Thread Marcin
Hi,

I wrote a web application with filters. When
Tomcat starts it works fine. When I try to reload
it using manager I get exceptions in log files.

This is a part of my web.xml file concerning filters:


files
scs.util.SCSMultipartFilter

dir.upload
files/



papers
scs.util.SCSMultipartFilter

dir.upload
WEB-INF/papers/



files
/files


papers
/abstract


papers
/fulls


papers
/papers


and here are parts of Tomcat logs:




2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter files
java.lang.ClassNotFoundException: scs.util.SCSMultipartFilter


2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter papers
java.lang.ClassNotFoundException: msielski.scs.util.SCSMultipartFilter



Thanks for help in advance.

Best regards

Marcin


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



Figuring out why tomcat won't start

2004-04-02 Thread Duncan Krebs
Hey, 
Could anyone give me some pointers on how to find an error that is causing tomcat not 
to start. I'm using 4x on Windows, when I got to a prompt in the bin folder and type 
'startup' the new DOS window opens for a split second and then closes right away. Most 
likely some error in my server.xml. However when I go to my logs folder no new logs 
are being generated, so I don't really know how to troubleshoot. Any ideas?


[ot] why tomcat is called tomcat?

2004-02-06 Thread Yansheng Lin

Is it Friday yet?  

Being working with tomcat for such a long time; wondered about the name 'tomcat'
a few times.  Did a search this morning... for 30 seconds.  Couldn't find
anything...too many hits.  Wonder if anyone hear knows the story.

-Yan


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



Why tomcat 4 or even 3?

2004-09-15 Thread John Villar
A question to everyone out there. why does anyone use nowadays 
Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull 
and backwards compatible?

that question has haunted me from the beginning of joining this list.
--
John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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

Why tomcat start and stop threads ?

2005-04-19 Thread Xavier AMBROSIONI
Hi,

I'm running a home made application on tomcat 4.1.31 on a HP-UX 11i box
with the HotSpot JVM 1.4.2_02. I'm using a Coyote HTTP/1.1 Connector.
The heap size of the tomcat process grows until it reachs the value I
set with the -Xmx parameter. At this point I have some
java.lang.OutOfMemory exception in my application.
Investigating that problem, I discovered that tomcat creates new http
thread and kill the older one continually. The number of http threads is
always between 5 and 10.
I think that my memory problem is related with that thread behavior.

On the same box I'm running another web application in a second tomcat
instance without that memory problem and tomcat does not create new http
thread. The number of simultaneous connections is equivalent on both
applications.

Is it possible to start tomcat in a debug mode to understand why it
create/kill http thread ?
Is is possible that my application crashes the http thread without
releasing the memory used by thesethread ?


Thank you for your help

Xavier

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



Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Justin Ruthenbeck
What version of Tomcat are you using?

At 01:51 PM 10/13/2003, you wrote:
Hi,

I wrote a web application with filters. When
Tomcat starts it works fine. When I try to reload
it using manager I get exceptions in log files.
This is a part of my web.xml file concerning filters:


files
scs.util.SCSMultipartFilter

dir.upload
files/



papers
scs.util.SCSMultipartFilter

dir.upload
WEB-INF/papers/



files
/files


papers
/abstract


papers
/fulls


papers
/papers

and here are parts of Tomcat logs:



2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter files
java.lang.ClassNotFoundException: scs.util.SCSMultipartFilter


2003-10-13 21:37:53 StandardContext[/scs]: Exception starting filter papers
java.lang.ClassNotFoundException: msielski.scs.util.SCSMultipartFilter


Thanks for help in advance.

Best regards

Marcin

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



Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
   See http://www.nextengine.com/confidentiality.php

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


Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Marcin
Hi,

> What version of Tomcat are you using?

Apache Tomcat/4.1.27

Best regards

Marcin

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



Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Justin Ruthenbeck
Most likely...

There's a Bug:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
Fixed with a hotfix you'll need to download:
http://www.apache.org/dist/jakarta/tomcat-4/binaries/4.1.27-hotfix-22096.zip
Hope that works for ya...
justin
At 02:04 PM 10/13/2003, you wrote:
Hi,

> What version of Tomcat are you using?

Apache Tomcat/4.1.27

Best regards

Marcin

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



Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
   See http://www.nextengine.com/confidentiality.php

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


Re: Why Tomcat doesn't reload my filters

2003-10-13 Thread Marcin
Hi,


> There's a Bug:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22096
>
> Fixed with a hotfix you'll need to download:
>
http://www.apache.org/dist/jakarta/tomcat-4/binaries/4.1.27-hotfix-22096.zip
>
> Hope that works for ya...

Jep, thanks for help.

Best regards

Marcin


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



RE: Figuring out why tomcat won't start

2004-04-02 Thread Shapira, Yoav

Hi,
It might be fine.  Execute "catalina.bat run" instead of "startup.bat"
to leave the DOS prompt open.  Look at the logs/catalina.out file for
errors.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Duncan Krebs [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 02, 2003 3:24 PM
>To: Tomcat Users List
>Subject: Figuring out why tomcat won't start
>
>Hey,
>Could anyone give me some pointers on how to find an error that is
causing
>tomcat not to start. I'm using 4x on Windows, when I got to a prompt in
the
>bin folder and type 'startup' the new DOS window opens for a split
second
>and then closes right away. Most likely some error in my server.xml.
>However when I go to my logs folder no new logs are being generated, so
I
>don't really know how to troubleshoot. Any ideas?



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: Figuring out why tomcat won't start

2004-04-02 Thread Duncan Krebs
Yoav,
Thanks for the info. I was able to see the error message in the window and
figured out I had another service running on the same port tomcat was trying
to run on. - Duncan

- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 02, 2004 2:23 PM
Subject: RE: Figuring out why tomcat won't start



Hi,
It might be fine.  Execute "catalina.bat run" instead of "startup.bat"
to leave the DOS prompt open.  Look at the logs/catalina.out file for
errors.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: Duncan Krebs [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, April 02, 2003 3:24 PM
>To: Tomcat Users List
>Subject: Figuring out why tomcat won't start
>
>Hey,
>Could anyone give me some pointers on how to find an error that is
causing
>tomcat not to start. I'm using 4x on Windows, when I got to a prompt in
the
>bin folder and type 'startup' the new DOS window opens for a split
second
>and then closes right away. Most likely some error in my server.xml.
>However when I go to my logs folder no new logs are being generated, so
I
>don't really know how to troubleshoot. Any ideas?



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]



RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Shapira, Yoav

Howdy,
James Duncan Davidson, the first tomcat developer, came up with it
thinking of the animal tomcat which is excellent at taking care of and
fending for itself, a highly self-sufficient creature.  (This was in the
very early stages of J2EE in general, remember).

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Yansheng Lin [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 06, 2004 10:36 AM
>To: 'Tomcat Users List'
>Subject: [ot] why tomcat is called tomcat?
>
>
>Is it Friday yet?
>
>Being working with tomcat for such a long time; wondered about the name
>'tomcat'
>a few times.  Did a search this morning... for 30 seconds.  Couldn't
find
>anything...too many hits.  Wonder if anyone hear knows the story.
>
>-Yan
>
>
>-
>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: [ot] why tomcat is called tomcat?

2004-02-06 Thread Yansheng Lin
Did he have to get the name approved?  Was he working for Sun?  Did he know
tomcat is going to be so popular.

What do people outside of computer world think of the name 'tomcat'?  Like
someone who doesn't know what it does and just hear a bunch of his computer
friends:0 talking about it.  I am asking mostly in terms of marketing.  For
example, most of people on this list would think Apache sounds much better than
IIS.  

-Yan

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 06, 2004 8:52 AM
To: Tomcat Users List
Subject: RE: [ot] why tomcat is called tomcat?



Howdy,
James Duncan Davidson, the first tomcat developer, came up with it
thinking of the animal tomcat which is excellent at taking care of and
fending for itself, a highly self-sufficient creature.  (This was in the
very early stages of J2EE in general, remember).

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Yansheng Lin [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 06, 2004 10:36 AM
>To: 'Tomcat Users List'
>Subject: [ot] why tomcat is called tomcat?
>
>
>Is it Friday yet?
>
>Being working with tomcat for such a long time; wondered about the name
>'tomcat'
>a few times.  Did a search this morning... for 30 seconds.  Couldn't
find
>anything...too many hits.  Wonder if anyone hear knows the story.
>
>-Yan
>
>
>-
>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]


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



RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Shapira, Yoav

Howdy,

>Did he have to get the name approved?  Was he working for Sun?  Did he
know
>tomcat is going to be so popular.

No (not formally, anyways, but more like an informal conversation with
other developers), yes, and no.

>What do people outside of computer world think of the name 'tomcat'?
Like

Don't know, as I'm not outside the computer world ;)  You can always
conduct a survery, but I since I doubt people outside the computer world
have heard of the tomcat server, I don't know what kind of results your
survery would yield.

>friends:0 talking about it.  I am asking mostly in terms of marketing.
For
>example, most of people on this list would think Apache sounds much
better
>than IIS.

I certainly like the name Apache better than I do IIS.  But be careful
jumping to broader marketing conclusions without grounding them in
research, i.e. representative polls and surverys.  Personally, I tend to
like names with meaning, like Apache, Tomcat, Weblogic, Hibernate,
better than generic names like Internet Information Server,
[CompanyName] Workflow Engine, etc, because the former names are more
interesting, intriguing, make you think a bit.

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: [ot] why tomcat is called tomcat?

2004-02-06 Thread epyonne
> What do people outside of computer world think of the name 'tomcat'?  Like
> someone who doesn't know what it does and just hear a bunch of his
computer
> friends:0 talking about it.  I am asking mostly in terms of marketing.
For
> example, most of people on this list would think Apache sounds much better
than
> IIS.
>

Tomcat is also the nickname of the US Naval fighter jet, it can't be any
cooler than that.  =)  I like the name Apache, but I don't like the name
Jakarta.

Just my $0.02.

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



Re: [ot] why tomcat is called tomcat?

2004-02-06 Thread Tim Funk
FAQ
http://jakarta.apache.org/tomcat/faq/meta.html
-Tim

Yansheng Lin wrote:
Is it Friday yet?  

Being working with tomcat for such a long time; wondered about the name 'tomcat'
a few times.  Did a search this morning... for 30 seconds.  Couldn't find
anything...too many hits.  Wonder if anyone hear knows the story.


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


RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Yansheng Lin
Agreed.  

OS/2, DB2 to name a few.  Sorry, big blue:).

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 06, 2004 9:36 AM
To: Tomcat Users List
Subject: RE: [ot] why tomcat is called tomcat?


>friends:0 talking about it.  I am asking mostly in terms of marketing.
For
>example, most of people on this list would think Apache sounds much
better
>than IIS.

I certainly like the name Apache better than I do IIS.  But be careful
jumping to broader marketing conclusions without grounding them in
research, i.e. representative polls and surverys.  Personally, I tend to
like names with meaning, like Apache, Tomcat, Weblogic, Hibernate,
better than generic names like Internet Information Server,
[CompanyName] Workflow Engine, etc, because the former names are more
interesting, intriguing, make you think a bit.

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]



RE: [ot] why tomcat is called tomcat?

2004-02-06 Thread Januski, Ken
My wife loves the logo. She's a non-computer person. But she is a cat
person.

There is a fairly lengthy explanation of Tomcat origin in the O'Reilly book
on Tomcat by the way. I just don't remember much of what it said other than
that, I THINK, some code was shown on a screen at a convention, and it
happened to show a tomcat class. So someone asked what it referred to and
thus "Tomcat" sprang upon the unsuspecting world.



-Original Message-
From: epyonne [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 11:42 AM
To: Tomcat Users List
Subject: Re: [ot] why tomcat is called tomcat?


> What do people outside of computer world think of the name 'tomcat'?  Like
> someone who doesn't know what it does and just hear a bunch of his
computer
> friends:0 talking about it.  I am asking mostly in terms of marketing.
For
> example, most of people on this list would think Apache sounds much better
than
> IIS.
>

Tomcat is also the nickname of the US Naval fighter jet, it can't be any
cooler than that.  =)  I like the name Apache, but I don't like the name
Jakarta.

Just my $0.02.

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


Re: Why tomcat 4 or even 3?

2004-09-15 Thread Wendy Smoak
From: "John Villar" <[EMAIL PROTECTED]>
> A question to everyone out there. why does anyone use nowadays
> Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull
> and backwards compatible?
> that question has haunted me from the beginning of joining this list.

Because we're on HP-UX and they have not yet officially blessed Tomcat 5.
That, and Tomcat 4 works perfectly well, I haven't found sufficient
motivation to test everything on TC5 and start developing with the new
features yet.

-- 
Wendy Smoak


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



Re: Why tomcat 4 or even 3?

2004-09-15 Thread John Villar
Hmm that seems a valid argument however, i want to know what 
every other person in the mailing list says. i don't think that 
every T4 user has HP-UX (its a posibillity, however, i've seen comments 
like "i run tomcat 4.1.x on W2K")

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

Wendy Smoak escribió:
From: "John Villar" <[EMAIL PROTECTED]>
 

A question to everyone out there. why does anyone use nowadays
Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull
and backwards compatible?
that question has haunted me from the beginning of joining this list.
   

Because we're on HP-UX and they have not yet officially blessed Tomcat 5.
That, and Tomcat 4 works perfectly well, I haven't found sufficient
motivation to test everything on TC5 and start developing with the new
features yet.
 


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

Re: Why tomcat 4 or even 3?

2004-09-15 Thread Wendy Smoak
From: "John Villar" <[EMAIL PROTECTED]>
> i don't think that every T4 user has HP-UX

No... by my count, I think there are three of us. :)

-- 
Wendy Smoak

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



Re: Why tomcat 4 or even 3?

2004-09-15 Thread Pablo Lillia
Sometimes there are old sw, in old servers, that was not upgraded for 
some (stupid?) reason.

Some examples:
- if the client does not pay for the upgrade
- if there are a old compiled webapp that cannot be replaced
Regards,
Paul
John Villar escribió:
Hmm that seems a valid argument however, i want to know what 
every other person in the mailing list says. i don't think that 
every T4 user has HP-UX (its a posibillity, however, i've seen comments 
like "i run tomcat 4.1.x on W2K")

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

Wendy Smoak escribió:
From: "John Villar" <[EMAIL PROTECTED]>
 

A question to everyone out there. why does anyone use nowadays
Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull
and backwards compatible?
that question has haunted me from the beginning of joining this 
list.
  

Because we're on HP-UX and they have not yet officially blessed Tomcat 5.
That, and Tomcat 4 works perfectly well, I haven't found sufficient
motivation to test everything on TC5 and start developing with the new
features yet.
 



-
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: Why tomcat 4 or even 3?

2004-09-15 Thread QM
On Wed, Sep 15, 2004 at 04:07:52PM -0400, John Villar wrote:
: A question to everyone out there. why does anyone use nowadays 
: Tomcat 4 branch?.

Some more conservative shops intentionally lag behind on releases. The
reasons range from "afraid to upgrade" to "don't feel the need to
upgrade" or even "we've built a sizable architecture on an older rev and
upgrading will be a monumental effort."



: isn't tomcat 5 branch more bug free, featurefull 
: and backwards compatible?

Yes and no.  Even if the app used no features specific to Tomcat 4, you
still have to rebuild the app to upgrade.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



Re: Why tomcat 4 or even 3?

2004-09-15 Thread John Villar
Yep, that's true but T5 is way faster than T4 or T3 and is 
comparable to Apache (Yoav's word, not threefold speeds anymore LOL)

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

Pablo Lillia escribió:
Sometimes there are old sw, in old servers, that was not upgraded for 
some (stupid?) reason.

Some examples:
- if the client does not pay for the upgrade
- if there are a old compiled webapp that cannot be replaced
Regards,
Paul
John Villar escribió:
Hmm that seems a valid argument however, i want to know what 
every other person in the mailing list says. i don't think that 
every T4 user has HP-UX (its a posibillity, however, i've seen 
comments like "i run tomcat 4.1.x on W2K")

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

Wendy Smoak escribió:
From: "John Villar" <[EMAIL PROTECTED]>
 

A question to everyone out there. why does anyone use nowadays
Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull
and backwards compatible?
that question has haunted me from the beginning of joining this 
list.
  

Because we're on HP-UX and they have not yet officially blessed 
Tomcat 5.
That, and Tomcat 4 works perfectly well, I haven't found sufficient
motivation to test everything on TC5 and start developing with the new
features yet.

 



-
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: Why tomcat 4 or even 3?

2004-09-15 Thread John Villar
I think you've got a point with the "afraid to upgrade" however, i 
think that the Tomcat community should fight this way of thinking to 
minimize "maintainability", someone has to develop a side by side 
Comparative brochure of tomcat 5 benefits. maybe i'll write one. The 
"don't feel the need to upgrade" issue is the principal "i've been 
hacked" cause. that's another benefit of upgrading, malicious users 
have had less time to study vulnerabilities (off course, just stick with 
the stable releases).
the only true reason someone may stop from upgrading is the last 
one. however, pity those that depend on a specific tomcat release.

the "recompile" problem: that wouldn't happen if you had a good software 
provider i'm against any provider that forces their customers to 
stick to an old dying tomcat revision.

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

QM escribió:
On Wed, Sep 15, 2004 at 04:07:52PM -0400, John Villar wrote:
: A question to everyone out there. why does anyone use nowadays 
: Tomcat 4 branch?.

Some more conservative shops intentionally lag behind on releases. The
reasons range from "afraid to upgrade" to "don't feel the need to
upgrade" or even "we've built a sizable architecture on an older rev and
upgrading will be a monumental effort."

: isn't tomcat 5 branch more bug free, featurefull 
: and backwards compatible?

Yes and no.  Even if the app used no features specific to Tomcat 4, you
still have to rebuild the app to upgrade.
-QM
 


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

Re: Why tomcat 4 or even 3?

2004-09-15 Thread Pablo Lillia
Sometimes one dont need to be faster.
I'm talking about a old legacy app (not critical - intranet), running 
very well for a couple of years in the same old server.

John Villar escribió:
Yep, that's true but T5 is way faster than T4 or T3 and is 
comparable to Apache (Yoav's word, not threefold speeds anymore LOL)

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

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


Re: Why tomcat 4 or even 3?

2004-09-15 Thread Pablo Lillia
John Villar escribió:
...
the "recompile" problem: that wouldn't happen if you had a good software 
provider i'm against any provider that forces their customers to 
stick to an old dying tomcat revision.
...
That's right. But, in real life, sometimes we have not choice :D
Good providers may go away too, or even turn in BAD providers...
In open source apps thats is not a big problem... But with closed 
source... grasp!

BTW, I always recommend stay upgraded, "if that can be done" ;)
Regards,
Paul
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Why tomcat 4 or even 3?

2004-09-15 Thread Benjamin Armintor
Hang tough, Wendy: There's a few more of us out here: We run a mix of
HP-UX and Solaris.

Benjamin J. Armintor
Operations Systems Specialist
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
 


-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 15, 2004 3:37 PM
To: Tomcat Users List
Subject: Re: Why tomcat 4 or even 3?


From: "John Villar" <[EMAIL PROTECTED]>
> i don't think that every T4 user has HP-UX

No... by my count, I think there are three of us. :)

-- 
Wendy Smoak

-
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: Why tomcat 4 or even 3?

2004-09-15 Thread Tim Funk
I am in the process of moving from 4.0 to 5.0 on HPUX. So far - 5.0 has been 
pretty sweet, here were the worst of my problems:

(1) Bad coder karma
<%page import="java.util.*,java.io.*,"%> will cause an error with the 
trailing comma

(2) (more bad coder karma) Placing return statements in your JSP should be in 
a conditional because if not, there is a much better chance that you'll get a 
statement not reachable compile error.

(3) If have custom tags - there probably not tag pooling friendly, so turn 
tag pooling off

(4) The incremental gc option on HP blew chunks. At least thats what it 
seemed like when I was testing the server with that option turned on. I 
haven't gone through extensive tuning yet. In general, if I give enough 
memory to the JVM and make sure my kernel params are high enough - I stop 
there. Perfomance has always been nice on their servers.

Why go to 5? My main reasons ...
- JSP2.0 -- EL
- User defined functions in EL
JSTL has made our code so much easier to read. With 5 - now I can get rid 
of all those  tags.

-Tim
Wendy Smoak wrote:
From: "John Villar" <[EMAIL PROTECTED]>
A question to everyone out there. why does anyone use nowadays
Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull
and backwards compatible?
that question has haunted me from the beginning of joining this list.

Because we're on HP-UX and they have not yet officially blessed Tomcat 5.
That, and Tomcat 4 works perfectly well, I haven't found sufficient
motivation to test everything on TC5 and start developing with the new
features yet.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Why tomcat 4 or even 3?

2004-09-15 Thread erh
On Wed, Sep 15, 2004 at 04:07:52PM -0400, John Villar wrote:
> A question to everyone out there. why does anyone use nowadays 
> Tomcat 4 branch?. isn't tomcat 5 branch more bug free, featurefull 
> and backwards compatible?

Perhaps because the tomcat home page seems to encourage the use 
of the old versions?  Tomcat 3, 4 and 5 are placed mostly on a equal
footing, especially with the language that says to see "the detail below
to help you determine which one is right for you".  Also the table of 
Serlet/JSP spec to Tomcat version could imply, at first glance, that
a JSP 1.2 app can't use tomcat 5 (which of course is completely false).

eric

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



Re: Why tomcat 4 or even 3?

2004-09-15 Thread POLO ARAUJO, JAVIER
What is more, a lot of app's for big companies are just forgotten or
have a few users, so why spend time upgrading to a newer version of
tomcat?

 

Paul said:

> Sometimes one dont need to be faster.

> I'm talking about a old legacy app (not critical - intranet), running 

> very well for a couple of years in the same old server.

 

Javier Polo.



RE: Why tomcat 4 or even 3?

2004-09-16 Thread Shapira, Yoav

Hi,
All the arguments mentioned by others in this thread, especially the
"why upgrade if it's working" one, are raised frequently by companies
and developers.  It's a matter of resource constraints, as is everything
else in life ;)  Even you abide by the assumption that the latest stable
version is the best, and everyone should upgrade, you cannot assume
upgrading is a zero-cost task, and therefore you cannot assume there
will ever be sufficient motivation to do it.  That's a basic management
argument, and it's not specific to Tomcat by any means.

Naturally, I've heard the argument many times.  Since you also can't
assume any app is bug free, eventually bugs tend to show up.  Now the
developers have to re-learn the old version of the product, setup up a
dev environment for the old version of the app, patch, re-test, and
re-deploy.  This is frequently (in fact, research suggests nearly
always) must more costly than simply keeping up with upgrades.  Then the
company hires consultants to help them fix, and you'd be surprised how
many people make a nice living off of these type of consulting
assignments (any Tandy consultants on this list? ;).  This has been the
paradigm since at least the late 70's, and appears to only be getting
worse (again from research -- anyone on the list who reads the IEEE
Transactions on Engineering Management is fed up with this research).

But most developers are too busy to worry about that scenario, and it
goes back to the resource-constraint argument: if we as a company can
spend time on creating this new app to address an existing need, or
upgrading the server for a completely fine working app, that's a
no-brainer for management.

For government, military, and externally regulated industries the
scenario is even worse because there's a length change management and
audit process in place typically.

I could go on and on ;)  This is well-trodden territory, the subject of
much discussion in various offline forums I belong to.

Yoav Shapira
Millennium Research Informatics


>-Original Message-
>From: POLO ARAUJO, JAVIER [mailto:[EMAIL PROTECTED]
>Sent: Thursday, September 16, 2004 2:19 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Why tomcat 4 or even 3?
>
>What is more, a lot of app's for big companies are just forgotten or
>have a few users, so why spend time upgrading to a newer version of
>tomcat?
>
>
>
>Paul said:
>
>> Sometimes one dont need to be faster.
>
>> I'm talking about a old legacy app (not critical - intranet), running
>
>> very well for a couple of years in the same old server.
>
>
>
>Javier Polo.




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: Why tomcat 4 or even 3?

2004-09-16 Thread John Villar
That's true yoav, actually i live off that kind of things, however, what 
really amazes me is the messages that arrive at this list saying "i've 
just installed 4.1.x". the scenario you explained of replication a 
production environment on test grounds is a good approach, but i don't 
think everyone out there is deploying a test environment when installing 
the 4 branch. My principal concern about this topic is this: if the 
tomcat community fosters the use of old branches, people will start to 
get old bugs, old problems and will receive the tired response in this 
list "search this  it comes up a lot", and that goes in detriment of 
the whole Tomcat community image (a mighty and solid image) and you will 
hear from some jerk things like "yeah, i tried tomcat, but its rather 
buggy and slow, i prefer the ClosedSource_VENDOR_X solution". The 
problem here is that management departments worldwide are concerned 
about the ROIs and TCOs of the systems, and we must give them those 
digits, just to grasp more "market share" (yuck!! management lingo, i'm 
sick of it, hate it or love it, we must live with it), revealing 
security and maintainability issues of having installed some old tomcat 
branch. Those are my toughts about this matter.

John Villar
Gerente de Proyectos
Computadores Flor Hard Soft 2058 C.A.
www.florhard.com

Shapira, Yoav escribió:
Hi,
All the arguments mentioned by others in this thread, especially the
"why upgrade if it's working" one, are raised frequently by companies
and developers.  It's a matter of resource constraints, as is everything
else in life ;)  Even you abide by the assumption that the latest stable
version is the best, and everyone should upgrade, you cannot assume
upgrading is a zero-cost task, and therefore you cannot assume there
will ever be sufficient motivation to do it.  That's a basic management
argument, and it's not specific to Tomcat by any means.
Naturally, I've heard the argument many times.  Since you also can't
assume any app is bug free, eventually bugs tend to show up.  Now the
developers have to re-learn the old version of the product, setup up a
dev environment for the old version of the app, patch, re-test, and
re-deploy.  This is frequently (in fact, research suggests nearly
always) must more costly than simply keeping up with upgrades.  Then the
company hires consultants to help them fix, and you'd be surprised how
many people make a nice living off of these type of consulting
assignments (any Tandy consultants on this list? ;).  This has been the
paradigm since at least the late 70's, and appears to only be getting
worse (again from research -- anyone on the list who reads the IEEE
Transactions on Engineering Management is fed up with this research).
But most developers are too busy to worry about that scenario, and it
goes back to the resource-constraint argument: if we as a company can
spend time on creating this new app to address an existing need, or
upgrading the server for a completely fine working app, that's a
no-brainer for management.
For government, military, and externally regulated industries the
scenario is even worse because there's a length change management and
audit process in place typically.
I could go on and on ;)  This is well-trodden territory, the subject of
much discussion in various offline forums I belong to.
Yoav Shapira
Millennium Research Informatics
 

-Original Message-
From: POLO ARAUJO, JAVIER [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 16, 2004 2:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Why tomcat 4 or even 3?
What is more, a lot of app's for big companies are just forgotten or
have a few users, so why spend time upgrading to a newer version of
tomcat?

Paul said:
   

Sometimes one dont need to be faster.
 

I'm talking about a old legacy app (not critical - intranet), running
 

very well for a couple of years in the same old server.
 

Javier Polo.
   



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]

RE: Why tomcat 4 or even 3?

2004-09-16 Thread Shapira, Yoav

Hi,
We don't foster the use of older branches.  We always encourage people
to upgrade, and I think the text on the Tomcat home and status pages is
clear to that effect.

And by and large users do upgrade, I think.  You still see Tomcat 3 and
4 questions, and you'll see them forever, but I believe if you tracked
the volume the majority of the questions now are Tomcat 5.  Of course
this is subjective and hard to prove, unless someone wants to write a
cool archive stat crawler.

>the 4 branch. My principal concern about this topic is this: if the
>tomcat community fosters the use of old branches, people will start to

Your predicate is false, rendering the rest of your argument moot.
Moreover, even if it were true, it'd apply to any product out there, not
specifically to Tomcat.

Yoav



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: Why tomcat 4 or even 3?

2004-09-16 Thread Lemke, Michael IZ/HZA-IOR
> -Original Message-
> From: John Villar 
> Sent: Thursday, September 16, 2004 3:03 PM
> To: Tomcat Users List
> Subject: Re: Why tomcat 4 or even 3?
> 
> 
> That's true yoav, actually i live off that kind of things, 
> however, what 
> really amazes me is the messages that arrive at this list 
> saying "i've 
> just installed 4.1.x". the scenario you explained of 
> replication a 
> production environment on test grounds is a good approach, 
> but i don't 
> think everyone out there is deploying a test environment when 
> installing 
> the 4 branch. 

Since I just posted such a message let me explain why I am 
installing 4.1.x.  It is for a third party software the latest
release of which requires Servlet spec 2.3.  That is supported
by TC 4 only.  The vendor does not take any responsibilty that
their product will work with Servlet spec 2.4, so I can't use
TC 5 no matter how much I want to.  Maybe this is also a question
of backwards compatability of new Servlet and other specs.
Just as an example: I couldn't upgrade Java to 1.4 because the
third party software definitely didn't work with it, I tried.
Another example is tomcat itself.  I can't just replace TC3
with TC4.  Essentially everything has changed.  No TC3 config
file will work and no conversion tool or even a proper description
exists.  So for real work it is not that simple to just use the
latest version of tomcat or whatever.

Just my 2 cents.
Michael


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



Re: Why tomcat 4 or even 3?

2004-09-16 Thread Chuck Chopp
Wendy Smoak wrote:
From: "John Villar" <[EMAIL PROTECTED]>
i don't think that every T4 user has HP-UX

No... by my count, I think there are three of us. :)
And don't forget me... I'm the guy who runs Tomcat on OpenVMS on an HP Alpha 
system [well, really I think of them as DEC Alpha, not as Compaq Alpha or 
even as HP Alpha] and I have the same problem with Tomcat v4.1.x being the 
only version that HP provides for me to use.  As such, I continue to use 
Tomcat v4.1.x on my WinXP development system, too.  I also run it on 
NetWare, and it seems that Tomcat there, too, is still at v4.1.x as v5 
hasn't been provided by Novell.

--
Chuck Chopp
ChuckChopp (at) rtfmcsi (dot) com http://www.rtfmcsi.com
RTFM Consulting Services Inc. 864 801 2795 voice & voicemail
103 Autumn Hill Road  864 801 2774 fax
Greer, SC  29651
Do not send me unsolicited commercial email.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Why tomcat 4 or even 3?

2004-09-16 Thread Ben Souther
> RTFM Consulting Services Inc

Beautiful.  I wish I thought of it.


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



RE: Why tomcat 4 or even 3?

2004-09-16 Thread POLO ARAUJO, JAVIER
Michael wrote:

 

>Since I just posted such a message let me explain why I am 

>installing 4.1.x.  It is for a third party software the latest release
of which requires Servlet spec 2.3.  That is >supported by TC 4 only.
The vendor does not take any responsibilty that their product will work
with Servlet spec 2.4, >so I can't use TC 5 no matter how much I want
to.  Maybe this is also a question of backwards compatability of new
>Servlet and other specs. Just as an example: I couldn't upgrade Java to
1.4 because the third party software definitely >didn't work with it, I
tried. Another example is tomcat itself.  I can't just replace TC3 with
TC4.  Essentially >everything has changed.  No TC3 config file will work
and no conversion tool or even a proper description exists.  So >for
real work it is not that simple to just use the latest version of tomcat
or whatever.

 

>Just my 2 cents.

>Michael

 

Hei! I agree with you. And even if it's true that bugs always tends to
rise in all software, you should think that sometimes is better fighting
against well-known bugs than against new bugs; for example, in
critical-mission systems never are used newer versions of soft or hard,
because you don't really know what kind of bugs you will find. In fact,
upgrading depends on the scenario, the mission of system, the users, the
money you have and also the compatibility with older versions! Saying
that you should always upgrade your systems is a too-simplistic
assortment (I hope this word is right!).

 

Javier Polo.



Re: Why tomcat 4 or even 3?

2004-09-17 Thread Norris Shelton
Sometimes "we" developers have no choice on the version that we
run.  "We" were upgraded from 4.1.12 to 4.1.30 last weekend. 
This only happened because IT wanted to upgrade from SLES7 to
SLES8 and 4.1.30 is the version that YAAST had.  If it had been
up to my part of the "We", we would have been on 5.0 a LONG time
ago.

I've only been harping to get a 5.0 development server for a
year and a half.  It looks like I'm still at least 2 months
away.  

Dang nabbit.


--- John Villar <[EMAIL PROTECTED]> wrote:

> A question to everyone out there. why does anyone use
> nowadays 
> Tomcat 4 branch?. isn't tomcat 5 branch more bug free,
> featurefull 
> and backwards compatible?
> 
> that question has haunted me from the beginning of joining
> this list.
> 
> -- 
> John Villar
> Gerente de Proyectos
> Computadores Flor Hard Soft 2058 C.A.
> www.florhard.com
> 
> 
> >
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]


=

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton




___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

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



Figuring out why Tomcat isn't serving a servlet (fwd)

2001-11-15 Thread Richard Troy

Date: 18 Oct 2001 01:06:18 -
From: Dr. Evil <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Figuring out why Tomcat isn't serving a servlet


I am completely stumped by a seemingly simple problem.  I have created
a very simple servlet:

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class hello extends HttpServlet {

   public void doGet(HttpServletRequest request,
   HttpServletResponse response)
   throws ServletException, IOException {

   response.setContentType("text/plain");
   PrintWriter out = response.getWriter();

   out.println("Hello");
   }
}

I place compile and place it in
/usr/local/jakarta-tomcat-4.0/webapps/test/WEB-INF/classes/hello.class.

Then, with no problem, I can access it by going to
localhost:8080/test/servlet/hello.

That's good.  Now I tried to add a web.xml file that will load up
another class which will create the database connection pool for me.
Here's what the web.xml file looks like:



http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>


 
  120
 
 
  makepool
  makepool
  1
 


Now with that file in place, I can no longer access servlet/hello.  I
tried putting in lines for the servlet:

 
  hello
  hello
 

but that didn't help either.  Is there a way to get this to work?
Connection pools aren't too useful if they're the only class you can
have on your server...

It seems that figuring out paths is a chronic difficulty with Tomcat.
Is there any way to debug what Tomcat is trying to do with a
particular request?

Thanks


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




why tomcat append WEB_0002dINF... to the precompiled jsp package

2003-06-29 Thread Billy Ng
Hi folks,

I am using ant to precompile the jsp files.  Let's say the in package name is 
"com.mycompany.jsp" and the jsp file is in the /jsp/admin/logon.

After the jsp compiled to java, the package name becomes 

com.mycompany.jsp.WEB_0002dINF.jsp.admin.logon

Why?

Thanks!

Billy Ng


WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Parris, Edward G

I have a single server running Tomcat supporting several webapps. The web apps fall 
into two categories:
 webapps that require quick response but that use few system resources
 webapps that are expected to process for a long period and consume large amounts of 
system resources

The goal is to create a tomcat configuration that supports these two categories of 
applications. My difficulty is that the number of simultaneous requests supportable 
within the system's memory constraints is very different.

In the past (Tomcat 4.1.27) I created two HTTP connectors with different 
minProcessors, maxProcessors and acceptCount values. Web apps were registered/accessed 
via different ports effectively managing the resources of the server. The connector on 
port 9080 supports a large number of light-weight apps while the connector on 9081 
queues up concurrent heavy-weight requests beyond some configurable limit (3).





I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool warning on 
startup stating that my maxThreads setting was too low and that it would be reset to 
10.

WARNING: maxThreads setting (3) too low, set to 10

Does anyone have any ideas how I can rectify this situation? 10 concurrent threads is 
too many (at peak each heavy-weight can consume ~1GB of memory). Simply increasing the 
memory limits is not going to do it.

Thanks much,
Ed


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



WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Parris, Edward G

I have a single server running Tomcat supporting several webapps. The web apps fall 
into two categories:
 webapps that require quick response but that use few system resources
 webapps that are expected to process for a long period and consume large amounts of 
system resources

The goal is to create a tomcat configuration that supports these two categories of 
applications. My difficulty is that the number of simultaneous requests supportable 
within the system's memory constraints is very different.

In the past (Tomcat 4.1.27) I created two HTTP connectors with different 
minProcessors, maxProcessors and acceptCount values. Web apps were registered/accessed 
via different ports effectively managing the resources of the server. The connector on 
port 9080 supports a large number of light-weight apps while the connector on 9081 
queues up concurrent heavy-weight requests beyond some configurable limit (3).





I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool warning on 
startup stating that my maxThreads setting was too low and that it would be reset to 
10.

WARNING: maxThreads setting (3) too low, set to 10

Does anyone have any ideas how I can rectify this situation? 10 concurrent threads is 
too many (at peak each heavy-weight can consume ~1GB of memory). Simply increasing the 
memory limits is not going to do it.

Thanks much,
Ed



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



Why Tomcat (4.1.29) cannot find third party package's classes

2004-03-16 Thread Ari Paasonen
Hi,

is there any particular reason why all classes in third party jar-package 
(Exolab Castor in my case) can

not be imported in my JSP pages on new Tomcat (4.1.29 and Java build 
1.4.2_03-b02)? It works fine with

the old version (Tomcat 4.0.1 and Java build 1.3.1_02-b02).

The import line in my pages is:

<%@ page import="org.exolab.castor.*" %>

and, as I already said, it works fine with the old server.

On the new server when trying to compile the JSP page, Tomcat gives the 
following error:

/usr/local/jakarta-tomcat-4.1.29/work/Standalone/localhost/reuse/archtool/start_jsp.java:10: 
package

org.exolab.castor does not exist
import org.exolab.castor.*;
I noticed that when I use direct import to a certain class inside the castor 
package it works, but I

don't think that is a good way to handle this if there is some other work 
around for this problem.

Any helpful insight would be appreciated.

-Ari Paasonen

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus

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


Why Tomcat 5.0.28 uses a context's log4j.jar and log4j.properties?

2005-08-03 Thread KwonNam Son
I installed a web context to Tomcat 5.0.28 ant the struts 1.2.7 web
application context includes log4j-1.2.11.jar in WEB-INF/lib and
log4j.properties in WEB-INF/classes.

After that, Tomcat shows all it's log messages(include DEBUG) in log4j
format which is configured in WEB-INF/classes/log4j.properties.

Because tomcat print all the log messages, it takes too long time to
start tomcat.

If I remove log4j-*.jar and log4.properties from the web context,
Tomcat does not show log messages any more.

What should I do for preventing the topcat using a web context's log4j.

Thanks,
KwonNam.

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



RE: Figuring out why Tomcat isn't serving a servlet (fwd)

2001-11-15 Thread Larry Isaacs

I think  should come after . An
exception is probably being thrown, so the web.xml isn't
fully read.  Try checking the log.

Larry

> -Original Message-
> From: Richard Troy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 3:01 PM
> To: Tomcat-user
> Subject: Figuring out why Tomcat isn't serving a servlet (fwd)
> 
> 
> Date: 18 Oct 2001 01:06:18 -
> From: Dr. Evil <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Figuring out why Tomcat isn't serving a servlet
> 
> 
> I am completely stumped by a seemingly simple problem.  I have created
> a very simple servlet:
> 
> import java.io.*;
> import javax.servlet.*;
> import javax.servlet.http.*;
> 
> public class hello extends HttpServlet {
> 
>public void doGet(HttpServletRequest request,
>HttpServletResponse response)
>throws ServletException, IOException {
> 
>response.setContentType("text/plain");
>PrintWriter out = response.getWriter();
> 
>out.println("Hello");
>}
> }
> 
> I place compile and place it in
> /usr/local/jakarta-tomcat-4.0/webapps/test/WEB-INF/classes/hel
> lo.class.
> 
> Then, with no problem, I can access it by going to
> localhost:8080/test/servlet/hello.
> 
> That's good.  Now I tried to add a web.xml file that will load up
> another class which will create the database connection pool for me.
> Here's what the web.xml file looks like:
> 
> 
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
> 
>  
>   120
>  
>  
>   makepool
>   makepool
>   1
>  
> 
> 
> Now with that file in place, I can no longer access servlet/hello.  I
> tried putting in lines for the servlet:
> 
>  
>   hello
>   hello
>  
> 
> but that didn't help either.  Is there a way to get this to work?
> Connection pools aren't too useful if they're the only class you can
> have on your server...
> 
> It seems that figuring out paths is a chronic difficulty with Tomcat.
> Is there any way to debug what Tomcat is trying to do with a
> particular request?
> 
> Thanks
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: why tomcat append WEB_0002dINF... to the precompiled jsp package

2003-06-29 Thread Tim Funk
Why not?

When a page is precompiled (or even compiled at run time) - all that is 
required is a valid java class name. (By the spec).

So it could be legal for tomcat to translate every jsp into a class called 
more.Cowbell.java. This is ok since every JSP is loaded under its own class 
loader.

But this would be a pain for debuggers since any breakpoint in the 
"more.Cowbell" class could turn into debugging hell. So the naming of classes 
is some composite of what you see below.

-Tim

Billy Ng wrote:
Hi folks,

I am using ant to precompile the jsp files.  Let's say the in package name is "com.mycompany.jsp" and the jsp file is in the /jsp/admin/logon.

After the jsp compiled to java, the package name becomes 

com.mycompany.jsp.WEB_0002dINF.jsp.admin.logon

Why?

Thanks!

Billy Ng



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


Re: why tomcat append WEB_0002dINF... to the precompiled jsp package

2003-06-29 Thread Billy Ng
I know it make more sense to do appending .  But the funny part is it won't
append the src path in 4.1.12.  It appends the src path in 4.1.24.  The
inconsistentency confused me.

Billy Ng

- Original Message -
From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, June 29, 2003 5:57 PM
Subject: Re: why tomcat append WEB_0002dINF... to the precompiled jsp
package


> Why not?
>
> When a page is precompiled (or even compiled at run time) - all that is
> required is a valid java class name. (By the spec).
>
> So it could be legal for tomcat to translate every jsp into a class called
> more.Cowbell.java. This is ok since every JSP is loaded under its own
class
> loader.
>
> But this would be a pain for debuggers since any breakpoint in the
> "more.Cowbell" class could turn into debugging hell. So the naming of
classes
> is some composite of what you see below.
>
> -Tim
>
> Billy Ng wrote:
> > Hi folks,
> >
> > I am using ant to precompile the jsp files.  Let's say the in package
name is "com.mycompany.jsp" and the jsp file is in the /jsp/admin/logon.
> >
> > After the jsp compiled to java, the package name becomes
> >
> > com.mycompany.jsp.WEB_0002dINF.jsp.admin.logon
> >
> > Why?
> >
> > Thanks!
> >
> > Billy Ng
> >
>
>
> -
> 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: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread David Rees
On Mon, February 2, 2004 at 2:38 pm, Parris, Edward G wrote:
> I tried a similar configuration on Tomcat 5.0.18 but noticed a ThreadPool
> warning on startup stating that my maxThreads setting was too low and that
> it would be reset to 10.
>
> WARNING: maxThreads setting (3) too low, set to 10
>
> Does anyone have any ideas how I can rectify this situation? 10 concurrent
> threads is too many (at peak each heavy-weight can consume ~1GB of
> memory). Simply increasing the memory limits is not going to do it.

10 is the hard-coded minimum set in Tomcat.  You have two choices:

1. Recompile Tomcat 5, lowering the hard-coded minimum.
2. Implement a filter or some other type of synchronization in your
servlet which keeps track of the number of currently executing requests
and redirects the user to a different page with a meta refresh letting
them know that their request is being queued until the other outstanding
requests finish.

-Dave

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



Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread Josh Rehman


David Rees wrote:
1. Recompile Tomcat 5, lowering the hard-coded minimum.
2. Implement a filter or some other type of synchronization in your
servlet which keeps track of the number of currently executing requests
and redirects the user to a different page with a meta refresh letting
them know that their request is being queued until the other outstanding
requests finish.
This brings up an interesting point. I'm too lazy to test it, but what 
happens if you tomcat needs more threads than it is allowed? Does the 
user get a 404?

--
Thanks,
Josh Rehman
Citysearch Toolsdev, 3559
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-02 Thread David Rees
On Mon, February 2, 2004 at 6:28 pm, Josh Rehman wrote:
>
> This brings up an interesting point. I'm too lazy to test it, but what
> happens if you tomcat needs more threads than it is allowed? Does the
> user get a 404?

No.  If the acceptCount is set to more than 0, the request will sit in the
accept queue until acceptCount is exceeded at which point the user will
get a connection refused error.

-Dave

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



RE: WHY? Tomcat 5 maxThreads too low, set to 10

2004-02-03 Thread Shapira, Yoav

Howdy,
You might also use two tomcat instances -- much easier to tune.

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: Parris, Edward G [mailto:[EMAIL PROTECTED]
>Sent: Monday, February 02, 2004 5:38 PM
>To: [EMAIL PROTECTED]
>Subject: WHY? Tomcat 5 maxThreads too low, set to 10
>
>
>I have a single server running Tomcat supporting several webapps. The
web
>apps fall into two categories:
> webapps that require quick response but that use few system resources
> webapps that are expected to process for a long period and consume
large
>amounts of system resources
>
>The goal is to create a tomcat configuration that supports these two
>categories of applications. My difficulty is that the number of
>simultaneous requests supportable within the system's memory
constraints is
>very different.
>
>In the past (Tomcat 4.1.27) I created two HTTP connectors with
different
>minProcessors, maxProcessors and acceptCount values. Web apps were
>registered/accessed via different ports effectively managing the
resources
>of the server. The connector on port 9080 supports a large number of
light-
>weight apps while the connector on 9081 queues up concurrent
heavy-weight
>requests beyond some configurable limit (3).
>
>port="9080"
>   minProcessors="5" maxProcessors="75"
>   enableLookups="true" redirectPort="9443"
>   acceptCount="100" debug="0" connectionTimeout="2"
>   useURIValidationHack="false" disableUploadTimeout="true"
/>
>
>port="9081"
>   minProcessors="3" maxProcessors="3"
>   enableLookups="true" redirectPort="9443"
>   acceptCount="" debug="0" connectionTimeout="0"
>   useURIValidationHack="false" disableUploadTimeout="true"
/>
>
>I tried a similar configuration on Tomcat 5.0.18 but noticed a
ThreadPool
>warning on startup stating that my maxThreads setting was too low and
that
>it would be reset to 10.
>
>WARNING: maxThreads setting (3) too low, set to 10
>
>Does anyone have any ideas how I can rectify this situation? 10
concurrent
>threads is too many (at peak each heavy-weight can consume ~1GB of
memory).
>Simply increasing the memory limits is not going to do it.
>
>Thanks much,
>Ed
>
>
>-
>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: Why Tomcat (4.1.29) cannot find third party package's classes

2004-03-16 Thread Christopher Schultz
Ari,

is there any particular reason why all classes in third party 
jar-package (Exolab Castor in my case) can

not be imported in my JSP pages on new Tomcat (4.1.29 and Java build 
1.4.2_03-b02)? It works fine with

the old version (Tomcat 4.0.1 and Java build 1.3.1_02-b02).
Where is your Castor JAR file located?

-chris


signature.asc
Description: OpenPGP digital signature


Re: Why Tomcat (4.1.29) cannot find third party package's classes

2004-03-17 Thread Ari Paasonen
Sorry, forgot to mention it on this post. The Castor JAR file is in my 
webapplication's WEB-INF/lib directory.


From: Christopher Schultz <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Why Tomcat (4.1.29) cannot find third party package's classes
Date: Tue, 16 Mar 2004 11:58:52 -0500
Ari,

is there any particular reason why all classes in third party jar-package 
(Exolab Castor in my case) can

not be imported in my JSP pages on new Tomcat (4.1.29 and Java build 
1.4.2_03-b02)? It works fine with

the old version (Tomcat 4.0.1 and Java build 1.3.1_02-b02).
Where is your Castor JAR file located?

-chris
<< signature.asc >>
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: Why Tomcat 5.0.28 uses a context's log4j.jar and log4j.properties?

2005-08-04 Thread KwonNam Son
I solved this problem.
It was not the problem of tomcat.

I just added the following lines into log4j.properties

# Remove org.apache.* logs
log4j.logger.org.apache=WARN

It was because of struts and Digester which is used by struts.

So I change the log level of org.apache.*.

2005/8/3, KwonNam Son <[EMAIL PROTECTED]>:
> I installed a web context to Tomcat 5.0.28 ant the struts 1.2.7 web
> application context includes log4j-1.2.11.jar in WEB-INF/lib and
> log4j.properties in WEB-INF/classes.
> 
> After that, Tomcat shows all it's log messages(include DEBUG) in log4j
> format which is configured in WEB-INF/classes/log4j.properties.
> 
> Because tomcat print all the log messages, it takes too long time to
> start tomcat.
> 
> If I remove log4j-*.jar and log4.properties from the web context,
> Tomcat does not show log messages any more.
> 
> What should I do for preventing the topcat using a web context's log4j.
> 
> Thanks,
> KwonNam.
>

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



Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Amadeo Alonso

Hi all,
¿Can anyone explain it , please?

I use Tomcat 5.5 as server pages html with an 'Applet' that uses a 'doc.jar'
I have placed two  tags  in 'server.xml' file to use ports :80 y 
:8080 in the same way
I Have fixed bugs from mi 'doc.jar' (v1) to a new version with the same name 
'doc.jar' (v2)


and now, (using IExplorer):

OK: 
_http://expresiongrafica.caminos.upm.es:8080/PAU/PAU-Septiembre2005-C2.html

return de rigth 'doc.jar' (v2)

BUT: 
_http://expresiongrafica.caminos.upm.es:80/PAU/PAU-Septiembre2005-C2.html
   o 
_http://expresiongrafica.caminos.upm.es/PAU/PAU-Septiembre2005-C2.html
return me the OLD VERSION of 'doc.jar' (v1) with the old bugs, as I deduct 
from the 'Java Console'


OK also _http://localhost /PAU/AppletDoc.html   (or 127.0.0.1)
 _http://localhost:80/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html

BUT  _http://138.100.67.143:8080/PAU/AppletDoc.html OK
_http://138.100.67.143 /PAU/AppletDoc.html (o :80) 
BAD, v1


How can I destroy the old version? where is it? What is it happening?

regards
amadeo.



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



Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Brandon Cruz

Hi,

I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The java
processes slowly take more and more CPU power.  After about a day, java is
taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If I leave it
running for more than three or four days, everything is VERY slow.  Does
anyone know why this happens and if it is normal?

I have not been able to find an answer to this anywhere!

Brandon


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Where can I find the log information on Why Tomcat died?

2002-10-30 Thread CHAO,KENT (HP-Boise,ex1)
Hi:

We have an application running as part of Tomcat applications.  Recently we
have encountered Tomcat died 
from time to time.   We have no clue where to start debugging the problem
because we could not find any log message on its death.

Sysmptom:
   Apache and tomcat ran as a service on Win2000.
   The Tomcat service stopped from time to time.
   (Apache was still running after Tomcat died.)

Question:
 Where can I find the Tomcat log messages which may give me indication on
why Tomcat chose to termainate itself?
 (such as Exceptions,...)

I checked ~\tomcat\logs and couldn't find anything.
I also tried to run Tomcat from a command Window.  It died once but there
were nothing meaningful.

Any hints on where to look for information is greatly appreciated.

regards,

Kent
   





--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>




Why tomcat NT service get killed when the user log off

2000-11-15 Thread Zhiping Wei
Title: Why tomcat NT service get killed when the user log off





Please Help!!!


This is for tomcat 3.2 beta 7 on Windows NT/2000. Tomcat is registed as an NT service using 'jk_nt_service.exe' (under Systemlocal account). It's starts fine but if I log off the windows, tomcat get killed which is not suppose to be. Could anybody tell me why this happen and how to fix it. 

-- Zhiping    (ext: 307)





Re: Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a 
new topic) please do not reply to an existing message and change the 
subject line. To many of the list archiving services and mail clients 
used by list subscribers this  makes your new message appear as part 
of the old thread. This makes it harder for other users to find 
relevant information when searching the lists.


This is known as thread hijacking and is behaviour that is frowned 
upon on this list. Frequent offenders will be removed from the list. 
It should also be noted that many list subscribers automatically 
ignore any messages that hijack another thread.


The correct procedure is to create a new message with a new subject. 
This will start a new thread.


Mark
tomcat-user-owner


Amadeo Alonso wrote:

Hi all,
¿Can anyone explain it , please?

I use Tomcat 5.5 as server pages html with an 'Applet' that uses a 
'doc.jar'
I have placed two  tags  in 'server.xml' file to use ports 
:80 y :8080 in the same way
I Have fixed bugs from mi 'doc.jar' (v1) to a new version with the same 
name 'doc.jar' (v2)


and now, (using IExplorer):

OK: 
_http://expresiongrafica.caminos.upm.es:8080/PAU/PAU-Septiembre2005-C2.html

return de rigth 'doc.jar' (v2)

BUT: 
_http://expresiongrafica.caminos.upm.es:80/PAU/PAU-Septiembre2005-C2.html
   o 
_http://expresiongrafica.caminos.upm.es/PAU/PAU-Septiembre2005-C2.html
return me the OLD VERSION of 'doc.jar' (v1) with the old bugs, as I 
deduct from the 'Java Console'


OK also _http://localhost /PAU/AppletDoc.html   (or 127.0.0.1)
 _http://localhost:80/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html
 _http://localhost:8080/PAU/AppletDoc.html

BUT  _http://138.100.67.143:8080/PAU/AppletDoc.html OK
_http://138.100.67.143 /PAU/AppletDoc.html (o 
:80) BAD, v1


How can I destroy the old version? where is it? What is it happening?

regards
amadeo.



-
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: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Mike Jackson

What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
etc
with IBM's 1.3 jdk and don't experience anything like that.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 1:57 PM
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Hi,
>
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The java
> processes slowly take more and more CPU power.  After about a day, java is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
> I leave it
> running for more than three or four days, everything is VERY slow.  Does
> anyone know why this happens and if it is normal?
>
> I have not been able to find an answer to this anywhere!
>
> Brandon
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Brandon Cruz

Mike,

Thanks for answering.

I'm using Sun's JDK 1.3.1_01.

We have been running this in production for over year and I think we have
always had the problem.  Since 3.2.4 requires restart whenever a web
application is changed, it used to just get restarted often enough so that
nobody ever noticed.  There are enough people using the application now that
it is becoming more and more noticable.  I'm afraid that we are getting
close to a point where it will be necessary to restart tomcat every day.  It
also slowly increases the amount of RAM it uses, but that's a whole
different story and I just want to find out one answer at a time.

Has anyone else experienced this and found a resolution to the problem?  I
have seen many posts but no answers...



-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 3:45 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???


What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
etc
with IBM's 1.3 jdk and don't experience anything like that.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 1:57 PM
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Hi,
>
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The java
> processes slowly take more and more CPU power.  After about a day, java is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
> I leave it
> running for more than three or four days, everything is VERY slow.  Does
> anyone know why this happens and if it is normal?
>
> I have not been able to find an answer to this anywhere!
>
> Brandon
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




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



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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Mike Jackson

Hmmm, well, first things first, the Sun JDK isn't so good from what I
understand.  From what I've read it seems like the IBM one was nearly
the best, but there's some better ones out there.  You might try
one of two things:  either switch to the IBM jdk (1.3.x) or try
upgrading to the current Sun JDK 1.4.x.  See if that helps things any.
Once the new JDK's are installed it should be a simple matter of
changing your JAVA_HOME or in my case changing a symbolic link.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 2:09 PM
> To: Tomcat Users List
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Mike,
>
> Thanks for answering.
>
> I'm using Sun's JDK 1.3.1_01.
>
> We have been running this in production for over year and I think we have
> always had the problem.  Since 3.2.4 requires restart whenever a web
> application is changed, it used to just get restarted often enough so that
> nobody ever noticed.  There are enough people using the
> application now that
> it is becoming more and more noticable.  I'm afraid that we are getting
> close to a point where it will be necessary to restart tomcat
> every day.  It
> also slowly increases the amount of RAM it uses, but that's a whole
> different story and I just want to find out one answer at a time.
>
> Has anyone else experienced this and found a resolution to the problem?  I
> have seen many posts but no answers...
>
>
>
> -Original Message-
> From: Mike Jackson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 3:45 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
> etc
> with IBM's 1.3 jdk and don't experience anything like that.
>
> --mikej
> -=-
> mike jackson
> [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 30, 2002 1:57 PM
> > To: Tomcat Users List
> > Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
> >
> >
> > Hi,
> >
> > I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat
> 7.1.  The java
> > processes slowly take more and more CPU power.  After about a
> day, java is
> > taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
> > I leave it
> > running for more than three or four days, everything is VERY slow.  Does
> > anyone know why this happens and if it is normal?
> >
> > I have not been able to find an answer to this anywhere!
> >
> > Brandon
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




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




Re: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Glenn Nielsen

You may want to start Tomcat with the java -verbose:gc arg next time.
Information about TC including how long it took will be sent to stdout.

This behaviour could be related to your JVM memory configuration/stack usage
and garbage collection.

Brandon Cruz wrote:
> Mike,
> 
> Thanks for answering.
> 
> I'm using Sun's JDK 1.3.1_01.
> 
> We have been running this in production for over year and I think we have
> always had the problem.  Since 3.2.4 requires restart whenever a web
> application is changed, it used to just get restarted often enough so that
> nobody ever noticed.  There are enough people using the application now that
> it is becoming more and more noticable.  I'm afraid that we are getting
> close to a point where it will be necessary to restart tomcat every day.  It
> also slowly increases the amount of RAM it uses, but that's a whole
> different story and I just want to find out one answer at a time.
> 
> Has anyone else experienced this and found a resolution to the problem?  I
> have seen many posts but no answers...
> 
> 
> 
> -Original Message-
> From: Mike Jackson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 3:45 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
> 
> 
> What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
> etc
> with IBM's 1.3 jdk and don't experience anything like that.
> 
> --mikej
> -=-
> mike jackson
> [EMAIL PROTECTED]
> 
> 
>>-Original Message-
>>From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
>>Sent: Monday, September 30, 2002 1:57 PM
>>To: Tomcat Users List
>>Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>>
>>
>>Hi,
>>
>>I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The java
>>processes slowly take more and more CPU power.  After about a day, java is
>>taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
>>I leave it
>>running for more than three or four days, everything is VERY slow.  Does
>>anyone know why this happens and if it is normal?
>>
>>I have not been able to find an answer to this anywhere!
>>
>>Brandon
>>
>>
>>--
>>To unsubscribe, e-mail:
> 
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Brandon Cruz

Mike,

Thanks again for your advice!

I have never used other JDK's, will all the methods and the entire API be
the same or should we do extensive testing before trying the new JDK with
our applications?

Either way, we'll download and try it immediately and see what happens.

Brandon

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 4:03 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???


Hmmm, well, first things first, the Sun JDK isn't so good from what I
understand.  From what I've read it seems like the IBM one was nearly
the best, but there's some better ones out there.  You might try
one of two things:  either switch to the IBM jdk (1.3.x) or try
upgrading to the current Sun JDK 1.4.x.  See if that helps things any.
Once the new JDK's are installed it should be a simple matter of
changing your JAVA_HOME or in my case changing a symbolic link.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 2:09 PM
> To: Tomcat Users List
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Mike,
>
> Thanks for answering.
>
> I'm using Sun's JDK 1.3.1_01.
>
> We have been running this in production for over year and I think we have
> always had the problem.  Since 3.2.4 requires restart whenever a web
> application is changed, it used to just get restarted often enough so that
> nobody ever noticed.  There are enough people using the
> application now that
> it is becoming more and more noticable.  I'm afraid that we are getting
> close to a point where it will be necessary to restart tomcat
> every day.  It
> also slowly increases the amount of RAM it uses, but that's a whole
> different story and I just want to find out one answer at a time.
>
> Has anyone else experienced this and found a resolution to the problem?  I
> have seen many posts but no answers...
>
>
>
> -Original Message-
> From: Mike Jackson [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 3:45 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
> etc
> with IBM's 1.3 jdk and don't experience anything like that.
>
> --mikej
> -=-
> mike jackson
> [EMAIL PROTECTED]
>
> > -Original Message-
> > From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 30, 2002 1:57 PM
> > To: Tomcat Users List
> > Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
> >
> >
> > Hi,
> >
> > I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat
> 7.1.  The java
> > processes slowly take more and more CPU power.  After about a
> day, java is
> > taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
> > I leave it
> > running for more than three or four days, everything is VERY slow.  Does
> > anyone know why this happens and if it is normal?
> >
> > I have not been able to find an answer to this anywhere!
> >
> > Brandon
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>





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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread rsequeira


I'm no Linux guru. But did you try running Tomcat with the classic JVM?
With "-client", "-server" or "-hotspot" I think there are many process that
are started. And if your code opens underlying sockets, etc, it takes more
processes which I believe remain hanging. If you run Tomcat with "
-classic", only one JVM is started.
Hope this helps. Note that JDK 1.4.x doesn't support the "-classic".

RS



   

  "Brandon Cruz"   

  <[EMAIL PROTECTED]To:   "Tomcat Users List"   

  > <[EMAIL PROTECTED]>   

   cc: 
    
      09/30/02 04:09 PMSubject:  RE: Can someone PLEASE tell 
me why tomcat uses so 
  Please respond to much CPU???

  "Tomcat Users

  List"

   

   





Mike,

Thanks for answering.

I'm using Sun's JDK 1.3.1_01.

We have been running this in production for over year and I think we have
always had the problem.  Since 3.2.4 requires restart whenever a web
application is changed, it used to just get restarted often enough so that
nobody ever noticed.  There are enough people using the application now
that
it is becoming more and more noticable.  I'm afraid that we are getting
close to a point where it will be necessary to restart tomcat every day.
It
also slowly increases the amount of RAM it uses, but that's a whole
different story and I just want to find out one answer at a time.

Has anyone else experienced this and found a resolution to the problem?  I
have seen many posts but no answers...



-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 30, 2002 3:45 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???


What jdk are you using?  I use suse 8, tomcat 3.3.x, apache 1.3.x, mod_jk,
etc
with IBM's 1.3 jdk and don't experience anything like that.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 1:57 PM
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Hi,
>
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The
java
> processes slowly take more and more CPU power.  After about a day, java
is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If
> I leave it
> running for more than three or four days, everything is VERY slow.  Does
> anyone know why this happens and if it is normal?
>
> I have not been able to find an answer to this anywhere!
>
> Brandon
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




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



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







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




AW: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-09-30 Thread Ralph Einfeldt

Testing after a fundamental change is always a good idea.

Although the API's are the same, neither of the JDK's is 
bug free. If you will hit the bug, depends on your 
application.

We experienced the following:
  - IBM JDK is in most of our cases faster and more stable than 
the sun jdk.
  - In few cases the IBM jdk is less stable. We have one site on a 
dedicated server that crashed regularly with the IBM JDK but 
not wit sun's, although we have other sites on a different 
server with basicaly the same application on a different 
server that run without problems on the IBM JDK.

> -Ursprüngliche Nachricht-
> Von: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 30. September 2002 23:24
> An: Tomcat Users List; [EMAIL PROTECTED]
> Betreff: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
> 
> I have never used other JDK's, will all the methods and the 
> entire API be the same or should we do extensive testing 
> before trying the new JDK with our applications?
> 

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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-10-01 Thread Chris Read

Greetings...

Have you also noticed a spike in CPU usage on your Apache server running
mod_jk, or your network throughput?

The reason I ask is we've got a similar problem here. We've got a slightly
different setup (Apache 1.3.x, mod_jk, Tomcat 4.0.3, Sun JDK 1.3.1 - all on
Solaris), but the same symptoms. 

Basically what we're seeing is sometimes mod_jk and the AJP13 connecter get
stuck in an infinite loop spewing data at each other as fast as possible
(and always the same data: Tomcat asking for a BODY_CHUNK of 8186 bytes, and
mod_jk replying with an empty packet). 

The problem will only affect one connection at a time from the pool, but
will slowly step up one connection at a time. Restarting either Tomcat or
Apache solves the problem, but I've not been able to find any info on this
either. I've been trying for a few days to replicate the problem on demand,
but no luck yet

Any of this sound familiar?

Chris

-Original Message-
From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
Sent: 30 September 2002 21:57
To: Tomcat Users List
Subject: Can someone PLEASE tell me why tomcat uses so much CPU???


Hi,

I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 7.1.  The java
processes slowly take more and more CPU power.  After about a day, java is
taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.  If I leave it
running for more than three or four days, everything is VERY slow.  Does
anyone know why this happens and if it is normal?

I have not been able to find an answer to this anywhere!

Brandon


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


_
This message has been checked for all known viruses by the 
MessageLabs Virus Control Centre.

This message has been checked for all known viruses by the MessageLabs Virus Control 
Centre.


*

Notice:  This email is confidential and may contain copyright material of Ocado 
Limited (the "Company"). Opinions and views expressed in this message may not 
necessarily reflect the opinions and views of the Company.
If you are not the intended recipient, please notify us immediately and delete all 
copies of this message. Please note that it is your responsibility to scan this 
message for viruses.

Company reg. no. 3875000.  Swallowdale Lane, Hemel Hempstead HP2 7PY

*

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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-10-01 Thread Turner, John


I'm not sure it is Tomcat.

I have Tomcat 3.1 with Apache 1.3.26 and mod_jserv, many separate instances
of Tomcat.  My servers rarely go over 40% CPU, and my sites are not only
high-traffic but resource intensive (on-the-fly custom graphics
manipulation).  Uptime is 112 days.

I guess it could be a bug the showed up between Tomcat 3.1 and 3.2.4, but
more likely it is a combination of RH 7.1 (mine are 7.2), the connector
(which source of the connector are you using) and Tomcat.  The issue
could just as easily be in RH or the connector.

John


> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 4:57 PM
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
> 
> 
> Hi,
> 
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 
> 7.1.  The java
> processes slowly take more and more CPU power.  After about a 
> day, java is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc. 
>  If I leave it
> running for more than three or four days, everything is VERY 
> slow.  Does
> anyone know why this happens and if it is normal?
> 
> I have not been able to find an answer to this anywhere!
> 
> Brandon
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-10-01 Thread Adam Greene

I have to agree.  I have a website that we pounded with 3 test computers and
couldn't get Tomcat over 20% usage.

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 9:19 AM
To: 'Tomcat Users List'
Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???



I'm not sure it is Tomcat.

I have Tomcat 3.1 with Apache 1.3.26 and mod_jserv, many separate instances
of Tomcat.  My servers rarely go over 40% CPU, and my sites are not only
high-traffic but resource intensive (on-the-fly custom graphics
manipulation).  Uptime is 112 days.

I guess it could be a bug the showed up between Tomcat 3.1 and 3.2.4, but
more likely it is a combination of RH 7.1 (mine are 7.2), the connector
(which source of the connector are you using) and Tomcat.  The issue
could just as easily be in RH or the connector.

John


> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 4:57 PM
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Hi,
>
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat
> 7.1.  The java
> processes slowly take more and more CPU power.  After about a
> day, java is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.
>  If I leave it
> running for more than three or four days, everything is VERY
> slow.  Does
> anyone know why this happens and if it is normal?
>
> I have not been able to find an answer to this anywhere!
>
> Brandon
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

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



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




Re: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-10-01 Thread Glenn Nielsen

This sounds like the bug I fixed in Tomcat 4.1.x where infrequently I saw
a POST request put Tomcat into an infinite loop.  We run Apache and Tomcat
on different servers.  I had noticed the increased CPU usage on the Tomcat
server but hadn't noticed the increased CPU usage on the Apache server.
I went back and reviewed our system load history and verified that when
this bug is triggered both Apache and Tomcat cause increased CPU usage.

This bug was fixed in the Tomcat 4.1.x branch and I ported it back to
the Tomcat 4.0.x branch.  This bug fix should be in the Tomcat 4.0.5
release.

Regards,

Glenn

Chris Read wrote:
> Greetings...
> 
> Have you also noticed a spike in CPU usage on your Apache server running
> mod_jk, or your network throughput?
> 
> The reason I ask is we've got a similar problem here. We've got a slightly
> different setup (Apache 1.3.x, mod_jk, Tomcat 4.0.3, Sun JDK 1.3.1 - all on
> Solaris), but the same symptoms. 
> 
> Basically what we're seeing is sometimes mod_jk and the AJP13 connecter get
> stuck in an infinite loop spewing data at each other as fast as possible
> (and always the same data: Tomcat asking for a BODY_CHUNK of 8186 bytes, and
> mod_jk replying with an empty packet). 
> 
> The problem will only affect one connection at a time from the pool, but
> will slowly step up one connection at a time. Restarting either Tomcat or
> Apache solves the problem, but I've not been able to find any info on this
> either. I've been trying for a few days to replicate the problem on demand,
> but no luck yet
> 
> Any of this sound familiar?
> 
> Chris


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-10-01 Thread Rossen Raykov

Upgrade at least to Tomcat 4.0.4 where this problem is particularly solved.
I said particularly since the problem will still occur but it'll be handled
more gracefully without to sky rocket the CPU usage.
I'm not so sure will an upgrade to the latest mod_jk cure the problem
completely. I just moved to Jakarta Tomcat connectors jk-1.2.0 (released
last week) and so fare I didn't have time to observe the new system
behavior.

Regards,
Rossen Raykov

> -Original Message-
> From: Chris Read [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 5:09 AM
> To: 'Tomcat Users List'
> Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???
> 
> 
> Greetings...
> 
> Have you also noticed a spike in CPU usage on your Apache 
> server running
> mod_jk, or your network throughput?
> 
> The reason I ask is we've got a similar problem here. We've 
> got a slightly
> different setup (Apache 1.3.x, mod_jk, Tomcat 4.0.3, Sun JDK 
> 1.3.1 - all on
> Solaris), but the same symptoms. 
> 
> Basically what we're seeing is sometimes mod_jk and the AJP13 
> connecter get
> stuck in an infinite loop spewing data at each other as fast 
> as possible
> (and always the same data: Tomcat asking for a BODY_CHUNK of 
> 8186 bytes, and
> mod_jk replying with an empty packet). 
> 
> The problem will only affect one connection at a time from 
> the pool, but
> will slowly step up one connection at a time. Restarting 
> either Tomcat or
> Apache solves the problem, but I've not been able to find any 
> info on this
> either. I've been trying for a few days to replicate the 
> problem on demand,
> but no luck yet
> 
> Any of this sound familiar?
> 
> Chris
> 
> -----Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: 30 September 2002 21:57
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
> 
> 
> Hi,
> 
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat 
> 7.1.  The java
> processes slowly take more and more CPU power.  After about a 
> day, java is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc. 
>  If I leave it
> running for more than three or four days, everything is VERY 
> slow.  Does
> anyone know why this happens and if it is normal?
> 
> I have not been able to find an answer to this anywhere!
> 
> Brandon
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> _
> This message has been checked for all known viruses by the 
> MessageLabs Virus Control Centre.
> 
> This message has been checked for all known viruses by the 
> MessageLabs Virus Control Centre.
> 
>   
> *
> 
> Notice:  This email is confidential and may contain copyright 
> material of Ocado Limited (the "Company"). Opinions and views 
> expressed in this message may not necessarily reflect the 
> opinions and views of the Company.
> If you are not the intended recipient, please notify us 
> immediately and delete all copies of this message. Please 
> note that it is your responsibility to scan this message for viruses.
> 
> Company reg. no. 3875000.  Swallowdale Lane, Hemel Hempstead HP2 7PY
> 
> *
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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




RE: Can someone PLEASE tell me why tomcat uses so much CPU???

2002-10-01 Thread Brandon Cruz


Glenn Neilson mentioned to me yesterday that I might want to use
the -verbose:gc command when starting tomcat so that I can see how garbage
collection is working.  I have done this but it does not seem to give me
much useful info.  Is there anything in particular that I should be looking
for?

Is there a good way to pinpoint the problem to the connector either by
looking at logs, setting a switch when I startup tomat, or anything else?  I
can't seem to find anything so far, who knows.


Brandon


-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 01, 2002 7:19 AM
To: 'Tomcat Users List'
Subject: RE: Can someone PLEASE tell me why tomcat uses so much CPU???



I'm not sure it is Tomcat.

I have Tomcat 3.1 with Apache 1.3.26 and mod_jserv, many separate instances
of Tomcat.  My servers rarely go over 40% CPU, and my sites are not only
high-traffic but resource intensive (on-the-fly custom graphics
manipulation).  Uptime is 112 days.

I guess it could be a bug the showed up between Tomcat 3.1 and 3.2.4, but
more likely it is a combination of RH 7.1 (mine are 7.2), the connector
(which source of the connector are you using) and Tomcat.  The issue
could just as easily be in RH or the connector.

John


> -Original Message-
> From: Brandon Cruz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 30, 2002 4:57 PM
> To: Tomcat Users List
> Subject: Can someone PLEASE tell me why tomcat uses so much CPU???
>
>
> Hi,
>
> I am using tomcat 3.2.4, mod_jk, apache 1.3.x, linux redhat
> 7.1.  The java
> processes slowly take more and more CPU power.  After about a
> day, java is
> taking 15% CPU, after two days, about 30% of a 1GHZ CPU, etc.
>  If I leave it
> running for more than three or four days, everything is VERY
> slow.  Does
> anyone know why this happens and if it is normal?
>
> I have not been able to find an answer to this anywhere!
>
> Brandon
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

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



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




RE: Why tomcat NT service get killed when the user log off

2000-11-15 Thread Jacob Kjome
Title: Why tomcat NT service get killed when the user log off



Make 
sure you search the archives before you send a question like this again.  
It has been answered a hundred times or more.
 
One 
more time,
 
The 
problem is not with Tomcat, it is something inherent to JDK 1.3 from Sun.  
It is a known bug that Sun hasn't fixed yet.  If you want to avoid this, 
use JDK 1.2.2 or use a alternate java service utility, such as javaservice 
(  http://www.alexandriasc.com/software/JavaService/  
).
 
Here 
are the Archive links:
 

Searchable Email Archive 
http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2
http://www.metronet.com/~wjm/tomcat/
http://archives.real-time.com/rte-tomcat/
http://mikal.org/interests/java/tomcat/index.html
 
Jake

  -Original Message-From: Zhiping Wei 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 15, 2000 4:38 
  PMTo: '[EMAIL PROTECTED]'Subject: Why 
  tomcat NT service get killed when the user log off
  Please Help!!! 
  This is for tomcat 3.2 beta 7 on Windows 
  NT/2000. Tomcat is registed as an NT service using 'jk_nt_service.exe' (under 
  Systemlocal account). It's starts fine but if I log off the windows, tomcat 
  get killed which is not suppose to be. Could anybody tell me why this happen 
  and how to fix it. 
  -- Zhiping    (ext: 
  307) 


RE: Why tomcat NT service get killed when the user log off

2000-11-15 Thread Brett Bergquist
Title: Why tomcat NT service get killed when the user log off



Zhiping, even though jk_nt_service is being used to 
launch Tomcat, there is a bug in the Java 1.3 runtime under Windows that causes 
any java.exe process to be terminated when the user logs off.  The bug is 
that a console control handler is setup inside of the java runtime that detects 
the CTRL_LOGOFF_EVENT that is sent by Windows to each process when the user logs 
off and the handler inside of Java 1.3 is terminating the process when this 
occurs.  This is the correct operation for a normal application running but 
not the correct one for a service.
 
There 
is a couple of packages around, one being located at http://www.kcmultimedia.com/javaserv 
another at http://www.eworksmart.com/jnt that 
handle the CTRL_LOGOFF_EVENT.  I tried a couple of these and while I found 
that they indeed to stop the application from being terminated by the 
CTRL_LOGOFF_EVENT, I found that they interferred with the normal shutdown of 
Tomcat.  That is, using these packages, I was not able to shutdown Tomcat 
cleanly, which caused the servlets to not have their "destroy" method 
invoked.  
 
The 
reason that this occurs is because the way that these packages work is that they 
invoke the Java VM using the JNI interface.   When Tomcat is to be 
shutdown, the same JNI interface is used to invoke a shutdown method.  The 
problem occurs because the way that Tomcat (3.x) is shutdown is by using the 
APJ  interface to send the existing Tomcat instance a APJ shutdown message 
(through a TCP connection in fact).  These packages send the APJ message 
using the JNI interface, but when call returns, they assume that Tomcat is ready 
to be shutdown and they then tear down the Java VM running the Tomcat 
process.  In reality, the Tomcat process has not yet received the APJ 
message through its socket interface and as such has not shutdown cleanly and 
does not give the servlets a chance to have their "destroy" method 
called.
 
Because my application needs to have the servlet's 
"destroy" method called when Tomcat shuts down,  I solved this 
problem by using the source to "java.exe" launcher as a starting point and then 
modified it to install a console control handler that ignores the 
CTRL_LOGOFF_EVENT.  I called this new launcher "javaex.exe".  I then 
used jk_nt_service and changed the configuration file references of "java.exe" 
to "javaex.exe".  
 
I hope 
this helps.
 

  -Original Message-From: Zhiping Wei 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 15, 2000 5:38 
  PMTo: '[EMAIL PROTECTED]'Subject: Why 
  tomcat NT service get killed when the user log off
  Please Help!!! 
  This is for tomcat 3.2 beta 7 on Windows 
  NT/2000. Tomcat is registed as an NT service using 'jk_nt_service.exe' (under 
  Systemlocal account). It's starts fine but if I log off the windows, tomcat 
  get killed which is not suppose to be. Could anybody tell me why this happen 
  and how to fix it. 
  -- Zhiping    (ext: 
  307) 


RE: Why tomcat NT service get killed when the user log off

2000-11-18 Thread Nacho

Brett can you contributeyour solution to this problem tojakarta?? 

or at least send me thesources or binaries :-) is the better  more
elegant solution to this problem i've seen, 

if you can contribute this i'll be glad to commit it to tomcat 3.3 and
4.0 

of course giving you credits as the rules mandate ;-)

Saludos ,
Ignacio J. Ortega

-Mensaje original-
De: Brett Bergquist [mailto:[EMAIL PROTECTED]]
Enviado el: jueves 16 de noviembre de 2000 1:01
Para: [EMAIL PROTECTED]
Asunto: RE: Why tomcat NT service get killed when the user log off


Zhiping, even though jk_nt_service is being used to launch Tomcat, there
is a bug in the Java 1.3 runtime under Windows that causes any java.exe
process to be terminated when the user logs off. The bug is that a
console control handler is setup inside of the java runtime that detects
the CTRL_LOGOFF_EVENT that is sent by Windows to each process when the
user logs off and the handler inside of Java 1.3 is terminating the
process when this occurs. This is the correct operation for a normal
application running but not the correct one for a service.

There is a couple of packages around, one being located at
http://www.kcmultimedia.com/javaserv another at
http://www.eworksmart.com/jnt that handle the CTRL_LOGOFF_EVENT. I tried
a couple of these and while I found that they indeed to stop the
application from being terminated by the CTRL_LOGOFF_EVENT, I found that
they interferred with the normal shutdown of Tomcat. That is, using
these packages, I was not able to shutdown Tomcat cleanly, which caused
the servlets to not have their "destroy" method invoked. 

The reason that this occurs is because the way that these packages work
is that they invoke the Java VM using the JNI interface. When Tomcat is
to be shutdown, the same JNI interface is used to invoke a shutdown
method. The problem occurs because the way that Tomcat (3.x) is shutdown
is by using the APJ interface to send the existing Tomcat instance a APJ
shutdown message (through a TCP connection in fact). These packages send
the APJ message using the JNI interface, but when call returns, they
assume that Tomcat is ready to be shutdown and they then tear down the
Java VM running the Tomcat process. In reality, the Tomcat process has
not yet received the APJ message through its socket interface and as
such has not shutdown cleanly and does not give the servlets a chance to
have their "destroy" method called.

Because my application needs to have the servlet's "destroy" method
called when Tomcat shuts down, I solved this problem by using the source
to "java.exe" launcher as a starting point and then modified it to
install a console control handler that ignores the CTRL_LOGOFF_EVENT. I
called this new launcher "javaex.exe". I then used jk_nt_service and
changed the configuration file references of "java.exe" to "javaex.exe".



I hope this helps.

-Original Message-
From: Zhiping Wei [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 15, 2000 5:38 PM
To: '[EMAIL PROTECTED]'
Subject: Why tomcat NT service get killed when the user log off



Please Help!!! 
This is for tomcat 3.2 beta 7 on Windows NT/2000. Tomcat is registed as
an NT service using 'jk_nt_service.exe' (under Systemlocal account).
It's starts fine but if I log off the windows, tomcat get killed which
is not suppose to be. Could anybody tell me why this happen and how to
fix it. 
-- Zhiping (ext: 307) 



RE: Why tomcat NT service get killed when the user log off

2000-11-18 Thread Elijah Roberts

On Sunday November 19, 2000 Nacho wrote:
> Brett can you contributeyour solution to this problem tojakarta?? 
> 
> or at least send me thesources or binaries :-) is the better  more
> elegant solution to this problem i've seen, 
> 
> if you can contribute this i'll be glad to commit it to tomcat 3.3 and
> 4.0 
> 
> of course giving you credits as the rules mandate ;-)

Just in case anyone was curious, this bug was recently closed on Sun's
bug parade. Apparently in jdk1.3.1 there is a new flag (-rs maybe, I
can't remember exactly) that will disable shutting down of the JVM when
the logoff event is received. This will allow java.exe to function
properly when running as a service. Who knows when 1.3.1 will be
released, however.

Elijah Roberts
[EMAIL PROTECTED]



Re: Why tomcat NT service get killed when the user log off

2000-11-19 Thread Sherman Mohler

You say this is a problem with Java 1.3. Will Java 1.2 work correctly ? I am
about to install and start testing TomCat, and was about to use 1.3 ...

Regards,

-- Sherman Mohler


Nacho wrote:

> Brett can you contributeyour solution to this problem tojakarta??
>
> or at least send me thesources or binaries :-) is the better  more
> elegant solution to this problem i've seen,
>
> if you can contribute this i'll be glad to commit it to tomcat 3.3 and
> 4.0
>
> of course giving you credits as the rules mandate ;-)
>
> Saludos ,
> Ignacio J. Ortega
>
> -Mensaje original-
> De: Brett Bergquist [mailto:[EMAIL PROTECTED]]
> Enviado el: jueves 16 de noviembre de 2000 1:01
> Para: [EMAIL PROTECTED]
> Asunto: RE: Why tomcat NT service get killed when the user log off
>
> Zhiping, even though jk_nt_service is being used to launch Tomcat, there
> is a bug in the Java 1.3 runtime under Windows that causes any java.exe
> process to be terminated when the user logs off. The bug is that a
> console control handler is setup inside of the java runtime that detects
> the CTRL_LOGOFF_EVENT that is sent by Windows to each process when the
> user logs off and the handler inside of Java 1.3 is terminating the
> process when this occurs. This is the correct operation for a normal
> application running but not the correct one for a service.
>
> There is a couple of packages around, one being located at
> http://www.kcmultimedia.com/javaserv another at
> http://www.eworksmart.com/jnt that handle the CTRL_LOGOFF_EVENT. I tried
> a couple of these and while I found that they indeed to stop the
> application from being terminated by the CTRL_LOGOFF_EVENT, I found that
> they interferred with the normal shutdown of Tomcat. That is, using
> these packages, I was not able to shutdown Tomcat cleanly, which caused
> the servlets to not have their "destroy" method invoked.
>
> The reason that this occurs is because the way that these packages work
> is that they invoke the Java VM using the JNI interface. When Tomcat is
> to be shutdown, the same JNI interface is used to invoke a shutdown
> method. The problem occurs because the way that Tomcat (3.x) is shutdown
> is by using the APJ interface to send the existing Tomcat instance a APJ
> shutdown message (through a TCP connection in fact). These packages send
> the APJ message using the JNI interface, but when call returns, they
> assume that Tomcat is ready to be shutdown and they then tear down the
> Java VM running the Tomcat process. In reality, the Tomcat process has
> not yet received the APJ message through its socket interface and as
> such has not shutdown cleanly and does not give the servlets a chance to
> have their "destroy" method called.
>
> Because my application needs to have the servlet's "destroy" method
> called when Tomcat shuts down, I solved this problem by using the source
> to "java.exe" launcher as a starting point and then modified it to
> install a console control handler that ignores the CTRL_LOGOFF_EVENT. I
> called this new launcher "javaex.exe". I then used jk_nt_service and
> changed the configuration file references of "java.exe" to "javaex.exe".
>
> I hope this helps.
>
> -Original Message-
> From: Zhiping Wei [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 15, 2000 5:38 PM
> To: '[EMAIL PROTECTED]'
> Subject: Why tomcat NT service get killed when the user log off
>
> Please Help!!!
> This is for tomcat 3.2 beta 7 on Windows NT/2000. Tomcat is registed as
> an NT service using 'jk_nt_service.exe' (under Systemlocal account).
> It's starts fine but if I log off the windows, tomcat get killed which
> is not suppose to be. Could anybody tell me why this happen and how to
> fix it.
> -- Zhiping (ext: 307)




Re: Why tomcat NT service get killed when the user log off

2000-11-19 Thread Steve Ruby

This problem ONLY happens on 1.3

Sherman Mohler wrote:
> 
> You say this is a problem with Java 1.3. Will Java 1.2 work correctly ? I am
> about to install and start testing TomCat, and was about to use 1.3 ...
> 
> Regards,
> 
> -- Sherman Mohler
> 
> Nacho wrote:
> 
> > Brett can you contributeyour solution to this problem tojakarta??
> >
> > or at least send me thesources or binaries :-) is the better  more
> > elegant solution to this problem i've seen,
> >
> > if you can contribute this i'll be glad to commit it to tomcat 3.3 and
> > 4.0
> >
> > of course giving you credits as the rules mandate ;-)
> >
> > Saludos ,
> > Ignacio J. Ortega
> >
> > -Mensaje original-
> > De: Brett Bergquist [mailto:[EMAIL PROTECTED]]
> > Enviado el: jueves 16 de noviembre de 2000 1:01
> > Para: [EMAIL PROTECTED]
> > Asunto: RE: Why tomcat NT service get killed when the user log off
> >
> > Zhiping, even though jk_nt_service is being used to launch Tomcat, there
> > is a bug in the Java 1.3 runtime under Windows that causes any java.exe
> > process to be terminated when the user logs off. The bug is that a
> > console control handler is setup inside of the java runtime that detects
> > the CTRL_LOGOFF_EVENT that is sent by Windows to each process when the
> > user logs off and the handler inside of Java 1.3 is terminating the
> > process when this occurs. This is the correct operation for a normal
> > application running but not the correct one for a service.
> >
> > There is a couple of packages around, one being located at
> > http://www.kcmultimedia.com/javaserv another at
> > http://www.eworksmart.com/jnt that handle the CTRL_LOGOFF_EVENT. I tried
> > a couple of these and while I found that they indeed to stop the
> > application from being terminated by the CTRL_LOGOFF_EVENT, I found that
> > they interferred with the normal shutdown of Tomcat. That is, using
> > these packages, I was not able to shutdown Tomcat cleanly, which caused
> > the servlets to not have their "destroy" method invoked.
> >
> > The reason that this occurs is because the way that these packages work
> > is that they invoke the Java VM using the JNI interface. When Tomcat is
> > to be shutdown, the same JNI interface is used to invoke a shutdown
> > method. The problem occurs because the way that Tomcat (3.x) is shutdown
> > is by using the APJ interface to send the existing Tomcat instance a APJ
> > shutdown message (through a TCP connection in fact). These packages send
> > the APJ message using the JNI interface, but when call returns, they
> > assume that Tomcat is ready to be shutdown and they then tear down the
> > Java VM running the Tomcat process. In reality, the Tomcat process has
> > not yet received the APJ message through its socket interface and as
> > such has not shutdown cleanly and does not give the servlets a chance to
> > have their "destroy" method called.
> >
> > Because my application needs to have the servlet's "destroy" method
> > called when Tomcat shuts down, I solved this problem by using the source
> > to "java.exe" launcher as a starting point and then modified it to
> > install a console control handler that ignores the CTRL_LOGOFF_EVENT. I
> > called this new launcher "javaex.exe". I then used jk_nt_service and
> > changed the configuration file references of "java.exe" to "javaex.exe".
> >
> > I hope this helps.
> >
> > -Original Message-
> > From: Zhiping Wei [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 15, 2000 5:38 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: Why tomcat NT service get killed when the user log off
> >
> > Please Help!!!
> > This is for tomcat 3.2 beta 7 on Windows NT/2000. Tomcat is registed as
> > an NT service using 'jk_nt_service.exe' (under Systemlocal account).
> > It's starts fine but if I log off the windows, tomcat get killed which
> > is not suppose to be. Could anybody tell me why this happen and how to
> > fix it.
> > -- Zhiping (ext: 307)



Anybody know why tomcat 4.0.1 does not look in the classes directory for resources?

2002-01-18 Thread Christopher Chan

I have a problem.

I have two webapps running on Tomcat.

The first one has no problems reading from its classes directory for resource files 
like .properties 

The second one however is throwing missing resource bundle exceptions and insists it 
cannot find bundle for base name WEB.

But I do have a WEB.properties file in the second one's classes directory.

The solution? Put the file in the %catalina_home%\classes directory.

But when I try to use the WEB.properties file in jsp for the first webapp, it ends up 
reading the one in the %catalina_home%\classes directory!!

Anybody know how to make tomcat get resources for the second webapp from its classes 
directory and not fall back to reading the %catalina_home%\classes directory?

Christopher



Q: Why Tomcat return me a OLD version of my doc.jar in an Applet ?

2005-10-07 Thread Amadeo Alonso
Hi list:

   I apologize me last (&first) email to the list with faults on date and form 
   Thanks to Mark Thomas for your explanations.

The problem I attempt to solve is the next:

When I demand the page 
'http://expresiongrafica.caminos.upm.es/PAU/AppletDoc.html', which has an 
Applet with a tag 'archive=doc.jar', Tomcat (?) v5.5 returns me the OLD VERSION 
of 'doc.jar' (v1) with the old bugs, as I deduct from the 'Java Console'.

I have placed two  tags  in 'server.xml' file to use ports :80 y 
:8080 in the same way

but

http://expresiongrafica.caminos.upm.es:8080/PAU/AppletDoc.html   return de 
rigth 'doc.jar' (v2),   OK:   

http://expresiongrafica.caminos.upm.es:80/PAU/AppletDoc.html   return de 
old   'doc.jar' (v1),   BAD: 

using  localhost/..., localhost:80/... y localhost:8080/...  OK (v2). 


How can I destroy the old version? where is it? What is it happening? Is maybe 
a navigators problem?
 (I get  'similar' results with IE and Firefox )


Thanks in advance

Amadeo.
Universidad Politécnica de Madrid.


why Tomcat 4.0.4 creates new instance of servlet, when applet make first request to servlet?

2002-11-17 Thread Daniil Ivanov
Given:
Tomcat 4.0.4 and servlet, that was already initialized when browser made
request to it.

When browser window with applet opens, applet begin periodically query the
servlet through standard method doPost. But at the first request applet to
servlet Tmcat creates a new instance to servlet, in spite of that the
servlet was initialized before.
I do't whant to have  a two instances of servlet, because applet must get
from servlet a members of servlet class, that were already changed before by
previous request from browser (not from applet).



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




  1   2   >