Ok Problem solved:

ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ODEDB

instead of

ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ode

in the axis2.properties.



On Wed, Dec 16, 2009 at 14:17, Andreas Fritzler
<[email protected]> wrote:
> Hi,
>
> I'm trying to get ODE running with mysql and I'm getting the following
> Error when I start tomcat.
>
> ERROR [Database] Failed to resolved external DataSource at
> "java:comp/env/jdbc/ode".
>
> Tomcat server.xml:
>
> <Context path="/ode" docBase="ode" debug="5" reloadable="true"
> crossContext="true">
> <Resource name="jdbc/ODEDB" auth="Container" type="javax.sql.DataSource"
>        maxActive="100" maxIdle="30" maxWait="10000"
>        username="root" password="admin" 
> driverClassName="com.mysql.jdbc.Driver"
>        url="jdbc:mysql://localhost:3306/ode?autoReconnect=true"/>
> </Context>
>
> In the axis2.properties:
>
> ode-axis2.db.mode=EXTERNAL
> ode-axis2.db.ext.dataSource=java:comp/env/jdbc/ode
>
> Anybody an idea what the problem here is?
>
> Cheers,
> Andreas
>

Reply via email to