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 :

JBoss 4.2.2 : org.jboss.deployment.DeploymentException: Failed to find module file


Sujet :

Wildfly/JBoss Java

  1. #1
    Membre expérimenté
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2003
    Messages
    1 303
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Seine Saint Denis (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Service public

    Informations forums :
    Inscription : Avril 2003
    Messages : 1 303
    Points : 1 380
    Points
    1 380
    Par défaut JBoss 4.2.2 : org.jboss.deployment.DeploymentException: Failed to find module file
    J'ai un problème de déploiement avec JBoss 4.2.2. Lorsque je dépose l'ear dans le répertoire deploy j'ai une erreur :
    15:24:19,120 INFO [EARDeployer] Init J2EE application: file:/D:/TAXEPRO/jboss-4.2.2.GA/server/taxepro/deploy/taxepro.ear
    15:24:31,579 ERROR [MainDeployer] Could not initialise deployment: file:/D:/TAXEPRO/jboss-4.2.2.GA/server/taxepro/deploy/taxepro.ear
    org.jboss.deployment.DeploymentException: Failed to find module file: taxepro.jar
    at org.jboss.deployment.EARDeployer.init(EARDeployer.java:295)
    at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    Lorsque je dézippe l'ear dans le répertoire deploy l'application se lance bien.

    Avez-vous une idée ?
    Christophe

    Pensez à mettre quand c'est le cas.

  2. #2
    Futur Membre du Club
    Profil pro
    Inscrit en
    Avril 2008
    Messages
    8
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Avril 2008
    Messages : 8
    Points : 7
    Points
    7
    Par défaut
    salut , plz j'ai un probleme ki ressemble au votre si vous pouvez m'aidez je serais trés reconnaissante :
    car il me donne cette erreur au demarrage :

    17:30:31,712 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.2.GA/server/default/deploy/KerBeurreProject.ear
    org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/web.xml; - nested throwable: (org.jboss.deployment.DeploymentException: Invalid XML: file=file:/C:/jboss-4.2.2.GA/server/default/tmp/deploy/tmp18911KerBeurreProject.ear-contents/app-exp.war//WEB-INF/web.xml@11:70; - nested throwable: (org.xml.sax.SAXParseException: Content is not allowed in trailing section.))
    at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer.java:755)
    at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:356)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
    at org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerInterceptorSupport.java:119)
    at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.init(SubDeployerInterceptorSupport.java:172)
    at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:87)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy45.init(Unknown Source)
    at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
    at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)

  3. #3
    Membre expérimenté
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2003
    Messages
    1 303
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Seine Saint Denis (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Service public

    Informations forums :
    Inscription : Avril 2003
    Messages : 1 303
    Points : 1 380
    Points
    1 380
    Par défaut
    Pas trouvé. Je déploie l'ear.
    Christophe

    Pensez à mettre quand c'est le cas.

  4. #4
    Futur Membre du Club
    Profil pro
    Inscrit en
    Avril 2008
    Messages
    8
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Avril 2008
    Messages : 8
    Points : 7
    Points
    7
    Par défaut
    comment vous faites pour deployer l'ear ???????
    voilà mon fichier kerbeurre-ds.xml car ma base de donnée s'appelle kerbeurredb,

    <datasources>
    <local-tx-datasource>
    <jndi-name>KerBeurreDS</jndi-name>
    <connection-url>jdbc:mysql://localhost/KerBeurreDB</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>kb</user-name>
    <password>kb-password</password>
    </local-tx-datasource>
    </datasources>

    dans lun tutoriel sur le site c ce ke j'ai trouvé comme fichier mais je mets ce fichier là avec mon .ear sous le dossier deploy de jboss , mais rien ne marche , et j'ai trouvé un exemple de fichier ki s'appelle hsqldb-ds.xml car jboss exige ke la fin de ces fichiers soit -ds.xml, mais ce fichier exemplaire
    , il y avait enfin la declaration de klk mbeans ??? mais dans le tutoriel , il y avait rien , en plus , je sais pa kel mbeans dois je declarer , mm si kan je clique sur .ear dans jboss , je trouve des despcrition de mbean , avec leur attribute name , j'ai essayé mais ca marche pas, peut etre je sais pa k'est ce ke je dois ecrire exactement ???
    j'ai un autre erreur là,
    -- MBeans waiting for other MBeans ---
    ObjectName: jboss.j2ee:service=EJB3,module=jboss-seam.jar
    State: FAILED
    Reason: java.lang.RuntimeException: You did not specify a @Resource.mappedName() on javax.ejb.TimerService org.jboss.seam.async.TimerServiceDispatcher.timerService and there is no binding for enc name env/org.jboss.seam.async.TimerServiceDispatcher/timerService in XML

    ObjectName: jboss.j2ee:service=EJB3,module=app.jar
    State: FAILED
    Reason: java.lang.RuntimeException: @javax.annotation.PostConstruct annotated method has the wrong signature - public void org.jboss.seam.intercept.SessionBeanInterceptor.postConstruct(javax.interceptor.InvocationContext)

    ObjectName: jboss.j2ee:module=jboss-seam.jar,uid=33039820,service=EJB3
    State: FAILED
    Reason: java.lang.RuntimeException: You did not specify a @Resource.mappedName() on javax.ejb.TimerService org.jboss.seam.async.TimerServiceDispatcher.timerService and there is no binding for enc name env/org.jboss.seam.async.TimerServiceDispatcher/timerService in XML

    --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
    ObjectName: jboss.j2ee:service=EJB3,module=jboss-seam.jar
    State: FAILED
    Reason: java.lang.RuntimeException: You did not specify a @Resource.mappedName() on javax.ejb.TimerService org.jboss.seam.async.TimerServiceDispatcher.timerService and there is no binding for enc name env/org.jboss.seam.async.TimerServiceDispatcher/timerService in XML

    ObjectName: jboss.j2ee:service=EJB3,module=app.jar
    State: FAILED
    Reason: java.lang.RuntimeException: @javax.annotation.PostConstruct annotated method has the wrong signature - public void org.jboss.seam.intercept.SessionBeanInterceptor.postConstruct(javax.interceptor.InvocationContext)

    ObjectName: jboss.j2ee:module=jboss-seam.jar,uid=33039820,service=EJB3
    State: FAILED
    Reason: java.lang.RuntimeException: You did not specify a @Resource.mappedName() on javax.ejb.TimerService org.jboss.seam.async.TimerServiceDispatcher.timerService and there is no binding for enc name env/org.jboss.seam.async.TimerServiceDispatcher/timerService in XML

Discussions similaires

  1. Réponses: 0
    Dernier message: 21/12/2014, 13h52
  2. Réponses: 4
    Dernier message: 21/04/2011, 14h06
  3. Réponses: 0
    Dernier message: 11/05/2009, 18h19
  4. [package manquant] org.jboss.management.j2ee
    Par Widiwi dans le forum Wildfly/JBoss
    Réponses: 16
    Dernier message: 03/06/2007, 21h28
  5. [EJB3] NoClassDefFoundError: org/jboss/util/platform/PID
    Par crevettes59000 dans le forum Wildfly/JBoss
    Réponses: 2
    Dernier message: 19/12/2006, 16h23

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