There seems to be a lot of questions around they loading of the runtime
configuration file(s) ('mapping.xml' / 'database.xml'). I've written a
servlet that is simular to the one used for initializing of Log4J.
See:
http://jakarta.apache.org/log4j/docs/manual.html
part 'Initialization servlet'
Through this servlet it's possible to set the path to the '*.xml' files
through your web-containers 'WEB-INF/web.xml' configuration file.
Let me now if it is useful to post here.
Tjeerd
PS: Sorry I hat to do a lot of work today, this Castor init servlet still
needs to be tested.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 18 april 2002 19:29
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Can't find database.xml in weblogic 6.1 startup
> class
>
>
> Has anybody written a startup class in weblogic 6.1 which uses caster.
> All dependent classes need to go in in the serverclasses
> directory - which
> means that the database and mapping xml files need to go in there.
>
> This however causes big problems. The ejb's and the servlets
> will not be
> able to load classes if the xml files are in the system classpath.
>
> Anybody run into this and have a solution
>
> Thanks
> Kevin
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
This e-mail and any attachment is for authorised use by the intended recipient(s)
only. It may contain proprietary material, confidential information and/or be subject
to legal privilege. It should not be copied, disclosed to, retained or used by, any
other party. If you are not an intended recipient then please promptly delete this
e-mail and any attachment and all copies and inform the sender. Thank you.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev