portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Kastner (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Commented: (JS2-451) Deploying "simplest" Portlet to Jetspeed-2 fails (Installer Distribution)
Date Wed, 21 Dec 2005 10:48:32 GMT
    [ http://issues.apache.org/jira/browse/JS2-451?page=comments#action_12361040 ] 

Ron Kastner commented on JS2-451:

David, many thanks for your help. This is indeed the cause of the problem.
I did not know that Tomcat can not resolve multiple entries for a class on
the classpath...

Note for Eclipse WTP Developers: 
To avoid including the jar in the war-file, I  created a "BasePortletProject" that contains
all the jars needed for compilation, and exported them via the "Project-Properties".

The "Simplest" Project now references the "BasePortletProject". So the
Eclipse-Export wizard does not include the jar-files anymore, when exporting the
"Simplest" Project to a war-file.

> Deploying "simplest" Portlet to Jetspeed-2 fails (Installer Distribution)
> -------------------------------------------------------------------------
>          Key: JS2-451
>          URL: http://issues.apache.org/jira/browse/JS2-451
>      Project: Jetspeed 2
>         Type: Bug
>     Versions: 2.0-FINAL
>  Environment: Tested on:
> - WindowsXP ( SUN JDK 1.4.2_08)
> - RedHat Enterprise Linux 4 ( SUN JDK 1.4.2_10)
> - Portlet Development IDE: Eclipse WTP 0.7 
>     Reporter: Ron Kastner
>     Priority: Blocker
>  Attachments: jetspeed.log, prj_simplest.zip, simplest.war, simplest_screenshot.jpg
> - Download the Jetspeed-2 Installer Distribution (Derby Installer)
> - Full Install
> - Start Server
> - Create "Simplest" Portlet-War file from the tutorial
> - Export war-file to deploy-directory
> - Portlet is displayed with  "Cannot create Portlet instance Simplest for Portlet Application
simplest" message.
> - Log shows a combination of "javax.portlet.UnavailableException" and "java.lang.ClassCastException"

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message