[fedora-java] Starting Tomcat

Charles Curley charlescurley at charlescurley.com
Tue Aug 23 12:13:24 UTC 2005


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 at 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.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/java-devel/attachments/20050823/63d6004b/attachment.bin 


More information about the java-devel mailing list