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


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to