Anthony,
If you use eclipse (I use WTP 1.0 with eclipse 3.1), dont try to
deploy your portlet inside the deploy directory of Jetspeed. What
would you need to do is configure your web.xml with the Jetspeed
Contatiner servlet. (This configration is added by Jetspeed deployer
when you drop your .war in deploy directory). Below is Jetspeed
container servlet and its mapping.
<!-- Jetspeed Servlet -->
<servlet>
<description>MVC Servlet for Jetspeed Portlet Applications</description>
<display-name>Jetspeed Container</display-name>
<servlet-name>JetspeedContainer</servlet-name>
<servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
<init-param>
<param-name>contextName</param-name>
<param-value>discussion-forum</param-value>
</init-param>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>JetspeedContainer</servlet-name>
<url-pattern>/container/*</url-pattern>
</servlet-mapping>
Regards,
Raj
On 3/9/06, Anthony Perritano <[EMAIL PROTECTED]> wrote:
> Is anyone using Eclipse to development portlets and deploying them to
> an instance of Jetspeed 2?
> i'm using the the new lomboz portlet plugin. its just a WTP dynamic
> project. when i use the "server" tool to publish it, it dumps in
> CATALINE_HOME/webapps, but it needs to go to CATALINE_HOME/webapps/
> jetspeed/web-inf/deploy. jetspeed gets confused and says "portlet xxx
> is unavailable..."
>
> if manually export from eclipse a war to CATALINE_HOME/webapps/
> jetspeed/web-inf/deploy, my changes are received and the portlet
> works fine.
>
> has anyone encountered this? have a workaround?
>
> cheers
> Anthony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]