On 19/09/2010 07:25, Tina Schliemann wrote: > Hello, > > > > I try to connect the Tomacat 7 to a mySQL.
> My server.xml looks like that
>
> <?xml version='1.0' encoding='utf-8'?>
This would be easier to read for you, and us, if you removed the comments.
> <Context path="/ode" docBase="ode"
>
> debug="5" reloadable="true" crossContext="true">
Don't put Context definitions in server.xml. Put them in
myapp/META-INF/context.xml, don't use 'path' or 'docBase'.
> <Resource name="jdbc/ode" auth="Container" type="javax.sql.DataSource"
>
> maxActive="100" maxIdle="30" maxWait="10000"
>
> username="root" password="REMOVED!"
> driverClassName="com.mysql.jdbc.Driver"
Probably not a good idea to email your password out to 10k users & a
bunch of sites which republish the mailing list.
> url="jdbc:mysql://localhost:3306/ode"/>
> WARNUNG: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'debug' to '5' did not find a matching property.
This property was deprecated and subsequently removed.
Documentation:
http://tomcat.apache.org/tomcat-7.0-doc/index.html
Configuration:
http://tomcat.apache.org/tomcat-7.0-doc/config/index.html
Have a read of the docs and try to reconfigure your Tomcat.
p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
