You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ralph Goers <Ra...@digitalinsight.com> on 2003/12/17 19:44:26 UTC

RE: CatalogManager.properties

Sorry. typo in my message. Yes, replace Catalog.properties with
CatalogManager.properties in my message below.

Ralph

> -----Original Message-----
> From: Gould, Troy (ELS) [mailto:T.Gould@Elsevier.com]
> Sent: Wednesday, December 17, 2003 10:40 AM
> To: 'users@cocoon.apache.org'
> Subject: RE: Catalog.properties
> 
> 
> I'm pretty sure it's suppose to be CatalogManager.properties, not
> Catalog.properties.
> 
> 
> -----Original Message-----
> From: Ralph Goers [mailto:Ralph.Goers@digitalinsight.com]
> Sent: Wednesday, December 17, 2003 11:37 AM
> To: users@cocoon.apache.org
> Subject: Catalog.properties
> 
> 
> I have packaged my cocoon webapp as a war file in an ear.  I 
> am running it
> in weblogic 8.1. Whenever I deploy the webapp I get "Cannot find
> Catalog.properties". The file is in WEB-INF/classes.  I have 
> also tried
> creating a jar and putting it in WEB-INF/lib, but I am still 
> getting this
> message.  It doesn't cause problems but I'd sure like to know why this
> happens. I have looked at the xml-commons code and it seems pretty
> straight-forward as it just does
> 
>       InputStream in =
> CatalogManager.class.getResourceAsStream("/"+propertyFile);
>       if (in==null) {
> 	if (!ignoreMissingProperties) {
> 	  System.err.println("Cannot find "+propertyFile);
> 	  // there's no reason to give this warning more than once
> 	  ignoreMissingProperties = true;
> 	}
> 
> I have looked for examples and the only thing I can come up with is
> speculation that BEA doesn't all resources at the root level. 
> Although I
> can't find any documentation for that all their examples are 
> either relative
> or contain at least one subdirectory. I did find at least one 
> other server
> that does restrict that.  
> 
> If anyone has any ideas I'd love to hear them.
> 
> Ralph Goers
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org