tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15798] New: - Ampersand in admin password breaks installation
Date Sat, 04 Jan 2003 14:51:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15798>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15798

Ampersand in admin password breaks installation

           Summary: Ampersand in admin password breaks installation
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sam@iki.fi


I was installing: jakarta-tomcat-4.1.18.exe

When the installer asked for admin password,
I provided a password that ends with "&B7".
I cannot give you the actual password, but
let's say it was something like "something&B7"

The installation proceeded normally.

After the installation finished, I tried to
start Tomcat but it failed.

Here are the logs:


============================================================
catalina_log.2003-01-04.txt
---------------------------

2003-01-04 16:21:59 UserDatabaseRealm[Standalone]: Exception looking up 
UserDatabase under key UserDatabase
javax.naming.NamingException: The reference to entity "B7" must end with 
the ';' delimiter.
	at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
	at org.apache.catalina.realm.UserDatabaseRealm.start
(UserDatabaseRealm.java:302)
	at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1173)
	at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2189)
	at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:273)
	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.BootstrapService.start
(BootstrapService.java:245)
	at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)


============================================================
stderr.log
----------

Created catalinaLoader in: C:\Program Files\Apache Group\Tomcat 4.1\server\lib
4.1.2003 16:21:56 org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
4.1.2003 16:21:56 org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
4.1.2003 16:21:57 org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
4.1.2003 16:21:58 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
4.1.2003 16:21:59 org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 7 column 38: The reference to entity "B7" 
must end with the ';' delimiter.
org.xml.sax.SAXParseException: The reference to entity "B7" must end with 
the ';' delimiter.
	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:232)
	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError
(ErrorHandlerWrapper.java:213)
	at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:375)
	at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:305)
	at org.apache.xerces.impl.XMLScanner.reportFatalError
(XMLScanner.java:1269)
	at org.apache.xerces.impl.XMLScanner.scanAttributeValue
(XMLScanner.java:786)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute
(XMLDocumentFragmentScannerImpl.java:818)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:740)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:329)
	at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:525)
	at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:581)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1175)
	at org.apache.commons.digester.Digester.parse(Digester.java:1514)
	at org.apache.catalina.users.MemoryUserDatabase.open
(MemoryUserDatabase.java:416)
	at 
org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance
(MemoryUserDatabaseFactory.java:143)
	at org.apache.naming.factory.ResourceFactory.getObjectInstance
(ResourceFactory.java:186)
	at javax.naming.spi.NamingManager.getObjectInstance
(NamingManager.java:301)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
	at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:205)
	at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:176)
	at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent
(GlobalResourcesLifecycleListener.java:147)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:166)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2182)
	at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:273)
	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.BootstrapService.start
(BootstrapService.java:245)
	at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)
4.1.2003 16:21:59 org.apache.commons.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 7 column 38: The reference to entity "B7" 
must end with the ';' delimiter.
org.xml.sax.SAXParseException: The reference to entity "B7" must end with 
the ';' delimiter.
	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(ErrorHandlerWrapper.java:232)
	at org.apache.xerces.util.ErrorHandlerWrapper.fatalError
(ErrorHandlerWrapper.java:213)
	at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:375)
	at org.apache.xerces.impl.XMLErrorReporter.reportError
(XMLErrorReporter.java:305)
	at org.apache.xerces.impl.XMLScanner.reportFatalError
(XMLScanner.java:1269)
	at org.apache.xerces.impl.XMLScanner.scanAttributeValue
(XMLScanner.java:786)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanAttribute
(XMLDocumentFragmentScannerImpl.java:818)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement
(XMLDocumentFragmentScannerImpl.java:740)
	at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher
.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:329)
	at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:525)
	at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:581)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
	at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1175)
	at org.apache.commons.digester.Digester.parse(Digester.java:1514)
	at org.apache.catalina.users.MemoryUserDatabase.open
(MemoryUserDatabase.java:416)
	at 
org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance
(MemoryUserDatabaseFactory.java:143)
	at org.apache.naming.factory.ResourceFactory.getObjectInstance
(ResourceFactory.java:186)
	at javax.naming.spi.NamingManager.getObjectInstance
(NamingManager.java:301)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:834)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
	at org.apache.catalina.realm.UserDatabaseRealm.start
(UserDatabaseRealm.java:302)
	at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1173)
	at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2189)
	at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:273)
	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.BootstrapService.start
(BootstrapService.java:245)
	at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)
javax.naming.NamingException: The reference to entity "B7" must end with 
the ';' delimiter.
	at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
	at org.apache.catalina.realm.UserDatabaseRealm.start
(UserDatabaseRealm.java:302)
	at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1173)
	at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2189)
	at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:273)
	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.BootstrapService.start
(BootstrapService.java:245)
	at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)



============================================================
stdout.log
----------

Bootstrap: Create Catalina server
Bootstrap: Starting service
GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources
javax.naming.NamingException: The reference to entity "B7" must end with 
the ';' delimiter.
	at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
	at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:205)
	at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:176)
	at 
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent
(GlobalResourcesLifecycleListener.java:147)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(LifecycleSupport.java:166)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2182)
	at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:273)
	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.BootstrapService.start
(BootstrapService.java:245)
	at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Catalina.start: LifecycleException:  No UserDatabase component found under key 
UserDatabase
LifecycleException:  No UserDatabase component found under key UserDatabase
	at org.apache.catalina.realm.UserDatabaseRealm.start
(UserDatabaseRealm.java:309)
	at org.apache.catalina.core.ContainerBase.start
(ContainerBase.java:1173)
	at org.apache.catalina.core.StandardEngine.start
(StandardEngine.java:347)
	at org.apache.catalina.core.StandardService.start
(StandardService.java:497)
	at org.apache.catalina.core.StandardServer.start
(StandardServer.java:2189)
	at org.apache.catalina.startup.CatalinaService.start
(CatalinaService.java:273)
	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.BootstrapService.start
(BootstrapService.java:245)
	at org.apache.catalina.startup.BootstrapService.main
(BootstrapService.java:307)
Bootstrap: Service started

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message