cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e nio <enio...@yahoo.com>
Subject XSPAction - calling wrong class? ServerPagesGenerator instead of ServerPagesAction
Date Mon, 25 Aug 2003 07:29:12 GMT
I tried the sample on this
http://wiki.cocoondev.org/Wiki.jsp?page=XSPAction and  I am
getting an error of:

org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Could
not load class for program
'org/apache/cocoon/www/mount/mini_example/my_xsp_action_xsp' due
to a java.lang.ClassNotFoundException:
org.apache.cocoon.www.mount.mini_example.my_xsp_action_xsp

The source file is there at
'org/apache/cocoon/www/mount/mini_example/my_xsp_action_xsp',
but its is not compiled:
-rw-r--r--    1 oracle       1700 Aug 25 00:08
my_xsp_action_xsp.java

And this is odd because looking at the sitemap.log the error
suggest it is calling ServerPagesGenerator instead of
ServerPagesAction:

39 DEBUG   (2003-08-25) 00:08.41:239  
[sitemap.action.xsp-action] (/cocoon
204/mount/mini-example/test-of-xsp-action)
Thread-6/ResourceLimitingPool: Create
d a new org.apache.cocoon.generation.ServerPagesGenerator from
the object factor
y.
     40 DEBUG   (2003-08-25) 00:08.41:239  
[sitemap.action.xsp-action] (/cocoon
204/mount/mini-example/test-of-xsp-action)
Thread-6/ResourceLimitingPool: Got a
org.apache.cocoon.generation.ServerPagesGenerator from the pool.
     41 WARN    (2003-08-25) 00:08.50:622  
[sitemap.action.xsp-action] (/cocoon
204/mount/mini-example/test-of-xsp-action)
Thread-6/ServerPagesAction: serverpag
e error
     42 org.apache.cocoon.ProcessingException: Language
Exception:

I have cocoon2.0.4 
jdk1.4.01
linux 
the sample snippet was mounted under a subsite map of
mount/mini-example.

Thanks for any insights..
enio

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Mime
View raw message