Ok, i found something out!

I created my andromda projekt like this:

C:Dprojekte>maven andromdapp:generate

 __  __

|  /  |__ _Apache__ ___

| |/| / _`  V / -_) '   ~ intelligent projects ~

|_|  |___,_|_/___|_||_|  v. 1.0.2



Please enter your first and last name (i.e. Chad Brandon):

sdf

Please enter the name of your J2EE project (i.e. Animal Quiz):

sfd

Please enter the id for your J2EE project (i.e. animalquiz):

sdf

Please enter a version for your project (i.e. 1.0-SNAPSHOT):

f

Please enter the base package name for your J2EE project (i.e. 
org.andromda.samples):

sdf.fds.df

Would you like an EAR or standalone WAR (enter 'ear' or 'war')?

war



In  this constellation the JNDI Datasourec name is not generated into the 
applicationContext-datasource.xml.

The other setups take care of that.



After i manualy added that point, my datasource defined in the server.xml is 
used.



So, i  think, this is a little bug in the generation process (except this is 
intended, but i have no idea, why this should be so, since tomcat only takes 
WARs)



cheers,

sven
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1713#1713
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to