several tomcat instances running at the same time

2001-06-27 Thread Mario Vera

Hi!!

I have a little problem.

I have Tomcat 3.1 installed on SUN 1, near to 200 users use the
application. This causes that the application becomes very slow (Is a WEB
GIS).

I have just one Tomcat instance running on sun system.I believe that maybe
if turn on another instance next to the current one, the speed could
improve.

Is it correct and possible?

How I can have several instances running at the same time?

Regards.

Aprovechando que hay mucha gente que habla español, va la versión en
español.

Hola

Tengo un pequeño problema.

Tengo instalado Tomcat 3.1 en Sun 1, 200 usuarios aproximadamente
utilizan la aplicación. Esto provoca que la aplicación sea muy lenta (es un
sistema de información geografica para Internet).

Tengo solamente una instancia de Tomcat corriendo en el sistema. Creo que si
corro otra instancia de Tomcat, la velocidad mejorará.

¿Es correcto y posible esto?

¿Como puedo tener varias instancias de Tomcat corriendo al mismo tiempo.

Gracias!!

PD. como se podran dar cuenta, soy uno mas de la comunidad de habla hispana.




RE[2]: start up tomcat from a virtual terminal

2001-06-21 Thread Mario Vera

Thanks for yours answers, sincerely. I can already close the window of the
XTerminal usig nohup command, but the window of the Xterminal is opened by
a client of Xterminal, when I close the client's instance, the tomcat shut
down, or if I turn off my computer(when I star up the XTerminal), the tomcat
falls too. It is as if the tomcat was connected somehow to the remote
machine.

Some idea?

Thanks in Advance










RE: RE[2]: start up tomcat from a virtual terminal

2001-06-21 Thread Mario Vera

Hi
Yes, I?m using nohup command and  to start my sh script whit root user.

Some another idea?
Thanks

-Mensaje original-
De: Tim O'Neil [mailto:[EMAIL PROTECTED]]
Enviado el: Jueves, 21 de Junio de 2001 09:40 a.m.
Para: [EMAIL PROTECTED]
Asunto: RE[2]: start up tomcat from a virtual terminal


At 10:39 AM 6/21/2001, you wrote:
Thanks for yours answers, sincerely. I can already close the window of the
XTerminal usig nohup command, but the window of the Xterminal is opened
by
a client of Xterminal, when I close the client's instance, the tomcat shut
down, or if I turn off my computer(when I star up the XTerminal), the
tomcat
falls too. It is as if the tomcat was connected somehow to the remote
machine.

Some idea?


And you tried issuing nohup blablablab  as the root user?

nohup terminated with a  should do it.




-Tim





RE: OutOfMemory Error

2001-06-20 Thread Mario Vera

Hi!!

If you are using UNIX.

  Tune the memory settings in Tomcat as appropriate for your application.
To do this, edit /usr/local/jakarta-tomcat/bin/tomcat.sh and locate the
following line (approximately line 121):


$JAVACMD
OMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} -Xms100663296   -Xmx134217728
org.apache.tomcat.startup.Tomcat $@ 

Xms is the initial value, Xmx is the maximum value. Multiply 1048576 by the
total memory in MB to determine the appropriate number. For example, the
setting above has an initial value of 96 MB and a maximum value of 128 MB.

-Mensaje original-
De: Shailendra T Kontham [mailto:[EMAIL PROTECTED]]
Enviado el: Martes, 19 de Junio de 2001 01:20 p.m.
Para: [EMAIL PROTECTED]
Asunto: OutOfMemory Error


Hi Everybody !
I am geting this OutOfMemory Error for a couple of days now with no
stack trace.
Any idea what is wrong with TOMCAT ?
Is that anythiing to do with Low memory available ??

thanks
-
Shailendra T. Kontham
Advancework Inc.,





start up tomcat from a virtual terminal

2001-06-20 Thread Mario Vera

Hi

I have installed Tomcat 3.2 on SUN1 SERVER (O.S. Solaris 2.7),I start up
Tomcat from a remote machine using a virtual terminal, if I close the
terminal window, TOMCAT shut down too.

I have tried to use Telnet to start up TOMCAT, but this way the X SERVER
cannot started

Any idea will be appreciated.

Thank you




RE: Tomcat Run Problem, Please help immediately................

2001-05-22 Thread Mario Vera

your problem maybe can be the long names used by windows 95, try using
paths like
E:\tanmay~1\jakarta~1;\classes;E:\tanmay~1\jakarta~1;\lib\webserver.jar;E:\t
anmay~1\jakarta~1;\lib\jasper.jar;

bye

-Mensaje original-
De: Tanmay Ghorai [mailto:[EMAIL PROTECTED]]
Enviado el: Lunes, 21 de Mayo de 2001 10:52 p.m.
Para: [EMAIL PROTECTED]
Asunto: Tomcat Run Problem, Please help immediately

Hi,
I am triying to run Tomcat on Windows 95 but I get one error:
It seems I don't have the class named org/apache/tomcat/startup/Tomcat,
since I get the error listed below when I try to execute the comand 'tomcat
run'


E:\tanmay_tomcat\jakarta-tomcat\bintomcat run
Using classpath:
E:\tanmay_tomcat\jakarta-tomcat;\classes;E:\tanmay_tomcat\jakar
ta-tomcat;\lib\webserver.jar;E:\tanmay_tomcat\jakarta-tomcat;\lib\jasper.jar
;E:\
tanmay_tomcat\jakarta-tomcat;\lib\xml.jar;E:\tanmay_tomcat\jakarta-tomcat;\l
ib\s
ervlet.jar;E:\jdk1.2;\lib\tools.jar;.;e:\jkd1.2\jre\lib\rt.jar;e:\jsdk2.0\li
b\js
dk.jar;e:\weblogic\classes;E:\weblogic\lib\weblogicaux.jar;;E:\TIBCO\TIBRV\L
IB\t
ibrvj.jar;E:\;.;E:\JAXP\jaxp.jar;E:\JAXP\xalan.jar;E:\JAXP\crimson.jar;E:\JA
XP\p
arser.jar;E:\JAXP\xmlparser.jar;D:\installs\java\jswdk-1.0\webserver.jar
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/tomcat/sta
rtup/Tomcat
E:\tanmay_tomcat\jakarta-tomcat\bin

Maybe I should try to work with the file tomcat.properties?
Any one could help?
Thanks for advanced!





RE: New Tomcat User - Install Problems

2001-05-22 Thread Mario Vera

You don't need to configure the TOMCAT_HOME and JAVA_HOME on Windows 2000
Professional.

Inlude in your classpath .; to define the current directory

I hope the above-mentioned solves the problem


-Mensaje original-
De: Sarkar, Indra [mailto:[EMAIL PROTECTED]]
Enviado el: Martes, 22 de Mayo de 2001 05:08 a.m.
Para: '[EMAIL PROTECTED]'
Asunto: New Tomcat User - Install Problems


Hi,

i'm trying to run Tomcat 3.2.1 under Windows 2000 professional.

i've installed it to c:\tomcat and set TOMCAT_HOME to this directory.

i've set JAVA_HOME to c:\jdk1.3

i use startup.bat to run tomcat -

C:\tomcat\binstartup
Including all jars in c:\tomcat\lib in your CLASSPATH.

Using CLASSPATH:
c:\tomcat\classes;c:\tomcat\lib\ant.jar;c:\tomcat\lib\dt.jar;c:\tomcat\lib\j
asper.jar;c:\tomcat\lib\jaxp.jar;c:\tomcat\lib\parser.jar;c:\tomcat
\lib\servlet.jar;c:\tomcat\lib\tools.jar;c:\tomcat\lib\webserver.jar;c:\tomc
at\lib\xml.jar;c:\jdk1.3\lib;c:jdk1.3\lib\tools.jar

Starting Tomcat in new window
C:\tomcat\bin

and the console shows:

2001-05-22 12:39:15 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages
2001-05-22 12:39:15 - ContextManager: Adding context Ctx( /admin )
2001-05-22 12:39:15 - ContextManager: Adding context Ctx(  )
2001-05-22 12:39:15 - ContextManager: Adding context Ctx( /test )
2001-05-22 12:39:15 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-05-22 12:39:15 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007


All the static html can be accessed fine. However, aside from the RequestXXX
servlets that come with the install, nothing (JSPs or servlets) will
execute. In my browser I get the error:

Error: 500
Location: /examples/jsp/dates/date.jsp
Internal Servlet Error:
java.lang.NoSuchMethodError
at
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
1)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
at org.apache.tomcat.core.Handler.service(Handler.java:311)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)


and the console shows:

2001-05-22 01:05:30 - Ctx( /examples ): JasperException: R( /examples +
/jsp/dates/date.jsp + null)
Cannot read file: \jsp\dates\date.jsp
2001-05-22 01:05:30 - Ctx( /examples ): Exception in: R( /examples +
/jsp/dates/date.jsp + null) - j
ava.lang.NoSuchMethodError
at
org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:28
1)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
at org.apache.tomcat.core.Handler.service(Handler.java:311)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHand
ler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

Can you suggest what I should do?


Indra





Tomcat Capacity

2001-05-17 Thread Mario Vera

Hi!!

How many user does Tomcat support at same time? 

What parameter do I need to modify so that it supports more than 40 users? 




Startup Tomcat

2001-05-07 Thread Mario Vera

Hi all...

I have installed the Tom Cat 3.1 on a server Sun 10k. When I need
startup the Tom_Cat, I used a remote machine to startup it. Now, when I
shutdown  the remote machine the Tom Cat shutdown too. I'd like to know what
can I do to resolve this problem.





RE: setting TOMCAT_OPTS Variable

2001-03-30 Thread Mario Vera

Hi Bill...

Thank you for your information...

-Mensaje original-
De: Bill Graham [mailto:[EMAIL PROTECTED]]
Enviado el: Jueves, 29 de Marzo de 2001 02:45 p.m.
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Asunto: RE: setting TOMCAT_OPTS Variable


gotta export and have quotes:

export TOMCAT_OPTS="-Xms64M -Xmx128M"

bill

-Original Message-----
From: Mario Vera [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 4:22 PM
To: [EMAIL PROTECTED]
Subject: setting TOMCAT_OPTS Variable


Hi all...

I have a Sun Solaris Server with TomCat 3.0. and JDK 1.2.2

I tried to set the TOMCAT_OPTS variable in tomcat.sh file, but I have a
error whit -Xms and -Xmx parameters.

below shows you the description of the line in tomcat.sh file

$TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat
"$@"

I tried to set the TOMCAT_OPTS variable in the following way

$TOMCAT_OPTS -Xms64M -Xmx128M -Dtomcat.home=${TOMCAT_HOME}
org.apache.tomcat.startup.Tomcat "$@"

Which correct way is of making it?

Thank you in advance!!




setting TOMCAT_OPTS Variable

2001-03-29 Thread Mario Vera

Hi all...

I have a Sun Solaris Server with TomCat 3.0. and JDK 1.2.2

I tried to set the TOMCAT_OPTS variable in tomcat.sh file, but I have a
error whit -Xms and -Xmx parameters.

below shows you the description of the line in tomcat.sh file

$TOMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} org.apache.tomcat.startup.Tomcat
"$@"

I tried to set the TOMCAT_OPTS variable in the following way

$TOMCAT_OPTS -Xms64M -Xmx128M -Dtomcat.home=${TOMCAT_HOME}
org.apache.tomcat.startup.Tomcat "$@"

Which correct way is of making it?

Thank you in advance!!