Hi,
I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
run the startup script the CMD prompt window show up, throw an error and
closes automatically. So Anyone know what the error could be?? There is no
errorlog sterr or something else available. Please help!!
Maarten
the window closes. I've always wondered if this is a bug?
Jay [www.vtgroup.com]
-Original Message-
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 02, 2004 10:02 AM
To: tomcat-user@jakarta.apache.org
Subject: startup script not working
Hi,
I am downloading distribution Tomcat
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: startup script not working
When I try to run the startup script the CMD prompt window show up, throw
an error and closes automatically.
The startup.bat script does little other than kick off catalina.bat. You can
run catalina.bat
On Sun, 2 May 2004 17:01:44 +0200, Bedrijven.nl [EMAIL PROTECTED] wrote:
Hi,
I am downloading distribution Tomcat 5.5.7.zip and unzip it. When I try to
run the startup script the CMD prompt window show up, throw an error and
closes automatically. So Anyone know what the error could
???
-Oorspronkelijk bericht-
Van: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, March 02, 2005 5:14 PM
Aan: Tomcat Users List
Onderwerp: RE: startup script not working
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: startup script not working
When I try
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: RE: startup script not working
Caused by: java.lang.NoSuchMethodError:
javax.management.ObjectName.quote(Ljava/lang/String;)Ljava/lang/String;
It looks like you're trying to use Tomcat 5.5.7 with a 1.4 JDK. You can either
install a 5.0
Try commenting out the listeners in server.xml:
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener /
Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
/
Listener
className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/
Or upgrade
: startup script not working
Try commenting out the listeners in server.xml:
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener /
Listener
className
You need to upgrade to the latest commons-logging.
See:
http://jakarta.apache.org/commons/logging/api/index.html
You still seem to have logging 1.0.2 =:-o
http://jakarta.apache.org/commons/logging/commons-logging-1.0.2/docs/api/
Make sure that you have the packages at the version described in the
From: Bedrijven.nl [mailto:[EMAIL PROTECTED]
Subject: RE: startup script not working
ok..the errors are away by commenting out.
You really can't comment those lines out. As I said before, you must use the
proper JRE/JDK or the Compat.zip package. No shortcuts here.
- Chuck
P=0A Hi all,BR=0ABR=0Anbsp; nbsp; nbsp; nbsp; nbsp; I have a pro=
blemnbsp; using startup script for tomcat in linux.nbsp; It actually star=
ts BR=0Aup when booting up. but then, it says quot; [Failed]nbsp; quot=
; and the reason is BR=0Aquot;JAVA_HOME variable not defined correctly
Hi all,
I have a problem using startup script for tomcat in linux. It actually
starts
up when booting up. but then, it says [Failed] and the reason is
JAVA_HOME variable not defined correctly. This environment variable is
neccesary for running this program.
But I have
Typo in your script. the JAVA_HOME line should read:
JAVA_HOME=/usr/java/j2sdk1.4.1_02
--David
Kamaleshwaran Sivalingam wrote:
Hi all,
I have a problem using startup script for tomcat in linux. It actually starts
up when booting up. but then, it says [Failed] and the reason
should read:
JAVA_HOME=/usr/java/j2sdk1.4.1_02
--David
Kamaleshwaran Sivalingam wrote:
Hi all,
I have a problem using startup script for tomcat in linux. It actually
starts up when booting up. but then, it says [Failed] and the reason is
JAVA_HOME variable not defined correctly
Hi!
I am trying to write my own init script to tomcat 5 for Fedora Core 1
I have tryed to decode what the startup.sh, catalina.sh and
setclasspath.sh
is doing, and I think that I have figured out some of it, but according
to catalina.out
it isn't enought.
Could someone who knows how tomcat is
You can take a look at my daemon script if it helps.
http://daydream.stanford.edu/tomcat/install_web_services.html#daemons
Oscar
On Thu, 15 Jan 2004, Johan Bång
wrote:
Hi!
I am trying to write my own init script to tomcat 5 for Fedora Core 1
I have tryed to decode what the startup.sh,
_CP=
:finish
Roberto Bottoni - AfterBit (TMP) [EMAIL PROTECTED] wrote:
I'm looking for a startup script for Tomcat for starting it at system
boot.
Thanks!
Roberto.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hello
I am not getting it when it comes to the tomcat.bat file.Windows 98
In the file I have this.
set _CP=%CP%
set _TOMCAT_HOME=C:\Tomcat
I do not know what to type in to replace the following line.
set _CLASSPATH=%CLASSPATH%
I cannot help you with that - hopefully someone else will.
On Friday 14 November 2003 07:21 am, you wrote:
I'm looking for a startup script for Tomcat for starting it at system boot.
Thanks!
Roberto.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Robert, try this page
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html
Roberto Bottoni - AfterBit (TMP) [EMAIL PROTECTED] wrote:
I'm looking for a startup script for Tomcat for starting it at system boot.
Thanks!
Roberto
I'm looking for a startup script for Tomcat for starting it at system boot.
Thanks!
Roberto.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links look at the
last link. I think it talks about a startup script.
-Tim
Roberto Bottoni - AfterBit (TMP) wrote:
I'm looking for a startup script for Tomcat for starting it at system boot
Bottoni - AfterBit (TMP) [EMAIL PROTECTED] wrote:
I'm looking for a startup script for Tomcat for starting it at system boot.
Thanks!
Roberto.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
TOMCAT_HOME=%_TOMCAT_HOME%
set _TOMCAT_HOME=
set CP=%_CP%
set _CP=
:finish
Roberto Bottoni - AfterBit (TMP) wrote:
I'm looking for a startup script for Tomcat for starting it at system boot.
Thanks!
Roberto.
-
To unsubscribe, e
Does anybody have an /etc/init.d style startup script for tomcat?
Ideally, I'd like it to export the _HOME variables and start under a
non-root user. TIA.
Jon Roberts
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Here's how I've done it:
http://tinyurl.com/5s4x
HTH,
Matt
-Original Message-
From: Jon Roberts [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 8:55 AM
To: Tomcat Users
Subject: startup script
Does anybody have an /etc/init.d style startup script for tomcat
Hi there,
I have a problem with the startup of tomcat since I upgraded Tomcat 4.1.17
to 4.1.18. I just downloaded the tar.gz file and extracted it into
/var/tomcat4.
Since that the startup script (/etc/init.d/tomcat4 with start) says
[OK], but the server won´t come up. After some research I
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 - Startup script for linux not working
Hi there,
I have a problem with the startup of tomcat since I upgraded
Tomcat 4.1.17
to 4.1.18. I just downloaded the tar.gz file and extracted it into
/var/tomcat4.
Since that the startup script (/etc
, 2003 6:40 AM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.18 - Startup script for linux not working
Hi there,
I have a problem with the startup of tomcat since I upgraded
Tomcat 4.1.17
to 4.1.18. I just downloaded the tar.gz file and extracted it into
/var/tomcat4.
Since that the startup
Hi,
which linux distro + version do you use?
seems to be something like RH ?
It is (RH 8.0).
daemon is a well known function there (often used by shell scripts in the
/etc/init.d directory).
if it is RH:
the function daemon calls:
initlog -c su - $user -c \$*\
$* should
I am unable to get tomcat to start automatically under Solaris 8. I try
starting it after several other socket based applications (such as
oracle and postgres)
I get nothing in the logs, the service merely refuses to start.
Here is the startup script:
#!/sbin/sh
case $1 in
start
What if you call startup.sh and shutdown.sh instead of catalina.sh directly?
John
-Original Message-
From: Chuck Carson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 11:20 AM
To: Tomcat Users List
Subject: Help with Startup Script
I am unable to get tomcat
Well, your suggestion got me going in the right direction, I needed to
reference startup.sh plus add the env variables to the startup script
explicitly.
Thanks for your help,
CC
Here is the final working startup script for Solaris 8 (prolly work on
Linux as well)
#!/sbin/sh
#
JAVA_HOME
On 17 Jul 2002, Mark Pelillo wrote:
Date: 17 Jul 2002 19:38:43 -0500
From: Mark Pelillo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: UID for Tomcat and startup script
Who do most people run Tomcat as? Because I am
has to be
started first, then just putting a startup script in rc2.d for tomcat
and rc3.d for Apache doesn't work.
15 minutes What are you doing on startup???
Tomcat (v4.0.1 and 4.0.4) takes less than 30sec to start, including the
init events for all our load-on-startup servlets which
on my development box ( Dual 360Mhz with 1 gig
of memory) Tomcat takes 15 minutes to start. If tomcat has to be
started first, then just putting a startup script in rc2.d for tomcat
and rc3.d for Apache doesn't work.
Right now I have a startup script to start tomcat automatically, then
start apache
From: Mark Pelillo [EMAIL PROTECTED]
Sent: Wednesday, July 17, 2002 5:38 PM
Subject: UID for Tomcat and startup script
Who do most people run Tomcat as? Because I am working on a development
system, I can run Tomcat as root, but when I go to production I am sure
that will cause problems. I
Whoever has a script for starting Tomcat,
could you please send it to me.
I am running Tomcat 4.0 on Redhat 7.2
Thanks,
Dan
If you installed from RPMs you should have one already (I believe - I
did!). You _will_ have to enable it (the RPM told you this when you
installed). To do that you can do one of two things:
1) Use the control panel - Services tool
2) At a command prompt (as root, I believe) type ntsysv
Hi,
This is my second email. Can anyone send me the tomcat start/stop script
. I am running tomcat as tomcat user and want to start tomcat as tomcat
user on system startup automatically.
Thanks
jerry
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
You have to tell us what platform. ;)
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Kapil Sharma [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 11:45 AM
To: 'Tomcat Users List'
Subject: Tomcat startup script
Hi,
This is my second email. Can anyone send me
Hi,
I am using Solaris 8 with tomcat 3.3.1+apache 1.3.26. Can anyone send me
a startup script for tomcat. I am also running tomcat as different user
so have to take care of that also. The script should start using that
user..
Cheers
jerry
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
Does anyone know how to run a startup script as user nobody? I always
get confused with how to set chown, chgrp, and chmod.
Im trying to run a Catalina 4.0.3 startup script as nobody using RH7.2.
I've read that the startup scripts should NOT be executed as root.
My startup script is in /etc
I use Tomcat 4.03 on Linux, and use mod_jk to balance loading between
multiple Tomcat instance. How do I write a startup shell script to record
the PID of each started instance?
regards,
mingfai
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
All,
Does anyone have a stable init startup script for Tomcat 4.0.3 under Solaris
8? I've made serveral efforts to create one, but have been unsuccessful.
Thanks
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto
I have installed final release 4.0.1 binary on my RH7.1 Linux ver. 2.4.9-21
system and am splicing together a startup script from some examples I have
found. A couple of questions:
My script references a file called /var/run/tomcat.pid. I don't have this
file on my system. Do I need to create
I was wondering why you can't just add a symbolic link in the rc3.d
point to Catalina.sh, startup.sh or shutdown.sh. I tried
linking those
files but it still doesn't work after I restarted the server?
Possibly because Catalina.sh then gets a parameter of start? I dunno
though, only
i've already mailed this before. this is a tomcat startup/shutdown/control
script. place it in /etc/init.d and place a symbolic link S99tomcat to it
under /etc/inid.d/rc3.d (and probably rc5.d if you start graphical) for
startup and a symbolic link K99tomcat for stopping tomcat on shutdown. don't
Weissenbacher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 2:41 PM
To: 'Tomcat Users List'
Subject: tomcat startup script (AW: Auto starting Tomcat during boot?)
i've already mailed this before. this is a tomcat
startup/shutdown/control
script. place it in /etc/init.d and place
catalina.sh worked fine for me. I think that I may have had to add the path to tomcat
to the script though.
- Original Message -
From: Nelson Yip [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 11:52 AM
Subject: RE: tomcat startup script
,
depending on which servlets you use).
michael
-Ursprüngliche Nachricht-
Von: Nelson Yip [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 10. Jänner 2002 20:52
An: 'Tomcat Users List'
Betreff: RE: tomcat startup script (AW: Auto starting Tomcat during
boot?)
I was wondering why you can't just
after playing around with startup scripts on my suse linux 7.2 box i finally
got tomcat to start as an linux service. i thought somebody may be
interested in the script that's why i post it here. it can easily be placed
under /etc/init.d, then create symlinks to it in rc3.d and rc5.d like
Hi.
I have some problems with the default 'tomcat.sh start' script. When I'm
running it from my Java app. the program freezes. If I start another
instance of the Java app. and choose to shutdown Jakarta-Tomcat, then
the first Java app. shows all the startup details. So when I'm starting
: Startup script doesn't work on reboot
Hi All,
I used both a script I created, and one I found when I searched through
this
mailing list (Neil's Aggarwal's script, 2/15/01). Both scripts worked
fine
when ran while our computer was on (running RedHat 7.0, tomcat 3.1). But
when I reboot
Hi All,
I used both a script I created, and one I found when I searched through this
mailing list (Neil's Aggarwal's script, 2/15/01). Both scripts worked fine
when ran while our computer was on (running RedHat 7.0, tomcat 3.1). But
when I reboot the machine, tomcat doesn't start (although
I am a newbie to Tomcat and I was wondering what
the best way to get it to start up when Linux 7.0 is starting up. I
created a symbolic link in the rc3.d folder. Is this the best way?
Also what should be in the server
script
Thanks,
Curtis
]
Sent: Friday, April 20, 2001 4:37
AM
Subject: Startup Script
I am a newbie to Tomcat and I was wondering what
the best way to get it to start up when Linux 7.0 is starting up. I
created a symbolic link in the rc3.d folder. Is this the best way?
Also what should be in the server
Ferdinand
- Original Message
To: [EMAIL PROTECTED]
Sent: Friday, April 20, 2001 4:37
AM
Subject: Startup Script
I am a newbie to Tomcat and I was wondering what
the best way to get it to start up when Linux 7.0 is starting up. I
created a symbolic link in the rc3.d folder. Is this th
Is it possible to insert a "pause" command into the tomcat startup
script, so that any exceptions that occur that prevents catalina from
starting are readable?
I tried putting pause into the catalina.bat file, but it didn't work.
--
- Torgeir
Is it not possible to do a direct to a textfile ?
catalina.bat output.txt
hope this helps.
Dennis
-Original Message-
From: Torgeir Veimo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: pause after tomcat startup script runs
Hi,
-- My servlet got java.lang.OutOfMemoryError and my
Solaris machine is still have free memory left ( no
disk swap occur ). Any way to modify tomcat startup
file to allocate more memory?
-- Does VM only use only PART of the system memroy?
like 32MB or 64MB out of 128MB system memory? would
You need to allocate the memory using the jvm argument -Xmxamount of
megabitesM
Tomcat reads an env variable named TOMCAT_OPTS, (ex. set
TOMCAT_OPTS=-Xmx128M )
brian luk wrote:
Hi,
-- My servlet got java.lang.OutOfMemoryError and my
Solaris machine is still have free memory left ( no
disk
What should %TOMCAT_OPTS% be set to and when?
I can't get tomcat started and I think this is why. Many thanks.
The code from the "tomcat.bat" in tomcat/bin :
:runServer
rem Start the Tomcat Server
echo Using classpath: %CLASSPATH%
echo Tomcat-opts is: %TOMCAT_OPTS% --- meb
Asunto: Trouble with %TOMCAT_OPTS% in Tomcat startup script
What should %TOMCAT_OPTS% be set to and when?
I can't get tomcat started and I think this is why. Many thanks.
The code from the "tomcat.bat" in tomcat/bin :
:runServer
rem Start the Tomcat Server
echo Using
64 matches
Mail list logo