tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Hunter <matt...@infodancer.org>
Subject Tomcat 4.1.29 -- SingleSignOn breaks parser?
Date Sun, 16 Nov 2003 07:06:26 GMT
I'm getting the following exception on startup:

2003-11-16 00:40:54.872042500 Catalina.start: java.lang.NullPointerException
2003-11-16 00:40:54.872729500 java.lang.NullPointerException 
2003-11-16 00:40:54.877649500   at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
2003-11-16 00:40:54.878264500   at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
2003-11-16 00:40:54.878857500   at org.apache.commons.digester.Digester.startElement(Digester.java:1276)
2003-11-16 00:40:54.879459500   at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
2003-11-16 00:40:54.880026500   at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
2003-11-16 00:40:54.880627500   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
2003-11-16 00:40:54.881220500   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
2003-11-16 00:40:54.881774500   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
2003-11-16 00:40:54.882301500   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
2003-11-16 00:40:54.882833500   at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
2003-11-16 00:40:54.883375500   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
2003-11-16 00:40:54.883902500   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
2003-11-16 00:40:54.884482500   at org.apache.commons.digester.Digester.parse(Digester.java:1548)
2003-11-16 00:40:54.885058500   at org.apache.catalina.startup.Catalina.start(Catalina.java:449)
2003-11-16 00:40:54.885675500   at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
2003-11-16 00:40:54.886256500   at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
2003-11-16 00:40:54.886823500   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2003-11-16 00:40:54.887434500   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2003-11-16 00:40:54.888109500   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2003-11-16 00:40:54.888666500   at java.lang.reflect.Method.invoke(Method.java:324)
2003-11-16 00:40:54.889248500   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

By trial and error I have determined that this is related to the 
SingleSignOn configuration element (ie, the startup succeeds 
when this element is removed from all hosts, and replacing it 
in even one host brings back the error):

<Valve className="org.apache.catalina.authenticator.SingleSignOn" debug="0" />

I don't see anything in the documentation about this that has 
changed, and the example line (from 4.1.29's example server.xml) 
is identical to the one I am using.

I've got things running without single-sign-on but it would be 
nice to have it working again.  And it seems odd that the parser 
should die with a NPE here, too -- I would hope for a better 
error message and I hardly think there's anything wrong with the 
syntax.

JVM Details: 
engine:~> java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)
Java HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)

Has anyone else run across this?

-- 
Matthew Hunter (matthew@infodancer.org)
Public Key: http://matthew.infodancer.org/public_key.txt

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message