I am using the rel ref for both in the database.xml and mapping.xml.
<database name="DB" engine="db2">
<jndi name="java:jdbc/DB" />
<mapping href="../server/default/conf/defmapping/mapping.xml"/>
</database>
-----Message d'origine-----
De�: Peter Kasson [mailto:pkasson@;hotmail.com]
Envoy�: mercredi 6 novembre 2002 12:36
��: [EMAIL PROTECTED]
Objet�: Re: [castor-dev] Deploying Castor JDO in JBoss
Guy,
That would be ok for the database.xml, but the mapping.xml is referenced
in
that xml as well ... would you use the rel. ref. there as well or would
the
parser auto look there by default ?
Peter
>From: "Guy Di Fulvio" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] Deploying Castor JDO in JBoss
>Date: Tue, 5 Nov 2002 09:36:13 +0100
>
>The root directory in JBoss is ...\bin so you can use relative path
>like:
>"../server/default/conf/defmapping/mapping.xml" when you want to load
>the files.
>
>-----Message d'origine-----
>De�: Peter Kasson [mailto:pkasson@;hotmail.com]
>Envoy�: lundi 4 novembre 2002 21:36
>��: [EMAIL PROTECTED]
>Objet�: [castor-dev] Deploying Castor JDO in JBoss
>
>Greetings,
>
>I have had trouble getting a WAR deployed sucessfully in JBoss with a
>Castor
>JDO project.
>
>The problem is that the mapping.xml and database.xml can't be found ...
>and
>I don't really desired to do a JNDI lookup to get a ref to this unless
I
>
>need to.
>
>Is it possible to deploy a servlet solution to JBoss and get the JDO
>engine
>running without an InitialContext or EJB ?
>
>TIA,
>
>Peter
>
>
>_________________________________________________________________
>Internet access plans that fit your lifestyle -- join MSN.
>http://resourcecenter.msn.com/access/plans/default.asp
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev