Thanks for the info on the datasource mapping! I have managed to get bit
further but have run into some more problems:


Problem 1:
----------
Now when I try to deploy the generated code there is an exception like
this:

org.jboss.deployment.DeploymentException: ejb-local-ref:
ejb/Reservation, target not found, add valid ejb-link; - nested
throwable: (javax.naming.NamingException: ejb-local-ref:
ejb/Reservation, target not found, add valid ejb-link)

Should middlegen/xdoclet be generating an ejb-link tag???


Problem 2
---------
I tried manually adding <ejb-link>Reservation</ejb-link> to the web.xml
file (was this the correct thing to do?). I also needed to add links in
web.xml for Flight and Person.

This got me to a stage where I could deploy the airline.ear
successfully. 

Now when I browse http://localhost:8080/struts and click on one of the
links (e.g."Find person") I get the following error:

HTTP ERROR: 500 /struts/personForm.jsp(22,0) Attribute onSubmit invalid
according to the specified TLD
RequestURI=/airline/struts/person.do

Any ideas what the problem is?


Question
--------
As an aside, can anyone explain what the JDO 1.0 and CMP 2.0 tabs are
for in the middlegen GUI ... they are always empty for me ...



Any help very much appreciated!

cheers

--
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