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 :

Probleme JBoss TransactionManager not bound


Sujet :

Wildfly/JBoss Java

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Avril 2006
    Messages
    5
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France

    Informations forums :
    Inscription : Avril 2006
    Messages : 5
    Points : 5
    Points
    5
    Par défaut Probleme JBoss TransactionManager not bound
    Lorsque je lance mon jboss j'ai ce Warning:

    ...
    14:38:24,399 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
    14:38:27,838 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://200.1.1.71:3873/]
    14:38:33,373 INFO [AspectDeployer] Deployed AOP: file:/E:/EnvDev/jboss4.0.4.CR2/server/JCServeurEjb3/deploy/ejb3-interceptors-aop.xml
    14:38:36,484 INFO [WebService] Using RMI server codebase: http://p023:8083/
    14:38:36,703 WARN [EJBTimerServiceImpl] Cannot obtain TransactionManager from JNDI, using TxManager.getInstance():
    javax.naming.NameNotFoundException: TransactionManager not bound
    14:38:40,189 INFO [MailService] Mail Service bound to java:/Mail
    14:38:40,658 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
    14:38:40,705 INFO [SubscriptionManager] Bound event dispatcher to java:comp/env/EventDispatcher
    ...


    Savez vous comment le corriger?

  2. #2
    Futur Membre du Club
    Profil pro
    Inscrit en
    Avril 2006
    Messages
    5
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France

    Informations forums :
    Inscription : Avril 2006
    Messages : 5
    Points : 5
    Points
    5
    Par défaut
    J'ai rajouté la ligne en rouge au fichier ejb-time-service.xml

    <!-- An EJB Timer Service that is Tx aware -->
    <mbean code="org.jboss.ejb.txtimer.EJBTimerServiceImpl"
    name="jboss.ejb:service=EJBTimerService">
    <attribute name="RetryPolicy">jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay</attribute>
    <attribute name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=database</attribute>
    <attribute name="TimerIdGeneratorClassName">org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>
    <attribute name="TimedObjectInvokerClassName">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>
    [FONT=Courier New]<depends>jboss:service=TransactionManager</depends>
    [/FONT]</mbean>

    Maintenant je n'ai plus de Warning mais je ne sais pas si mon TransactionManager fonctionne bien

  3. #3
    Candidat au Club
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    3
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2006
    Messages : 3
    Points : 2
    Points
    2
    Par défaut Toumi
    J'ai un problème au niveau de Jboss, si quelqu'un a eu le même problème et il a trouvé une solution il peut la transmettre. le problème est le suivant:
    javax.naming.NameNotFoundException: comp not bound
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
    at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
    at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
    at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:457)
    at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:851)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:143)
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
    ... 97 more

Discussions similaires

  1. Réponses: 9
    Dernier message: 05/06/2010, 22h04
  2. JBoss 4.2.3 javax.naming.NameNotFoundException: Bean not bound
    Par altair_606 dans le forum Wildfly/JBoss
    Réponses: 7
    Dernier message: 11/06/2009, 17h10
  3. [JBOSS][EJB][ADF] JBO-29000 Sessionbean "not bound"
    Par olivier.m dans le forum Wildfly/JBoss
    Réponses: 2
    Dernier message: 25/02/2008, 14h24
  4. [EJB Stateless] javax.naming.NameNotFoundException: ejb not bound
    Par slymira dans le forum Java EE
    Réponses: 18
    Dernier message: 04/07/2005, 15h30

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