RE: How to start Tomcat using differnt JRE

2005-09-23 Thread KEREM ERKAN
Add this to the beginning of your catalina.sh script in /bin directory of
Tomcat.

export JAVA_HOME=/path/to/jdk1.5

That way it will start with the JDK of your choice.

Regards,

Kerem

 -Original Message-
 From: lanna august [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 23, 2005 8:16 AM
 To: tomcat-user@jakarta.apache.org
 Subject: How to start Tomcat using differnt JRE
 
 Hi sorry for sending this twice, but I am using new email 
 program and it kinda flipped out when I first sent it, was 
 not sure it went through the first time.
 
 Hello 
 
 I have searched far and wide but no luck so thought i try here.
 
 I have a Red Hat ES V4 Linux Server that has 3 different 
 versions of JDK and JRE on it.  They each are being used for 
 different projects.  One of the versions is 1.5 JDK and JRE.  
 I need to install now Tomcat 5.5.9 on the server and I must 
 have it use the
 1.5 JRE when it starts up.  Unfortunatly the systems global 
 JDK and JRE are set to the 1.3 Version of Java and this I 
 cannot change it must remain.
 
 I thought awhile ago I came across mention of how to start up 
 the Tomcat server and tell it what JRE to be using.  But I 
 don't remember exactly.
 
 Can anyone help?
 
 I tried making a Tomcat user and placing the Tomcat server in 
 this Tomcat users directory.  Then setting the JAVA_HOME in 
 this Tomcat users .bash_profile  to point to the 1.5 
 directory.  I then log into the Tomcat user and run the 
 command java -version.  I get back 1.3.
 
 I thought there was a place in one of the config files to 
 point it at what the JAVA_HOME or JRE_HOME was?
 
 or some kind of command I type at startup on the linux box?
 
 any help much appreciated.
 
 
 
 
   
 __
 Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


smime.p7s
Description: S/MIME cryptographic signature


Re: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?

2005-09-23 Thread Stagger Lee
Come on guys, don't tell me no one had to solve this yet. Anyone?

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



RE: How to start Tomcat with JDK 1.4 compatibility pack on JDK 5. 0?

2005-09-23 Thread KEREM ERKAN
You could try what you suggested before and send your comments about it to
us ;-)

Or you could do this:

Write a shell script that changes the names of compatibility jars to
something with an extension different from *.jar

Then you could start Tomcat from the same script and rename the jar files
back to their original names.

That will absolutely work :-)

Cheers,

Kerem 

 -Original Message-
 From: Stagger Lee [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 23, 2005 1:28 PM
 To: Tomcat Users List
 Subject: Re: How to start Tomcat with JDK 1.4 compatibility 
 pack on JDK 5.0?
 
 Come on guys, don't tell me no one had to solve this yet. Anyone?
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


smime.p7s
Description: S/MIME cryptographic signature


How to start Tomcat using differnt JRE

2005-09-22 Thread lanna august
Hi sorry for sending this twice, but I am using new
email program and it kinda flipped out when I first
sent it, was not sure it went through the first time.

Hello 

I have searched far and wide but no luck so thought i
try here.

I have a Red Hat ES V4 Linux Server that has 3
different versions of JDK and JRE on it.  They each
are being used for different projects.  One of the
versions is 1.5 JDK and JRE.  I need to install now
Tomcat 5.5.9 on the server and I must have it use the
1.5 JRE when it starts up.  Unfortunatly the systems
global JDK and JRE are set to the 1.3 Version of Java
and this I cannot change it must remain.

I thought awhile ago I came across mention of how to
start up the Tomcat server and tell it what JRE to be
using.  But I don't remember exactly.

Can anyone help?

I tried making a Tomcat user and placing the Tomcat
server in this Tomcat users directory.  Then setting
the JAVA_HOME in this Tomcat users .bash_profile  to
point to the 1.5 directory.  I then log into the
Tomcat user and run the command java -version.  I get
back 1.3.

I thought there was a place in one of the config files
to point it at what the JAVA_HOME or JRE_HOME was?

or some kind of command I type at startup on the linux
box?

any help much appreciated.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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



RE: How to start Tomcat using differnt JRE

2005-09-22 Thread Jan Fredrik Fallsen
You must change the JAVA_HOME in system variables

-Original Message-
From: lanna august [mailto:[EMAIL PROTECTED] 
Sent: 23. september 2005 07:16
To: tomcat-user@jakarta.apache.org
Subject: How to start Tomcat using differnt JRE

Hi sorry for sending this twice, but I am using new
email program and it kinda flipped out when I first
sent it, was not sure it went through the first time.

Hello 

I have searched far and wide but no luck so thought i
try here.

I have a Red Hat ES V4 Linux Server that has 3
different versions of JDK and JRE on it.  They each
are being used for different projects.  One of the
versions is 1.5 JDK and JRE.  I need to install now
Tomcat 5.5.9 on the server and I must have it use the
1.5 JRE when it starts up.  Unfortunatly the systems
global JDK and JRE are set to the 1.3 Version of Java
and this I cannot change it must remain.

I thought awhile ago I came across mention of how to
start up the Tomcat server and tell it what JRE to be
using.  But I don't remember exactly.

Can anyone help?

I tried making a Tomcat user and placing the Tomcat
server in this Tomcat users directory.  Then setting
the JAVA_HOME in this Tomcat users .bash_profile  to
point to the 1.5 directory.  I then log into the
Tomcat user and run the command java -version.  I get
back 1.3.

I thought there was a place in one of the config files
to point it at what the JAVA_HOME or JRE_HOME was?

or some kind of command I type at startup on the linux
box?

any help much appreciated.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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


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



How to start Tomcat with JDK 1.4 compatibility pack on JDK 5.0?

2005-09-21 Thread Stagger Lee
Hello everyone,

We have a shared installation of Tomcat, r/o catalina home dir + each user 
has its own catalina base dir. Tomcat was installed with the JDK 1.4 
compatibility pack, so that it can run on JDK 1.4.  The compatibility pack, 
however, causes problems when running on JDK 5.0 and using XML APIs.

Is there a way how to start Tomcat correctly on JDK 5.0 w/o removing the 
compatibility jars? (i.e. the same catalina home dir can be used for running 
Tomcat on both JDK 1.4 and 5.0 at the same time)

Would the following work-around work?
1. remove ${catalina.home}/common/endorsed/*.jar from the common classloader 
from the catalina.properties 
2. tweak the setclasspath.sh script, so that  
JAVA_ENDORSED_DIRS=$BASEDIR/common/endorsed is set only when running on JDK 
1.4 


Thanks,

Stag

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



Trying to start Tomcat from Apple's launchd

2005-09-21 Thread Tommy Knowlton
[[ I've already posted a similar question to Apple's unix-porting
list, in case this should be something peculiar to launchd. ]]

I'm trying to get Tomcat to start as an on-demand service using
Apple's launchd. I've got to the point where I can see some
indications Tomcat is trying to start, but then it immediately exits
with a ClassNotFoundException. Here's what I've tried:

sudo -u www 
/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home/bin/java
-Djava.io.tmpdir=/opt/local/share/java/tomcat5/temp
-Dcatalina.home=/opt/local/share/java/tomcat5
-Djava.endorsed.dirs=/opt/local/share/java/tomcat5/common/endorsed
-jar /opt/local/share/java/tomcat5/bin/bootstrap.jar

Running that command Tomcat to startup listening and responding on
port 8080. It works that way. But when the same command (sans 'sudo -u
www' part, instead using another method of specifying the owning user)
is exec()ed from launchd, it produces the following output:

Created MBeanServer with ID:
3e96cf:10674a37f8b:-8000:tommy-knowltons-powerbook-g4-17.local:1

stderr:

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
   at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:198)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:386)

(and at this point, the tomcat is dead not listening).

Any ideas why Tomcat would get to the point of creating the mbean
server, and then crap out with ClassNotFound of Catalina.class?

Looking at the tomcat5 sources, it seems lke the 'catalina'
classloader can't find the Catalina class - though I can't see how
that can happen. I'm running from the bootstrap.jar, which has
catalina.properties that point the server classloader to the
${catalina.home}/server/lib/*.jar, in which catalina.jar is present.
Besides, it works when I manually sudo it.

My first thought was to setup jdwp debugging, but that craps out with

JDWP unable to initialize: Error 111 from JNI GetEnv
Error occurred during initialization of VM
-Xrun library failed to init: jdwp

So, my investigative tools appear to be somewhat limited in launchd's
environment.

Maybe my next step will be to configure a logger with debug enabled.
Does anyone know how I can do that, externally to tomcat? I really
don't want to have to rebuild from source to track down what's going
on...

Thanks,
--
Tk!

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



Unable to start Tomcat with JSVC

2005-09-01 Thread Peter . Neu
Hello, 
 
I got some problems with starting Tomcat as a daemon on my linux box(SUSE 
9 ES). When the startup script tomcat5 is invoked I get this error: 
  
/etc/init.d/rc5.d/S01tomcat5: 
line55: /home/tom5/jdk1.5.0_04/lib/tools.jar:: No such file or directory 
jsvc error: No class specified 
jsvc error: Cannot parse command line arguments 
 
The path is ok. I double checked it in the navigator. I even put the all 
permission to all users. What could be the problem? 
 
cheers 
 
Peter 

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

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



Start Tomcat after electricity black-out

2005-08-23 Thread Oliver Hirschi
Hi Tomcat gurus

I use Mac OSX Server 10.3.9.
After an electricity black-out I can not start Tomcat over Server
Admin - Appication Server.
The panel shows, that Tomcat is running, but it is not. After press on
Stop there happens nothing.

Over the Terminal with the script startup.sh I am able to start Tomcat!

Does anybody know something about this wrongdoing?

Many thanks!
-- 
Oliver Hirschi
http://www.FamilyHirschi.ch



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



Can't start tomcat: java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler

2005-08-22 Thread cfu

Hello!

I've been searching on the web for someone with a similar problem, but I 
had no success. I hope someone of you can help!


I have a Mandriva Linux system, running the latest Java VM (JDK 1.5). I 
downloaded Tomcat 5.5.9, and it works fine when executed from a local 
account. Nevertheless, when trying to run it from a (NIS) remote 
account, which actually acceses its home directory via NFS, I get the 
following error:

java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler
 at java.lang.Class.getDeclaredConstructors0 (Native Method)
 at java.lang.Class.privateGetDeclaredConstructors 
(Class.java:2328)

 at java.lang.Class.getConstructor0 (Class.java:2640)
 at java.lang.Class.newInstance0 (Class.java:321)
 at java.lang.Class.newInstance (Class.java:303)
 at org.apache.catalina.startup.Bootstrap.init (Bootstrap.java:201)
 at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:386)

I don't know if the problem lies on the environment variables, or file 
permissions, or what!  Can anyone of you help me on this?


Thanx

Carlos F.




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



Re: How to automatically start tomcat 5.5.9 under linux using local user

2005-08-16 Thread Duong BaTien
Greetings:

I set tomcat 5.5.9 running in port 8080 so it can be started without
using the root user. However, when I start tomcat using linux rc.local
at system start up (/apps/tomcat-5/bin/startup.sh), it seems that the
tomcat instance is started under root.

Question: Where do i set the user that starts tomcat instance via Redhat
Fedora Core start up?

Thanks.

BaTien



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



Re: How to automatically start tomcat 5.5.9 under linux using local user

2005-08-16 Thread Darryl L. Miles

Duong BaTien wrote:


I set tomcat 5.5.9 running in port 8080 so it can be started without
using the root user. However, when I start tomcat using linux rc.local
at system start up (/apps/tomcat-5/bin/startup.sh), it seems that the
tomcat instance is started under root.

Question: Where do i set the user that starts tomcat instance via Redhat
 


Fedora Core start up?
 



READ: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html

Check out the -user username argument to jsvc which may not be so 
well documented.



For non-root running check out jsvc bundled with Tomcat:

Extracted TC to /opt/jakarta-tomcat-5.5.9

# To run it as java service need to build jsvc
cd $CATALINA_HOME/bin
tar -zxvf jsvc.tar.gz
cd jsvc-src
autoconf
JAVA_HOME=/opt/jdk1.5.0_04
export JAVA_HOME
sh ./configure
make
cp jsvc ..
cd ..

# Create a system user for tomcat
/usr/sbin/groupadd  -g 155 jakarta
/usr/sbin/useradd -u 155 -g jakarta -s /sbin/nologin jakarta

# Fix all the permissions on the $CATALINA_HOME with
chown jakarta. -R $CATALINA_HOME

# This bit below you can put into your own startup script for TC and 
call each time

JAVA_HOME=/opt/jdk1.5.0_04
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH

CATALINA_HOME=/opt/jakarta-tomcat-5.5.9
export CATALINA_HOME

cd $CATALINA_HOME
   ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp 
./bin/bootstrap.jar \

   -outfile ./logs/catalina.out -errfile ./logs/catalina.err \
   -pidfile ./logs/jsvc.pid \
   -user jakarta \
   org.apache.catalina.startup.Bootstrap





Maybe you create a script in /etc/init.d/mytomcat that works the same 
way at the others in there ?  Then symlink from each useful runlevel 
/etc/rc.d/rc[345].d/mytomcat - /etc/initd.d/mytomcat, use 
/sbin/runlevel to see which you are at already.


Maybe you are lazy and simply add a few lines to /etc/rc.local ?


Eitherway should do the trick.

--
Darryl L. Miles



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



Re: How to automatically start tomcat 5.5.9 under linux using local user

2005-08-16 Thread Duong BaTien
Thanks. I will take a look at it.

BaTien

On Tue, 2005-08-16 at 20:31 +0100, Darryl L. Miles wrote:
 Duong BaTien wrote:
 
 I set tomcat 5.5.9 running in port 8080 so it can be started without
 using the root user. However, when I start tomcat using linux rc.local
 at system start up (/apps/tomcat-5/bin/startup.sh), it seems that the
 tomcat instance is started under root.
 
 Question: Where do i set the user that starts tomcat instance via Redhat
   
 
 Fedora Core start up?
   
 
 
 READ: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html
 
 Check out the -user username argument to jsvc which may not be so 
 well documented.
 
 
 For non-root running check out jsvc bundled with Tomcat:
 
 Extracted TC to /opt/jakarta-tomcat-5.5.9
 
 # To run it as java service need to build jsvc
 cd $CATALINA_HOME/bin
 tar -zxvf jsvc.tar.gz
 cd jsvc-src
 autoconf
 JAVA_HOME=/opt/jdk1.5.0_04
 export JAVA_HOME
 sh ./configure
 make
 cp jsvc ..
 cd ..
 
 # Create a system user for tomcat
 /usr/sbin/groupadd  -g 155 jakarta
 /usr/sbin/useradd -u 155 -g jakarta -s /sbin/nologin jakarta
 
 # Fix all the permissions on the $CATALINA_HOME with
 chown jakarta. -R $CATALINA_HOME
 
 # This bit below you can put into your own startup script for TC and 
 call each time
 JAVA_HOME=/opt/jdk1.5.0_04
 export JAVA_HOME
 PATH=$JAVA_HOME/bin:$PATH
 export PATH
 
 CATALINA_HOME=/opt/jakarta-tomcat-5.5.9
 export CATALINA_HOME
 
 cd $CATALINA_HOME
 ./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp 
 ./bin/bootstrap.jar \
 -outfile ./logs/catalina.out -errfile ./logs/catalina.err \
 -pidfile ./logs/jsvc.pid \
 -user jakarta \
 org.apache.catalina.startup.Bootstrap
 
 
 
 
 
 Maybe you create a script in /etc/init.d/mytomcat that works the same 
 way at the others in there ?  Then symlink from each useful runlevel 
 /etc/rc.d/rc[345].d/mytomcat - /etc/initd.d/mytomcat, use 
 /sbin/runlevel to see which you are at already.
 
 Maybe you are lazy and simply add a few lines to /etc/rc.local ?
 
 
 Eitherway should do the trick.
 


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



RE: can't start tomcat as user

2005-07-21 Thread Dale, Matt

That is operating system dependent. On linux you will have to write a script 
and put it in /etc/rc.d/init.d then symlink it from the relevant run level 
directories.

Ta
Matt

-Original Message-
From: dummy [mailto:[EMAIL PROTECTED]
Sent: 21 July 2005 04:09
To: Tomcat Users List
Subject: RE: can't start tomcat as user


Then how to start automatically at boot time ?


-Original Message-
From: Luis Durán [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 21, 2005 9:33 AM
To: Tomcat Users List
Subject: Re: can't start tomcat as user

dummy wrote:
 Hi,
  
 Got problem starting Tomcat as user tomcat. No problem starting it under
 root. Any idea why ?
  
 
On Linux, only root can open ports below 1024 (included). You must
compile the jsvc program and setup a tomcat user and it will start
tomcat as root and then change the effective user before receiving
requests. I hope this help. (jsvc is in the bin folder, i think is
originally compressed)

-- 

Luis Edgardo Durán Lebis
Soporte Técnico y Sistemas
http://mipagina.cantv.net/elebis
[EMAIL PROTECTED]
0416-7580991


-
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't start tomcat as user

2005-07-21 Thread David Smith
This problem can be caused by the port = 1024 problem under unix/linux. 
If so, take a look at the commons-daemon project on the jakarta site.


Also be sure your config, log, webapp (optional), work, and temp 
directories are owned by the tomcat user. They should be writeable by 
tomcat at least and I've seen cases in my system where ownership was 
necessary. Don't ask me why -- I have yet to explain it myself.


LastIy, check catalina.out for errors. The logs are invaluable in 
finding problems.


--David


dummy wrote:


Then how to start automatically at boot time ?


-Original Message-
From: Luis Durán [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 21, 2005 9:33 AM

To: Tomcat Users List
Subject: Re: can't start tomcat as user

dummy wrote:
 


Hi,

Got problem starting Tomcat as user tomcat. No problem starting it under
root. Any idea why ?


   


On Linux, only root can open ports below 1024 (included). You must
compile the jsvc program and setup a tomcat user and it will start
tomcat as root and then change the effective user before receiving
requests. I hope this help. (jsvc is in the bin folder, i think is
originally compressed)

 




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



can't start tomcat as user

2005-07-20 Thread dummy
Hi,
 
Got problem starting Tomcat as user tomcat. No problem starting it under
root. Any idea why ?
 


Re: can't start tomcat as user

2005-07-20 Thread Luis Durán
dummy wrote:
 Hi,
  
 Got problem starting Tomcat as user tomcat. No problem starting it under
 root. Any idea why ?
  
 
On Linux, only root can open ports below 1024 (included). You must
compile the jsvc program and setup a tomcat user and it will start
tomcat as root and then change the effective user before receiving
requests. I hope this help. (jsvc is in the bin folder, i think is
originally compressed)

-- 

Luis Edgardo Durán Lebis
Soporte Técnico y Sistemas
http://mipagina.cantv.net/elebis
[EMAIL PROTECTED]
0416-7580991


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



RE: can't start tomcat as user

2005-07-20 Thread dummy
Then how to start automatically at boot time ?


-Original Message-
From: Luis Durán [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 21, 2005 9:33 AM
To: Tomcat Users List
Subject: Re: can't start tomcat as user

dummy wrote:
 Hi,
  
 Got problem starting Tomcat as user tomcat. No problem starting it under
 root. Any idea why ?
  
 
On Linux, only root can open ports below 1024 (included). You must
compile the jsvc program and setup a tomcat user and it will start
tomcat as root and then change the effective user before receiving
requests. I hope this help. (jsvc is in the bin folder, i think is
originally compressed)

-- 

Luis Edgardo Durán Lebis
Soporte Técnico y Sistemas
http://mipagina.cantv.net/elebis
[EMAIL PROTECTED]
0416-7580991


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


RE: newbie can't start tomcat

2005-07-11 Thread dsimmons
Thanks, I tried it, and this makes no change in the behavior.

-Original Message-
From: Mandar Vaidya [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 08, 2005 2:44 PM
To: 'Tomcat Users List'
Subject: RE: newbie can't start tomcat

Hi Doug,

I believe you don't have to start it as ./bin/startup.sh 

Go to bin directory and then execute ./startup.sh 

See if it helps you.

Thanks,
Mandar


-Original Message-
From: dsimmons [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 08, 2005 4:23 PM
To: tomcat-user@jakarta.apache.org
Subject: newbie can't start tomcat

I have been googling the archives and anyplace else I can think of for
my
particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly
I've
been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

-
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: newbie can't start tomcat

2005-07-11 Thread dsimmons
My goal is to get Sakai running, and it must have 1.4, so I guess I'm
stuck with it. 

Thanks,
Doug Simmons

-Original Message-
From: Luis Torres [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 08, 2005 2:43 PM
To: Tomcat Users List
Subject: Re: newbie can't start tomcat

It may not be the best solution because you may have a special 
attachment to Java 1.4 but since you are running Solaris you can install

JDK 1.5 anywhere (even /export/home) without it colliding with the 
overall SO Java installation.

So why not use JDK 1.5, set your JAVA_HOME to your new Java directory 
and enjoy the weekend?

I have Tomcat 5.5.4 running with JDK 1.5.02 on Solaris 9 and it worked 
basically out of the box doing nothing more than setting JAVA_HOME  
CATALINA_HOME   =)

---
Luis

dsimmons wrote:

I have been googling the archives and anyplace else I can think of for
my particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly
I've been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

-
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: newbie can't start tomcat

2005-07-11 Thread Paul Singleton

The clue is in

'Exception in thread main java.lang.NoClassDefFoundError: server'

where it seems to be trying to load a class named 'server'.

In your environment variables you have

 JAVA_OPTS=server -Xms512m -Xmx512m -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGC


but the first option should be

 -server

Paul Singleton


dsimmons wrote:

I have been googling the archives and anyplace else I can think of for
my particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly
I've been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

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






--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.11/45 - Release Date: 9/Jul/2005


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



RE: newbie can't start tomcat

2005-07-11 Thread dsimmons
Success

kneeling before the Great Paul Singleton
we're not worthy!
we're not worthy!
we're not worthy!

Gratefully,
Doug Simmons
SIUC


-Original Message-
From: Paul Singleton [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 11, 2005 12:35 PM
To: Tomcat Users List
Cc: dsimmons
Subject: Re: newbie can't start tomcat

The clue is in

'Exception in thread main java.lang.NoClassDefFoundError: server'

where it seems to be trying to load a class named 'server'.

In your environment variables you have

  JAVA_OPTS=server -Xms512m -Xmx512m -verbose:gc -XX:+PrintGCDetails 
-XX:+PrintGC

but the first option should be

  -server

Paul Singleton


dsimmons wrote:
 I have been googling the archives and anyplace else I can think of for
 my particular problem, for about three days, without success.
 
 ANY help would be greatly appreciated.
 
 I suspect a simple path problem or a missing component, but honestly
 I've been through about a half-dozen install/troubleshoot tomcat
 checklists without finding it.
 
 I have placed as much diagnostic information as I could think of at:
 http://www.lib.siu.edu/dsimmons
 
 Thanks,
 Doug Simmons
 SIUC
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.11/45 - Release Date:
9/Jul/2005


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



newbie can't start tomcat

2005-07-08 Thread dsimmons
I have been googling the archives and anyplace else I can think of for
my particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly
I've been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

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



RE: newbie can't start tomcat

2005-07-08 Thread Mandar Vaidya
Hi Doug,

I believe you don't have to start it as ./bin/startup.sh 

Go to bin directory and then execute ./startup.sh 

See if it helps you.

Thanks,
Mandar


-Original Message-
From: dsimmons [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 08, 2005 4:23 PM
To: tomcat-user@jakarta.apache.org
Subject: newbie can't start tomcat

I have been googling the archives and anyplace else I can think of for my
particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly I've
been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

-
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: newbie can't start tomcat

2005-07-08 Thread Luis Torres
It may not be the best solution because you may have a special 
attachment to Java 1.4 but since you are running Solaris you can install 
JDK 1.5 anywhere (even /export/home) without it colliding with the 
overall SO Java installation.


So why not use JDK 1.5, set your JAVA_HOME to your new Java directory 
and enjoy the weekend?


I have Tomcat 5.5.4 running with JDK 1.5.02 on Solaris 9 and it worked 
basically out of the box doing nothing more than setting JAVA_HOME  
CATALINA_HOME   =)


---
Luis

dsimmons wrote:


I have been googling the archives and anyplace else I can think of for
my particular problem, for about three days, without success.

ANY help would be greatly appreciated.

I suspect a simple path problem or a missing component, but honestly
I've been through about a half-dozen install/troubleshoot tomcat
checklists without finding it.

I have placed as much diagnostic information as I could think of at:
http://www.lib.siu.edu/dsimmons

Thanks,
Doug Simmons
SIUC

-
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]



Not able to start Tomcat with jvm parameter -Xrunhprof

2005-06-29 Thread Nallapeta Bhaskar

Hello,
I have set the environment variable CATALINA_OPTS to -Xmx1536m 
-Xrunhprof:cpu=samples,file=/var/tmp/hprof.txt. Tomcat is not getting 
started up. In the catalina.out i noticed the following error:
HPROF ERROR: can't write profile file: /var/tmp/hprof.txt. (Write 
permission is there for this folder)


But if I go and see /var/tmp, the file hprof.txt is created.

I am using tomcat 5.0.28 with jdk 1.4.2 on RH linux (64bit)

Any reason why tomcat is not starting up?

TIA,
Bhaskar

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



Re: Not able to start Tomcat with jvm parameter -Xrunhprof

2005-06-29 Thread Athol . Kelly




Please remove my name from Tomcat Users List.

Thank you,
Athol Kelly.
IMPORTANT--PLEASE READ***
If this electronic message contains a zipped attachment and you do not have
a decompression tool, you can download unZIP (for free) from:
http://www.mk-net-work.com/us/uz/unzip.htm. Alternatively, request 
that the attachment be resent in an uncompressed format. This electronic 
message, 
including its attachments, is COMPANY CONFIDENTIAL
and may contain PROPRIETARY or LEGALLY PRIVILEGED information.  If you are 
not the intended recipient, you are hereby notified that any use, disclosure,
copying, or distribution of this message or any of the information included
in it is unauthorized and strictly prohibited.  If you have received this
message in error, please immediately notify the sender by reply e-mail and
permanently delete this message and its attachments, along with any copies
thereof.   Thank you.  2.2


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



start tomcat

2005-06-26 Thread martin
hi
i use tomcat 5 on a suse 9.2 if i try to start with rctomcat start
done is be displayed but if i try tomcat status unused is displayed and he is 
not reachable here my logfiles:
catalina.out:
java.lang.IllegalArgumentException: addRepositoryInternal
        at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:957)
        at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:153)
        at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:189)
        at 
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.java:160)
        at 
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java:104)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:193)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:399)
Caused by: java.util.zip.ZipException: No such file or directory
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.init(ZipFile.java:112)
        at java.util.jar.JarFile.init(JarFile.java:127)
        at java.util.jar.JarFile.init(JarFile.java:65)
        at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:944)
        ... 6 more
start.log:
Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME:       /usr/lib/jvm/java
plz help
thx martin

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



Cannot start Tomcat 4.1

2005-06-10 Thread Andrés Reyes
Hi, this is my first message on the list, so, i accept any comments 
about my poor english :(.


The problem:
I have installed Tomcat4.1/Sun j2sdk on a debian 3.1 (sarge). Yesterday, 
it works fine, but today, I have added a new context using the web 
administrator. Then, I put some JSP files on the context directory 
(/user/share/tomcat4/server/webapps//). The first time I make a 
pettition to the server, it creates correctly the .class and .java 
files... BUT, when i reload the app using the web manager... it can not 
do it.

Now, I cannot start Tomcat (using catalina.sh run), getting this message:

...
Jun 10, 2005 12:18:28 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Starting service Tomcat-Standalone
Apache Tomcat/4.1
Catalina.start: LifecycleException:  Context startup failed due to 
previous errors

LifecycleException:  Context startup failed due to previous errors
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3578)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
   at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
   at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
   at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
   at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException:  Coyote connector has not been started
LifecycleException:  Coyote connector has not been started
   at 
org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296)
   at 
org.apache.catalina.core.StandardService.stop(StandardService.java:499)
   at 
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178)

   at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
   at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
   at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)

And the log file shows...

2005-06-10 12:18:29 WebappLoader[/admin]: Deploying class repositories 
to work directory /usr/share/tomcat4/work/Standalone/localhost/admin
2005-06-10 12:18:29 WebappLoader[/admin]: Deploy class files 
/WEB-INF/classes to /usr/share/tomcat4/server/webapps/admin/WEB-INF/classes
2005-06-10 12:18:29 WebappLoader[/admin]: Deploy JAR 
/WEB-INF/lib/struts.jar to 
/usr/share/tomcat4/server/webapps/admin/WEB-INF/lib/struts.jar
2005-06-10 12:18:29 ContextConfig[/admin] Exception processing JAR at 
resource path /WEB-INF/lib/struts.jar
javax.servlet.ServletException: Exception processing JAR at resource 
path /WEB-INF/lib/struts.jar
   at 
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:881)
   at 
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:809)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:587)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:181)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3523)

...

Maybe this error was caused by my newbie condition using Tomcat
Thanks.

--
/***
* Andrés Reyes ( [EMAIL PROTECTED] )
* T-COR Desarrollos y Sistemas, S.L.
* Teléfno: 957 76 42 48 
* Fax: 957 76 42 49

***/


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



Re: Cannot start Tomcat 4.1

2005-06-10 Thread pacea
Which Sun j2sdk did you install 1.4 or 1.5?
If you installed the Debian-Tomcat 4 package and are using JDK 1.4, try to 
restart tomcat by typing  /etc/init.d/tomcat4 restart
The Debian package installs a script named tomcat4 in /etc/init.d to start 
Tomcat when the system is started but you can also use it to start, stop, and 
restart Tomcat.  If you installed JDK 1.5, you may have to edit 
/etc/init.d/tomcat4 and add a reference to your JDK - look for the line that 
begins with JDK_DIRS and add the absolute path to your JDK.
Then you should be able to:
start tomcat by typing /etc/init.d/tomcat4 start
stop tomcat by typing /etc/init.d/tomcat4 stop
restart your running tomcat by typing /etc/init.d/tomcat4 restart
Instead of deploying your webapps to to /usr/share/tomcat4/server/ you should 
probably just deploy them to /usr/share/tomcat4/webapps/ (although I'm no 
expert on this one).

-- Original message -- 

 Hi, this is my first message on the list, so, i accept any comments 
 about my poor english :(. 
 
 The problem: 
 I have installed Tomcat4.1/Sun j2sdk on a debian 3.1 (sarge). Yesterday, 
 it works fine, but today, I have added a new context using the web 
 administrator. Then, I put some JSP files on the context directory 
 (/user/share/tomcat4/server/webapps//). The first time I make a 
 pettition to the server, it creates correctly the .class and .java 
 files... BUT, when i reload the app using the web manager... it can not 
 do it. 
 Now, I cannot start Tomcat (using catalina.sh run), getting this message: 
 
 ... 
 Jun 10, 2005 12:18:28 PM org.apache.coyote.http11.Http11Protocol init 
 INFO: Initializing Coyote HTTP/1.1 on http-8180 
 Starting service Tomcat-Standalone 
 Apache Tomcat/4.1 
 Catalina.start: LifecycleException: Context startup failed due to 
 previous errors 
 LifecycleException: Context startup failed due to previous errors 
 at 
 org.apache.catalina.core.StandardContext.start(StandardContext.java:3578) 
 at 
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) 
 at 
 org.apache.catalina.core.StandardHost.start(StandardHost.java:707) 
 at 
 org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141) 
 at 
 org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316) 
 at 
 org.apache.catalina.core.StandardService.start(StandardService.java:450) 
 at 
 org.apache.catalina.core.StandardServer.start(StandardServer.java:2143) 
 at org.apache.catalina.startup.Catalina.start(Catalina.java:463) 
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) 
 at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
  
 a:25) 
 at java.lang.reflect.Method.invoke(Method.java:324) 
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) 
 Stopping service Tomcat-Standalone 
 Catalina.stop: LifecycleException: Coyote connector has not been started 
 LifecycleException: Coyote connector has not been started 
 at 
 org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296) 
 at 
 org.apache.catalina.core.StandardService.stop(StandardService.java:499) 
 at 
 org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178) 
 at org.apache.catalina.startup.Catalina.start(Catalina.java:494) 
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:350) 
 at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
  
 a:25) 
 at java.lang.reflect.Method.invoke(Method.java:324) 
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156) 
 
 And the log file shows... 
 
 2005-06-10 12:18:29 WebappLoader[/admin]: Deploying class repositories 
 to work directory /usr/share/tomcat4/work/Standalone/localhost/admin 
 2005-06-10 12:18:29 WebappLoader[/admin]: Deploy class files 
 /WEB-INF/classes to /usr/share/tomcat4/server/webapps/admin/WEB-INF/classes 
 2005-06-10 12:18:29 WebappLoader[/admin]: Deploy JAR 
 /WEB-INF/lib/struts.jar to 
 /usr/share/tomcat4/server/webapps/admin/WEB-INF/lib/struts.jar 
 2005-06-10 12:18:29 ContextConfig[/admin] Exception processing JAR at 
 resource path /WEB-INF/lib/struts.jar 
 javax.servlet.ServletException: Exception processing JAR at resource 
 path /WEB-INF/lib/struts.jar 
 at 
 org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:881) 
 at 
 org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:809) 
 at 
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:587

cannot start tomcat 5.5 service after rebooting server.

2005-06-09 Thread Brereton, Stephen
It was working fine beforehand, after updating the tomcat and J2RE versions
 ( I'd had to delay rebooting after installing J2RE update). 
Now I get (via the console start)
09-Jun-2005 10:22:49 org.apache.tomcat.util.digester.Digester startElement
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
etc etc

using MS w2k IIS5/tomcat 5.5/JK2 J2RE 5

* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply to
this email may be screened.

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



Re: start tomcat-4.1.31 with jsvc?

2005-05-20 Thread Parsons Technical Services
http://jakarta.apache.org/commons/daemon/jsvc.html
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
Don't use the args from the website. I never got them to work. Use the 
script files included for jsvc, tomcat.sh .  There is a note on the second 
link about changing the filename to Bootstrap, this may already be done and 
needs to be reversed in your case.

You may want to look in the archives and get an old copy of 5.0 and use the 
tomcat.sh from it to guide you.

I know there were some changes made but because I run 5.0, I haven't look 
them up yet.

Doug
- Original Message - 
From: [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Thursday, May 19, 2005 5:42 PM
Subject: start tomcat-4.1.31 with jsvc?


Is it possible to start tomcat 4 with jsvc from tomcat-5.5.0?  If so, how 
are you doing it?

I tried it using the args given on the tomcat 5 doc page but it doesn't 
start, it just immediately
exits with no error.

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


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


start tomcat-4.1.31 with jsvc?

2005-05-19 Thread rusty+tomcat
Is it possible to start tomcat 4 with jsvc from tomcat-5.5.0?  If so, how 
are you doing it?

I tried it using the args given on the tomcat 5 doc page but it doesn't 
start, it just immediately
exits with no error.

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


want to start tomcat in a cron job

2005-04-08 Thread Krishnakant Mane
hello all,
I want to use the startup.sh and shutdown.sh scripts
in a cron job.
is there a script I can create to restart tomcat every
hour.
I don't want to use the startup and shutdown scripts
and as it is cron is not running these scripts
properly.
please help me with a restart script for tomcat 5.0.25
if any one has it
Thanks
Krishnakant.

Send instant messages to your online friends http://uk.messenger.yahoo.com 

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



RE: want to start tomcat in a cron job

2005-04-08 Thread Marco Pöhler
Hi Krishnakant, 

This works for me, especially if tomcat hangs sometimes and the
shutdown.sh doesn't work in that case. I run this script once a day on
tomcat 5.5.7.

#!/bin/bash
kill -9 `cat /usr/local/java/tomcat/tomcat.pid`
/etc/init.d/tomcat start

The startscript is just a call to bin/startup.sh.

Hth 

Marco

---
http://www.kontaktlinsen-preisvergleich.de
http://www.tuxoo.org

-Ursprüngliche Nachricht-
Von: Krishnakant Mane [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 8. April 2005 09:57
An: tomcat-user@jakarta.apache.org
Betreff: want to start tomcat in a cron job 


hello all,
I want to use the startup.sh and shutdown.sh scripts
in a cron job.
is there a script I can create to restart tomcat every
hour.
I don't want to use the startup and shutdown scripts
and as it is cron is not running these scripts
properly.
please help me with a restart script for tomcat 5.0.25
if any one has it
Thanks
Krishnakant.

Send instant messages to your online friends
http://uk.messenger.yahoo.com 

-
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]



R: How do you start tomcat in production, with -server or not ?

2005-02-04 Thread Marchioni Francesco
may I know where u read abaout the problem of -server option?
I have found this on a thread on this newsgroup and on some others too
(www.theserverside.com) at the moment I don't remember which keyword I used
to search the topic, I went through this matter while looking for something
else...

-Messaggio originale-
Da: Omar Adobati [mailto:[EMAIL PROTECTED]
Inviato: giovedì 3 febbraio 2005 20.05
A: Tomcat Users List
Oggetto: Re: How do you start tomcat in production, with -server or not
?


may I know where u read abaout the problem of -server option?


On Thu, 03 Feb 2005 12:59:09 -0600, Paul [EMAIL PROTECTED] wrote:
 Are you referring to the JVM option?  Is so, I use the -server option
 in the CATALINA_OPTS that get passed to the JVM.
 
 AFAIK, the client mode (default) is good for fast startup and low memory
 requirements.  The server version is geared towards providing the best
 performance at the expense of the memory footprint.  There are some
 technical difference that I've never explored, like default heap sizes,
 complication  inlining policies.
 
 To finally answer your question, I've always used the -server option in
 our production machines without a problem.  And I don't even notice the
 slower startup.
 
 Cheers,
 
 -Paul
 
 Marchioni Francesco wrote:
 
 Hi all,
 I have read on Sun documentation that it's adviced to start server
 applications with -server
 option which should boost performance though with slower startup.
 
 Somewhere I can find post of users telling not to use the -server flag
 because it can leads to instable environment (but they don't give any
proof
 about it)
 What is your experience ? Do you start Tomcat with -server in production
?
 Thanks
 Francesco
 
 
 
 
 -
 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]
 
 


-- 
Adobati Omar
[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]



How do you start tomcat in production, with -server or not ?

2005-02-03 Thread Marchioni Francesco
Hi all,
I have read on Sun documentation that it's adviced to start server
applications with -server
option which should boost performance though with slower startup.

Somewhere I can find post of users telling not to use the -server flag
because it can leads to instable environment (but they don't give any proof
about it)
What is your experience ? Do you start Tomcat with -server in production ?
Thanks
Francesco




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



Re: How do you start tomcat in production, with -server or not ?

2005-02-03 Thread Paul
Are you referring to the JVM option?  Is so, I use the -server option 
in the CATALINA_OPTS that get passed to the JVM.

AFAIK, the client mode (default) is good for fast startup and low memory 
requirements.  The server version is geared towards providing the best 
performance at the expense of the memory footprint.  There are some 
technical difference that I've never explored, like default heap sizes, 
complication  inlining policies.

To finally answer your question, I've always used the -server option in 
our production machines without a problem.  And I don't even notice the 
slower startup.

Cheers,
-Paul
Marchioni Francesco wrote:
Hi all,
I have read on Sun documentation that it's adviced to start server
applications with -server
option which should boost performance though with slower startup.
Somewhere I can find post of users telling not to use the -server flag
because it can leads to instable environment (but they don't give any proof
about it)
What is your experience ? Do you start Tomcat with -server in production ?
Thanks
Francesco

-
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: How do you start tomcat in production, with -server or not ?

2005-02-03 Thread Omar Adobati
may I know where u read abaout the problem of -server option?


On Thu, 03 Feb 2005 12:59:09 -0600, Paul [EMAIL PROTECTED] wrote:
 Are you referring to the JVM option?  Is so, I use the -server option
 in the CATALINA_OPTS that get passed to the JVM.
 
 AFAIK, the client mode (default) is good for fast startup and low memory
 requirements.  The server version is geared towards providing the best
 performance at the expense of the memory footprint.  There are some
 technical difference that I've never explored, like default heap sizes,
 complication  inlining policies.
 
 To finally answer your question, I've always used the -server option in
 our production machines without a problem.  And I don't even notice the
 slower startup.
 
 Cheers,
 
 -Paul
 
 Marchioni Francesco wrote:
 
 Hi all,
 I have read on Sun documentation that it's adviced to start server
 applications with -server
 option which should boost performance though with slower startup.
 
 Somewhere I can find post of users telling not to use the -server flag
 because it can leads to instable environment (but they don't give any proof
 about it)
 What is your experience ? Do you start Tomcat with -server in production ?
 Thanks
 Francesco
 
 
 
 
 -
 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]
 
 


-- 
Adobati Omar
[EMAIL PROTECTED]

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



Start Tomcat 5.5.4 in the Background with No Console (Windows)

2005-01-24 Thread Matt Mejaski
Hi all,
 
I'm wondering -- is there a way to start Tomcat 5.5.4 in the background on
Windows, without seeing the console, and without running it as a service?
 
Here's my situation:
 
I have a webapp running that sometimes needs to access network folders that
are only mapped when the user logs in to windows.  If I use a service to
launch Tomcat, it starts using the SYSTEM account, which doesn't have access
to the network drives.  Now, I know I can change the Log On As to user a
local account, but that also means I have to change the local account's
security privileges (to allow that account to run services), etc., which is
not a viable solution for me.
 
Instead, I was thinking that I could just start Tomcat in the background
when the user logs in (by putting something in the Startup folder or
something like that).  That way, Tomcat would be launched by the user, and
then it would be able to access network drives.
 
But, I don't know if there is a way to start Tomcat without the console
visible (so that Tomcat's execution is still transparent to the user, as it
would be if it were run as a service).
 
I guess I would also have to figure out a way to have the shutdown script
called when the user logs out.  That could be a pain as well, couldn't it?
 
 
Does anyone have any thoughts on this?
 
 
Thanks,
Matt Mejaski


Failin to start tomcat 5.0

2005-01-17 Thread hicham
Hello
 trying to get to start tomcat 5 under netbeans , I get the following 
exception
thanks for your help

-
Using CATALINA_BASE:   /home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base
Using CATALINA_HOME:   /opt/netbeans-4.0/nb4.0/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: 
/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/temp
Using JAVA_HOME:   /usr/java/jdk1.5.0_01
Listening for transport dt_socket at address: 11555
Jan 17, 2005 11:57:55 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8084
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
at 
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Jan 17, 2005 11:57:55 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: 
java.net.BindException: Address already in use:8084
at 
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Jan 17, 2005 11:57:56 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4261 ms
Jan 17, 2005 11:57:56 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 17, 2005 11:57:56 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Jan 17, 2005 11:57:56 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 17, 2005 11:57:58 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jan 17, 2005 11:57:58 AM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Processing Context configuration file URL 
file:/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/conf/Catalina/localhost/balancer.xml
Jan 17, 2005 11:57:59 AM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Processing Context configuration file URL 
file:/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/conf/Catalina/localhost/manager.xml
Jan 17, 2005 11:58:00 AM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Processing Context configuration file URL 
file:/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/conf/Catalina/localhost/admin.xml
Jan 17, 2005 11:58:01 AM org.apache.struts.util.PropertyMessageResources 
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true
Jan 17, 2005 11:58:01 AM org.apache.struts.util.PropertyMessageResources 
init
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true
Jan 17, 2005 11:58:02 AM org.apache.struts.util.PropertyMessageResources 
init
INFO: Initializing, 
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Jan 17, 2005 11:58:17 AM org.apache.coyote.http11.Http11Protocol start
SEVERE: Error starting endpoint
java.net.BindException: Address already in use:8084
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:281)
at 
org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:171)
at 
org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1527

RE: Failin to start tomcat 5.0

2005-01-17 Thread Peter Crowther
 From: hicham [mailto:[EMAIL PROTECTED] 
   trying to get to start tomcat 5 under netbeans , I get the 
 following  exception
 thanks for your help
[...]
 java.net.BindException: Address already in use:8084
[...]

You have another service using port 8084.  Find it and change its port,
or change the port on which Tomcat starts up (look in conf/server.xml).

- Peter

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



Re: Failin to start tomcat 5.0

2005-01-17 Thread Viorel Dragomir
You may have an already started instance of tomcat on port 8084
So you must check if the port is already open. Maybe somebody else already 
executed tomcat :)

check with
netstat -l
or
telnet localhost 8084



Viorel Dragomir

.
..
---



- Original Message - 
From: hicham 
To: Tomcat user mailing list 
Sent: Monday, January 17, 2005 15:43
Subject: Failin to start tomcat 5.0


Hello
  trying to get to start tomcat 5 under netbeans , I get the following 
exception
thanks for your help


-
Using CATALINA_BASE:   /home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base
Using CATALINA_HOME:   /opt/netbeans-4.0/nb4.0/jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: 
/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/temp
Using JAVA_HOME:   /usr/java/jdk1.5.0_01
Listening for transport dt_socket at address: 11555
Jan 17, 2005 11:57:55 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8084
 at 
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
 at 
org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
 at 
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
 at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
 at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Jan 17, 2005 11:57:55 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: 
java.net.BindException: Address already in use:8084
 at 
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
 at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
 at 
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
 at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
Jan 17, 2005 11:57:56 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4261 ms
Jan 17, 2005 11:57:56 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 17, 2005 11:57:56 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
Jan 17, 2005 11:57:56 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jan 17, 2005 11:57:58 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jan 17, 2005 11:57:58 AM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Processing Context configuration file URL 
file:/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/conf/Catalina/localhost/balancer.xml
Jan 17, 2005 11:57:59 AM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Processing Context configuration file URL 
file:/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/conf/Catalina/localhost/manager.xml
Jan 17, 2005 11:58:00 AM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Processing Context configuration file URL 
file:/home/hicham/.netbeans/4.0/jakarta-tomcat-5.0.28_base/conf/Catalina/localhost/admin.xml
Jan 17, 2005 11:58:01 AM org.apache.struts.util.PropertyMessageResources 
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true
Jan 17, 2005 11:58:01 AM org.apache.struts.util.PropertyMessageResources 
init
INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true
Jan 17, 2005 11:58:02 AM org.apache.struts.util.PropertyMessageResources 
init
INFO: Initializing, 
config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Jan 17, 2005 11:58:17 AM

Cannot start Tomcat

2004-09-29 Thread Anh-Vu NGUYEN NGOC
Hello,

I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
work. The outputs when running 'catalina run' are as follows

Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.28
Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
Using JAVA_HOME:   C:\j2sdk1.4.2_05
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
StandardClassLoader.java:957)
at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo
ader.java:153)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
sLoaderFactory.java:207)
at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
a:163)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
:104)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:112)
at java.util.jar.JarFile.init(JarFile.java:127)
at java.util.jar.JarFile.init(JarFile.java:65)
at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
StandardClassLoader.java:944)
... 6 more


I tried to search a lot on the web, but could not find any solution.

Thanks a lot for any help


Anh-Vu

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



Re: Cannot start Tomcat

2004-09-29 Thread Big Chiz
you may have a corrupted jar file, try from a clean install.


On Thu, 30 Sep 2004 01:26:57 +0200, Anh-Vu NGUYEN NGOC
[EMAIL PROTECTED] wrote:
 Hello,
 
 I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
 work. The outputs when running 'catalina run' are as follows
 
 Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
 Using JAVA_HOME:   C:\j2sdk1.4.2_05
 Bootstrap: Class loader creation threw exception
 java.lang.IllegalArgumentException: addRepositoryInternal
 at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
 StandardClassLoader.java:957)
 at org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo
 ader.java:153)
 at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
 sLoaderFactory.java:207)
 at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
 a:163)
 at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
 :104)
 at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
 Caused by: java.util.zip.ZipException: error in opening zip file
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(ZipFile.java:112)
 at java.util.jar.JarFile.init(JarFile.java:127)
 at java.util.jar.JarFile.init(JarFile.java:65)
 at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
 StandardClassLoader.java:944)
 ... 6 more
 
 I tried to search a lot on the web, but could not find any solution.
 
 Thanks a lot for any help
 
 
 Anh-Vu
 
 -
 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: Cannot start Tomcat

2004-09-29 Thread John Najarian
Why are you setting CATALINA_BASE?  Is this something new in 5.28?  I
thought this wasn't required if you set CATALINA_HOME.  I run 5.27  I only
set CATALINA_HOME.  Which version of the JRE do you have installed?

-Original Message-
From: Big Chiz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 29, 2004 5:08 PM
To: Tomcat Users List; Anh-Vu NGUYEN NGOC
Subject: Re: Cannot start Tomcat

you may have a corrupted jar file, try from a clean install.


On Thu, 30 Sep 2004 01:26:57 +0200, Anh-Vu NGUYEN NGOC
[EMAIL PROTECTED] wrote:
 Hello,
 
 I installed Tomcat 5.0.28, Jdk 4.2.05. When I run startup, it doesn't
 work. The outputs when running 'catalina run' are as follows
 
 Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.28
 Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.28
 Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.28\temp
 Using JAVA_HOME:   C:\j2sdk1.4.2_05
 Bootstrap: Class loader creation threw exception
 java.lang.IllegalArgumentException: addRepositoryInternal
 at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
 StandardClassLoader.java:957)
 at
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLo
 ader.java:153)
 at
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
 sLoaderFactory.java:207)
 at
org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
 a:163)
 at
org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
 :104)
 at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:196)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:402)
 Caused by: java.util.zip.ZipException: error in opening zip file
 at java.util.zip.ZipFile.open(Native Method)
 at java.util.zip.ZipFile.init(ZipFile.java:112)
 at java.util.jar.JarFile.init(JarFile.java:127)
 at java.util.jar.JarFile.init(JarFile.java:65)
 at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
 StandardClassLoader.java:944)
 ... 6 more
 
 I tried to search a lot on the web, but could not find any solution.
 
 Thanks a lot for any help
 
 
 Anh-Vu
 
 -
 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: Unable to start tomcat server

2004-09-21 Thread Suresh Akula
It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
I actually installed tomcat onto folder named
C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
common and other folders.
But while i am setting class path it is taking lot of place so i moved all 
the folders from above folder structure and into C:\Tomcat and i think that 
should be OK.
For more information i am using windows XP professional OS.
Thanks a lot for reply but i am still unable to start the server.Any help is 
highly appreciated.


From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Suggestion: A dedicated TOMCAT forum!
Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)
Hi Suresh,
Just by looking at your startup output it seems to be that you have set
your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
it should be. Also ensure that your SDK installation exists in C:\Java as
this is what your JAVA_HOME environment variable is set to. Try doing this
and re-run your server and in theory you shouldn't have any problems.
Kindest Regards,
Matt Anderson
 Hi
 I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and
 set
 the ENV variable
 CATALINA_HOME and JAVA_HOME and also included all the jars available in
 C:\Tomcat\Common\lib folder in the classpath. But when i go to command
 prompt C:\Tomcat\bin and execute startup.bat a black window comes up and
 disappears but my server never starts.On the command window where i
 executed
 startup there appears 4 lines as follows
 Using CATALINA_BASE:   C:\Tomca
 Using CATALINA_HOME:   C:\Tomca
 Using CATALINA_TMPDIR: C:\Tomca
 Using JAVA_HOME:   C:\Java
 but am not able to start the server
 Can anyone please help me on this.


 Thanks
 Suresh Akula

From: nyhgan [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED],  Peng Tuck Kwok
[EMAIL PROTECTED]
Subject: Re: Suggestion: A dedicated TOMCAT forum!
Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)

Hi,

I didn't know that there is already a TOMCAT forum.  It is sad to see
 that
the activity is so low there. Maybe that is because no one knows about
 its
existence. I hope the tomcat team can publish the forum url in the
 release
note and also on the tomcat website.

thanks!

nyhgan




Peng Tuck Kwok [EMAIL PROTECTED] wrote:
You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
Activity seems low if you ask me. Don't know what the plans are for the
forum.


On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
  On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
  : I believe that having an open discussion forum is the first step
toward such a goal as it will attract a vast number of new users to the
tomcat world.
 
  [EMAIL PROTECTED]
 
  ??
 
  -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]
 
 

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



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



 -
 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: Unable to start tomcat server

2004-09-21 Thread Ben Souther
  Using JAVA_HOME:   C:\Java..

What is the name of your java installation?




On Tue, 2004-09-21 at 09:01, Suresh Akula wrote:
 It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
 I actually installed tomcat onto folder named
 C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
 common and other folders.
 But while i am setting class path it is taking lot of place so i moved all 
 the folders from above folder structure and into C:\Tomcat and i think that 
 should be OK.
 For more information i am using windows XP professional OS.
 Thanks a lot for reply but i am still unable to start the server.Any help is 
 highly appreciated.
 
 
 From: [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Suggestion: A dedicated TOMCAT forum!
 Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)
 
 Hi Suresh,
 
 Just by looking at your startup output it seems to be that you have set
 your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
 it should be. Also ensure that your SDK installation exists in C:\Java as
 this is what your JAVA_HOME environment variable is set to. Try doing this
 and re-run your server and in theory you shouldn't have any problems.
 
 Kindest Regards,
 Matt Anderson
 
   Hi
   I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and
   set
   the ENV variable
   CATALINA_HOME and JAVA_HOME and also included all the jars available in
   C:\Tomcat\Common\lib folder in the classpath. But when i go to command
   prompt C:\Tomcat\bin and execute startup.bat a black window comes up and
   disappears but my server never starts.On the command window where i
   executed
   startup there appears 4 lines as follows
   Using CATALINA_BASE:   C:\Tomca
   Using CATALINA_HOME:   C:\Tomca
   Using CATALINA_TMPDIR: C:\Tomca
   Using JAVA_HOME:   C:\Java
   but am not able to start the server
   Can anyone please help me on this.
  
  
   Thanks
   Suresh Akula
  
  From: nyhgan [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED],  Peng Tuck Kwok
  [EMAIL PROTECTED]
  Subject: Re: Suggestion: A dedicated TOMCAT forum!
  Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
  
  Hi,
  
  I didn't know that there is already a TOMCAT forum.  It is sad to see
   that
  the activity is so low there. Maybe that is because no one knows about
   its
  existence. I hope the tomcat team can publish the forum url in the
   release
  note and also on the tomcat website.
  
  thanks!
  
  nyhgan
  
  
  
  
  Peng Tuck Kwok [EMAIL PROTECTED] wrote:
  You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
  Activity seems low if you ask me. Don't know what the plans are for the
  forum.
  
  
  On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
: I believe that having an open discussion forum is the first step
  toward such a goal as it will attract a vast number of new users to the
  tomcat world.
   
[EMAIL PROTECTED]
   
??
   
-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]
   
   
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
  
  
  
   -
   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]
 
 


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



Re: Unable to start tomcat server

2004-09-21 Thread Suresh Akula
What do you mean by name of the java installation. I installed java in the 
folder C:\Java and hence using that for JAVA_HOME?? Any thoughts. Please 
help. I already spent couple of days. Issues looks trivial but am not able 
to start the server. Your help is highly appreciated.

Thanks in advance

From: Ben Souther [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Unable to start tomcat server
Date: Tue, 21 Sep 2004 09:13:35 -0400
  Using JAVA_HOME:   C:\Java..
What is the name of your java installation?

On Tue, 2004-09-21 at 09:01, Suresh Akula wrote:
 It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
 I actually installed tomcat onto folder named
 C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin,
 common and other folders.
 But while i am setting class path it is taking lot of place so i moved 
all
 the folders from above folder structure and into C:\Tomcat and i think 
that
 should be OK.
 For more information i am using windows XP professional OS.
 Thanks a lot for reply but i am still unable to start the server.Any 
help is
 highly appreciated.


 From: [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Re: Suggestion: A dedicated TOMCAT forum!
 Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)
 
 Hi Suresh,
 
 Just by looking at your startup output it seems to be that you have set
 your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat 
as
 it should be. Also ensure that your SDK installation exists in C:\Java 
as
 this is what your JAVA_HOME environment variable is set to. Try doing 
this
 and re-run your server and in theory you shouldn't have any problems.
 
 Kindest Regards,
 Matt Anderson
 
   Hi
   I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat 
and
   set
   the ENV variable
   CATALINA_HOME and JAVA_HOME and also included all the jars available 
in
   C:\Tomcat\Common\lib folder in the classpath. But when i go to 
command
   prompt C:\Tomcat\bin and execute startup.bat a black window comes up 
and
   disappears but my server never starts.On the command window where i
   executed
   startup there appears 4 lines as follows
   Using CATALINA_BASE:   C:\Tomca
   Using CATALINA_HOME:   C:\Tomca
   Using CATALINA_TMPDIR: C:\Tomca
   Using JAVA_HOME:   C:\Java
   but am not able to start the server
   Can anyone please help me on this.
  
  
   Thanks
   Suresh Akula
  
  From: nyhgan [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED],  Peng Tuck 
Kwok
  [EMAIL PROTECTED]
  Subject: Re: Suggestion: A dedicated TOMCAT forum!
  Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
  
  Hi,
  
  I didn't know that there is already a TOMCAT forum.  It is sad to 
see
   that
  the activity is so low there. Maybe that is because no one knows 
about
   its
  existence. I hope the tomcat team can publish the forum url in the
   release
  note and also on the tomcat website.
  
  thanks!
  
  nyhgan
  
  
  
  
  Peng Tuck Kwok [EMAIL PROTECTED] wrote:
  You mean like the one here : http://nagoya.apache.org/jive/index.jsp 
?
  Activity seems low if you ask me. Don't know what the plans are for 
the
  forum.
  
  
  On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
: I believe that having an open discussion forum is the first 
step
  toward such a goal as it will attract a vast number of new users to 
the
  tomcat world.
   
[EMAIL PROTECTED]
   
??
   
-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]
   
   
  
  
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
  
  
  
   
-
   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]



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

Re: Unable to start tomcat server

2004-09-21 Thread Hassan Schroeder
Suresh Akula wrote:
 CATALINA_HOME and JAVA_HOME and also included all the jars available in
 C:\Tomcat\Common\lib folder in the classpath. But when i go to command
 prompt C:\Tomcat\bin and execute startup.bat a black window comes up 
and
 disappears but my server never starts.On the command window where i
 executed
 startup there appears 4 lines as follows
 Using CATALINA_BASE:   C:\Tomca
 Using CATALINA_HOME:   C:\Tomca
 Using CATALINA_TMPDIR: C:\Tomca
 Using JAVA_HOME:   C:\Java
 but am not able to start the server
No, it's started, it just ended prematurely. :-)
So it appears that the JAVA_HOME and CATALINA_HOME are probably set
properly; what you need to do is use `.\bin\catalina.bat run` in a
command (cmd.exe) window to start the server so that that window
doesn't disappear on exit along with the error messages that will
*tell you what's wrong*.
HTH,
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


Re: Unable to start tomcat server

2004-09-21 Thread Suresh Akula
)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1548)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
   at java.lang.reflect.Method.invoke(Native Method)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421)

Thanks
Suresh Akula

From: Hassan Schroeder [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Unable to start tomcat server
Date: Tue, 21 Sep 2004 07:46:09 -0700
Suresh Akula wrote:
 CATALINA_HOME and JAVA_HOME and also included all the jars available 
in
 C:\Tomcat\Common\lib folder in the classpath. But when i go to command
 prompt C:\Tomcat\bin and execute startup.bat a black window comes up 
and
 disappears but my server never starts.On the command window where i
 executed
 startup there appears 4 lines as follows
 Using CATALINA_BASE:   C:\Tomca
 Using CATALINA_HOME:   C:\Tomca
 Using CATALINA_TMPDIR: C:\Tomca
 Using JAVA_HOME:   C:\Java
 but am not able to start the server
No, it's started, it just ended prematurely. :-)
So it appears that the JAVA_HOME and CATALINA_HOME are probably set
properly; what you need to do is use `.\bin\catalina.bat run` in a
command (cmd.exe) window to start the server so that that window
doesn't disappear on exit along with the error messages that will
*tell you what's wrong*.
HTH,
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

-
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: Unable to start tomcat server

2004-09-21 Thread Suresh Akula
)
  at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
  at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  at org.apache.commons.digester.Digester.parse(Digester.java:1548)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:489)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421)

Thanks
Suresh Akula

From: Hassan Schroeder [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Unable to start tomcat server
Date: Tue, 21 Sep 2004 07:46:09 -0700
Suresh Akula wrote:
 CATALINA_HOME and JAVA_HOME and also included all the jars available 
in
 C:\Tomcat\Common\lib folder in the classpath. But when i go to command
 prompt C:\Tomcat\bin and execute startup.bat a black window comes up 
and
 disappears but my server never starts.On the command window where i
 executed
 startup there appears 4 lines as follows
 Using CATALINA_BASE:   C:\Tomca
 Using CATALINA_HOME:   C:\Tomca
 Using CATALINA_TMPDIR: C:\Tomca
 Using JAVA_HOME:   C:\Java
 but am not able to start the server
No, it's started, it just ended prematurely. :-)
So it appears that the JAVA_HOME and CATALINA_HOME are probably set
properly; what you need to do is use `.\bin\catalina.bat run` in a
command (cmd.exe) window to start the server so that that window
doesn't disappear on exit along with the error messages that will
*tell you what's wrong*.
HTH,
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

-
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: Unable to start tomcat server

2004-09-21 Thread Hassan Schroeder
Suresh Akula wrote:
I am trying to run my tomcat server but am not able to do. I am 
struggling on this for past 2 days.
Earlier you said:
I actually installed tomcat onto folder named
C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have 
 all bin, common and other folders.
But while i am setting class path it is taking lot of place so i 
 moved all the folders from above folder structure and into
 C:\Tomcat and i think that should be OK.
..think that should be OK? I think that's probably the root of
your problem. Suggestion: delete all the Tomcat stuff you can find
and reinstall from scratch, preferably from a tar file, but at the
least install directly into C:\tomcat. Don't move *anything*. *Do*
remove all the classpath settings you made. You don't need them if
CATALINA_HOME and JAVA_HOME are set correctly.
Then try -- again -- running *catalina.bat run* from a cmd window
and see what happens.
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
  dream.  code.

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


RE: Unable to start tomcat server

2004-09-21 Thread John Najarian
Hi Suresh,

   I installed Tomcat in C:\Tomcat
   My Catalina_home environment variable is: c:\tomcat

   Java is installed at C:\j2sdk1.4.2_03
   My Catalina_home environment variable is: C:\j2sdk1.4.2_03

   This more or less corresponds to yours.  Let's check a few other
environment variables.

   The 'Path' variable should include C:\j2sdk1.4.2_03\bin
   My CLASSPATH includes the following: (although I'm not sure if both are
required but it won't hurt)

   c:\j2sdk1.4.2_03;
   c:\Tomcat\common\lib\servlet-api.jar;
   c:\Tomcat\common\lib\jsp-api.jar;
   c:\Tomcat\common\lib\tools.jar;

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 3:16 PM
To: Tomcat Users List
Subject: Re: Unable to start tomcat server

Suresh Akula wrote:

 I am trying to run my tomcat server but am not able to do. I am 
 struggling on this for past 2 days.

Earlier you said:

 I actually installed tomcat onto folder named
 C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have 
  all bin, common and other folders.
 But while i am setting class path it is taking lot of place so i 
  moved all the folders from above folder structure and into
  C:\Tomcat and i think that should be OK.

..think that should be OK? I think that's probably the root of
your problem. Suggestion: delete all the Tomcat stuff you can find
and reinstall from scratch, preferably from a tar file, but at the
least install directly into C:\tomcat. Don't move *anything*. *Do*
remove all the classpath settings you made. You don't need them if
CATALINA_HOME and JAVA_HOME are set correctly.

Then try -- again -- running *catalina.bat run* from a cmd window
and see what happens.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



-
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: Unable to start tomcat server

2004-09-21 Thread John Najarian
Sorry Suresh, I forgot to put this in the last reply.

   Does the user you are trying to start Tomcat have admin privs?  You might
be trying to access something the account isn't permissioned for.  Real
basic, no wonder I didn't think of it before.  Try doing this as the
administrator.

   If this doesn't resolve your problem, as administrator I suggest the
following if after you change your environment variables and it still
doesn't work.  This may seem redundant but I've gotten downloads messed up
before.

1) Remove the current C:\Tomcat directory.
2) Download a Tomcat binary.
3) Reinstall Tomcat.
4) From the add/remove programs remove the j2sdk.
5) Download another j2sdk and install it.
6) Try starting Tomcat.

-Original Message-
From: Hassan Schroeder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 3:16 PM
To: Tomcat Users List
Subject: Re: Unable to start tomcat server

Suresh Akula wrote:

 I am trying to run my tomcat server but am not able to do. I am 
 struggling on this for past 2 days.

Earlier you said:

 I actually installed tomcat onto folder named
 C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have 
  all bin, common and other folders.
 But while i am setting class path it is taking lot of place so i 
  moved all the folders from above folder structure and into
  C:\Tomcat and i think that should be OK.

..think that should be OK? I think that's probably the root of
your problem. Suggestion: delete all the Tomcat stuff you can find
and reinstall from scratch, preferably from a tar file, but at the
least install directly into C:\tomcat. Don't move *anything*. *Do*
remove all the classpath settings you made. You don't need them if
CATALINA_HOME and JAVA_HOME are set correctly.

Then try -- again -- running *catalina.bat run* from a cmd window
and see what happens.

-- 
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

   dream.  code.



-
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: Unable to start tomcat server

2004-09-21 Thread Brian Roberts
Hi everyone
I too was having trouble starting the server and thanks everyone for your 
help but what I found was that with the latest tomcat server you need to 
have the latest java JRE version 5. Try installing the latest from 
http://java.sun.com/j2se version 5 or later and set an environment variable 
named JAVA_HOME to the pathname of the directory into which you installed 
the JRE. Full instructions are with the tomcat server package on RUNNING.txt

Bye for now and thanks everyone for your help
Brian Roberts
At 06:01 AM 21/09/2004 -0700, you wrote:
It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
I actually installed tomcat onto folder named
C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
common and other folders.
But while i am setting class path it is taking lot of place so i moved all 
the folders from above folder structure and into C:\Tomcat and i think 
that should be OK.
For more information i am using windows XP professional OS.
Thanks a lot for reply but i am still unable to start the server.Any help 
is highly appreciated.


From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Suggestion: A dedicated TOMCAT forum!
Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)
Hi Suresh,
Just by looking at your startup output it seems to be that you have set
your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
it should be. Also ensure that your SDK installation exists in C:\Java as
this is what your JAVA_HOME environment variable is set to. Try doing this
and re-run your server and in theory you shouldn't have any problems.
Kindest Regards,
Matt Anderson
 Hi
 I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and
 set
 the ENV variable
 CATALINA_HOME and JAVA_HOME and also included all the jars available in
 C:\Tomcat\Common\lib folder in the classpath. But when i go to command
 prompt C:\Tomcat\bin and execute startup.bat a black window comes up and
 disappears but my server never starts.On the command window where i
 executed
 startup there appears 4 lines as follows
 Using CATALINA_BASE:   C:\Tomca
 Using CATALINA_HOME:   C:\Tomca
 Using CATALINA_TMPDIR: C:\Tomca
 Using JAVA_HOME:   C:\Java
 but am not able to start the server
 Can anyone please help me on this.


 Thanks
 Suresh Akula

From: nyhgan [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED],  Peng Tuck Kwok
[EMAIL PROTECTED]
Subject: Re: Suggestion: A dedicated TOMCAT forum!
Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)

Hi,

I didn't know that there is already a TOMCAT forum.  It is sad to see
 that
the activity is so low there. Maybe that is because no one knows about
 its
existence. I hope the tomcat team can publish the forum url in the
 release
note and also on the tomcat website.

thanks!

nyhgan




Peng Tuck Kwok [EMAIL PROTECTED] wrote:
You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
Activity seems low if you ask me. Don't know what the plans are for the
forum.


On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
  On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
  : I believe that having an open discussion forum is the first step
toward such a goal as it will attract a vast number of new users to the
tomcat world.
 
  [EMAIL PROTECTED]
 
  ??
 
  -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]
 
 

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



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



 -
 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]
See you later,
Brian Roberts



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


Re: Unable to start tomcat server

2004-09-21 Thread Cary Conover
Brian,
 
One point to ponder is you were also using both %CATALINA_HOME% and %CATALINA_BASE%.
 
%CATALINA_HOME% is for where the main Jakarta Tomcat bin, conf, common and server 
directories reside.  These are Shared Directories between the Base Directories for 
other instances of Tomcat that run from the Home Directory Structure.  This structure 
allows you to have multiple Base Directories.
 
%CATALINA_BASE% is where the respective configuration, delivered apps, logs and work 
directories are located.  Such conf, logs, webapps, and work.  This is what is unique 
to each of the particular Base Directories.  There are a couple additional with 
directories in the 4.1.30 release and quite possibly more differences in the 5.0/5.5 
Releases.
 
You will see a server.xml and web.xml and a couple other files in the respective base 
directory structure under conf.  You will also see another web.xml located at 
%CATALINA_BASE%\webapps\ROOT\WEB-INF as well.
 
Your particular apps likely will reside in the %CATALINA_BASE%\webapps directory.
 
All of the log files for tomcat in each base configuration usually reside in the 
respective %CATALINA_BASE%\logs.
 
The reason for defining %CATALINA_BASE% is so that you can have more than one instance 
of Tomcat running from %CATALINA_HOME% at the same time sharing the Jakarta Tomcat 
Code.
 
Beware when doing this that the ports defined in the server.xml in the conf 
directories so that they do not overlap.  If they overlap Tomcat will not start.  You 
will get errors in the logs and it will just shut right back down.
 
There is a way to have Tomcat also setup as a service using a dll so that it will 
automatically start and can be interfaced via ISAPI configuration to IIS as well.

Brian Roberts [EMAIL PROTECTED] wrote:
Hi everyone

I too was having trouble starting the server and thanks everyone for your 
help but what I found was that with the latest tomcat server you need to 
have the latest java JRE version 5. Try installing the latest from 
http://java.sun.com/j2se version 5 or later and set an environment variable 
named JAVA_HOME to the pathname of the directory into which you installed 
the JRE. Full instructions are with the tomcat server package on RUNNING.txt

Bye for now and thanks everyone for your help

Brian Roberts

At 06:01 AM 21/09/2004 -0700, you wrote:
It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
I actually installed tomcat onto folder named
C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
common and other folders.
But while i am setting class path it is taking lot of place so i moved all 
the folders from above folder structure and into C:\Tomcat and i think 
that should be OK.
For more information i am using windows XP professional OS.
Thanks a lot for reply but i am still unable to start the server.Any help 
is highly appreciated.


From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List 
To: Tomcat Users List 
Subject: Re: Suggestion: A dedicated TOMCAT forum!
Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)

Hi Suresh,

Just by looking at your startup output it seems to be that you have set
your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
it should be. Also ensure that your SDK installation exists in C:\Java as
this is what your JAVA_HOME environment variable is set to. Try doing this
and re-run your server and in theory you shouldn't have any problems.

Kindest Regards,
Matt Anderson

  Hi
  I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat and
  set
  the ENV variable
  CATALINA_HOME and JAVA_HOME and also included all the jars available in
  C:\Tomcat\Common\lib folder in the classpath. But when i go to command
  prompt C:\Tomcat\bin and execute startup.bat a black window comes up and
  disappears but my server never starts.On the command window where i
  executed
  startup there appears 4 lines as follows
  Using CATALINA_BASE: C:\Tomca
  Using CATALINA_HOME: C:\Tomca
  Using CATALINA_TMPDIR: C:\Tomca
  Using JAVA_HOME: C:\Java
  but am not able to start the server
  Can anyone please help me on this.
 
 
  Thanks
  Suresh Akula
 
 From: nyhgan 
 Reply-To: Tomcat Users List 
 To: Tomcat Users List , Peng Tuck Kwok
 

 Subject: Re: Suggestion: A dedicated TOMCAT forum!
 Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
 
 Hi,
 
 I didn't know that there is already a TOMCAT forum. It is sad to see
  that
 the activity is so low there. Maybe that is because no one knows about
  its
 existence. I hope the tomcat team can publish the forum url in the
  release
 note and also on the tomcat website.
 
 thanks!
 
 nyhgan
 
 
 
 
 Peng Tuck Kwok 
wrote:
 You mean like the one here : http://nagoya.apache.org/jive/index.jsp ?
 Activity seems low if you ask me. Don't know what the plans are for the
 forum.
 
 
 On Mon, 20 Sep 2004 16:14:23 -0500, QM wrote:
   On Mon, Sep 20, 2004 at 02:00:37PM -0700, nyhgan wrote:
   : I believe that having an open discussion forum is the first step
 

RE: Unable to start tomcat server

2004-09-21 Thread John Najarian
Great point Cary, I overlooked  forgot that.
Because we run separate servers for all our different apps we don't use that
functionality.

-Original Message-
From: Cary Conover [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 6:45 PM
To: Tomcat Users List
Subject: Re: Unable to start tomcat server

Brian,
 
One point to ponder is you were also using both %CATALINA_HOME% and
%CATALINA_BASE%.
 
%CATALINA_HOME% is for where the main Jakarta Tomcat bin, conf, common and
server directories reside.  These are Shared Directories between the Base
Directories for other instances of Tomcat that run from the Home Directory
Structure.  This structure allows you to have multiple Base Directories.
 
%CATALINA_BASE% is where the respective configuration, delivered apps, logs
and work directories are located.  Such conf, logs, webapps, and work.  This
is what is unique to each of the particular Base Directories.  There are a
couple additional with directories in the 4.1.30 release and quite possibly
more differences in the 5.0/5.5 Releases.
 
You will see a server.xml and web.xml and a couple other files in the
respective base directory structure under conf.  You will also see another
web.xml located at %CATALINA_BASE%\webapps\ROOT\WEB-INF as well.
 
Your particular apps likely will reside in the %CATALINA_BASE%\webapps
directory.
 
All of the log files for tomcat in each base configuration usually reside in
the respective %CATALINA_BASE%\logs.
 
The reason for defining %CATALINA_BASE% is so that you can have more than
one instance of Tomcat running from %CATALINA_HOME% at the same time sharing
the Jakarta Tomcat Code.
 
Beware when doing this that the ports defined in the server.xml in the conf
directories so that they do not overlap.  If they overlap Tomcat will not
start.  You will get errors in the logs and it will just shut right back
down.
 
There is a way to have Tomcat also setup as a service using a dll so that it
will automatically start and can be interfaced via ISAPI configuration to
IIS as well.

Brian Roberts [EMAIL PROTECTED] wrote:
Hi everyone

I too was having trouble starting the server and thanks everyone for your 
help but what I found was that with the latest tomcat server you need to 
have the latest java JRE version 5. Try installing the latest from 
http://java.sun.com/j2se version 5 or later and set an environment variable 
named JAVA_HOME to the pathname of the directory into which you installed 
the JRE. Full instructions are with the tomcat server package on RUNNING.txt

Bye for now and thanks everyone for your help

Brian Roberts

At 06:01 AM 21/09/2004 -0700, you wrote:
It was a typo and CATALINA_HOME is actually set to C:\Tomcat.
I actually installed tomcat onto folder named
C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have all bin, 
common and other folders.
But while i am setting class path it is taking lot of place so i moved all 
the folders from above folder structure and into C:\Tomcat and i think 
that should be OK.
For more information i am using windows XP professional OS.
Thanks a lot for reply but i am still unable to start the server.Any help 
is highly appreciated.


From: [EMAIL PROTECTED]
Reply-To: Tomcat Users List 
To: Tomcat Users List 
Subject: Re: Suggestion: A dedicated TOMCAT forum!
Date: Tue, 21 Sep 2004 11:54:24 +0800 (WST)

Hi Suresh,

Just by looking at your startup output it seems to be that you have set
your environment variable CATALINA_HOME to C:\Tomca and NOT C:\Tomcat as
it should be. Also ensure that your SDK installation exists in C:\Java as
this is what your JAVA_HOME environment variable is set to. Try doing this
and re-run your server and in theory you shouldn't have any problems.

Kindest Regards,
Matt Anderson

  Hi
  I have downloaded and installed Tomcat 5.0.27 version onto C:\Tomcat
and
  set
  the ENV variable
  CATALINA_HOME and JAVA_HOME and also included all the jars available in
  C:\Tomcat\Common\lib folder in the classpath. But when i go to command
  prompt C:\Tomcat\bin and execute startup.bat a black window comes up
and
  disappears but my server never starts.On the command window where i
  executed
  startup there appears 4 lines as follows
  Using CATALINA_BASE: C:\Tomca
  Using CATALINA_HOME: C:\Tomca
  Using CATALINA_TMPDIR: C:\Tomca
  Using JAVA_HOME: C:\Java
  but am not able to start the server
  Can anyone please help me on this.
 
 
  Thanks
  Suresh Akula
 
 From: nyhgan 
 Reply-To: Tomcat Users List 
 To: Tomcat Users List , Peng Tuck Kwok
 

 Subject: Re: Suggestion: A dedicated TOMCAT forum!
 Date: Mon, 20 Sep 2004 20:10:56 -0700 (PDT)
 
 Hi,
 
 I didn't know that there is already a TOMCAT forum. It is sad to see
  that
 the activity is so low there. Maybe that is because no one knows about
  its
 existence. I hope the tomcat team can publish the forum url in the
  release
 note and also on the tomcat website.
 
 thanks!
 
 nyhgan
 
 
 
 
 Peng Tuck Kwok 
wrote:
 You mean like the one here

RE: Unable to start tomcat server

2004-09-21 Thread Cary Conover
John,
 
See below:

John Najarian [EMAIL PROTECTED] wrote:

Hi Suresh,

I installed Tomcat in C:\Tomcat
My Catalina_home environment variable is: c:\tomcat

Java is installed at C:\j2sdk1.4.2_03
My Catalina_home environment variable is: C:\j2sdk1.4.2_03

  Are you sure you do not mean your JAVA_HOME vs CATALINA_HOME as you already have 
 declared that?




-
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!

Can I start tomcat 5.0.28 as a non root user at Linux?

2004-08-31 Thread Johnny
 
 



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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



Re: Can I start tomcat 5.0.28 as a non root user at Linux?

2004-08-31 Thread Vic
I do not know if you can, but I can.
.V
Johnny wrote:
 
 

		
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--
Please post on Rich Internet Applications User Interface (RiA/SoA)
http://www.portalvu.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Can I start tomcat 5.0.28 as a non root user at Linux?

2004-08-31 Thread QM
On Tue, Aug 31, 2004 at 04:35:33PM -0500, Vic wrote:
: I do not know if you can, but I can.

I can't.
-oh wait, hold on...
yes, yes I can.  =)

To the OP: check the docs, try it out, and steer clear of privileged
ports.

-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: Can I start tomcat 5.0.28 as a non root user at Linux?

2004-08-31 Thread Big Chiz
checkout jsvc.tar.gz on the tomcat/bin

On Tue, 31 Aug 2004 17:28:24 -0500, QM [EMAIL PROTECTED] wrote:
 On Tue, Aug 31, 2004 at 04:35:33PM -0500, Vic wrote:
 : I do not know if you can, but I can.
 
 I can't.
 -oh wait, hold on...
 yes, yes I can.  =)
 
 To the OP: check the docs, try it out, and steer clear of privileged
 ports.
 
 -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]
 


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



Re: Can I start tomcat 5.0.28 as a non root user at Linux?

2004-08-31 Thread Yi Wang
yes you can and you should not start tomcat as root user (for security reason)

On Wed, 1 Sep 2004 07:58:57 +0800, Big Chiz [EMAIL PROTECTED] wrote:
 checkout jsvc.tar.gz on the tomcat/bin
 
 
 
 On Tue, 31 Aug 2004 17:28:24 -0500, QM [EMAIL PROTECTED] wrote:
  On Tue, Aug 31, 2004 at 04:35:33PM -0500, Vic wrote:
  : I do not know if you can, but I can.
 
  I can't.
  -oh wait, hold on...
  yes, yes I can.  =)
 
  To the OP: check the docs, try it out, and steer clear of privileged
  ports.
 
  -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]
 
 
 
 -
 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: Need to start Tomcat 4.1 twice

2004-08-13 Thread Jitesh Sinha
Today I tried to see the logs and it contains following error :

2004-08-13 12:21:03 StandardContext[/cse/myapp]: Resources start failed:
2004-08-13 12:21:03 StandardContext[/cse/myapp]: Context startup failed due
to previous errors
2004-08-13 12:21:03 StandardContext[/cse/myapp]: Exception during cleanup
after start failed
LifecycleException:  Container StandardContext[/cse/myapp] has not been
started
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3621)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


These are the first lines and I cannot understand what previous errors mean.
Any pointers?

Thanks,
-Jitesh


-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 2:48 PM
To: Tomcat Users List
Subject: RE: Need to start Tomcat 4.1 twice


Any pointers for this?

-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 11:58 AM
To: Tomcat Users List
Subject: Need to start Tomcat 4.1 twice


Hello all,
I am facing a strange problem.I need to start my Tomcat server twice.After
first start when I try to access anything I get the error Requested Resource
not available.After second start everything works fine.Any ideas why that
will happen?

Thanks,
-Jitesh


-
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: Need to start Tomcat 4.1 twice

2004-08-13 Thread Jitesh Sinha
After removing lot of NotSerializableException which were generated at the
startup,
I am getting following error(I can see it in log file at startup) .Any ideas
why it will come?




java.io.InvalidClassException: com.cisco.cse.prt.db.HomeSearchDAO; local
class incompatible: stream classdesc serialVersionUID = 7413867846870442998,
local class serialVersionUID = -4255287938880447586
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:454)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1511)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1425)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1616)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1830)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1756)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1636)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
at
org.apache.catalina.session.StandardSession.readObject(StandardSession.java:
1357)
at
org.apache.catalina.session.StandardSession.readObjectData(StandardSession.j
ava:852)
at
org.apache.catalina.session.StandardManager.load(StandardManager.java:411)
at
org.apache.catalina.session.StandardManager.start(StandardManager.java:626)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3570)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Friday, August 13, 2004 12:25 PM
To: Tomcat Users List
Subject: RE: Need to start Tomcat 4.1 twice


Today I tried to see the logs and it contains following error :

2004-08-13 12:21:03 StandardContext[/cse/myapp]: Resources start failed:
2004-08-13 12:21:03 StandardContext[/cse/myapp]: Context startup failed due
to previous errors
2004-08-13 12:21:03 StandardContext[/cse/myapp]: Exception during cleanup
after start failed
LifecycleException:  Container StandardContext[/cse/myapp] has not been
started
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3621)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)


These are the first lines and I cannot understand what previous errors mean.
Any pointers?

Thanks,
-Jitesh


-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 2:48 PM
To: Tomcat Users List
Subject: RE: Need to start Tomcat 4.1 twice


Any pointers for this?

-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED

RE: Need to start Tomcat 4.1 twice

2004-08-05 Thread Jitesh Sinha
Any pointers for this?

-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 11:58 AM
To: Tomcat Users List
Subject: Need to start Tomcat 4.1 twice


Hello all,
I am facing a strange problem.I need to start my Tomcat server twice.After
first start when I try to access anything I get the error Requested Resource
not available.After second start everything works fine.Any ideas why that
will happen?

Thanks,
-Jitesh


-
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: Need to start Tomcat 4.1 twice

2004-08-05 Thread Shapira, Yoav

Hi,
As you said yourself, it's strange.  I have no clue.  It just sounds
like a messed up installation or configuration ;)

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 5:18 AM
To: Tomcat Users List
Subject: RE: Need to start Tomcat 4.1 twice

Any pointers for this?

-Original Message-
From: Jitesh Sinha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 11:58 AM
To: Tomcat Users List
Subject: Need to start Tomcat 4.1 twice


Hello all,
I am facing a strange problem.I need to start my Tomcat server
twice.After
first start when I try to access anything I get the error Requested
Resource
not available.After second start everything works fine.Any ideas why
that
will happen?

Thanks,
-Jitesh


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


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




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


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



Need to start Tomcat 4.1 twice

2004-08-03 Thread Jitesh Sinha
Hello all,
I am facing a strange problem.I need to start my Tomcat server twice.After
first start when I try to access anything I get the error Requested Resource
not available.After second start everything works fine.Any ideas why that
will happen?

Thanks,
-Jitesh


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



Can't Start Tomcat 5.0

2004-06-30 Thread Alvin Randolph
Hello:
I installed Tomcat 5.0 a few weeks ago on a WinXP system. Set system  Environment 
variables $CATALINA_HOME to C:\Program Files\Tomcat 5.0   JAVA_HOME to 
C:\JBuilder\jdk1.3.1.

Whenever I click the Tomcat Administration link under the Start button, I get a 
panel requesting the User name  Password to connect me to 
http://127.0.0.1:8080/ADMIN/... After 3 tries, I get the Unauthorized panel.

I am using the minimal server.xml file with no GlobalNamingResources, service name, 
connector port assignment, host name  logger settings inside engine tags. I also set 
memoryrealm so the manager can use Tomcat-user.xml to validate the username  
password. There are no error messages in the Logs folder. What am I doing wrong?


Thanks,
 Alvin Randolph



RE: Trying to start tomcat. Should be so simple

2004-04-12 Thread Shapira, Yoav

Hi,
Don't make the jar a symlink.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Randy Paries [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 3:26 PM
To: 'Tomcat Users List'
Subject: RE: Trying to start tomcat. Should be so simple

Thanks of the help

ls -lsL /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
  76 -rwxrwxrwx1 apache   apache  71328 Mar 24 16:23
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar

ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
   0 lrwxrwxrwx1 root root   58 Apr 10 12:27
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar -
/usr/java/jakarta-tomcat/common/lib/mm.mysql-2.0.2-bin.jar

I also have this in my server.xml
 Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true  /

I have also tried putting a phyichal file there instead of a link

This is driving me crazy

Thanks for any help


-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 10, 2004 1:32 PM
To: Tomcat Users List
Subject: Re: Trying to start tomcat. Should be so simple

On Sat, Apr 10, 2004 at 12:46:02PM -0500, Randy Paries wrote:
: I have two identical boxes. Tomcat starts on one and not the other
:
: The jar that it says it can not find is there.
: /WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: If I do ls -ls
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: It is there
: [snip]
: - Root Cause -
: java.io.FileNotFoundException


What are the perms on said file? i.e. what's the output of ls -l on
each host?

If the jar is a symlink, try ls -lL

-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]



-
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]



Trying to start tomcat. Should be so simple

2004-04-10 Thread Randy Paries
Hello all,

I have got to be missing something very simple

I have two identical boxes. Tomcat starts on one and not the other

The jar that it says it can not find is there. 
/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
It is there

Here is a snippet of my server.xml

++
  Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=200
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

Engine name=Standalone defaultHost=localhost debug=10
Valve className=org.apache.catalina.valves.AccessLogValve
 directory=/var/log/httpd
prefix=unitnetTomcat.com-access_log
 suffix=.log
 pattern=common/
Logger className=org.apache.catalina.logger.FileLogger
 directory=/var/log/httpd  prefix=unitnetTomcat_log.
suffix=.txt
timestamp=true/

Host name=localhost debug=10 appBase=/home/unitnetWebapps
unpackWARs=true
Context path=root
 docBase=/home/unitnetWebapps
 crossContext=true
 debug=0
 reloadable=false 

++

The error I get when I start is:


++

2004-04-10 12:33:12 WebappLoader[root]: Deploying class repositories to work
directory /usr/java/jakarta-tomcat-4.1.30/work/Standalone/localhost/root
2004-04-10 12:33:12 WebappLoader[root]: Deploy class files /WEB-INF/classes
to /home/unitnetWebapps/WEB-INF/classes
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activation.jar to
/home/unitnetWebapps/WEB-INF/lib/activation.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activedit.jar to /home/unitnetWebapps/WEB-INF/lib/activedit.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activscan.jar to /home/unitnetWebapps/WEB-INF/lib/activscan.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activspell.jar to
/home/unitnetWebapps/WEB-INF/lib/activspell.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR /WEB-INF/lib/imap.jar to
/home/unitnetWebapps/WEB-INF/lib/imap.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/jspellcheck.jar to
/home/unitnetWebapps/WEB-INF/lib/jspellcheck.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/jspsmartupload.jar to
/home/unitnetWebapps/WEB-INF/lib/jspsmartupload.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR /WEB-INF/lib/mail.jar to
/home/unitnetWebapps/WEB-INF/lib/mail.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR /WEB-INF/lib/mailapi.jar
to /home/unitnetWebapps/WEB-INF/lib/mailapi.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/mm.mysql-2.0.2-bin.jar to
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR /WEB-INF/lib/pop3.jar to
/home/unitnetWebapps/WEB-INF/lib/pop3.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR /WEB-INF/lib/smtp.jar to
/home/unitnetWebapps/WEB-INF/lib/smtp.jar
2004-04-10 12:33:13 ContextConfig[root] Exception processing JAR at resource
path /WEB-INF/lib/mm.mysql-2.0.2-bin.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)
at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:
243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3587)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at 

Autoreply: Trying to start tomcat. Should be so simple

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 10:46:25 -0700
Message-ID: [EMAIL PROTECTED]
Received: (qmail 12751 invoked by uid 500); 10 Apr 2004 17:46:02 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 12736 invoked from network); 10 Apr 2004 17:46:02 -
Received: from unknown (HELO smtp2.knology.net) (24.214.63.101)
  by daedalus.apache.org with SMTP; 10 Apr 2004 17:46:02 -
Received: (qmail 16264 invoked by uid 542); 10 Apr 2004 17:46:06 -
Received: from [EMAIL PROTECTED] by smtp3.knology.net by uid 502 with 
qmail-scanner-1.20 
 ( Clear:RC:1(24.214.88.68):. 
 Processed in 0.093433 secs); 10 Apr 2004 17:46:06 -
Received: from unknown (HELO BIGBLUE) (24.214.88.68)
  by smtp2.knology.net with SMTP; 10 Apr 2004 17:46:05 -
From: Randy Paries [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: Trying to start tomcat. Should be so simple
Date: Sat, 10 Apr 2004 12:46:02 -0500
MIME-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Thread-Index: AcQeJ98sZq+WHQw3T+m9GJU6RxJ9BgA+ngCA
In-Reply-To: [EMAIL PROTECTED]
X-Qmail-Scanner-Message-ID: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

Hello all,

I have got to be missing something very simple

I have two identical boxes. Tomcat starts on one and not the other

The jar that it says it can not find is there. 
/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
It is there

Here is a snippet of my server.xml

++
  Service name=Tomcat-Apache
!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=200
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

Engine name=Standalone defaultHost=localhost debug=10
Valve className=org.apache.catalina.valves.AccessLogValve
 directory=/var/log/httpd
prefix=unitnetTomcat.com-access_log
 suffix=.log
 pattern=common/
Logger className=org.apache.catalina.logger.FileLogger
 directory=/var/log/httpd  prefix=unitnetTomcat_log.
suffix=.txt
timestamp=true/

Host name=localhost debug=10 appBase=/home/unitnetWebapps
unpackWARs=true
Context path=root
 docBase=/home/unitnetWebapps
 crossContext=true
 debug=0
 reloadable=false 

++

The error I get when I start is:


++

2004-04-10 12:33:12 WebappLoader[root]: Deploying class repositories to work
directory /usr/java/jakarta-tomcat-4.1.30/work/Standalone/localhost/root
2004-04-10 12:33:12 WebappLoader[root]: Deploy class files /WEB-INF/classes
to /home/unitnetWebapps/WEB-INF/classes
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activation.jar to
/home/unitnetWebapps/WEB-INF/lib/activation.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activedit.jar to /home/unitnetWebapps/WEB-INF/lib/activedit.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activscan.jar to /home/unitnetWebapps/WEB-INF/lib/activscan.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy JAR
/WEB-INF/lib/activspell.jar to
/home/unitnetWebapps/WEB-INF/lib/activspell.jar
2004-04-10 12:33:12 WebappLoader[root]: Deploy

Re: Trying to start tomcat. Should be so simple

2004-04-10 Thread QM
On Sat, Apr 10, 2004 at 12:46:02PM -0500, Randy Paries wrote:
: I have two identical boxes. Tomcat starts on one and not the other
: 
: The jar that it says it can not find is there. 
: /WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
: It is there
: [snip]
: - Root Cause -
: java.io.FileNotFoundException


What are the perms on said file? i.e. what's the output of ls -l on
each host?

If the jar is a symlink, try ls -lL

-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]



Autoreply: Re: Trying to start tomcat. Should be so simple

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 11:32:12 -0700
Received: (qmail 67810 invoked by uid 500); 10 Apr 2004 18:31:52 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 67797 invoked from network); 10 Apr 2004 18:31:52 -
Received: from unknown (HELO smarty.dreamhost.com) (66.33.216.24)
  by daedalus.apache.org with SMTP; 10 Apr 2004 18:31:52 -
Received: from strange.dreamhost.com (strange.dreamhost.com [66.33.193.57])
by smarty.dreamhost.com (Postfix) with ESMTP
id B4C4013F649; Sat, 10 Apr 2004 11:31:56 -0700 (PDT)
Received: by strange.dreamhost.com (Postfix, from userid 7734)
id 6A41F6AA14; Sat, 10 Apr 2004 11:31:54 -0700 (PDT)
Date: Sat, 10 Apr 2004 13:31:54 -0500
From: QM [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Trying to start tomcat. Should be so simple
Message-ID: [EMAIL PROTECTED]
References: [EMAIL PROTECTED] [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: [EMAIL PROTECTED]
User-Agent: Mutt/1.3.28i
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

On Sat, Apr 10, 2004 at 12:46:02PM -0500, Randy Paries wrote:
: I have two identical boxes. Tomcat starts on one and not the other
: 
: The jar that it says it can not find is there. 
: /WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
: It is there
: [snip]
: - Root Cause -
: java.io.FileNotFoundException


What are the perms on said file? i.e. what's the output of ls -l on
each host?

If the jar is a symlink, try ls -lL

-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]



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



RE: Trying to start tomcat. Should be so simple

2004-04-10 Thread Randy Paries
Thanks of the help

ls -lsL /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
  76 -rwxrwxrwx1 apache   apache  71328 Mar 24 16:23
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 

ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
   0 lrwxrwxrwx1 root root   58 Apr 10 12:27
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar -
/usr/java/jakarta-tomcat/common/lib/mm.mysql-2.0.2-bin.jar

I also have this in my server.xml
 Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true  /

I have also tried putting a phyichal file there instead of a link

This is driving me crazy

Thanks for any help


-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 10, 2004 1:32 PM
To: Tomcat Users List
Subject: Re: Trying to start tomcat. Should be so simple

On Sat, Apr 10, 2004 at 12:46:02PM -0500, Randy Paries wrote:
: I have two identical boxes. Tomcat starts on one and not the other
: 
: The jar that it says it can not find is there. 
: /WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: It is there
: [snip]
: - Root Cause -
: java.io.FileNotFoundException


What are the perms on said file? i.e. what's the output of ls -l on
each host?

If the jar is a symlink, try ls -lL

-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]



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



Autoreply: RE: Trying to start tomcat. Should be so simple

2004-04-10 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail.apache.org (unverified [208.185.179.12]) by mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
 Sat, 10 Apr 2004 12:27:40 -0700
Message-ID: [EMAIL PROTECTED]
Received: (qmail 41920 invoked by uid 500); 10 Apr 2004 19:27:18 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Reply-To: Tomcat Users List [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 41904 invoked from network); 10 Apr 2004 19:27:18 -
Received: from unknown (HELO smtp.knology.net) (24.214.63.101)
  by daedalus.apache.org with SMTP; 10 Apr 2004 19:27:18 -
Received: (qmail 25486 invoked by uid 542); 10 Apr 2004 19:26:39 -
Received: from [EMAIL PROTECTED] by smtp3.knology.net by uid 502 with 
qmail-scanner-1.20 
 ( Clear:RC:1(24.214.88.68):. 
 Processed in 0.167653 secs); 10 Apr 2004 19:26:39 -
Received: from unknown (HELO BIGBLUE) (24.214.88.68)
  by smtp6.knology.net with SMTP; 10 Apr 2004 19:26:39 -
From: Randy Paries [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Trying to start tomcat. Should be so simple
Date: Sat, 10 Apr 2004 14:26:29 -0500
MIME-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
In-Reply-To: [EMAIL PROTECTED]
Thread-Index: AcQfKhx5/KjMvsgxSFmCl9tYYzFL3gABzILA
X-Qmail-Scanner-Message-ID: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

Thanks of the help

ls -lsL /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
  76 -rwxrwxrwx1 apache   apache  71328 Mar 24 16:23
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 

ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar 
   0 lrwxrwxrwx1 root root   58 Apr 10 12:27
/home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar -
/usr/java/jakarta-tomcat/common/lib/mm.mysql-2.0.2-bin.jar

I also have this in my server.xml
 Resources className=org.apache.naming.resources.FileDirContext
allowLinking=true  /

I have also tried putting a phyichal file there instead of a link

This is driving me crazy

Thanks for any help


-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 10, 2004 1:32 PM
To: Tomcat Users List
Subject: Re: Trying to start tomcat. Should be so simple

On Sat, Apr 10, 2004 at 12:46:02PM -0500, Randy Paries wrote:
: I have two identical boxes. Tomcat starts on one and not the other
: 
: The jar that it says it can not find is there. 
: /WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: If I do ls -ls /home/unitnetWebapps/WEB-INF/lib/mm.mysql-2.0.2-bin.jar
: It is there
: [snip]
: - Root Cause -
: java.io.FileNotFoundException


What are the perms on said file? i.e. what's the output of ls -l on
each host?

If the jar is a symlink, try ls -lL

-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]



-
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]



Using Commons Daemon to start Tomcat

2004-04-08 Thread Wilson, Allen
Title: Message



*** Note this is a 
breakoff from the Connecting the HTTP Server and Tomcat thread 
***

I found the 
BootstrapService and BootstrapServiceContext files and I will look at them for 
methods on implementing them. I also looked at the thread from the link you 
provided and it looks like there is not need for a class to implement the 
daemon. It look like a script was created that passed parameters to the jsvc for 
starting and stopping. 

Is this 
correct...and if so...why is the class needed

Allen
This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

RE: Using Commons Daemon to start Tomcat

2004-04-08 Thread Shapira, Yoav

Hi,
The link said the class exists for tomcat 4, but you need to write something like it 
for tomcat 5.

Yoav Shapira
Millennium Research Informatics

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 12:41 PM
To: Tomcat Users List
Subject: Using Commons Daemon to start Tomcat

*** Note this is a breakoff from the Connecting the HTTP Server and Tomcat thread ***
 
I found the BootstrapService and BootstrapServiceContext files and I will look at them 
for methods on implementing them. I also looked at the thread from the link you 
provided and it looks like there is not need for a class to implement the daemon. It 
look like a script was created that passed parameters to the jsvc for starting and 
stopping.
 
Is this correct...and if so...why is the class needed
 
Allen



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: Using Commons Daemon to start Tomcat

2004-04-08 Thread Wilson, Allen
I don't have Tomcat 5..I have Tomcat 4...so the BootstrapServiceContext is the class 
to use with jsvc..

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 1:26 PM
To: Tomcat Users List
Subject: RE: Using Commons Daemon to start Tomcat



Hi,
The link said the class exists for tomcat 4, but you need to write something like it 
for tomcat 5.

Yoav Shapira
Millennium Research Informatics

-Original Message-
From: Wilson, Allen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 12:41 PM
To: Tomcat Users List
Subject: Using Commons Daemon to start Tomcat

*** Note this is a breakoff from the Connecting the HTTP Server and Tomcat thread ***
 
I found the BootstrapService and BootstrapServiceContext files and I will look at them 
for methods on implementing them. I also looked at the thread from the link you 
provided and it looks like there is not need for a class to implement the daemon. It lo
ok like a script was created that passed parameters to the jsvc for starting and 
stopping. 
 
Is this correct...and if so...why is the class needed
 
Allen



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


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

This message may contain proprietary or confidential company information.
Any unauthorized use or disclosure is prohibited.


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

unable to start tomcat 5.0.19 using startup launcher file

2004-04-03 Thread daffy duck
Hi, 
 
Does anyone know how to start tomcat 5.0.19 using startup-using-launcher.bat?
 
I tried and it gives me error
 
F:\jakarta-tomcat-5.0.19\binstartup-using-launcher
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/AntMain
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at org.apache.commons.launcher.Launcher.start(Launcher.java:385)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at LauncherBootstrap.main(LauncherBootstrap.java:185)
 
Thanks


-
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway - Enter today

Re: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Nikola Milutinovic
George Leeman Jr wrote:


Today I downloaded and installed Tomcat 5.0.16.  I get the sequence shown
below.  How do I fix this problem?
Thanks, George Leeman
c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run

Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   C:\e\j2se1.3.0
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
Could be that you're using 1.3.x JDK, which doesn't come with XML APIs. Get a 
hold of Xerces and install it. http://wml.apache.org/

Nix.

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


RE: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Ralph Einfeldt
Sounds more like the class is there, but in an outdated version.

 -Original Message-
 From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]
 Sent: Friday, January 16, 2004 8:28 AM
 To: Tomcat Users List
 Subject: Re: Cannot start Tomcat 5.0.16.
 
 
  java.lang.reflect.InvocationTargetException: 
 java.lang.NoSuchMethodError:
  javax.xml.parsers.SAXParser: method 
 getXMLReader()Lorg/xml/sax/XMLReader;
 
 Could be that you're using 1.3.x JDK, which doesn't come with 
 XML APIs. Get a hold of Xerces and install it. http://wml.apache.org/
 

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



Re: Cannot start Tomcat 5.0.16.

2004-01-16 Thread Nikola Milutinovic
Ralph Einfeldt wrote:

Sounds more like the class is there, but in an outdated version.
Grab the latest at http://xml.apache.org/ and place it under 
${JAVA_HOME}/jre/lib/ext/

Nix.

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


RE: Cannot start Tomcat 5.0.16.

2004-01-16 Thread George Leeman Jr




To: Yoav Shapira, Nikola Milutinovic, Ralph Einfeldt:

 Your pertinent comments led me to the right solution.  I first tried
adding xerces.jar to the ...\jakarta-tomcat-5.0.16\common\lib directory,
but the problem remained.  I then threw away JDK 1.3.0 and replaced it by
JDK 1.3.1_03, and everything worked fine.
 Thanks for your help.

George Leeman
--

-Original Message-
From: George Leeman Jr [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 11:15 AM
To: [EMAIL PROTECTED]
Subject: Cannot start Tomcat 5.0.16.
Importance: High

Today I downloaded and installed Tomcat 5.0.16.  I get the sequence shown
below.  How do I fix this problem?
Thanks, George Leeman

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run

Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   C:\e\j2se1.3.0
java.lang.reflect.InvocationTargetException:
java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
not found
  at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
  at org.apache.commons.digester.Digester.parse(Digester.java:1548)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:515)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bin





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



Cannot start Tomcat 5.0.16.

2004-01-15 Thread George Leeman Jr




Today I downloaded and installed Tomcat 5.0.16.  I get the sequence shown
below.  How do I fix this problem?
Thanks, George Leeman

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run

Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   C:\e\j2se1.3.0
java.lang.reflect.InvocationTargetException: java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method getXMLReader()Lorg/xml/sax/XMLReader;
not found
  at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
  at org.apache.commons.digester.Digester.parse(Digester.java:1548)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:515)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bin


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



RE: Cannot start Tomcat 5.0.16.

2004-01-15 Thread Shapira, Yoav

Howdy
What JDK are you using?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: George Leeman Jr [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 11:15 AM
To: [EMAIL PROTECTED]
Subject: Cannot start Tomcat 5.0.16.
Importance: High





Today I downloaded and installed Tomcat 5.0.16.  I get the sequence
shown
below.  How do I fix this problem?
Thanks, George Leeman

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run

Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   C:\e\j2se1.3.0
java.lang.reflect.InvocationTargetException:
java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method
getXMLReader()Lorg/xml/sax/XMLReader;
not found
  at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
  at org.apache.commons.digester.Digester.parse(Digester.java:1548)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:515)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bin


-
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: Cannot start Tomcat 5.0.16.

2004-01-15 Thread George Leeman Jr




Here's the complete information on the java JDK:
java version 1.3.0
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cn130-20010925 (JIT enabled:
jitc))
--



   

  Shapira, Yoav  

  [EMAIL PROTECTED]To:   Tomcat Users List [EMAIL 
PROTECTED]  
  .comcc: 

   Subject:  RE: Cannot start Tomcat 
5.0.16.   
  01/15/2004 11:22 

  AM   

  Please respond to

  Tomcat Users

  List

   

   




Howdy
What JDK are you using?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: George Leeman Jr [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 11:15 AM
To: [EMAIL PROTECTED]
Subject: Cannot start Tomcat 5.0.16.
Importance: High





Today I downloaded and installed Tomcat 5.0.16.  I get the sequence
shown
below.  How do I fix this problem?
Thanks, George Leeman

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bincatalina run

Using CATALINA_BASE:   ..
Using CATALINA_HOME:   ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME:   C:\e\j2se1.3.0
java.lang.reflect.InvocationTargetException:
java.lang.NoSuchMethodError:
javax.xml.parsers.SAXParser: method
getXMLReader()Lorg/xml/sax/XMLReader;
not found
  at
org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
  at org.apache.commons.digester.Digester.parse(Digester.java:1548)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:515)
  at org.apache.catalina.startup.Catalina.load(Catalina.java:553)
  at java.lang.reflect.Method.invoke(Native Method)
  at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:397)

c:\e\Tomcat5.0.16\jakarta-tomcat-5.0.16\bin






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



RE: Start Tomcat

2003-11-13 Thread Simon Allen
I can verify that Tomcat does not start.

-Original Message-
From:   Lee, PaulNYC [SMTP:[EMAIL PROTECTED]
Sent:   Wednesday, November 12, 2003 10:38 PM
To: 'Tomcat Users List'
Subject:RE: Start Tomcat

Hi Simon,

Just because the window disappeared doesn't mean tomcat didn't actually
start.  Can you verify?  

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 5:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using 
the Start Tomcat in the Windows Start Menu the banner appears, disappears 
after a few seconds with no further action.

Any advice?

Thanks

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

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

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



AW: Start Tomcat

2003-11-13 Thread Andreas Mohrig
Simon, 

I suspect that some environment variable is incorrectly set (or not set at
all). Try to add the 'pause' at the end of the batch-file as Patrick
suggested. This should reveal whats wrong.

Greetings

Andreas Mohrig

-Ursprungliche Nachricht-
Von: Simon Allen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 10:05
An: 'Tomcat Users List'
Betreff: RE: Start Tomcat


I can verify that Tomcat does not start.

-Original Message-
From:   Lee, PaulNYC [SMTP:[EMAIL PROTECTED]
Sent:   Wednesday, November 12, 2003 10:38 PM
To: 'Tomcat Users List'
Subject:RE: Start Tomcat

Hi Simon,

Just because the window disappeared doesn't mean tomcat didn't actually
start.  Can you verify?  

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2003 5:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using 
the Start Tomcat in the Windows Start Menu the banner appears, disappears 
after a few seconds with no further action.

Any advice?

Thanks

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

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

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


RE: Start Tomcat

2003-11-13 Thread Simon Allen
I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway. 
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I try and run 
this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have set an 
environment variable during set up?

ta

-Original Message-
From:   Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:   Wednesday, November 12, 2003 11:08 PM
To: Tomcat Users List
Subject:RE: Start Tomcat

Simon,

If you add 'pause' as last line in you startup.bat you can see what (error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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

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



Re: Start Tomcat

2003-11-13 Thread Kwok Peng Tuck
Hello Simon,
  Run the catalina batch file, passing in the argument run like 
this(without the quotes of course):

  catalina.bat run
  
   This will run tomcat in the current window, from there you 
should be able to see the errors that
tomcat throws out.
 



Simon Allen wrote:

I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway. 
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I try and run this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have set an environment variable during set up?

ta

-Original Message-
From:   Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:   Wednesday, November 12, 2003 11:08 PM
To: Tomcat Users List
Subject:RE: Start Tomcat
Simon,

If you add 'pause' as last line in you startup.bat you can see what (error)
messages Tomcat outputs.
Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat
Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.
Any advice?

Thanks

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


 



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


RE: Start Tomcat

2003-11-13 Thread Yim Lai
Hi,
I have the same problem. There are two windows that pop up when start the
tomcat from the startup.bat and adding pause to the startup.bat close the
window which doesn't display the error messages. Is the anyway to solve
this. Thank you.

Yim Lai

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
ache.org]On Behalf Of Patrick Willart
Sent: Thursday, November 13, 2003 7:08 AM
To: Tomcat Users List
Subject: RE: Start Tomcat


Simon,

If you add 'pause' as last line in you startup.bat you can see what (error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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






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



RE: Start Tomcat

2003-11-13 Thread Simon Allen
OK. One thing i forgot about was that when I run startup.bat I get two dos 
windows open. The first line of the startup window is syntax error. 
Having run catalina.bat I'm now getting more feedback. After syntax error I 
am getting out of environment space. After 4 lines providing information 
on directories being used there are 3 more lines stating out of 
environment space . Then bad command or file name.

Thanks

-Original Message-
From:   Kwok Peng Tuck [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:23 AM
To: Tomcat Users List
Subject:Re: Start Tomcat

Hello Simon,
   Run the catalina batch file, passing in the argument run like
this(without the quotes of course):

   catalina.bat run

This will run tomcat in the current window, from there you
should be able to see the errors that
tomcat throws out.




Simon Allen wrote:

I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway.
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I 
try and run this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have 
set an environment variable during set up?

ta

-Original Message-
From:  Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, November 12, 2003 11:08 PM
To:Tomcat Users List
Subject:   RE: Start Tomcat

Simon,

If you add 'pause' as last line in you startup.bat you can see what 
(error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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

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







-
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: Start Tomcat

2003-11-13 Thread Simon Allen
do you add the pause statement before or after the end statement?

-Original Message-
From:   Yim Lai [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:37 AM
To: Tomcat Users List
Subject:RE: Start Tomcat

Hi,
I have the same problem. There are two windows that pop up when start the
tomcat from the startup.bat and adding pause to the startup.bat close the
window which doesn't display the error messages. Is the anyway to solve
this. Thank you.

Yim Lai

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
ache.org]On Behalf Of Patrick Willart
Sent: Thursday, November 13, 2003 7:08 AM
To: Tomcat Users List
Subject: RE: Start Tomcat


Simon,

If you add 'pause' as last line in you startup.bat you can see what (error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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






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

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



RE: Start Tomcat

2003-11-13 Thread Galbayar
run catalina.bat run from command prompt

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 5:39 PM
To: 'Tomcat Users List'
Subject: RE: Start Tomcat


do you add the pause statement before or after the end statement?

-Original Message-
From:   Yim Lai [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:37 AM
To: Tomcat Users List
Subject:RE: Start Tomcat

Hi,
I have the same problem. There are two windows that pop up when start the
tomcat from the startup.bat and adding pause to the startup.bat close the
window which doesn't display the error messages. Is the anyway to solve
this. Thank you.

Yim Lai

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
ache.org]On Behalf Of Patrick Willart
Sent: Thursday, November 13, 2003 7:08 AM
To: Tomcat Users List
Subject: RE: Start Tomcat


Simon,

If you add 'pause' as last line in you startup.bat you can see what (error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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






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

-
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]



AW: Start Tomcat

2003-11-13 Thread Andreas Mohrig
Simon, 

then this can be remedied. From
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

(5) Troubleshooting:

[...]

2) An out of environment space error when running the batch files in
   Win9X/ME-based operating systems.

   Right-click on the STARTUP.BAT and SHUTDOWN.BAT files.  Click on
   Properties then on the Memory tab.  For the Initial environment
field,
   enter in something like 4096.
   
   After you click apply, Windows will create shortcuts in the directory
with
   which you can use to start and stop the container.

Greetings

Andreas Mohrig
-Ursprungliche Nachricht-
Von: Simon Allen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 10:38
An: 'Tomcat Users List'
Betreff: RE: Start Tomcat


OK. One thing i forgot about was that when I run startup.bat I get two dos 
windows open. The first line of the startup window is syntax error. 
Having run catalina.bat I'm now getting more feedback. After syntax error I 
am getting out of environment space. After 4 lines providing information 
on directories being used there are 3 more lines stating out of 
environment space . Then bad command or file name.

Thanks

-Original Message-
From:   Kwok Peng Tuck [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:23 AM
To: Tomcat Users List
Subject:Re: Start Tomcat

Hello Simon,
   Run the catalina batch file, passing in the argument run like
this(without the quotes of course):

   catalina.bat run

This will run tomcat in the current window, from there you
should be able to see the errors that
tomcat throws out.




Simon Allen wrote:

I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway.
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I 
try and run this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have 
set an environment variable during set up?

ta

-Original Message-
From:  Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, November 12, 2003 11:08 PM
To:Tomcat Users List
Subject:   RE: Start Tomcat

Simon,

If you add 'pause' as last line in you startup.bat you can see what 
(error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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

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







-
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: Start Tomcat

2003-11-13 Thread Simon Allen
Still no change I'm afraid. I had already set the Initial memory to a 
higher level though not 4096. 4096 still no good.

I re-iterate that there was no problem running the batch files, only with 
using the start menu. I am using Tomcat 5.0 and did not have this problem 
with earlier version. I am running on win98 with a Pentium 200Mhz, 196 RAM.

-Original Message-
From:   Andreas Mohrig [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:47 AM
To: 'Tomcat Users List'
Subject:AW: Start Tomcat

Simon,

then this can be remedied. From
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

(5) Troubleshooting:

[...]

2) An out of environment space error when running the batch files in
   Win9X/ME-based operating systems.

   Right-click on the STARTUP.BAT and SHUTDOWN.BAT files.  Click on
   Properties then on the Memory tab.  For the Initial environment
field,
   enter in something like 4096.

   After you click apply, Windows will create shortcuts in the directory
with
   which you can use to start and stop the container.

Greetings

Andreas Mohrig
-Ursprungliche Nachricht-
Von: Simon Allen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 10:38
An: 'Tomcat Users List'
Betreff: RE: Start Tomcat


OK. One thing i forgot about was that when I run startup.bat I get two dos
windows open. The first line of the startup window is syntax error.
Having run catalina.bat I'm now getting more feedback. After syntax error I 
am getting out of environment space. After 4 lines providing information
on directories being used there are 3 more lines stating out of
environment space . Then bad command or file name.

Thanks

-Original Message-
From:   Kwok Peng Tuck [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:23 AM
To: Tomcat Users List
Subject:Re: Start Tomcat

Hello Simon,
   Run the catalina batch file, passing in the argument run like
this(without the quotes of course):

   catalina.bat run

This will run tomcat in the current window, from there you
should be able to see the errors that
tomcat throws out.




Simon Allen wrote:

I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway.
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I 
try and run this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have 
set an environment variable during set up?

ta

-Original Message-
From:  Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, November 12, 2003 11:08 PM
To:Tomcat Users List
Subject:   RE: Start Tomcat

Simon,

If you add 'pause' as last line in you startup.bat you can see what
(error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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

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







-
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: Start Tomcat

2003-11-13 Thread Stuart Stephen
Does Tomcat 5.0 give you a distinct advantage or are you upgrading just for
the sake of it? If the earlier versions ran fine and it's not imperative
that you run 5.0 then I would suggest you revert back to the previous
configuration.

If it's not broke, don't fix it.

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 10:03
To: 'Tomcat Users List'
Subject: RE: Start Tomcat


Still no change I'm afraid. I had already set the Initial memory to a
higher level though not 4096. 4096 still no good.

I re-iterate that there was no problem running the batch files, only with
using the start menu. I am using Tomcat 5.0 and did not have this problem
with earlier version. I am running on win98 with a Pentium 200Mhz, 196 RAM.

-Original Message-
From:   Andreas Mohrig [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:47 AM
To: 'Tomcat Users List'
Subject:AW: Start Tomcat

Simon,

then this can be remedied. From
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

(5) Troubleshooting:

[...]

2) An out of environment space error when running the batch files in
   Win9X/ME-based operating systems.

   Right-click on the STARTUP.BAT and SHUTDOWN.BAT files.  Click on
   Properties then on the Memory tab.  For the Initial environment
field,
   enter in something like 4096.

   After you click apply, Windows will create shortcuts in the directory
with
   which you can use to start and stop the container.

Greetings

Andreas Mohrig
-Ursprungliche Nachricht-
Von: Simon Allen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 10:38
An: 'Tomcat Users List'
Betreff: RE: Start Tomcat


OK. One thing i forgot about was that when I run startup.bat I get two dos
windows open. The first line of the startup window is syntax error.
Having run catalina.bat I'm now getting more feedback. After syntax error I
am getting out of environment space. After 4 lines providing information
on directories being used there are 3 more lines stating out of
environment space . Then bad command or file name.

Thanks

-Original Message-
From:   Kwok Peng Tuck [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:23 AM
To: Tomcat Users List
Subject:Re: Start Tomcat

Hello Simon,
   Run the catalina batch file, passing in the argument run like
this(without the quotes of course):

   catalina.bat run

This will run tomcat in the current window, from there you
should be able to see the errors that
tomcat throws out.




Simon Allen wrote:

I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway.
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I
try and run this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have
set an environment variable during set up?

ta

-Original Message-
From:  Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, November 12, 2003 11:08 PM
To:Tomcat Users List
Subject:   RE: Start Tomcat

Simon,

If you add 'pause' as last line in you startup.bat you can see what
(error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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

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







-
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]




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



RE: Start Tomcat

2003-11-13 Thread Simon Allen
I used the later version as I was re-installing software following a 
necessary change in operating system. Naturally I took the latest version. 
Even if we are unable to sort this here, I would suggest it is a question 
which needs resolving.

-Original Message-
From:   Stuart Stephen [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 10:24 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject:RE: Start Tomcat

Does Tomcat 5.0 give you a distinct advantage or are you upgrading just for
the sake of it? If the earlier versions ran fine and it's not imperative
that you run 5.0 then I would suggest you revert back to the previous
configuration.

If it's not broke, don't fix it.

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: 13 November 2003 10:03
To: 'Tomcat Users List'
Subject: RE: Start Tomcat


Still no change I'm afraid. I had already set the Initial memory to a
higher level though not 4096. 4096 still no good.

I re-iterate that there was no problem running the batch files, only with
using the start menu. I am using Tomcat 5.0 and did not have this problem
with earlier version. I am running on win98 with a Pentium 200Mhz, 196 RAM.

-Original Message-
From:   Andreas Mohrig [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:47 AM
To: 'Tomcat Users List'
Subject:AW: Start Tomcat

Simon,

then this can be remedied. From
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

(5) Troubleshooting:

[...]

2) An out of environment space error when running the batch files in
   Win9X/ME-based operating systems.

   Right-click on the STARTUP.BAT and SHUTDOWN.BAT files.  Click on
   Properties then on the Memory tab.  For the Initial environment
field,
   enter in something like 4096.

   After you click apply, Windows will create shortcuts in the directory
with
   which you can use to start and stop the container.

Greetings

Andreas Mohrig
-Ursprungliche Nachricht-
Von: Simon Allen [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 10:38
An: 'Tomcat Users List'
Betreff: RE: Start Tomcat


OK. One thing i forgot about was that when I run startup.bat I get two dos
windows open. The first line of the startup window is syntax error.
Having run catalina.bat I'm now getting more feedback. After syntax error I
am getting out of environment space. After 4 lines providing information
on directories being used there are 3 more lines stating out of
environment space . Then bad command or file name.

Thanks

-Original Message-
From:   Kwok Peng Tuck [SMTP:[EMAIL PROTECTED]
Sent:   Thursday, November 13, 2003 9:23 AM
To: Tomcat Users List
Subject:Re: Start Tomcat

Hello Simon,
   Run the catalina batch file, passing in the argument run like
this(without the quotes of course):

   catalina.bat run

This will run tomcat in the current window, from there you
should be able to see the errors that
tomcat throws out.




Simon Allen wrote:

I have now written pause at the end of startup.bat.
This has no effect as the dos window doesn't open anyway.
I notice that the target of the Start Tomcat button is Tomcatw.exe. When I
try and run this file nothing happens.
Bearing in mind that startup.bat works fine if run directly, should I have
set an environment variable during set up?

ta

-Original Message-
From:  Patrick Willart [SMTP:[EMAIL PROTECTED]
Sent:  Wednesday, November 12, 2003 11:08 PM
To:Tomcat Users List
Subject:   RE: Start Tomcat

Simon,

If you add 'pause' as last line in you startup.bat you can see what
(error)
messages Tomcat outputs.

Patrick

-Original Message-
From: Simon Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2003 2:31 PM
To: '[EMAIL PROTECTED]'
Subject: Start Tomcat


Hi

I am able to start Tomcat from startup.bat but when I try to do so using
the Start Tomcat in the Windows Start Menu the banner appears, disappears
after a few seconds with no further action.

Any advice?

Thanks

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


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

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







-
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

  1   2   3   4   >