> Hi there,
>       While running the action package I defined, I kept getting the
> following error.
> 
> [Wed Apr 03 12:04:32 PST 2002] -- DEBUG -- PassthruHTMLPortlet looking for
> actio
> n portlets.PassthruHTMLAction context
> org.apache.velocity.VelocityContext@584807
> 
> [Wed Apr 03 12:04:33 PST 2002] -- ERROR --
>         Exception:  java.lang.ClassNotFoundException:
> 
>         Requested Action not found: portlets.PassthruHTMLAction
>         Turbine looked in the following modules.packages path:
>         [org.apache.jetspeed.modules, org.apache.turbine.modules,
> com.corio.modu
> les]
> 
>         Stack Trace follows:
>         java.lang.ClassNotFoundException:
> 
>         Requested Action not found: portlets.PassthruHTMLAction
>         Turbine looked in the following modules.packages path:
>         [org.apache.jetspeed.modules, org.apache.turbine.modules,
> com.corio.modu
> les]
> 
>         at
> org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java
> :174)
>         at
> org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
>         at
> com.corio.portal.portlets.PassthruHTMLPortlet.getContent(PassthruHTML
> Portlet.java:88)
> 
> Here is what I've done,
> 
> 1) In TR.p 
>       module.packages=com.corio.modules 
>       module.packages=org.apache.jetspeed.modules 
>       module.packages=org.apache.turbine.modules
> 
> 2) defined PassthruHTMLAction.java(I basically copied and modified the
> HelloAction.java file in org.apache.jetspeed.modules.actions.portlets),
> package com.corio.modules.actions.portlets.
> import org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction;
> public class PassthruHTMLAction extends VelocityPortletAction{
>       $code
> }
> 
> 3) defined PassthruHTMLPortlet.java,
> package com.corio.portal.portlets;
> import org.apache.jetspeed.portal.portlets.VelocityPortlet;
> public class PassthruHTMLPortlet extends VelocityPortlet {
>       $code
> }
> 4)built both classes in C:\jetspeed\ $ first then copied the classes files
> to c:\tomcat\webapps\jetspeed\$ 
> 
> 5)added portlet entry in corio.xreg,
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <registry>
>     <portlet-entry name="PassthruHTML" hidden="false" type="instance"
> application="false">
>         <meta-info>
>             <title>PassthroughHTML</title>
>             <description>Demo PassthruHTML Portlet Example</description>
>         </meta-info>
>  
> <classname>com.corio.portal.portlets.PassthruHTMLPortlet</classname>
>         <parameter name="template" value="passthru" hidden="false"/>
>         <parameter name="action" value="portlets.PassthruHTMLAction"
> hidden="false"/>
>         <media-type ref="html"/>
>     </portlet-entry>
> </registry>
> 
> What am I doing wrong?  Please help!  Thanks much!
> 
> --eugene
> 
> Eugene Wang
> Corio Technologies
> 650-232-3045
> [EMAIL PROTECTED]
> 
> Building a successful enterprise requires three men - a dreamer, a
> business man and a son of a bitch
>   
> -- Peter McArthur
> 
> 
> 

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

Reply via email to