Project

General

Profile

Actions

Bug #428

closed

[Websphere] QueryDescription n'est pas serializable

Added by Sébastien ROCHET over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Moteur de recherche
Start date:
05/25/2010
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Navigateur:
Votre version de Silverpeas:
5.1.1
Système d'exploitation:
Votre base de données:
PostgreSQL
Livraison en TEST:
Livraison en PROD:

Description

Lors de la génération des stubs et skeletons pour un déploiement Websphere, la commande Rmic plante:

[loaded C:\Program Files\IBM\WebSphere\AppServer1\java\jre\lib\core.jar(java/uti
l/MissingResourceException.class) in 0 ms]
[loaded S:\lucene-core-2.4.1.jar(org/apache/lucene/search/SortComparatorSource.c
lass) in 0 ms]
[loaded S:\lucene-core-2.4.1.jar(org/apache/lucene/search/ScoreDocComparator.cla
ss) in 0 ms]
[loaded S:\lucene-core-2.4.1.jar(org/apache/lucene/search/Sort.class) in 0 ms]
error: org.apache.lucene.search.Searcher is a remote implementation class and ca
nnot be used as a method argument or return type in Query.
error: Class QueryDescription contains an invalid return type.
error: Class com.silverpeas.classifieds.control.ejb.ClassifiedsBm contains an in
valid argument type in method search.

[loaded C:\SilverpeasV5\silverpeas\jar\silverpeas.ear\tmpejbdeploy\a7c48cf\class
ifieds-ejb-5.1-SNAPSHOT\build\classes\com\silverpeas\classifieds\control\ejb\EJS
RemoteStatelessejb_ClassifiedsBmHome_0a391e9a.class in 10 ms]
[loaded C:\SilverpeasV5\silverpeas\jar\silverpeas.ear\tmpejbdeploy\a7c48cf\class
ifieds-ejb-5.1-SNAPSHOT\ImportedClasses\com\silverpeas\classifieds\control\ejb\C
lassifiedsBmHome.class in 0 ms]
[loaded C:\Program Files\IBM\WebSphere\AppServer1\lib\j2ee.jar(javax/ejb/CreateE
xception.class) in 0 ms]
3 errors

Il s'avère que QueryDescription n'est pas serializable. Elle contient des objets qui font appel à Remote.

Actions #1

Updated by Emmanuel Hugonnet over 11 years ago

  • Status changed from New to Closed

Le code de QueryDescription qui dépendait de Lucene a été migré dans WAIndexSearcher

Actions #2

Updated by Emmanuel Hugonnet over 11 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF