On Friday 18 October 2002 05:46, Geoff Howard wrote:
> Is the directory really named ...cxa/components...
> (plural) while the package name cxa.component...
> (singular)?  If so, there's your typo.

Arrgh! Yeah, you know, sometimes you shouldn't stare but rather go to 
bed... :-) It seems that plural is used more frequently elsewhere... 

Unfortunately, it didn't correct the problem. 

I am now quite confident that myroles.xconf is loaded, because if I drop 
WEB-INF/ from it's path, it complains explicitly that it isn't found, 
which should mean that it is found when I include WEB-INF/ .

I get another error message now that I didn't see before. 

ERROR   (2002-10-18) 11:59.20:465   [access] (Unknown-URI) 
Unknown-thread/CocoonServlet: Exception reloading
org.apache.avalon.framework.configuration.ConfigurationException: Error 
trying to load user-roles configuration

It is something that it can't find, because I get an 
FileNotFoundException further down, and this is in addition to the 
other error message:
ERROR   (2002-10-18) 11:59.20:423   [core] (Unknown-URI) 
Unknown-thread/Cocoon: Could not configure Cocoon environment with user 
roles file
java.io.FileNotFoundException
        at 
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:344)


But what is it that it can't find, and why....? 
BTW, how is cocoon supposed to find the mail.jar? From the shorthand 
name and the fact that it is in WEB-INF/lib only? I haven't told it 
anything other than that...?

> If not, make sure that the user tomcat is running as
> has at least read access to myroles.xconf.  That
> happens to me all the time since I run tomcat as a
> different user than my login.

I've got umask 022 on my login account, so it can't be that... And I 
double-checked... :-)

I'm wondering, could it be something that is not really my fault...:
In the first comment of cocoon.xconf, there is a line that says:
     - webapp/cocoon.xconf (this file) - describes each core component
but cocoon.xconf isn't there anymore, it is in WEB-INF/ Obviously, this 
is just a comment, so it doesn't have to have anything to do with the 
code, I'm just wondering.

My 2.1-dev is from Sep 5, BTW, if that's relevant.

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to