Projet

Général

Profil

Actions

Bug #2605

fermé

Impossible de dployer une portlet tierce dans Silverpeas

Ajouté par Emmanuel Hugonnet il y a plus de 12 ans. Mis à jour il y a plus de 12 ans.

Statut:
Closed
Priorité:
Normal
Assigné à:
Catégorie:
Portlets
Début:
31/10/2011
Echéance:
% réalisé:

100%

Temps estimé:
Temps passé:
Navigateur:
Firefox 6.x
Votre version de Silverpeas:
5.7.2
Système d'exploitation:
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

Nous avons essayé de rajouter des portlets jsr 286 dans l'application, mais ça ne semble pas passer.
Apparemment, le fichier PortletDeployConfig.properties est manquant et bloque l'ajout de portlet.
Exemple : weatherportlet récupéré de http://java.net/projects/portlet-repository/sources/svn/show/trunk?rev=461

On obtient l'erreur suivante :
18:37:18,692 INFO [com.sun.portal.portletcontainer.admin.mbeans] PSPL_CSPPAM0031 : Deploying portlet: /tmp/weatherportlet.war
18:37:18,715 ATTENTION [debug.com.sun.portal.portletcontainer.common] PSPL_PCCCSPPCCD0022 : Exception while loading PortletDeployConfig.properties. Using defaults: java.io.FileNotFoundException: /home/adrab/workspaces/silverpeas-agglo/silverpeas/data/portlets/config/PortletDeployConfig.properties (No such file or directory)
at java.io.FileInputStream.open(Native Method) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:106) [:1.6.0_24]
at java.io.FileInputStream.<init>(FileInputStream.java:66) [:1.6.0_24]
at com.sun.portal.portletcontainer.common.PortletDeployConfigReader.getPortletDeployConfigProperties(PortletDeployConfigReader.java:108) [:2.1]
at com.sun.portal.portletcontainer.warupdater.PortletWarUpdater.<init>(PortletWarUpdater.java:95) [:2.1]
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.preparePortlet(PortletAdmin.java:62) [:]
at com.sun.portal.portletcontainer.admin.mbeans.PortletAdmin.deploy(PortletAdmin.java:99) [:]


Fichiers

weatherportlet.war (836 ko) weatherportlet.war Emmanuel Hugonnet, 31/10/2011 15:47

Mis à jour par Emmanuel Hugonnet il y a plus de 12 ans

  • Statut changé de New à Closed
  • % réalisé changé de 0 à 100

Ajout du fichier manquant.
Correction du calcul du chemin vers le fichier war uploadé.
Le déploiement du war se fait correctement.

Actions

Formats disponibles : Atom PDF