Hello!

I resolved the URIResolver problem by installing Tomcat 4.1.12 (still 
don't understand what the problem was, though). So, I'm back to trying 
to get user-roles for the mail component working. I'm still stuck with 
that.

My current config involves the 1.3.1 SDK from Blackdown, Tomcat 4.1.12 
and Cocoon 2.1-dev from yesterday. I have compiled the mail component 
successfully, typed in the myroles.xconf file according The Book 
(checked many times...), and added the config for the component to 
cocoon.xconf. Then, I add user-roles="WEB-INF/myroles.xconf" to the 
cocoon-element of ditto. I think that should be what I need to get 
going, but I get errors.  

> > > 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

The basic error is still the same, but seems to bubble up from 
elsewhere:

ERROR   (2002-10-27) 17:01.29:656   [access] (Unknown-URI) 
Unknown-thread/CocoonServlet: Exception reloading
org.apache.avalon.framework.configuration.ConfigurationException: Error 
trying to load user-roles configuration
        at org.apache.cocoon.Cocoon.configure(Cocoon.java:400)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:284)
        at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1269)
        at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:469)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:924)
        at
[snip]
java.io.FileNotFoundException
        at 
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:344)
        at java.net.URL.openStream(URL.java:798)
        at org.apache.cocoon.Cocoon.configure(Cocoon.java:395)
        at org.apache.cocoon.Cocoon.initialize(Cocoon.java:284)
        at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1269)
        at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:469)
[snip]

Frustrating, that is what it is... :-) Again, I can't do much other than 
ask for assistance... 

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