LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-20-2005, 08:40 AM   #1
cassao
LQ Newbie
 
Registered: Sep 2005
Location: Salvador, Bahia, Brazil
Distribution: Fedora 4
Posts: 3

Rep: Reputation: 0
Question 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.

Thanks in advance,
Cassio

Last edited by cassao; 09-20-2005 at 08:42 AM.
 
Old 09-20-2005, 09:33 AM   #2
orvaquim
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Hello!

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)
 
Old 09-20-2005, 10:56 AM   #3
cassao
LQ Newbie
 
Registered: Sep 2005
Location: Salvador, Bahia, Brazil
Distribution: Fedora 4
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by orvaquim
Hello!

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?

Thanks.
 
Old 09-21-2005, 12:28 AM   #4
orvaquim
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
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
 
Old 09-21-2005, 07:32 AM   #5
cassao
LQ Newbie
 
Registered: Sep 2005
Location: Salvador, Bahia, Brazil
Distribution: Fedora 4
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
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?
 
Old 09-21-2005, 08:23 AM   #6
orvaquim
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Hello!

Tell me then what happened.


Ps: Nao! Falo de Mocambique. No sudeste de Africa. Era mais facil se me deixassem falar em Portugues.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which distro's implement robust JVM and Tomcat Vince0053 General 4 06-16-2005 05:31 AM
Tomcat on Apache on Fedora 2 Problems praveengot Linux - Networking 0 10-20-2004 05:28 AM
VMware Workstation Problems with new Fedora Core 2 Kernal Update.. Elite_Gamer04 Linux - Software 12 07-20-2004 05:32 PM
tomcat on fedora 2 bumeshrai Linux - Software 3 07-18-2004 10:03 PM
Sun JVM and Konqueror webterractive Linux - Distributions 4 04-11-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration