IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Wildfly/JBoss Java Discussion :

[package manquant] org.jboss.management.j2ee


Sujet :

Wildfly/JBoss Java

  1. #1
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut [package manquant] org.jboss.management.j2ee
    Bonjour,
    Lors de mon "run.bat -c jbpm" de mon jBoss 4.0.4, après avoir installé jBPM 3.1.3, j'ai une erreur a propos de org.jboss.management.j2ee.LocalJBossServerDomain qui manque.
    org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.management.j2ee.LocalJBossServerDomain)
    J'ai cherché sur le web où télécharger le package où il y a cette classe mais j'ai pas trouvé. Je sais pas si c'est la bonne solution mais bon, je teste. Si qqn peut m'aider

  2. #2
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    As-tu l'archive jboss-management.jar dans le repertoire lib de ta config ?

  3. #3
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Non, et je ne sais pas où le trouver.
    Pour info, j'ai fait l'installation grâce à l'installeur "jboss-4.0.4.GA-Patch1-installer.jar" avec le profil ejb3.

  4. #4
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Utilises plutôt le Jems-installer pour faire de l'EJB3. T'auras moins de problèmes .

    http://labs.jboss.com/jemsinstaller/

  5. #5
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Ok, je vais faire ça. Ca me force à prendre la 4.0.5 mais bon.
    Quelques questions quand même:
    - quelle est la différence entre l'installeur normal et le jems ?
    - pour revenir à mes moutons, ce n'est donc pas possible de télécharger directement une library dont on connait le nom ?

  6. #6
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Avec les EJB3, mieux vaut ne pas prendre en dessous de 4.0.5.

    L'installeur jboss as ne concerne que le serveur d'application. JEMS installer concerne un ensemble de produits qui seront installés avec les bonnes versions de librairies. Comme ça tu n'a pas a chercher la bonne combinaison toi-même .

    Si c'est possible via le réferentiel : http://repository.jboss.org/jboss/

  7. #7
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    J'ai essayé ce que tu m'as dit, mais:
    14:51:25,415 INFO [SchedulerThread] runtime exception while executing timers
    org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.x
    ml
    tout un lot d'erreur et de warn boucle indéfiniment dans ma console...

    Sans vouloir paraître désobligeant, j'aimerais vraiment trouver cette **** de library "jboss-management.jar", sachant qu'elle n'est pas dans le lien que tu m'as donné (http://repository.jboss.org/jboss/)

  8. #8
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Apparament, la librairie n'est pas dans le referentiel, elle est recompilée à partir des sources.

  9. #9
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Tu peux :

    1) télécharger une version de JBoss AS 4.0.4 en zip et copier la librairie dans la version installée avec l'installeur JBoss AS. Ce n'est pas ce que je te recommande, mais ça pourrait te débloquer.

    2) donner plus d'info sur ton erreur hibernate. J'ai pas mal utilisé les JBoss AS installés avec JEMS installer 1.2.GA. Mais on est jamais à l'abri de pbs

    (j'ai attaché la lib en renommant ".jar" par ".zip" pour contourner le limites du forum)
    Fichiers attachés Fichiers attachés

  10. #10
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Tout d'abord, merci XmasRock, c'est vraiment sympa de filer des coups de pouces comme ça

    Bon, ma solution de jboss-management marche pas, malgré mes bidouilles. Alors je choisis la solution 2 "Donner plus d'info sur mon erreur hibernate"

    voici une partie du message d'erreur (d'ailleurs je copie directement de la console, j'ai pas de fichier server.log, juste le boot.log...)

    17:02:00,502 DEBUG [Services] closing service 'persistence': org.jbpm.persistenc
    e.db.DbPersistenceService@1fd9b49
    17:02:00,518 INFO [SchedulerThread] runtime exception while executing timers
    org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.x
    ml
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1418)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1352)
    at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHe
    lper.java:90)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(
    DbPersistenceServiceFactory.java:68)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory
    (DbPersistenceServiceFactory.java:90)
    at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPers
    istenceService.java:74)
    at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
    Service.java:79)
    at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPe
    rsistenceService.java:254)
    at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
    at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
    .java:104)
    at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:71)
    Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory Nested excepti
    on: org.dom4j.DocumentFactory
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1408)
    ... 10 more
    17:02:05,505 DEBUG [JbpmContextInfo] creating jbpm context with service factorie
    s '[message, scheduler, logging, persistence, authentication]'
    17:02:11,119 DEBUG [JbpmContext] creating JbpmContext
    17:02:11,119 DEBUG [DbPersistenceServiceFactory] creating persistence service
    17:02:11,119 DEBUG [DbPersistenceServiceFactory] building hibernate session fact
    ory
    17:02:11,134 DEBUG [JbpmContextInfo] creating jbpm context with service factorie
    s '[message, scheduler, logging, persistence, authentication]'
    17:02:11,134 DEBUG [JbpmContext] creating JbpmContext
    17:02:11,134 DEBUG [HibernateHelper] creating hibernate configuration resource '
    hibernate.cfg.xml'
    17:02:11,150 INFO [Configuration] configuring from resource: hibernate.cfg.xml
    17:02:11,150 INFO [Configuration] Configuration resource: hibernate.cfg.xml
    17:02:11,244 DEBUG [CommandExecutorThread] command 'null' threw exception. rolli
    ng back transaction
    org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.x
    ml
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1418)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1352)
    at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHe
    lper.java:90)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(
    DbPersistenceServiceFactory.java:68)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory
    (DbPersistenceServiceFactory.java:90)
    at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPers
    istenceService.java:74)
    at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
    Service.java:79)
    at org.jbpm.persistence.db.DbPersistenceService.getMessagingSession(DbPe
    rsistenceService.java:245)
    at org.jbpm.JbpmContext.getMessagingSession(JbpmContext.java:521)
    at org.jbpm.msg.db.DbMessageService.<init>(DbMessageService.java:49)
    at org.jbpm.msg.db.DbMessageServiceFactory.openService(DbMessageServiceF
    actory.java:32)
    at org.jbpm.svc.Services.getService(Services.java:136)
    at org.jbpm.svc.Services.getMessageService(Services.java:172)
    at org.jbpm.msg.command.CommandExecutorThread.executeCommand(CommandExec
    utorThread.java:122)
    at org.jbpm.msg.command.CommandExecutorThread.run(CommandExecutorThread.
    java:83)
    Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory Nested excepti
    on: org.dom4j.DocumentFactory
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1408)
    ... 14 more
    17:02:11,353 DEBUG [JbpmContext] closing JbpmContext
    17:02:11,353 DEBUG [Services] closing service 'persistence': org.jbpm.persistenc
    e.db.DbPersistenceService@ce41cc
    17:02:11,369 ERROR [CommandExecutorThread] org.hibernate.HibernateException: Cou
    ld not parse configuration: hibernate.cfg.xml
    17:02:11,369 DEBUG [DbPersistenceServiceFactory] creating persistence service
    17:02:11,384 DEBUG [DbPersistenceServiceFactory] building hibernate session fact
    ory
    17:02:11,384 DEBUG [HibernateHelper] creating hibernate configuration resource '
    hibernate.cfg.xml'
    17:02:11,384 INFO [Configuration] configuring from resource: hibernate.cfg.xml
    17:02:11,400 INFO [Configuration] Configuration resource: hibernate.cfg.xml
    17:02:11,400 DEBUG [JbpmContext] closing JbpmContext
    17:02:11,400 DEBUG [Services] closing service 'persistence': org.jbpm.persistenc
    e.db.DbPersistenceService@141cd01
    17:02:11,416 INFO [SchedulerThread] runtime exception while executing timers
    org.hibernate.HibernateException: Could not parse configuration: hibernate.cfg.x
    ml
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1418)
    at org.hibernate.cfg.Configuration.configure(Configuration.java:1352)
    at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHe
    lper.java:90)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(
    DbPersistenceServiceFactory.java:68)
    at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory
    (DbPersistenceServiceFactory.java:90)
    at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPers
    istenceService.java:74)
    at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence
    Service.java:79)
    at org.jbpm.persistence.db.DbPersistenceService.getSchedulerSession(DbPe
    rsistenceService.java:254)
    at org.jbpm.JbpmContext.getSchedulerSession(JbpmContext.java:529)
    at org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread
    .java:104)
    at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:71)
    Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory Nested excepti
    on: org.dom4j.DocumentFactory
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1408)
    ... 10 more
    Si tu veux plus d'infos, ou qu'il te manque des trucs pour faire ton diagnostic, just tell me

  11. #11
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Il semble y avoir un problème dans le fichier de config de hibernate "Could not parse configuration: hibernate.cfg.xml".

  12. #12
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Ok: voici donc le code brut de mon hibernate.cfg.xml
    <?xml version='1.0' encoding='utf-8'?>

    <!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

    <hibernate-configuration>
    <session-factory>

    <!-- jdbc connection properties -->
    <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
    <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
    <property name="hibernate.connection.url">jdbc:hsqldb:mem:.;sql.enforce_strict_size=true</property>
    <property name="hibernate.connection.username">sa</property>
    <property name="hibernate.connection.password"></property>

    <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>

    <!-- other hibernate properties
    <property name="hibernate.show_sql">true</property>
    <property name="hibernate.format_sql">true</property>
    <property name="hibernate.use_sql_comments">true</property>
    -->

    <!-- ############################################ -->
    <!-- # mapping files with external dependencies # -->
    <!-- ############################################ -->

    <!-- following mapping file has a dependendy on -->
    <!-- 'bsh-{version}.jar'. -->
    <!-- uncomment this if you don't have bsh on your -->
    <!-- classpath. you won't be able to use the -->
    <!-- script element in process definition files -->
    <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>

    <!-- following mapping files have a dependendy on -->
    <!-- 'jbpm-identity-{version}.jar', mapping files -->
    <!-- of the pluggable jbpm identity component. -->
    <!-- comment out the following 3 lines if you don't-->
    <!-- want to use the default jBPM identity mgmgt -->
    <!-- component -->
    <mapping resource="org/jbpm/identity/User.hbm.xml"/>
    <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
    <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>

    <!-- ###################### -->
    <!-- # jbpm mapping files # -->
    <!-- ###################### -->

    <!-- hql queries and type defs -->
    <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml" />

    <!-- graph.def mapping files -->
    <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
    <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
    <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
    <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
    <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
    <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
    <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
    <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>

    <!-- graph.node mapping files -->
    <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
    <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>

    <!-- context.def mapping files -->
    <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
    <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>

    <!-- taskmgmt.def mapping files -->
    <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>

    <!-- module.def mapping files -->
    <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>

    <!-- bytes mapping files -->
    <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>

    <!-- file.def mapping files -->
    <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>

    <!-- scheduler.def mapping files -->
    <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
    <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>

    <!-- graph.exe mapping files -->
    <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
    <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
    <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
    <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>

    <!-- module.exe mapping files -->
    <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>

    <!-- context.exe mapping files -->
    <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
    <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>

    <!-- msg.db mapping files -->
    <mapping resource="org/jbpm/msg/Message.hbm.xml"/>
    <mapping resource="org/jbpm/msg/db/TextMessage.hbm.xml"/>
    <mapping resource="org/jbpm/command/ExecuteActionCommand.hbm.xml"/>
    <mapping resource="org/jbpm/command/ExecuteNodeCommand.hbm.xml"/>
    <mapping resource="org/jbpm/command/SignalCommand.hbm.xml"/>
    <mapping resource="org/jbpm/command/TaskInstanceEndCommand.hbm.xml"/>

    <!-- taskmgmt.exe mapping files -->
    <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>

    <!-- scheduler.exe mapping files -->
    <mapping resource="org/jbpm/scheduler/exe/Timer.hbm.xml"/>

    <!-- logging mapping files -->
    <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
    <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
    <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
    <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
    <mapping resource="org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml"/>

    </session-factory>
    </hibernate-configuration>
    Désolé d'être un peu brut mais j'avance pas depuis trop longtemps maintenant.

  13. #13
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Puisque mon pavé ne motive personne, quelqu'un pourrait me dire où on pourrait trouver des infos sur comment configurer hibernate.cfg.xml ?

  14. #14
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Remplaces

    <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
    <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
    <property name="hibernate.connection.url">jdbc:hsqldb:mem:.;sql.enforce_strict_size=true</property>
    par
    <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
    <property name="hibernate.connection.datasource">java:/DefaultDS</property>

  15. #15
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Ca marche !

    Là j'ai une erreur non critique:
    ERROR: Trying to install an already registered mbean: jboss:service=Naming
    at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
    Mais bon ca marche c'est le principal. Merci XmasRock !

  16. #16
    Nouveau membre du Club
    Inscrit en
    Mai 2007
    Messages
    43
    Détails du profil
    Informations forums :
    Inscription : Mai 2007
    Messages : 43
    Points : 28
    Points
    28
    Par défaut
    Pourrais-tu (au fait) m'expliquer ce qu'il s'est passé ? Pourquoi ca marchait pas et avec ce changement ca marche ? Merci d'avance

  17. #17
    Membre éclairé Avatar de XmasRock
    Inscrit en
    Janvier 2007
    Messages
    729
    Détails du profil
    Informations forums :
    Inscription : Janvier 2007
    Messages : 729
    Points : 821
    Points
    821
    Par défaut
    Avec la version qui fonctionne, tu fais référence à la datasource DefaultDS déjà définie dans JBoss AS par défaut. Tu réutilise la base de données hypersoniq et ce qque soit sa configuration.

    Avec la version précédente, tu devais configurer toi même hypersoniq pour qu'il soit lancé avec le paramétrage concordant qui est celui utilisé par jBPM pour ces tests unitaires.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [rt.jar]Code source de certains packages manquant.
    Par goony dans le forum Eclipse Java
    Réponses: 3
    Dernier message: 13/01/2008, 12h00
  2. [EJB3] NoClassDefFoundError: org/jboss/util/platform/PID
    Par crevettes59000 dans le forum Wildfly/JBoss
    Réponses: 2
    Dernier message: 19/12/2006, 16h23
  3. package manquant !
    Par Mélissa dans le forum JBuilder
    Réponses: 9
    Dernier message: 24/08/2006, 11h38
  4. [INSTALL] où trouver les packages manquant ?
    Par cdu dans le forum Oracle
    Réponses: 4
    Dernier message: 01/04/2006, 12h03
  5. [SAX] Utilisation du package contenant org.apache.xerces.par
    Par Sphost dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 17/01/2005, 11h07

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo