tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to configure (server.xml) for mysql dev with tomcat/JDBC
Date Tue, 15 Jan 2008 01:08:59 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Cuco,

cuco2772 wrote:
| So it seems to be complaining about my context.xml. The offending line
| looks to be :
|
|  <Context path="/DBTest" docBase="DBTest"
|         debug="5" reloadable="true" crossContext="true">
|
| Could the path attribute be incorrect ? I followed the directions
| exactly.

I think those instructions have been (sadly) broken for a long time. I'm
not sure why nobody has fixed them:

<Context> elements in META-INF/context.xml /should not/ contain "path"
of "docBase" attributes at all. Remove them. That change may fix your
404 problems, then we can move on to the JDBC issues.

As for your non-well-formed XML file, you'll have to post more of the
XML file or debug it yourself. The line of XML you provided is perfectly
valid, so the error must be somewhere else or involve much more of the
document that you posted.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkeMB6sACgkQ9CaO5/Lv0PCKuACgmT8cw5YEwfsquCFTi/uwrZ0Q
YS8An1p89hVUHbLqP0G3FlyTDhSyLWqK
=QIvg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message