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

JOnAS Java Discussion :

Probleme pour installer Jonas sur Windows XP


Sujet :

JOnAS Java

  1. #1
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    23
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 23
    Points : 25
    Points
    25
    Par défaut Probleme pour installer Jonas sur Windows XP
    Bonjour,
    J'essaie en ce moment d'installer et de faire marcher le serveur Jonas. J'ai en fait réussi dans un premier temps, juste après son installation, à le démarrer et à executer ses programmes ; mais le problème vient lorsque je l'arrête, car je n'arrive plus ensuite à le redémarrer une seconde fois. Lorsque je tente de le faire, j'ai une erreur qui n'est pas toujours la même, mais qui porte à chaque fois sur une classe introuvable.
    J'ai déjà eu comme erreur :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
     
    Warning: Ressource lib cannot be loaded : It is not a directory
    2006-10-04 20:56:03,796 : ServiceManager.createServiceFrom : WARNING : The servi
    ce 'web' is disabled because a class for this service is missing. Check your ser
    vices in jonas.properties file and your environment variables. Missing class : '
    org/apache/tomcat/util/digester/RuleSet'
    java.lang.NoClassDefFoundError: org/apache/tomcat/util/digester/RuleSet
            at java.lang.Class.getDeclaredConstructors0(Native Method)
            at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
            at java.lang.Class.getConstructor0(Class.java:2640)
            at java.lang.Class.newInstance0(Class.java:321)
            at java.lang.Class.newInstance(Class.java:303)
            at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServi
    ceWrapper.getCatalinaServiceInstance(CatalinaJWebContainerServiceWrapper.java:20
    1)
            at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServi
    ceWrapper.<init>(CatalinaJWebContainerServiceWrapper.java:89)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            at java.lang.Class.newInstance0(Class.java:350)
            at java.lang.Class.newInstance(Class.java:303)
            at org.objectweb.jonas.service.ServiceManager.createServiceFrom(ServiceM
    anager.java:452)
            at org.objectweb.jonas.service.ServiceManager.readServices(ServiceManage
    r.java:413)
            at org.objectweb.jonas.service.ServiceManager.<init>(ServiceManager.java
    :116)
            at org.objectweb.jonas.service.ServiceManager.getInstance(ServiceManager
    .java:127)
            at org.objectweb.jonas.server.Server.<init>(Server.java:257)
            at org.objectweb.jonas.server.Server.getInstance(Server.java:161)
            at org.objectweb.jonas.server.Server.main(Server.java:180)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
    [ ... ]
    ou encore :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
     
    Error during execution of org.objectweb.jonas.server.Server : javax/resource/spi
    /ResourceAdapter
    java.lang.NoClassDefFoundError: javax/resource/spi/ResourceAdapter
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at org.objectweb.jonas.resource.Rar.processRar(Rar.java:515)
            at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapte
    r(ResourceServiceImpl.java:682)
            at org.objectweb.jonas.resource.ResourceServiceImpl.deployRars(ResourceS
    erviceImpl.java:796)
            at org.objectweb.jonas.ear.EarServiceImpl.deployEar(EarServiceImpl.java:
    857)
            at org.objectweb.jonas.ear.EarServiceImpl.doStart(EarServiceImpl.java:12
    86)
            at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:
    80)
            at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManag
    er.java:336)
            at org.objectweb.jonas.server.Server.start(Server.java:546)
            at org.objectweb.jonas.server.Server.main(Server.java:181)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
    Quelqu'un aurait-il la solution à ce problème ?
    Merci d'avance.

  2. #2
    Membre VIP Avatar de kalysto
    Profil pro
    Développeur
    Inscrit en
    Mars 2003
    Messages
    442
    Détails du profil
    Informations personnelles :
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur

    Informations forums :
    Inscription : Mars 2003
    Messages : 442
    Points : 568
    Points
    568
    Par défaut
    Il est fort probable que votre CLASSPATH ne soit pas vide quand vous démarrez, arretez JOnAS.

    Je suppose que les differences de comportement entre les executions viennent du fait que votre environnement change (%CLASSPATH% en particulier)

Discussions similaires

  1. Réponses: 0
    Dernier message: 19/07/2013, 09h30
  2. Comment installer MOD_PERL pour APACHE2.2 sur WINDOWS XP
    Par arnaudperfect dans le forum Modules
    Réponses: 19
    Dernier message: 21/10/2011, 17h08
  3. installer SVN sur windows pour Netbeans
    Par ROUGE87 dans le forum NetBeans
    Réponses: 1
    Dernier message: 09/03/2011, 17h39
  4. probleme pour installer visual basic 6 sur mon ordinateur
    Par superdevis dans le forum Installation, Déploiement et Sécurité
    Réponses: 0
    Dernier message: 08/03/2009, 21h37
  5. probleme pour installer jeux yetisport sur mon site
    Par fredo2009 dans le forum Flash
    Réponses: 9
    Dernier message: 16/03/2007, 08h56

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