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

Tomcat et TomEE Java Discussion :

[AXIS] deploiment des web services


Sujet :

Tomcat et TomEE Java

  1. #1
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut [AXIS] deploiment des web services
    bonjour tout le monde
    je sais que la question est toujour fréquente sur ce probléme de déploiment des WS avec AXIS1-3 sous Tomcat 4.1.27
    mais j'arrive toujour pas a le faire
    la fameuse erreur me cole partout d'ou je met des modif sur les variable d'environnement :
    Exeptionj ava.lang.NoClassDefFouindError : org/apache/axis/client/AdminClient
    je n'est pas trouver l'erreur d'ou?

    svp donner moi les détailes de la procédure de déploiment si il faut en photo
    je vous remercie d'avance


    un autre probléme svp ce qui me semblé un peut bizard c'est que lorsque je démarre Tomcat voici ce qui m'affiche sur la console :

    26-juin-2006 16:49:52 org.apache.commons.modeler.Registry loadRegistry
    INFO: Loading registry information
    26-juin-2006 16:49:52 org.apache.commons.modeler.Registry getRegistry
    INFO: Creating new Registry instance
    26-juin-2006 16:49:53 org.apache.commons.modeler.Registry getServer
    INFO: Creating MBeanServer
    26-juin-2006 16:49:54 org.apache.coyote.http11.Http11Protocol init
    INFO: Initialisation de Coyote HTTP/1.1 sur le port 8080
    DÚmarrage du service Tomcat-Standalone
    Apache Tomcat/4.1.27
    26-juin-2006 16:49:55 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    26-juin-2006 16:49:55 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    26-juin-2006 16:49:56 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
    nNull=true
    - Unable to find config file. Creating new servlet engine config file: /WEB-INF
    /server-config.wsdd
    26-juin-2006 16:50:02 org.apache.coyote.http11.Http11Protocol start
    INFO: DÚmarrage de Coyote HTTP/1.1 sur le port 8080
    26-juin-2006 16:50:02 org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    26-juin-2006 16:50:02 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=16/31 config=C:\Tomcat\conf\jk2.properties
    - Unable to find config file. Creating new servlet engine config file: /WEB-INF
    /server-config.wsdd
    c'est quoi cette erreur : Unable tio find config file . creating new servlet engine .........

    qu'est ce qui manque dans mon tomcat ??!!
    et merci d'avance

  2. #2
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Tu as du oublie de mettre une librairie dans ton ClassPath. Je te finis un script permettant que mettre les librairie axis dans ton ClassPath. Comme ça plus de problème de déploiement

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    set AXIS_HOME=(tu met le reptoire de base d'axis)
    set AXIS_LIB=%AXIS_HOME%\lib
    set AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;
      %AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;
      %AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
    En plus sur le site d'axis tu trouve tous ces infos: http://ws.apache.org/axis/java/insta...YourWebService

  3. #3
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    Bonjour
    merci BriceTheNice pour ta réponse
    figure que j'ai fait la méme chose ce que tu as montionnée mais ça ne marche pas
    n'oublie pas que j'utilise Axis sous Tomcat et j'ai vue dans des tutorial que le chemins des variables d'environnement et celui d'AXIS qui sous Tomcat par example:Nom : Sans titre.gif
Affichages : 111
Taille : 27,7 Ko
    et non celui décompresser dans le répertoire racine comme C:\Axis
    selon l'explication des du Docs d'Axis

    et encore svp une autre chose cete erreur dans la console du DOS elle veut dire koi :
    27-juin-2006 19:22:36 org.apache.commons.modeler.Registry loadRegistry
    INFO: Loading registry information
    27-juin-2006 19:22:36 org.apache.commons.modeler.Registry getRegistry
    INFO: Creating new Registry instance
    27-juin-2006 19:22:37 org.apache.commons.modeler.Registry getServer
    INFO: Creating MBeanServer
    27-juin-2006 19:22:38 org.apache.coyote.http11.Http11Protocol init
    INFO: Initialisation de Coyote HTTP/1.1 sur le port 8080
    DÚmarrage du service Tomcat-Standalone
    Apache Tomcat/4.1.27
    27-juin-2006 19:22:39 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    27-juin-2006 19:22:39 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    27-juin-2006 19:22:40 org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
    nNull=true
    - Unable to find config file. Creating new servlet engine config file: /WEB-INF
    /server-config.wsdd
    27-juin-2006 19:22:50 org.apache.coyote.http11.Http11Protocol start
    INFO: DÚmarrage de Coyote HTTP/1.1 sur le port 8080
    27-juin-2006 19:22:50 org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009

    elle veut dir koi svp
    et je vous remercie d'avance

  4. #4
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    bonsoire
    svp j'attend vous réponse je vous donne encore comment j'ai définie mes variable d'environnement :
    Nom : Sans titre.JPG
Affichages : 132
Taille : 22,5 Ko

    est c'est juste ce que j'ai fait ou NON?
    et merci d'avance

  5. #5
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Quand tu veux deployer c'est ta ligne de commande java ?

    Pour ton erreur Tomcat je sais pas dsl

  6. #6
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    bonjour
    merci encore une fois BriceTheNice pour ta réponse
    oui c quand je met la ligne de commande qui me donne cette erreur de :

    ErrorClassNoDefFound org/apache/axis/client/adminClient deploy.wsdd

    et Mesieur ce qui connaissent l'erreur de Tomcat qui est montionnée en rouge svp j'attend toujour vos réponse
    et merci d'avance

  7. #7
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    En fait je me suis tromper dans mes propros je voulais juste savoir ta ligne de commande java (en fait ce ke tu ecrit pour deployer) ?

  8. #8
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    re bonjour BriceTheNice
    voila ma linge java :

    c:\Tomcat\webapps\axis java org.apache.axis.client.adminClient deploy.wsdd

    et j'ai essay une autre :
    java -cp %AXISCLASSPATH org.apache.axis.client.adminClient deploy.wsdd

    et voila mes variable d'environnement :
    Nom : Sans titre.JPG
Affichages : 113
Taille : 22,5 Ko
    puisque mon fichier *.class est dans le répertoire axis avec le fichier du déploiment deploy .wsdd je les ai méme transferer dans le dossier c:\Tomcat\webapps\axis\WEB-INF\classes
    et sa n'a rien donner toujour le méme pb de:
    Exeption..... java.lang.NoClassNoDeFound .......

  9. #9
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Normalement si tu execute la commande java dans le repertoire ou il y a ton fichier deploy.wsdd. La commande est java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd.


    Dans ta ligne de commande tu as oublié un %, je ne sais si c une faute de frappe ou pas

    Ensuite que dit le resultat de la ligne de commande echo %AXISCLASSPATH% si cela ne marche pas ?

    J'espere aussi que tu as copié et renommé ton fichier java en fichier .jws que tu l'as mis dans ton répertoire tomcat/webapp/axis/

  10. #10
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    resalut BriceTheNice
    la premiére j'ai oublier % c'est une faute de frappe
    mais quand je mais la commande : echo %AXISCLASSPATH% le resultat est :

    C:\Tomcat\webapps\axis> echo %AXISCLASSPATH%
    %AXIS_LIB%\lib\lib\axis.jar;%AXIS_LIB%\lib\lib\axis-ant.jar;%AXIS_LIB%\lib\lib\a
    xis-schema.jar;%AXIS_LIB%\lib\lib\common-discovrey-0.2.jar;%AXIS_LIB%\lib\lib\co
    mmons-logging-1.0.4.jar%AXIS_LIB%\lib\lib\jaxrpc.jar;%AXIS_LIB%\lib\lib\log4j-1.
    2.8.jar;%AXIS_LIB%\lib\lib\saaj.jar;%AXIS_LIB%\lib\lib\wsdl4j.1.5.1.jar;%AXIS_LI
    B%\lib\lib\xerces-2.6.0.jar;%AXIS_LIB%\lib\lib\xercesImpl-2.6.2.jar;%AXIS_LIB%\l
    ib\lib\xercesSamples.jar;%AXIS_LIB%\lib\lib\xml-apis2.6.2.jar

    sa veut dire koi ?, et j'ai bien changer mon fichier en *.jws

  11. #11
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Cette ligne permet de voir le contenut de ta variable d'environnement déclarer et là il y a un problème car tu as un \lib\lib de trop car normalement ca aurait du afficher:

    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
     
    echo %AXISCLASSPATH%
    %AXIS_LIB%\axis.jar;
    %AXIS_LIB%\axis-ant.jar;
    %AXIS_LIB%\axis-schema.jar;
    %AXIS_LIB%\common-discovrey-0.2.jar;
    %AXIS_LIB%\commons-logging-1.0.4.jar;
    %AXIS_LIB%\jaxrpc.jar;
    %AXIS_LIB%\log4j-1.2.8.jar;
    %AXIS_LIB%\saaj.jar;
    %AXIS_LIB%\wsdl4j.1.5.1.jar;
    %AXIS_LIB%\xerces-2.6.0.jar;
    %AXIS_LIB%\xercesImpl-2.6.2.jar;
    %AXIS_LIB%\xercesSamples.jar;
    %AXIS_LIB%\xml-apis2.6.2.jar
    Et ta variable %AXIS_LIB% doit contenir C:\Tomcat\webapps\axis\WEB-INF\lib

  12. #12
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    trés bien je vai essay de régler sa et je te rend la réponse dés que possible
    j'été sure qu'il y'avais un pb quand j'ai vue l'affichage de
    echo %AXISCLASSPATH%

    merci bcp attend mes messange
    et vraiment dsl de t'avoir pris de ton temps

  13. #13
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    j'ai fait des modification comme et j'ai obtenue la méme chose quand tu fait le :
    echo %AXISCLASSPATH%
    mon fichier Calculator.class et son fichier deploy.wsdd sont dans
    C:\tomcat\webapps\axis
    et regarde lorsque j'ai fait mis cette instruction

    C:\Tomcat\webapps\axis>echo %classpath%
    .;C:\axis\lib\axis.jar;C:\axis\lib\axis-ant.jar;C:\axis\lib\axis-schema.jar;C:\a
    xis\lib\common-discovrey-0.2.jar;C:\axis\lib\commons-logging-1.0.4.jarC:\axis\li
    b\jaxrpc.jar;C:\axis\lib\log4j-1.2.8.jar;C:\axis\lib\saaj.jar;C:\axis\lib\wsdl4j
    .1.5.1.jar;C:\axis\lib\xerces-2.6.0.jar;C:\axis\lib\xercesImpl-2.6.2.jar;C:\axis
    \lib\xercesSamples.jar;C:\axis\lib\xml-apis2.6.2.jar;.;C:\j2sdk1.4.2_03\\lib\too
    ls.jar;.;C:\Tomcat\common\lib\servlet.jar

    la ya pas de pb mais

    C:\Tomcat\webapps\axis>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient - lhttp://localhost:8080/axis/services/AdminService deploy.wsddException in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service Exception

    c koi cette erreur encore svp
    svp j'attend la réponse

  14. #14
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    C:\axis\lib\commons-logging-1.0.4.jarC:\axis\lib\jaxrpc.jar
    tu as oublier un ;

  15. #15
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    bonjour BriceTheNice
    dsl de t'avoir pas répondu aussi tot j'ai veillé hier tros et j'arrivée pas a me levé bon.
    t'a citation je l'ai régler mais ce qui j'ai de nouveau :
    quand je met cette commande j'ai sa :

    C:\Tomcat\webapps\axis>java -cp %AXISCLASSPATH org.apache.axis.client.AdminClient - lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory
    .java:41)
    at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java
    :33)
    at org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)

    et je met celle la j'ai la méme chose :C:\Tomcat\webapps\axis>java org.apache.axis.client.AdminClient deploy.wsdd
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory
    .java:41)
    at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java
    :33)
    at org.apache.axis.client.AdminClient.<clinit>(AdminClient.java:48)

    voila mon echo :
    C:\Tomcat\webapps\axis>echo %AXISCLASSPATH%
    C:\axis\lib\axis.jar;C:\axis\lib\axis-ant.jar;C:\axis\lib\axis-schema.jar;C:\axi
    s\lib\common-discovrey-0.2.jar;C:\axis\lib\commons-logging-1.0.4.jar;C:\axis\lib\jaxrpc.jar;C:\axis\lib\log4j-1.2.8.jar; C:\axis\lib\saaj.jar;C:\axis\lib\wsdl4j.1.5.1.jar;C:\axis\lib\xerces-2.6.0.jar; C:\axis\lib\xercesImpl-2.6.2.jar;C:\axis\lib\xercesSamples.jar;C:\axis\lib\xml-apis2.6.2.jar

    je ne sais pas cette erreur

  16. #16
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Ton Tomcat est bien demarrer et lorsque tu v sur la page axis validation tu n'a pas d'erreur de lib ?

    Sinon essaye de mettre dans %AXISCLASSPATH% a places des autres bien entendu

    C:\Tomcat\webbapps\axis\WEB-INF\lib\axis.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\axis-ant.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\axis-schema.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\common-discovrey-0.2.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\jaxrpc.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\log4j-1.2.8.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\saaj.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\wsdl4j.1.5.1.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\xerces-2.6.0.jar; C:\Tomcat\webbapps\axis\WEB-INF\lib\xercesImpl-2.6.2.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\xercesSamples.jar;
    C:\Tomcat\webbapps\axis\WEB-INF\lib\xml-apis2.6.2.jar

  17. #17
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    quand je clic sur validate ya pas de pb regarde ce qu'il m'affiche

    Found SAAJ API ( javax.xml.soap.SOAPMessage ) at:\Tomcat\common\lib\saaj.jar

    Found JAX-RPC API ( javax.xml.rpc.Service ) at C:\Tomcat\common\lib\jaxrpc.jar

    Found Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at C:\Tomcat\webapps\axis\WEB-INF\lib\axis.jar

    Found Jakarta-Commons Discovery (org.apache.commons.discovery.Resource ) at C:\Tomcat\webapps\axis\WEB-INF\lib\commons-discovery-0.2.jar

    Found Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at C:\Tomcat\webapps\axis\WEB-INF\lib\commons-logging-1.0.4.jar

    Found Log4j (org.apache.log4j.Layout )
    at C:\Tomcat\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar

    Found IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at C:\Tomcat\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar

    Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location ( regard la il dit qui n'a pas troucer de parsers et pouratnt j'ai télécharger xercers.jar comme il c'est dit dans la doc et le mettre dans le dossier axis/lib)
    Found Activation API ( javax.activation.DataHandler ) at C:\Tomcat\common\lib\activation.jar
    et je vai essay de revoir mes variables d'environnemnt

  18. #18
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Moi j'ai pareil que toi t'en fait pas

    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
     
    Needed Components
     
        * Found SAAJ API ( javax.xml.soap.SOAPMessage ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/saaj.jar
     
        * Found JAX-RPC API ( javax.xml.rpc.Service ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/jaxrpc.jar
     
        * Found Apache-Axis ( org.apache.axis.transport.http.AxisServlet ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/axis.jar
     
        * Found Jakarta-Commons Discovery ( org.apache.commons.discovery.Resource ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/commons-discovery-0.2.jar
     
        * Found Jakarta-Commons Logging ( org.apache.commons.logging.Log ) at /opt/jakarta-tomcat-5.5.9/bin/commons-logging-api.jar
     
        * Found Log4j ( org.apache.log4j.Layout ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/log4j-1.2.8.jar
     
        * Found IBM's WSDL4Java ( com.ibm.wsdl.factory.WSDLFactoryImpl ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/wsdl4j-1.5.1.jar
     
        * Found JAXP implementation ( javax.xml.parsers.SAXParserFactory ) at an unknown location
     
        * Found Activation API ( javax.activation.DataHandler ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/activation.jar
     
    Optional Components
     
        * Found Mail API ( javax.mail.internet.MimeMessage ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/mail.jar
     
        * Found XML Security API ( org.apache.xml.security.Init ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/xmlsec-1.3.0.jar
     
        * Found Java Secure Socket Extension ( javax.net.ssl.SSLSocketFactory ) at /opt/jakarta-tomcat-5.5.9/webapps/axis/WEB-INF/lib/jsse.jar

  19. #19
    Candidat au Club
    Inscrit en
    Juin 2006
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 20
    Points : 4
    Points
    4
    Par défaut
    non regarde bien un truc bizard

    mes les librairies : saaj.jar; jaxrpc.jar et activation.jar son dans le dossier

    C:\Tomcat\common\lib et non dans C:\Tomcat\webapps\web-inf\lib
    qu'est que je fait est je les définie sur cette emplacement dans les variables d'environnemnt ?
    et pourkoi ne sont elle pas dans C:\Tomcat\webapps\WEB-INF\lib ?

  20. #20
    Membre du Club
    Inscrit en
    Janvier 2005
    Messages
    38
    Détails du profil
    Informations personnelles :
    Âge : 42

    Informations forums :
    Inscription : Janvier 2005
    Messages : 38
    Points : 46
    Points
    46
    Par défaut
    Pour activation.jar il faut le mettre dans Tomcat/common/lib. Moi il indique axis/web-inf/lib car j'ai un webservice qui a besoin d'envoyer un mail avec une piece jointe donc j'ai du mettre cette librairie dans Axis.

    Ensuite verifie si dans axis/web-inf que tu as bien saaj.jar & jaxrpc.jar ?

    Si tu as un projet web qui utilise c'est librairie laisse les et aussi si tu tourne sous tomcat 4 sinon supprime.

    Et defini tes variable d'environement comme je te les dit plus haut et dit moi ce que ça donne

Discussions similaires

  1. Réponses: 9
    Dernier message: 02/02/2009, 00h54
  2. Réponses: 3
    Dernier message: 08/03/2007, 10h16
  3. [C#] Intéroéraibilité des Web Services C# ---> Java
    Par dcollart dans le forum Services Web
    Réponses: 3
    Dernier message: 07/12/2006, 11h29
  4. [AXIS] deploiment des web services
    Par Mizou dans le forum Services Web
    Réponses: 2
    Dernier message: 27/06/2006, 11h54
  5. [Axis]installation du client Axis pour les Web Services
    Par LESOLEIL dans le forum Eclipse Java
    Réponses: 2
    Dernier message: 31/08/2005, 14h45

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