[CentOS] CentOS 5 and Java

Antonio da Silva Martins Junior asmartins at uem.br
Tue Jun 12 17:33:06 UTC 2007


----- "Daniel de Kok" <danieldk at pobox.com> escreveu:
> On Mon, 2007-06-11 at 16:32 -0300, Antonio da Silva Martins Junior
> wrote:
> > sun.misc.InvalidJarIndexException: Invalid index
> >         at
> sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:854)
> [snip]
> >   Someone had an idea on what I can do?
>=20
> This was recently discussed on the list:
> http://lists.centos.org/pipermail/centos/2007-May/081650.html
>=20
> Upstream has an update to fix the brp-java-repack-jars script:
> http://rhn.redhat.com/errata/RHBA-2007-0365.html
>=20
> To fix this problem, we'd need that update, and rebuild the tomcat
> (and possibly some other packages). You could also try tomcat from
> JPackage, which was already fixed.

 Thanks Daniel,

    I had downloaded and installed the patch from upstream=20
(redhat-rpm-config-8.0.45-17.0.1), then setup=20
(RPM_BUILD_ROOT=3D/usr/share/java/tomcat5/) and run=20
/usr/lib/rpm/redhat/brp-java-repack-jars, after that tomcat5 starts
(with a lot of messages in catalina.out), but it's executing the demos at l=
east :)

    Now it's time to give this machine to his users and wait for the bugs :)


    Thanks,

         Antonio.
--=20
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows     |
| Universidade Estadual de Maring=C3=A1 - Brasil|   what evil lurks in the =
  |
| NPD - N=C3=BAcleo de Processamento de Dados   |       Heart of Men!"     =
  |
| E-Mail: asmartins at uem.br / shadow at uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


--=20
Esta mensagem foi verificada pelo sistema de antiv=EDrus e
 acredita-se estar livre de perigo.




More information about the CentOS mailing list