Projet

Général

Profil

Actions

Bug #2971

fermé

Notifications non envoyées

Ajouté par Anonyme il y a environ 12 ans. Mis à jour il y a environ 12 ans.

Statut:
Closed
Priorité:
Normal
Assigné à:
Catégorie:
Notifications
Début:
23/02/2012
Echéance:
% réalisé:

100%

Temps estimé:
Navigateur:
Tous
Votre version de Silverpeas:
5.8
Système d'exploitation:
Votre base de données:
MS SQL Server
Livraison en TEST:
Livraison en PROD:

Description

Suite au passage en 5.8, les notifications sur les abonnements (pris avant la mise à jour) des utilisateurs ne partent plus. La liste des abonnements contient bien des valeurs. Si on rajoute un nouvel abonnement, les notifications de celui-ci sont bien envoyées, mais pas des anciens. Aucune trace n'est visible (plateforme en debug).

Mis à jour par Anonyme il y a environ 12 ans

Je constate aussi ce problème avec PostgreSQL. En revanche maintenant plus aucune notification d'abonnement ne part et toujours pas de traces. Ce problème est vraiment trè bloquant et nous empêche de migrer notre plateforme de prod en 5.8.

Mis à jour par Nicolas Eysseric il y a environ 12 ans

  • Catégorie mis à Abonnements
  • Statut changé de New à Assigned
  • Assigné à mis à Nicolas Eysseric

En cours de qualification...

Mis à jour par Nicolas Eysseric il y a environ 12 ans

  • Statut changé de Assigned à In progress...

L'erreur exacte est la suivante (ici pour l'application petites annonces mais elle est identique pour les autres applications) :

29/02/12-09:45:09,228 - WARN  : notificationManager.EX_CANT_SEND_USER_NOTIFICATION | MODULE : notificationManager.NotificationManager.notifyUsers() | Erreur pendant l'envoi de la notification (UserId=0)
!!! Message Select failed NOT INITIALIZED !!!
nested (Deepest) : 
java.sql.SQLException: Connection is not associated with a managed connection.org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@296183ed
    at org.jboss.resource.adapter.jdbc.WrappedConnection.lock(WrappedConnection.java:90)
    at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:247)
    at com.stratelia.webactiv.util.Schema.getStatement(Schema.java:180)
    at com.stratelia.webactiv.util.AbstractTable.getUniqueRow(AbstractTable.java:192)
    at com.stratelia.silverpeas.notificationManager.model.NotifPreferenceTable.getByUserIdAndComponentInstanceIdAndMessageType(NotifPreferenceTable.java:68)
    at com.stratelia.silverpeas.notificationManager.NotificationManager.getAllNotifAddressRow(NotificationManager.java:1178)
    at com.stratelia.silverpeas.notificationManager.NotificationManager.createAllNotificationData(NotificationManager.java:1461)
    at com.stratelia.silverpeas.notificationManager.NotificationManager.notifyUsers(NotificationManager.java:831)
    at com.stratelia.silverpeas.notificationManager.NotificationSender.notifyUser(NotificationSender.java:179)
    at com.stratelia.silverpeas.notificationManager.NotificationSender.notifyUser(NotificationSender.java:80)
    at com.silverpeas.classifieds.control.DefaultClassifiedService.notifyUsers(DefaultClassifiedService.java:410)

Le problème survient systématiquement lorsque la connexion est fournie par l'application au service de notifications.
Lorsque le service de notification utilise sa propre connexion, il n'y a pas de problème.

Mis à jour par Nicolas Eysseric il y a environ 12 ans

  • Catégorie changé de Abonnements à Notifications
Le problème est donc plus général que les abonnements.
Certaines notifications ne sont pas envoyées...
A priori, les applications suivantes sont touchées :
  • GED,
  • Blog,
  • Petites annonces

Mis à jour par Nicolas Eysseric il y a environ 12 ans

  • Sujet changé de Problème d'abonnement suite au passage en 5.8 à Notifications non envoyées
  • Statut changé de In progress... à Closed
  • Version cible mis à Version 5.9
  • % réalisé changé de 0 à 100

Mis à jour par Nicolas Eysseric il y a environ 12 ans

  • Version cible changé de Version 5.9 à Version 5.8.1
Actions

Formats disponibles : Atom PDF