acate,

When you do your build for the deployment server, then something like "ant -Ddb.host=dbhostname ..."
should work

Mark

acate wrote:
Please re-read my question.  The server names will not be the same.


Fadi Samara wrote:
well it depends where your database is located.  It is on the same machine
you are deploying to, you should be fine with *localost*

On 12/8/06, acate <[EMAIL PROTECTED]> wrote:
I am new to AppFuse and Spring, but need to build an app that has a mysql
connection.  I can build the app locally and use "localhost" as part of
the
mysql connection parameters.  However, when I deliver the app to the
designated server the host name "localhost" will be different.  What is
the
appropriate strategy to take so that I can build and deploy and
automatically account for the mysql host name?  Thanks for any help.
--
View this message in context:
http://www.nabble.com/AppFuse---Spring-Question-tf2781685s2369.html#a7760891
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to