Project

General

Profile

Actions

Bug #2102

closed

Impossible de créer le composant JDBC Connector

Added by Christophe Künzi over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Start date:
06/14/2011
Due date:
% Done:

0%

Estimated time:
Navigateur:
Firefox 4.x
Votre version de Silverpeas:
5.6
Système d'exploitation:
Linux
Votre base de données:
Toutes
Livraison en TEST:
Livraison en PROD:

Description

Bonjour,

Depuis le passage à la version 5.6 il n'est plus possible de créer le composant JDBC Connector. On reçoit systématiquement le message:

Erreur lors de la création du composant
Vérifiez qu'un autre composant de l'espace ne porte pas déjà le même nom !

En checkant la console Silvertrace on relève le message suivant:

Problème dans la création d'un composant
nested : Erreur pendant l'instanciation de composants
nested : !!! Message root.EX_CLASS_NOT_FOUND NOT INITIALIZED !!!
nested (Deepest) :
java.lang.ClassNotFoundException: com.stratelia.silverpeas.connecteurJDBC.control.ConnecteurJDBCInstanciator
from BaseClassLoader@1106021{vfs:///opt/jboss600/server/default/deploy/silverpeas/silverpeas.ear}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.silverpeas.admin.components.Instanciateur.instantiateComponent(Instanciateur.java:147)
at com.silverpeas.admin.components.Instanciateur.instantiateComponentName(Instanciateur.java:138)
at com.stratelia.webactiv.beans.admin.Admin.instantiateComponents(Admin.java:3050)
at com.stratelia.webactiv.beans.admin.Admin.addComponentInst(Admin.java:1177)
at com.stratelia.webactiv.beans.admin.Admin.addComponentInst(Admin.java:1138)
at com.stratelia.webactiv.beans.admin.AdminController.addComponentInst(AdminController.java:415)
at com.silverpeas.jobStartPagePeas.control.JobStartPagePeasSessionController.addComponentInst(JobStartPagePeasSessionController.java:1003)
at com.silverpeas.jobStartPagePeas.servlets.JobStartPagePeasRequestRouter.getDestinationComponent(JobStartPagePeasRequestRouter.java:293)
at com.silverpeas.jobStartPagePeas.servlets.JobStartPagePeasRequestRouter.getDestination(JobStartPagePeasRequestRouter.java:944)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:195)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:662)


Related issues

Is duplicate of JDBC Connector - Bug #2006: Impossible de déployer l'application dans un espaceClosedEmmanuel Hugonnet05/18/2011

Actions
Actions #1

Updated by Nicolas Eysseric over 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Duplique l'anomalie #2006 déjà corrigée.
Correction qui est disponible dans la version 5.6.1 dont la sortie est prévue cette semaine.

Actions #2

Updated by Christophe Künzi about 10 years ago

  • Status changed from Closed to Re-opened
  • Assignee set to Nicolas Eysseric
  • % Done changed from 100 to 0

Bonjour,

Sorry mais le problème est toujours là
Je viens de le tester sur une V 5.7.2 fraîchement installé.

Voici le log de la console:

19/10/11-15:55:48,327 - ERROR : admin.MSG_ERR_ADD_COMPONENT | MODULE : admin.AdminController.addComponentInst | Erreur dans l'ajout du composant
Problème dans la création d'un composant
nested : Erreur pendant l'instanciation de composants
nested : !!! Message root.EX_CLASS_NOT_FOUND NOT INITIALIZED !!!
nested (Deepest) :
java.lang.ClassNotFoundException: com.stratelia.silverpeas.connecteurJDBC.control.ConnecteurJDBCInstanciator
from BaseClassLoader@317d82{vfs:///opt/jboss610/server/default/deploy/silverpeas/silverpeas.ear}
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:480)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.silverpeas.admin.components.Instanciateur.instantiateComponent(Instanciateur.java:147)
at com.silverpeas.admin.components.Instanciateur.instantiateComponentName(Instanciateur.java:138)
at com.stratelia.webactiv.beans.admin.Admin.instantiateComponents(Admin.java:3100)
at com.stratelia.webactiv.beans.admin.Admin.addComponentInst(Admin.java:1195)
at com.stratelia.webactiv.beans.admin.Admin.addComponentInst(Admin.java:1156)
at com.stratelia.webactiv.beans.admin.AdminController.addComponentInst(AdminController.java:418)
at com.silverpeas.jobStartPagePeas.control.JobStartPagePeasSessionController.addComponentInst(JobStartPagePeasSessionController.java:1021)
at com.silverpeas.jobStartPagePeas.servlets.JobStartPagePeasRequestRouter.getDestinationComponent(JobStartPagePeasRequestRouter.java:302)
at com.silverpeas.jobStartPagePeas.servlets.JobStartPagePeasRequestRouter.getDestination(JobStartPagePeasRequestRouter.java:981)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.computeDestination(ComponentRequestRouter.java:195)
at com.stratelia.silverpeas.peasCore.servlets.ComponentRequestRouter.doPost(ComponentRequestRouter.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at com.silverpeas.whitePages.filters.ComponentRequestRouterFilter.doFilter(ComponentRequestRouterFilter.java:93)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:159)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
at java.lang.Thread.run(Thread.java:662)

Actions #3

Updated by Nicolas Eysseric about 10 years ago

  • Status changed from Re-opened to Closed
  • Target version set to Version 5.7.3

Nous avions en effet déjà détecté ce problème.
Nous allons intégrer la correction dans la version v5.7.3 qui sera disponible dans les prochains jours.

Actions

Also available in: Atom PDF