Hi all,
i'm using tomcat 4.1 and jetspeed-1.4b1-release-war.zip. Now I tried to
develop my own portlets and my own actions.
I wrote a jspportlet which should use an action class developed by my
own. My problem is that Turbine seems to have a problem with locating
the new action class. I got the following error:
Horrible Exception: java.lang.ClassNotFoundException:
Requested Action not found: TestAction
Turbine looked in the following modules.packages path:
[org.apache.jetspeed.modules, org.apache.turbine.modules,
modules.myactions]
at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:17
4)
at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:14
3)
..........
In the local-portlets.xreg file I inserted the portlet-entry like this:
<portlet-entry name="Test" hidden="false" type="ref"
application="false">
<meta-info>
<title>Test</title>
<description>Test</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
<parameter name="template" value="test.jsp"
hidden="false" cachedOnName="true" cachedOnValue="true"/>
<parameter name="action" value="TestAction"
hidden="false" cachedOnName="false" cachedOnValue="false"/>
<media-type ref="html"/>
<url cachedOnURL="true"/>
<category group="Jetspeed">demo</category>
<category group="Jetspeed">jsp.demo</category>
</portlet-entry>
The action class named TestAction extends
org.apache.turbine.modules.ActionEvent and is located in the package
modules.myactions under the WEB-INF\classes directory
In the TurbineResources.properties file I added the following entry:
module.packages=modules.myactions
If someone has an idea please help me!!!
I've spend a lot of time in searching the reason for the described error
Christine
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>