Problems with Tomcat 5 and JVM SUN 1.5.0 Update 4 in Fedora 4
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problems with Tomcat 5 and JVM SUN 1.5.0 Update 4 in Fedora 4
Hi all,
I`m having problems with Tomcat 5 startup in FC4.
The two main error messages are:
/usr/bin/rebuild-jar-repository: error: could not find jta Java
extension for this JVM
/usr/bin/rebuild-jar-repository: error: All detected jars were not
found for this jvm
Well, I used google and saw that I had to install geronimo-specs-compat, but when I used YUM to search for it, there`s no such package but geronimo-specs.noarch, that as you can see below, I installed it.
geronimo-specs.noarch 1.0-0.M2.3jpp installed
Matched from:
geronimo-specs
Geronimo J2EE server J2EE specifications
Geronimo is Apache's ASF-licenced J2EE server project.
These are the J2EE-Specifications
I have this geronimo jars installed:
/usr/share/java/geronimo/spec-jsp-2.0.jar
/usr/share/java/geronimo/spec-j2ee-1.4.jar
/usr/share/java/geronimo/spec-servlet-2.4.jar
/usr/share/java/geronimo/spec-jsp-2.0-rc2.jar
/usr/share/java/geronimo/spec-j2ee-deployment-1.1.jar
/usr/share/java/geronimo/spec-j2ee-1.4-rc2.jar
/usr/share/java/geronimo/spec-j2ee-deployment-1.1-rc2.jar
/usr/share/java/geronimo/spec-j2ee-jacc-1.0.jar
/usr/share/java/geronimo/spec-servlet-2.4-rc2.jar
/usr/share/java/geronimo/spec-ejb-2.1-rc2.jar
/usr/share/java/geronimo/spec-j2eeschema-1.0-M2.jar
/usr/share/java/geronimo/spec-j2eeschema-1.0.jar
/usr/share/java/geronimo/spec-j2ee-jacc-1.0-rc2.jar
/usr/share/java/geronimo/spec-ejb-2.1.jar
/usr/share/java/geronimo/spec-jms-1.1-rc2.jar
/usr/share/java/geronimo/spec-j2ee-connector-1.5-rc2.jar
/usr/share/java/geronimo/spec-jms-1.1.jar
/usr/share/java/geronimo/spec-j2ee-management-1.0.jar
/usr/share/java/geronimo/spec-jta-1.0.1B-rc2.jar
/usr/share/java/geronimo/spec-j2ee-connector-1.5.jar
/usr/share/java/geronimo/spec-jta-1.0.1B.jar
/usr/share/java/geronimo/spec-j2ee-management-1.0-rc2.jar
I don`t know if it was the right thing to do, but i`ve created a symbolic link in /var/lib/tomcat5/common/lib/ de [jta].jar -> /usr/share/java/geronimo/spec-jta-1.0.1B-rc2.jar, because this was the only SL marked in RED.
After trying to start tomcat, the SL is lost, showing this red message:
[jta].jar -> /could/not/find/extension/for/this/jvm
Below is the error message:
====================================================
# service tomcat5 start
Starting tomcat5: lock file found but no process running for pid 5726,
continuing
/usr/bin/rebuild-jar-repository: error: could not find jta Java
extension for this JVM
/usr/bin/rebuild-jar-repository: error: All detected jars were not
found for this jvm
find: aviso: especificou a opcao -mindepth apos um argumento nao opcao
-type, mas as opcoes nao sao posicionais (-mindepth afecta os testes
especificados antes, assim como os especificados apos). Por favor,
especifique as opcoes antes dos outros argumentos.
find: aviso: especificou a opcao -maxdepth apos um argumento nao opcao
-type, mas as opcoes nao sao posicionais (-maxdepth afecta os testes
especificados antes, assim como os especificados apos). Por favor,
especifique as opcoes antes dos outros argumentos.
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-1.5.0-sun-1.5.0.04
====================================================
Any help?
I have to remember you that i`m newbie on linux, if i said some bullshit please forgive me.
Forgive my english too, it`s not my first language. :D
Is there any brazilian in this list? I wrote this message in portuguese, so I can send it in private.
I do not about fedora but I usually do to make a startup in Debian and Mandrake:
1. Compile jsvc. Find the source code in $CATALINA_HOME/bin/jsvc-src
2. Create a start-up script, put it in /etc/rc.d/init.d and make the necessary symlinks for the runlevels. Do that scritp base on that on $CATALINA_HOME/bin/jsvc-src/startup.sh - Attention to the version you use.
3. Enjoi it
By the go to site of Apache Tomcat and grab all the documentations you find.
PS: Sory for my English! I speak Portuguese better.
I do not about fedora but I usually do to make a startup in Debian and Mandrake:
1. Compile jsvc. Find the source code in $CATALINA_HOME/bin/jsvc-src
2. Create a start-up script, put it in /etc/rc.d/init.d and make the necessary symlinks for the runlevels. Do that scritp base on that on $CATALINA_HOME/bin/jsvc-src/startup.sh - Attention to the version you use.
3. Enjoi it
By the go to site of Apache Tomcat and grab all the documentations you find.
PS: Sory for my English! I speak Portuguese better.
OrvaQuim (the CaveMan)
But does it resolve the problem of the jta.jar symbolic link?
I do not know about that.
What I am trying to say is:
In Linux for an easy automatic startup you must have a daemon. That should resolve all the paths and classes needed.
It sounds me strange why fedora should use another strange class.
Originally posted by orvaquim I do not know about that.
What I am trying to say is:
In Linux for an easy automatic startup you must have a daemon. That should resolve all the paths and classes needed.
It sounds me strange why fedora should use another strange class.
Caveman
Ok man, I`ll try that too...
Thanks,
Cássio
P.S: Percebi agora que fala português, é Brasileiro também?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.