I have FC4 as updated, and a slew of Java packages installed in order to run tomcat. I get the following error when trying to start it:
-------------------------------------------------- [root@taltos lib]# service tomcat5 start Starting tomcat5: lock file found but no process running for pid 11395, 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: warning: you have specified the -mindepth option after a non-option argument -type, but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
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 [ OK ] [root@taltos lib]# --------------------------------------------------
I notice that /var/lib/tomcat5/common/lib/[jta].jar -> /could/not/find/extension/for/this/jvm, which is a cute way of telling me that the symlink is broken. OK, what should this link point to?
-------------------------------------------------- [root@taltos lib]# locate jta | xargs ls -l -rwx------ 1 ccurley ccurley 6841 May 26 13:06 /home/ccurley/.emacs.d/site-lisp/jde/lisp/jtags -rwx------ 1 ccurley ccurley 6678 May 26 13:06 /home/ccurley/.emacs.d/site-lisp/jde/lisp/jtags.csh lrwxrwxrwx 1 root root 51 Aug 18 13:10 /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0/jta-1.4.2.0.jar -> /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/jta.jar lrwxrwxrwx 1 root root 15 Aug 18 13:10 /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0/jta-1.4.2.jar -> jta-1.4.2.0.jar lrwxrwxrwx 1 root root 15 Aug 18 13:10 /usr/lib/jvm-exports/java-1.4.2-gcj-1.4.2.0/jta.jar -> jta-1.4.2.0.jar lrwxrwxrwx 1 root root 32 Aug 18 13:10 /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/jta.jar -> /usr/share/java/libgcj-4.0.1.jar lrwxrwxrwx 1 root root 38 Aug 21 19:08 /var/lib/tomcat5/common/lib/[jta].jar -> /could/not/find/extension/for/this/jvm --------------------------------------------------
I have installed Sun's jvm via the jpackage proceedure.
-------------------------------------------------- [root@taltos lib]# pre sun java-1.5.0-sun-1.5.0.04-1jpp java-1.5.0-sun-demo-1.5.0.04-1jpp java-1.5.0-sun-devel-1.5.0.04-1jpp java-1.5.0-sun-fonts-1.5.0.04-1jpp java-1.5.0-sun-alsa-1.5.0.04-1jpp java-1.5.0-sun-plugin-1.5.0.04-1jpp java-1.5.0-sun-jdbc-1.5.0.04-1jpp --------------------------------------------------
Do I need Sun's jdk in order to develop servlets?
Charles Curley wrote:
I have FC4 as updated, and a slew of Java packages installed in order to run tomcat. I get the following error when trying to start it:
[root@taltos lib]# service tomcat5 start Starting tomcat5: lock file found but no process running for pid 11395, 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
This is rawhide tomcat5 I'm guessing. It'll get fixed the next time I rebuild the tomcat5 rpm. It doesn't matter if you're using libgcj.
find: warning: you have specified the -mindepth option after a non-option argument -type, but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
This is one that I will try and remember to fix.
I notice that /var/lib/tomcat5/common/lib/[jta].jar -> /could/not/find/extension/for/this/jvm, which is a cute way of telling me that the symlink is broken. OK, what should this link point to?
/usr/share/java/jta.jar
You need to install the latest geronimo-specs-compat to get it.
I have installed Sun's jvm via the jpackage proceedure.
You didn't need to ;)
Do I need Sun's jdk in order to develop servlets?
No, you can do it with gcj.
Cheers, Gary
On Mon, Aug 22, 2005 at 12:07:04PM +0100, Gary Benson wrote:
Charles Curley wrote:
I have FC4 as updated, and a slew of Java packages installed in order to run tomcat. I get the following error when trying to start it:
[root@taltos lib]# service tomcat5 start Starting tomcat5: lock file found but no process running for pid 11395, 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
This is rawhide tomcat5 I'm guessing. It'll get fixed the next time I rebuild the tomcat5 rpm. It doesn't matter if you're using libgcj.
Nope, it's what shipped with FC4. tomcat5-5.0.30-5jpp_6fc.
find: warning: you have specified the -mindepth option after a non-option argument -type, but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
This is one that I will try and remember to fix.
I notice that /var/lib/tomcat5/common/lib/[jta].jar -> /could/not/find/extension/for/this/jvm, which is a cute way of telling me that the symlink is broken. OK, what should this link point to?
/usr/share/java/jta.jar
You need to install the latest geronimo-specs-compat to get it.
Odd that a package that shipped w/ FC4 is dependent on a package that didn't.
Pulled in & installed those two. "service tomcat5 start" now works. Looks like the manager is home at http://taltos.localdomain:8080/manager/html. At http://taltos.localdomain:8080 I get a white screen of death, which makes sense as there is nothing in $CATALINA_HOME except the balancer directory.
I have installed Sun's jvm via the jpackage proceedure.
You didn't need to ;)
Do I need Sun's jdk in order to develop servlets?
No, you can do it with gcj.
Cool. I took it out.
Cheers, Gary
Thanks
Charles Curley wrote:
On Mon, Aug 22, 2005 at 12:07:04PM +0100, Gary Benson wrote:
Charles Curley wrote:
error: could not find jta Java extension for this JVM
This is rawhide tomcat5 I'm guessing. It'll get fixed the next time I rebuild the tomcat5 rpm. It doesn't matter if you're using libgcj.
Nope, it's what shipped with FC4. tomcat5-5.0.30-5jpp_6fc.
Very odd. Are you using the rawhide java-1.4.2-gcj-compat? What does "rpm -q java-1.4.2-gcj-compat" say on your box?
I notice that /var/lib/tomcat5/common/lib/[jta].jar -> /could/not/find/extension/for/this/jvm, which is a cute way of telling me that the symlink is broken. OK, what should this link point to?
/usr/share/java/jta.jar
You need to install the latest geronimo-specs-compat to get it.
Odd that a package that shipped w/ FC4 is dependent on a package that didn't.
It shouldn't. In FC4 (and rawhide until recently) jta was provided by java-1.4.2-gcj-compat. A couple of weeks ago it was changed to come from geronimo-specs-compat, to make switching JVMs work properly.
Pulled in & installed those two. "service tomcat5 start" now works. Looks like the manager is home at http://taltos.localdomain:8080/manager/html.
Cool.
At http://taltos.localdomain:8080 I get a white screen of death, which makes sense as there is nothing in $CATALINA_HOME except the balancer directory.
Sounds like you don't have tomcat5-webapps installed...
I have installed Sun's jvm via the jpackage proceedure.
You didn't need to ;)
Do I need Sun's jdk in order to develop servlets?
No, you can do it with gcj.
Cool. I took it out.
Nice work ;)
Gary
On Tue, Aug 23, 2005 at 11:38:17AM +0100, Gary Benson wrote:
Charles Curley wrote:
On Mon, Aug 22, 2005 at 12:07:04PM +0100, Gary Benson wrote:
Charles Curley wrote:
error: could not find jta Java extension for this JVM
This is rawhide tomcat5 I'm guessing. It'll get fixed the next time I rebuild the tomcat5 rpm. It doesn't matter if you're using libgcj.
Nope, it's what shipped with FC4. tomcat5-5.0.30-5jpp_6fc.
Very odd. Are you using the rawhide java-1.4.2-gcj-compat?
I better not be. I have had rawhide disabled in /etc/yum.repos.d/.
What does "rpm -q java-1.4.2-gcj-compat" say on your box?
[root@taltos webapps]# rpm -q java-1.4.2-gcj-compat java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.1
Which, if I read all the numbers correctly, is the FC4 version.
I notice that /var/lib/tomcat5/common/lib/[jta].jar -> /could/not/find/extension/for/this/jvm, which is a cute way of telling me that the symlink is broken. OK, what should this link point to?
/usr/share/java/jta.jar
You need to install the latest geronimo-specs-compat to get it.
Odd that a package that shipped w/ FC4 is dependent on a package that didn't.
It shouldn't. In FC4 (and rawhide until recently) jta was provided by java-1.4.2-gcj-compat. A couple of weeks ago it was changed to come from geronimo-specs-compat, to make switching JVMs work properly.
Pulled in & installed those two. "service tomcat5 start" now works. Looks like the manager is home at http://taltos.localdomain:8080/manager/html.
Cool.
At http://taltos.localdomain:8080 I get a white screen of death, which makes sense as there is nothing in $CATALINA_HOME except the balancer directory.
Sounds like you don't have tomcat5-webapps installed...
Didn't. Just added that. Much better, thanks.
java-devel@lists.fedoraproject.org