[Opensource] Deploying Expresso without a "default" database

maxxam at inetfreemail.co.za maxxam at inetfreemail.co.za
Sat Jan 10 06:15:40 PST 2004


Hi Malc/Larry,

Thanks for the fix. Worked great. I had no idea that the two db names were
different.

I'll try to keep you up to date on eapps. So far it's been pretty good,
but I'm still busy trying to deploy my application. Still quite a few bits
to sort out.

Thanks again,
Max

> Hi Max,
>
> The database can be called whatever you like, it is just the context name
> in
> expresso-config.xml that needs to be 'default'.  For example, here is a
> snippet from my expresso-config.xml:
>
>   <context name="default">
> 		<description>Expresso</description>
>     <jdbc
>     	driver="com.sybase.jdbc2.jdbc.SybDriver"
> 	    url="jdbc:sybase:Tds:12.345.678.99:5000/expresso"
> 	    connectFormat="1"
> 			login="mylogin"
> 			password="mypassword"
> 			cache="y"
> 			useNullOnCreate="y"
>
> escapeHandler="com.jcorporate.expresso.core.db.DoubleQuoteEscapeHandler">
> 		</jdbc>
> .....
>
> My database name is 'expresso' as specified in the url attribute.  This is
> for a Sybase database, but I think the principal is the same for mySQL.
>
> HTH
> Malc
>
> -----Original Message-----
> From: maxxam at inetfreemail.co.za [mailto:maxxam at inetfreemail.co.za]
> Sent: 08 January 2004 20:50
> To: opensource at jcorporate.com
> Subject: [Opensource] Deploying Expresso without a "default" database
>
>
> I've just got a hosting plan for my expresso application and am almost
> ready to deploy it. Like most hosting providers, mine (eapps.com) uses a
> shared mysql server. They do not allow me to set-up a database by the name
> of "default". I have tried before to use expresso with a different
> database name but have always come unglued. It seems that expresso needs a
> "default" database to start up initially. AFter that it then allowed me to
> use a different database name.
>
> Is this the case, or am I doing something wrong. Can one deploy an
> expresso app to a server without a default database?
>
> Thanks for the help,
> Max
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
>
>
> ***********************************************************************************************
> The information contained in this message or any of its attachments may be
> confidential and is intended for the exclusive use of the addressee(s).
> Any disclosure, reproduction, distribution or other dissemination or use
> of this communication is strictly prohibited without the express
> permission of the sender. The views expressed in this email are those of
> the individual and not necessarily those of Sony or Sony affiliated
> companies. Sony email is for business use only.
>
> This email and any response may be monitored by Sony United Kingdom
> Limited.
> (04)
> ***********************************************************************************************
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
>




More information about the Opensource mailing list