cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "arturl" <art...@pi.net.pl>
Subject CLI - class loading
Date Thu, 14 Aug 2003 14:29:10 GMT
Hi,
I've got my components (actions) packed in jar and placed it in WEB-IF/lib
directory of my app.
There's no problem wwith it in normal servlet Cocoon version, but when I try
to use CLI, my components can't be located.
The components jar is in CLASSPATH.

Am I doing sth wrong?
--
Artur

Error log following:

WARN    2003-08-14 16:19:21.354 [manager ] (): acts.RequestParamEncodeAction
java.lang.ClassNotFoundException: acts.RequestParamEncodeAction
        at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:88)
        at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav
a:263)
        at
org.apache.cocoon.www.file_.opt.users.arturl.webapps.acms.ksiazka.sitemap_xm
ap$Configurer.configActions(/opt/users/arturl/webapps/acms/work/org/apache/c
ocoon/www/file_/opt/users/arturl/webapps/acms/ksiazka/sitemap_xmap.java:507)
        at
org.apache.cocoon.www.file_.opt.users.arturl.webapps.acms.ksiazka.sitemap_xm
ap.configure(/opt/users/arturl/webapps/acms/work/org/apache/cocoon/www/file_
/opt/users/arturl/webapps/acms/ksiazka/sitemap_xmap.java:366)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:264)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:98)
        at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:187)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:357)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
        at java.lang.Thread.run(Thread.java:536)
ERROR   2003-08-14 16:19:21.356 [manager ] (): Error compiling sitemap
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : acts.RequestParamEncodeAction






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


Mime
View raw message