Hi ,
I am working on UNIX and I am using Apache JServ. I have written an HTTP client to make repetitive calls to the servlet on the server to stress test my application. When i run my application as a standalone, it works fine. When it runs as a servlet it does not seem to find the database.xml, mapping.xml files req. to set JDO config. and loadMapping.
I tried putting them in different directories like : public_html, servlets, my home directory and also tried out different combinations of the classpath. It does not work!!!
I do not know what to do? Where do I put these files and my application .xml file like Person.xml so that the servlet (running on Apache Jserv) can load and read from it.
How should it be specified in the jdo.setConfiguration() and mapping.loadMapping() ?
PLease please please help!!
Thanks,
Shalaka.
>From: "Rajesh Kalluri manduca" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] castor properties file and servlets
>Date: Wed, 17 Apr 2002 14:20:23 -0400
>
>Hi Shalka,
>
>If you have your "server" application of the client server setup as WAR file
>structure, place your castor.properties in WEB-INF/classes. What web/app
>server are you using. And just of curiosity what kind of cleints are you
>writing to talk to the servlets.
>
>Regards
>Rajesh
> -----Original Message-----
> From: Shalaka Chaudhari [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 17, 2002 12:54 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] castor properties file and servlets
>
>
> Hi,
> I am using Castor XML and JDO in a client server setup using
>servlets. Can anyone pl. tell me as to where to put the castor.properteis
>file so that the properties will be picked up by the servlet??
>
> Thanks,
> Shalaka.
>
>
>----------------------------------------------------------------------------
>--
> Get your FREE download of MSN Explorer at http://explorer.msn.com.
> ----------------------------------------------------------- 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