Hi Tim,

A few things:

1) Looks like the install of the tomcat5 package has created a tomcat5
user, but that user is not able to start new shells. This will be a
problem. You can verify this by running "grep tomcat5 /etc/passwd" and
seeing what the shell for the tomcat5 user is set to - it will be the
last field. Can you tell me how you installed tomcat?

2) You are starting tomcat as root (when you use the sudo command), so
you should also verify the java version the same way. It looks to me
like you may have gcj as your default java as root, but Sun Java 1.6 as
user "tpotter". If so, I'd suggest removing gcj entirely, and just using
the Sun JDK. The reason I think you are using gcj is due to all the
error messages that refer to things in "/usr/bin". It may be necessary
to set JAVA_HOME and PATH to include JAVA_HOME/bin for root - happy to
provide advice on doing this if you need it.

Fedora/Redhat is a great platform for running tomcat - just need to get
the installation right, and I'm happy to help you with this.

Cheers, Ben

On Tue, 2008-10-28 at 14:29 -0500, Tim Potter wrote:
> Currently, I am trying to get an instance of tomcat running on a FC6 box.
> 
> [EMAIL PROTECTED] ~]$ /usr/sbin/httpd -version
> Server version: Apache/2.2.3
> Server built:   Sep 11 2006 09:43:05
> [EMAIL PROTECTED] ~]$ java -version
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
> [EMAIL PROTECTED] ~]$ sudo tomcat5 -version
> This account is currently not available.
> 
> [EMAIL PROTECTED] ~]$ sudo /etc/init.d/tomcat5 start
> Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find
> commons-collections Java extension for this JVM
> /usr/bin/rebuild-jar-repository: error: Could not find commons-dbcp Java
> extension for this JVM
> /usr/bin/rebuild-jar-repository: error: Could not find commons-pool Java
> extension for this JVM
> /usr/bin/rebuild-jar-repository: error: Some detected jars were not found
> for this jvm
> /usr/bin/rebuild-jar-repository: error: Could not find commons-beanutils
> Java extension for this JVM
> /usr/bin/rebuild-jar-repository: error: Could not find commons-digester Java
> extension for this JVM
> /usr/bin/rebuild-jar-repository: error: Could not find commons-fileupload
> Java extension for this JVM
> /usr/bin/rebuild-jar-repository: error: Some detected jars were not found
> for this jvm
>                                                            [  FAILED  ]
> [EMAIL PROTECTED] ~]$ cat /var/log/tomcat5/catalina.out
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> This account is currently not available.
> 
> 
> I am looking for general support in this old setup, to fix whatever I broke
> :-)
> 
> Thanks!


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to