Hi,
I am trying to use the run goal of the Codehaus tomcat plugin (
http://mojo.codehaus.org/tomcat-maven-plugin/)
I've defined a jndi datasource in my context.xml - when the embedded tomcat
starts up, it can't find that data source connection.
Is that a bug, or maybe have I done something wrong???
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<warSourceDirectory>src/warsource</warSourceDirectory>
<warFile>${basedir}/target/warfile.war</warFile>
<server>my_server_settings</server>
<url>http://localhost:8080/manager</url>
</configuration>
</plugin>
---
on the console I called it with: mvn tomcat:run
with then fails with:
....
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name....
...
javax.naming.NameNotFoundException: Name backendds is not bound in this
Context
Thanks,
Peter Horlock