unfortunately, it didn't work out. I can't find a solution for days On Thu, 25 Jul 2002, Dealy, Brian wrote: > not sure if this is important but in my directory structure I see: > \org\apache\jetspeed\modules\actions\portlets\HelloAction.class > > your error seems to indicate that Turbine is looking for > portlets.HelloAction in > Turbine looked in the following modules.packages path: > [org.apache.jetspeed.modules, org.apache.turbine.modules] > > seems like it should need to look in org.apache.jetspeed.modules.actions for > portlets.HelloAction > but I am not sure... hope this helps... > brian > > -----Original Message----- > From: def [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 10:32 AM > To: [EMAIL PROTECTED] > Subject: Jetspeed version 1.4b1 - Problem while making my own Actions > > > > > > When I change the > $JETSPEED_HOME/src/java/org/apache/jetspeed/modules/actions/portlets/HelloAc > tion.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(Veloc > ityPortlet.java:192) > at > org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortl > et.java:129) > at > org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(Portl > etWrapper.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.ja > va: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]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
