G***@xcomp.com.au
2002-07-29 06:44:02 UTC
Hi,
I am using the CVS version of middlegen checked out today (29/7/02),
Jboss 3.0.0, Ant 1.5, and a postgresql database.
I have managed to successfully build the ear file (connect to the DB ok,
etc). When I try to deploy it, Jboss reports the error:
18:22:34,911 ERROR [EjbModule] Initialization failed
org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml :
datasource-mapping not found at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java:365)
...
...
I looked in the generated /build/ejb-meta/META-INF/jbosscmp-jdbc.xml
file and the datasource-mapping tag is indeed empty:
...
<defaults>
<datasource>java:/airline_DS</datasource>
<datasource-mapping></datasource-mapping>
</defaults>
...
Have I missed some configuration somewhere? Can anyone help?
Thanks!
--
Glenn
I am using the CVS version of middlegen checked out today (29/7/02),
Jboss 3.0.0, Ant 1.5, and a postgresql database.
I have managed to successfully build the ear file (connect to the DB ok,
etc). When I try to deploy it, Jboss reports the error:
18:22:34,911 ERROR [EjbModule] Initialization failed
org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml :
datasource-mapping not found at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntityMetaData.java:365)
...
...
I looked in the generated /build/ejb-meta/META-INF/jbosscmp-jdbc.xml
file and the datasource-mapping tag is indeed empty:
...
<defaults>
<datasource>java:/airline_DS</datasource>
<datasource-mapping></datasource-mapping>
</defaults>
...
Have I missed some configuration somewhere? Can anyone help?
Thanks!
--
Glenn