You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Ron Kastner (JIRA)" <je...@portals.apache.org> on 2005/12/21 11:48:32 UTC
[jira] Commented: (JS2-451) Deploying "simplest" Portlet to Jetspeed-2 fails (Installer Distribution)
[ 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" exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org