Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2004

Tip: Looking for answers? Try searching our database.

Problems with Actions in Cocoon

Thread view: 
milena_s - 18 Mar 2004 10:50 GMT
Hi all,

I am new to cocoon and trying to integrate an action in my
application.
I am running cocoon (cocoon 2.0.4) on tomcat 4.1.21. i have j2sdk1.4
installed. My operating system is windows xp.
After including the action in sitemap.xmap
and starting tomcat i am not able to start cocoon although it worked
perfect before. Here is the error i get:

message Error in sitemap configuration :
com.logabit.cocoon.actions.ExampleDate
description org.apache.avalon.framework.configuration.ConfigurationException:
Error in sitemap configuration :
com.logabit.cocoon.actions.ExampleDate

when i try to compile the the action ExampleDate.java i get following
errormessage:
Package org.apache.cocoon.environment not found,
Package org.apache.avalon.framework.parameters not found,
Package org.apache.cocoon.acting and much more.

I think I am missing some classes here which are needed, but i thought
they come along with cocoon when I install cocoon. Where to get these
packages and where to place them (in which directory)?

Thanks for your help!
Milena S.
Collin VanDyck - 18 Mar 2004 14:48 GMT
> when i try to compile the the action ExampleDate.java i get following
> errormessage:
> Package org.apache.cocoon.environment not found,
> Package org.apache.avalon.framework.parameters not found,
> Package org.apache.cocoon.acting and much more.

Cocoon runs on top of the avalon framework, actually, so it seems that you
are missing those core libraries in your project, as well as the Cocoon
libraries, oddly.

I'm imagining that you grabbed the binary distro of cocoon 2.0.4.  There
should be a lib directory, or lib/core within the base Cocoon distribution
folder.  Within that folder, you should see cocoon.jar,
avalon-framework-20020627.jar (or something similar), amongst others.

Import those JARs into your project, and it should compile.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.