> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Subject: Re: Eclipse with tomcat and mysql
> 
> <Context path="/musicDB" docBase="musicDB"
>         debug="5" reloadable="true" crossContext="true">

Remove the path and docBase attributes - they're not allowed here.

>   <Resource name="jdbc/musicDB" auth="Container" 
> type="javax.sql.DataSource"
>                maxActive="100" maxIdle="30" maxWait="10000"
>                username="javauser" password="javadude" 
> driverClassName="com.mysql.jdbc.Driver"
> url="jdbc:mysql://localhost:3306/musicDb?autoReconnect=true"/>

Where did you put the driver jar?  Is the database up and running on the
same box Tomcat is?  Is it configured for port 3306?  Does the above
work when you get Eclipse out of the way?

> This did not work so I tried the one in lower case which I 
> found in an example on the web.

The web is a great example of Sturgeon's law: "90% of everything is
crap."  Use the real doc, not somebody's misremembered ramblings.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

Reply via email to