Re: how to set TOMCAT_OPTS

2001-04-26 Thread kreso



Thank you, 
but the issus is that I get "syntax error" 
once
I try to set some variable (TOMCAT_OPTS) to string 
that has "=" sign in it.


  - Original Message - 
  From: 
  Thomas Bezdicek 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, April 26, 2001 4:42 
  AM
  Subject: AW: how to set TOMCAT_OPTS
  
  Hi,
  
  in 
  the tomcat.sh there is where you should set them.
  
  regards
  
-Ursprüngliche Nachricht-Von: Kresimir (Binsco) 
[mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 26. April 2001 
06:27An: [EMAIL PROTECTED]Betreff: 
how to set TOMCAT_OPTS
How do I set TOMCAT_OPTS in windows?

for example when I try to write:

SET TOMCAT_OPTS = -Dsomethig=something

because there is = sign twice on the right side I get the 
"syntax error"

please help.
Thanks.



too many java processes ???

2001-04-06 Thread kreso



When we run tomcat, it opens about 30 java 
processes and it takes
a lot (almost all) of our 128 MB memory. Is that 
supposed to be?
We are running it on linux.
Processes look something like this...

root 11077 11049 0 
Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11078 
11077 0 Apr05 ? 00:00:12 
/usr/java/jdk1.3/bin/i386/nativeroot 11079 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11080 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11081 
11077 0 Apr05 ? 00:00:04 
/usr/java/jdk1.3/bin/i386/nativeroot 11082 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11083 
11077 0 Apr05 ? 00:00:01 
/usr/java/jdk1.3/bin/i386/nativeroot 11084 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11085 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11086 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11087 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11088 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11089 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11090 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11091 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11092 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11093 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11094 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11095 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11096 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11097 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11098 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11099 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11100 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11101 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11102 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11103 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11104 
11077 0 Apr05 ? 00:00:00 
/usr/java/
root 11105 11077 0 
Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11106 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11107 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11108 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 11109 
11077 0 Apr05 ? 00:00:01 
/usr/java/jdk1.3/bin/i386/nativeroot 0 
11077 0 Apr05 ? 00:00:02 
/usr/java/jdk1.3/bin/i386/nativeroot 1 
11077 0 Apr05 ? 00:00:06 
/usr/java/jdk1.3/bin/i386/nativeroot 2 
11077 0 Apr05 ? 00:00:00 
/usr/java/jdk1.3/bin/i386/nativeroot 4 
11077 0 Apr05 ? 00:00:07 
/usr/java/jdk1.3/bin/i386/native


please let us know how we can limit so it doesn't 
use whole our memory...
thanks



Re: too many java processes ???

2001-04-06 Thread kreso

yes, the processes are the right away...
right after I start tomcat
we are using bash
thanks, plesae let me know if you have more advice


- Original Message -
From: "John Clark L. Naldoza" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 4:36 AM
Subject: Re: too many java processes ???


Hi,


Are you using Multi-threaded Applications???  If so, this would be
natural...;-)

With the Linux Operating System...  Threads are actually reported as
being processes...;-)

Try using top or ps -aux and add up the memory usage of the
processes...;-)

However, this does appear to be quite odd, if you have just run tomcat
and checked out the number of process running right away...;-(

What version of the Linux Kernel are you using???


Cheers,


John Clark

 kreso wrote:

 When we run tomcat, it opens about 30 java processes and it takes
 a lot (almost all) of our 128 MB memory. Is that supposed to be?
 We are running it on linux.
 Processes look something like this...

 root 11077 11049  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11078 11077  0 Apr05 ?00:00:12
 /usr/java/jdk1.3/bin/i386/native
 root 11079 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11080 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11081 11077  0 Apr05 ?00:00:04
 /usr/java/jdk1.3/bin/i386/native
 root 11082 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11083 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 11084 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11085 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11086 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11087 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11088 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11089 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11090 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11091 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11092 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11093 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11094 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11095 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11096 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11097 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11098 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11099 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11100 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11101 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11102 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11103 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11104 11077  0 Apr05 ?00:00:00 /usr/java/
 root 11105 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11106 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11107 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11108 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 11109 11077  0 Apr05 ?00:00:01
 /usr/java/jdk1.3/bin/i386/native
 root 0 11077  0 Apr05 ?00:00:02
 /usr/java/jdk1.3/bin/i386/native
 root 1 11077  0 Apr05 ?00:00:06
 /usr/java/jdk1.3/bin/i386/native
 root 2 11077  0 Apr05 ?00:00:00
 /usr/java/jdk1.3/bin/i386/native
 root 4 11077  0 Apr05 ?00:00:07
 /usr/java/jdk1.3/bin/i386/native?


 please let us know how we can limit so it doesn't use whole our
 memory...
 thanks


--
 /) John Clark Naldoza y Lopez   (\
/ )Software Design Engineer II   ( \
  _( (__  Web-Application Development_) )_
 (((\ \  /_Cable Modem Network Management System _\  / /)))
 ( \_/ / NEC Telecom Software Phils., Inc.  \ \_/ )
  \   /  \   /
   \_/  phone: (+63 32) 233-9142 loc. 3112\_/
   /   /  cellphone: (+63 919) 399-4742 \   \
  /   / email: [EMAIL PROTECTED]\   \





Re: I have tried everything, can anyone point me to some help?

2001-04-06 Thread kreso

what do you mean: nothing works...
can you give more details...

starting: when you try to run ./startup.sh
do you get anyting... etc.. etc...
give us more details...


- Original Message -
From: "Brandon Cruz" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 10:30 PM
Subject: I have tried everything, can anyone point me to some help?




 I am using Redhat Linux 6.2

 I have several virtual hosts running under Apache.

 I want to set up Tomcat to act as the jsp/servlet engine

 I have everything set up just as the documentation and everyone else tells
 me

 I am using mod_jk to connect to Tomcat

 Nothing works, is there some type of support I can pay for or something
that
 anyone knows of???


 Any help would REALLY be appreciated!!!






Re: I have tried everything, can anyone point me to some help?

2001-04-06 Thread kreso

we do not include mod_jk,
we include only tomcat.conf and that works fine...

let me know if you need more details

- Original Message -
From: "Brandon Cruz" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 06, 2001 10:41 PM
Subject: RE: I have tried everything, can anyone point me to some help?


 I can startup tomcat, I can go to the example servlets and .jsp's if I go
to
 port 8080 (the default).

 I have commented out the connector for the HTTP port on server.xml.  I can
 still start Tomcat.  On normal startup, does it say Tomcat Server started,
 check /logs/tomcat.log for errors?  When I check the log, no errors are
 displayed.  So... to this point everything looks fine.

 When I try to restart apache and have the include file in there to
 mod_jk.conf, apache won't start, but the log does not generate any errors
at
 all, if just doesn't start.  Any ideas?

 Brandon



 -Original Message-----
 From: kreso [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 06, 2001 5:37 PM
 To: [EMAIL PROTECTED]
 Subject: Re: I have tried everything, can anyone point me to some help?


 what do you mean: nothing works...
 can you give more details...

 starting: when you try to run ./startup.sh
 do you get anyting... etc.. etc...
 give us more details...


 - Original Message -
 From: "Brandon Cruz" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, April 06, 2001 10:30 PM
 Subject: I have tried everything, can anyone point me to some help?


 
 
  I am using Redhat Linux 6.2
 
  I have several virtual hosts running under Apache.
 
  I want to set up Tomcat to act as the jsp/servlet engine
 
  I have everything set up just as the documentation and everyone else
tells
  me
 
  I am using mod_jk to connect to Tomcat
 
  Nothing works, is there some type of support I can pay for or something
 that
  anyone knows of???
 
 
  Any help would REALLY be appreciated!!!