How is it trying to read the property file? I'd assumed that it was
doing getClass().getResourceAsStream("MATS.properties").

If that is correct, the locations you list should be right.

is it 'mats.properties' or 'MATS.properties'? This may be case
sensitive.

[EMAIL PROTECTED] wrote:
> 
> Sorry if this is a stupid question, but what do you mean by conf/<configname>?
> 
> I placed my file (mats.properties) in the following directories
> 
>      \jboss_tomcat\jboss-2.0-final\conf\
>      \jboss_tomcat\jboss-2.0-final\conf\default
>      \jboss_tomcat\jboss-2.0-final\conf\tomcat
> 
> all of which ended up in the following message from jBoss:
> 
> [EmbeddedTomcat] Caught IOException: java.io.FileNotFoundException:
> MATS.properties (The system cannot find the file spe
> cified) trying to open file named MATS.properties
> 
> The properies file in question holds important information about where logging
> information is stored on disk. I know this is a nit but it would help me out a
> lot.
> 
> Any help would be greatly appreciated.
> 
> Thanks!
> 
> danch <[EMAIL PROTECTED]> on 03/08/2001 04:08:19 PM
> 
> Please respond to "JBoss-User" <[EMAIL PROTECTED]>
> 
> To:   JBoss-User <[EMAIL PROTECTED]>
> cc:    (bcc: Kevin Monaghan/US/GM/GMC)
> Subject:  Re: [jBoss-User] Where are "properties" or "parameters" files
>       readfrom?
> 
> put it in (or under) conf/default (or conf/<configuration name>)
> 
> Do you know if the property file is loaded as '/filename' or
> 'org/something/filename'? In the first case, it needs to be in the root
> of the classpath (which is right in conf/<configname>), in the other it
> needs to be in a path under it that matches the specified path.
> 
> danch
> 
> [EMAIL PROTECTED] wrote:
> >
> > I am trying to use jLog 1.0 with jBoss 2.0 (final) to do all my logging and it
> > needs to read a properties file. Where do I put the properties file so that it
> > can be successfully read? BTW, I am using ANT to do builds.
> >
> > Thanks in advance,
> >
> > Kevin
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to