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

Services Web Java Discussion :

axis: Network is unreachable


Sujet :

Services Web Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre du Club
    Inscrit en
    Octobre 2009
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Octobre 2009
    Messages : 6
    Par défaut axis: Network is unreachable
    bonjour,

    bon voilà j'ai un problème en utilisant le web service pour récupérer des données d'une autre application distante, au début tout marche nickel mai après certain temps le programme s'arrête et affiche cette exception:
    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
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
     
     
    Exception in thread "main" AxisFault
     faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     faultSubcode: 
     faultString: java.net.SocketException: Network is unreachable: connect
     faultActor: 
     faultNode: 
     faultDetail: 
    	{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: Network is unreachable: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    	at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    	at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    	at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    	at org.apache.axis.client.Call.invoke(Call.java:2767)
    	at org.apache.axis.client.Call.invoke(Call.java:2443)
    	at org.apache.axis.client.Call.invoke(Call.java:2366)
    	at org.apache.axis.client.Call.invoke(Call.java:1812)
    	at com.com.sqli.server.MantisNumberBugByUser.NumberBug(MantisNumberBugByUser.java:71)
    	at com.sqli.notification.schedule.StaticByConf.statisticByConfEtape(StaticByConf.java:97)
    	at com.sqli.notification.schedule.StaticByConf.main(StaticByConf.java:134)
     
    	{http://xml.apache.org/axis/}hostname:sqli-160
     
    java.net.SocketException: Network is unreachable: connect
    	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
    	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    	at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    	at org.apache.axis.client.Call.invoke(Call.java:2767)
    	at org.apache.axis.client.Call.invoke(Call.java:2443)
    	at org.apache.axis.client.Call.invoke(Call.java:2366)
    	at org.apache.axis.client.Call.invoke(Call.java:1812)
    	at com.com.sqli.server.MantisNumberBugByUser.NumberBug(MantisNumberBugByUser.java:71)
    	at com.sqli.notification.schedule.StaticByConf.statisticByConfEtape(StaticByConf.java:97)
    	at com.sqli.notification.schedule.StaticByConf.main(StaticByConf.java:134)
    Caused by: java.net.SocketException: Network is unreachable: connect
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
    	at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
    	at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
    	at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
    	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
    	... 12 more
    Java Result: 1
    je ne sais pas si c'est parce que mon programme sollicite beaucoup le web service et fais beaucoup d'aller et venir ou si c'est un autre problème?

  2. #2
    Membre émérite Avatar de NicoL__
    Homme Profil pro
    Architecte
    Inscrit en
    Janvier 2011
    Messages
    399
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Architecte

    Informations forums :
    Inscription : Janvier 2011
    Messages : 399
    Par défaut
    Il faudrait pouvoir regarder les logs du serveur pour voir si ce n'est pas lui qui a un problème. Réaliser un test de charge si l'apparition de l'erreur est proportionnel à la charge.
    Sinon regarder plus en détail l'exception, il faudrait voir le code qui plante. Le serveur est dans le même domaine ? Sinon cela peut aussi être un un firewall qui croit à une attaque...

Discussions similaires

  1. [Helios/Ubuntu] Problème "Network is unreachable"
    Par hed.java dans le forum Eclipse
    Réponses: 4
    Dernier message: 31/10/2010, 15h35
  2. Appel WebService : "Network is unreachable"
    Par Akhloryne dans le forum Services Web
    Réponses: 0
    Dernier message: 23/08/2010, 11h17
  3. Broadcast : Network is unreachable
    Par Nebulis dans le forum Réseau
    Réponses: 6
    Dernier message: 28/11/2009, 22h28
  4. pb : network is unreachable (Tomcat 4.1 Eclipse 3.3.1.1)
    Par titifefe dans le forum Tomcat et TomEE
    Réponses: 0
    Dernier message: 24/09/2009, 16h50
  5. network is unreachable. connexion impossible a la VM
    Par amateur_will dans le forum Réseau
    Réponses: 1
    Dernier message: 24/08/2009, 18h00

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