geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshuk Chinmoy Pal Chaudhuri" <>
Subject RE: Relative Path
Date Thu, 25 May 2006 09:03:42 GMT

Thanks Chris.

The part of the reading the configuration file is resolved.But while
parsing that file I am using the Apache Digester. While parsing it, its
giving an error.

ServiceDefConfigHolder is my custom class which is already there in my
jar.I think no issues in that.
It is access controoler error.
Why is there susch error?

        at Method)
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at org.apache.commons.digester.Rule.begin(

Error in creating and parsing the digester to read the

Warm Regards,
Anshuk Pal Chaudhuri

-----Original Message-----
From: Chris Wilkes []
Sent: Thursday, May 25, 2006 10:32 AM
Subject: Re: Relative Path

On Thu, May 25, 2006 at 09:53:20AM +0530, Anshuk Chinmoy Pal Chaudhuri
> But this time it is not reading from that file.I am not sure from
> where exactly is geronimo trying to pick up the
> properties/Property.xml file?????
> Can anyone let me know....where should I put the
> properties/Property.xml file?

Why don't you just print out the results of
  new File("properties/Property.xml").getAbsolutePath()
?  that should tell you.

I put all of my configs that are outside the war in a directory under
the $CATALINA_HOME/conf/ directory, you should have access to that with
the ServletContext.  With Spring it is pretty easy.


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of
the addressee(s). If you are not the intended recipient, please notify the sender by e-mail
and delete the original message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are unlawful. This e-mail
may contain viruses. Infosys has taken every reasonable precaution to minimize this risk,
but is not liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or attachment. Infosys
reserves the right to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

View raw message