Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25780 - Can not start tomcat with JSSL option enabled
Summary: Can not start tomcat with JSSL option enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-02 13:59 UTC by Voicu Liviu
Modified: 2004-02-23 01:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Voicu Liviu 2003-08-02 13:59:37 UTC
Can not start tomcat with JSSL option enabled.
I did debug and got this:

starshooter bin # ./catalina.sh debug -security
Using Security Manager
Initializing jdb ...
> run
run org.apache.catalina.startup.Bootstrap start
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
> 
VM Started: Aug 2, 2003 11:02:01 PM org.apache.commons.digester.Digester 
getParser
SEVERE: Digester.getParser: 
java.security.AccessControlException: access denied (java.io.FilePermission 
/opt/sun-jdk-1.4.1.03/jre/lib/xerces.properties read)
        at java.security.AccessControlContext.
checkPermission(AccessControlContext.java:270)
        at java.security.AccessController.checkPermission(AccessController.java:
401)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
        at java.io.File.exists(File.java:677)
        at org.apache.xerces.util.SecuritySupport12$5.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.xerces.util.SecuritySupport12.getFileExists(Unknown 
Source)
        at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source)
        at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source)
        at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
        at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown 
Source)
        at org.apache.commons.digester.Digester.getParser(Digester.java:692)
        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:908)
        at org.apache.commons.digester.Digester.parse(Digester.java:1543)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: java.lang.NullPointerException
java.lang.NullPointerException
        at org.apache.commons.digester.Digester.getXMLReader(Digester.java:908)
        at org.apache.commons.digester.Digester.parse(Digester.java:1543)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.
invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

The application exited

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




starshooter bin # emerge tomcat -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] net-www/tomcat-4.1.24-r1


starshooter bin # emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.6.0-test2 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz
GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http:
//ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.tu-clausthal.
de/pub/linux/gentoo/ http://ftp.gentoo.or.kr/ http://gentoo.gnukorea.org/ ftp:
//ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo/ http:
//ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.snt.utwente.
nl/pub/os/linux/gentoo/ ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo/ 
http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.
1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt encode foomaticdb gif mad mikmod mmx mpeg png 
quicktime xml2 xv zlib gtkhtml gdbm berkdb slang readline aalib nas bonobo svga 
guile ruby sdl tcpd pam esd imlib oggvorbis motif X x11 gnome -kde alsa qt -arts 
nls python gtk perl java php apache libwww libg++ mysql odbc gpm opengl jpeg 
sse2 cdr ncurses xmms flash ssl spell truetype pdflib cups xft ipv6 nvidia-glx 
freetype xml gtk+ gtk2 fbcon tiff ldap samba xface threads nptl mozilla 
mozcalendar"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fmerge-all-constants -fomit-frame-pointer 
-fprefetch-loop-arrays -mfpmath=sse"
CXXFLAGS="-march=pentium4 -O2 -pipe -fmerge-all-constants -fomit-frame-pointer 
-fprefetch-loop-arrays -mfpmath=sse"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache userpriv usersandbox"
Comment 1 Adrian Almenar 2003-12-19 21:55:26 UTC
Moving this again to java@gentoo.org, so everyone out there can help.
Comment 2 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-22 11:59:17 UTC
Try the new 5.0 ebuilds. It works fine for me there. Everything has been updated now.
Comment 3 Voicu Liviu 2004-02-23 01:29:30 UTC
Thanks