When I change the
$JETSPEED_HOME/src/java/org/apache/jetspeed/modules/actions/portlets/HelloAction.java
file and add some new functionality to the "doUpdate" method (I have imported
one of my own packages and tried to call one the methods), jetspeed cannot find
the action. Sorry for sending the mail twice, but I'm pulling my hair! Here's
the log:



[21:21:38,029 DEBUG] checking for Portlet permission: view for portlet:
HelloVelocity
[21:21:38,032 DEBUG] checking for Portlet permission: view for portlet:
HelloVelocity
[21:21:38,070 DEBUG] checking for Portlet permission: view for portlet:
HelloVelocity
[21:21:38,070 DEBUG] VelocityPortlet::getVelocityContent
[21:21:38,072 DEBUG] VelocityPortlet found action portlets.HelloAction context
org.apache.velocity.VelocityContext@4aa453
[21:21:38,113 ERROR]
java.lang.ClassNotFoundException:

        Requested Action not found: portlets.HelloAction
        Turbine looked in the following modules.packages path:
        [org.apache.jetspeed.modules, org.apache.turbine.modules]

        at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
        at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
        at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getVelocityContent(VelocityPortlet.java:192)
        at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortlet.java:129)
        at
org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(PortletWrapper.java:142)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:259)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:20
.
.
.
.
.



I started to change the HelloAction.java file, since I could not make my own
MyHelloAction.java run. In a recent post I read that I could make my own package
for example "project.rql.modules.actions.portlets", make an entry in the
TurbineResources.properties to know where to look for, and add an entry to the
jetspeed's registry, but I could not make it work. What am I doing wrong?



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to