I'm using AndroMDA with Tomcat / PostgreSQL. I have never really tried using 
Hypersonic, but I can confirm it doesnt run "out of the box" on Tomcat. I found 
it easier to use the PostgreSQL / MySQL database that we have already running 
here than to learn to set up Hypersonic (shame on me, I should spend more time 
learning).



>From the few docs I read about Hypersonce, it seems there is an embeded mode, 
>so that you dont have to start the DB server outside of your app. I havent 
>tried it inside a container, so I dont know if it could be working within 
>Tomcat.



The easiest way for me was to define a data source in Tomcat's "conf/server.xml"

&nbsp;<GlobalNamingResources>

&nbsp; &nbsp; &#91;...&#93;

&nbsp; &nbsp; <Resource

&nbsp; &nbsp; &nbsp; name="/jdbc/Siems"

&nbsp; &nbsp; &nbsp; type="javax.sql.DataSource"

&nbsp; &nbsp; &nbsp; driverClassName="org.postgresql.Driver"

&nbsp; &nbsp; &nbsp; password="myPassword"

&nbsp; &nbsp; &nbsp; maxIdle="2"

&nbsp; &nbsp; &nbsp; maxWait="5000"

&nbsp; &nbsp; &nbsp; username="myUsername"

&nbsp; &nbsp; &nbsp; url="jdbc&#58;postgresql&#58;//localhost/siems"

&nbsp; &nbsp; &nbsp; maxActive="4"/>

&nbsp; &nbsp; &#91;...&#93;

&nbsp;</GlobalNamingResources>
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1583#1583
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