This exception is thrown when your object does not implement Component interface: if (!(jSessionLogin instanceof Component)) throw IllegalAccessException();
Usually this happens when your component does not implement (IIRC) org.apache.avalon.component.Component. Also it happens when you have *more* then one class Component loaded by Java due to use of different ClassLoadrers and/or several class files for the same Component class. I'm not sure that this could help you, but I don't know what's going wrong on your system and can't suggest you anything right now. Vadim > -----Original Message----- > From: Ivan Rubin Ayma [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 29, 2002 9:06 AM > To: [EMAIL PROTECTED] > Subject: Object X is not a component error > > I tried to put the component in the package org.apache.cocoon.acting > wondering what IllegalAccessException could be, but nothing. > > I'm posting the complete java source, subsitemap and the cocoon error. > > Thanks, > > -----Mensaje original----- > De: Ivan Rubin Ayma > Enviado el: lunes, 28 de enero de 2002 18:05 > Para: [EMAIL PROTECTED] > Asunto: Object X is not a component error > > > I wrote the simplest component I could and at sitemap-compilation cocoon > keeps on giving me: > > Error in sitemap configuration : Object Zeus.core.cocoon.JSessionLogin > is not a Component > > Why? > > The component: > > public class JSessionLogin extends > org.apache.cocoon.acting.ComposerAction implements ThreadSafe { > > public Map act( Redirector redirector, SourceResolver resolver, > Map objectModel, String source, Parameters par ) > throws Exception { > > return null; > } > } > > It's well compiled and in the right place. > > Any hints? > > Thanks, > > -----Mensaje original----- > De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Enviado el: lunes, 28 de enero de 2002 13:51 > Para: [EMAIL PROTECTED] > Asunto: RE: one of those "The sitemap handler's sitemap is not > available" errors > > > > From: tom blondeau [mailto:[EMAIL PROTECTED]] > > > > btw. what's the problem with hsqldb. it only works fine if i overwrite > the > > files in the WEB-INF/db with the original files everytime i restart > the > > servlet engine? > > > Try ServerImpl from the CVS. Should work Ok now. > > Vadim > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>