hi,
operating system:
Scientific Linux release 6.6 (Carbon)
postgres version
postgresql-server-8.4.2
tomcat version
tomcat6-6.0.24
Tomcat starts and I can reach page at the 8080 port on the server
when I add the following xml file and restart tomcat I get this error:
Feb 23, 2015 9:28:16 AM org.apache.catalina.startup.ContextConfig
processContextConfig
SEVERE: Parse error in context.xml for /cooa
org.xml.sax.SAXParseException; systemId:
file:///etc/tomcat6/Catalina/localhost/cooa.xml; lineNumber: 21;
columnNumber: 12; Error at (21, 12: null
<?xml version="1.0" encoding="UTF-8"?>
<Context>
path="/web/opal/webapps"
docBase="/web/opal/webapps/ROOT"
debug="5"
reloadable="true"
allowLinking="true"
<Resource>
name="jdbc/postgres"
auth="Container"
type="javax.sql.DataSource"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://127.0.0.1:5432/cooa"
username="dbuser"
password="*****"
maxActive="20"
maxIdle="10"
maxWait="10000"
</Resource>
</Context>
Line #21 is the </Resource> ran file past xml parse checker and reports
everything okay.
Been googling it for two days now and can not figure out what I have
done wrong.
Mark
--
Mark Maciolek
Network Administrator
Morse Hall Room 339
603-862-3050
https://www.unh.edu/research/support-units/research-computing-center
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org