Hi Sunil
I think if you are running the client in a network with firewall then it
could be possible that you need
to specify the proxy at command line while running the client.
You can try the command like:
java
samples.userguide.example1.TestClient -Dhttp.proxy=<proxyname> -Dhttp.port=<
proxy port> and then
it should be able to contact the server if proxy was the problem.
or maybe because of some reason your network was not alive. Make sure by
doing a ping on nagoya.apache.org
Akhil
----- Original Message -----
From: "SUNILK_CHAMARTI" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 4:41 AM
Subject: Error while running the examples
> Hi,
>
> I am trying to test my AXIS set up in OC4J and I am getting the following
error. Any pointers as to what is going wrong?
>
> Regards,
> Sunil
>
> >java samples.userguide.example1.TestClient
>
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.userException
> faultString: java.net.UnknownHostException: nagoya.apache.org
> faultActor: null
> faultDetail:
> stackTrace: java.net.UnknownHostException: nagoya.apache.org
> at java.net.InetAddress.getAllByName0(InetAddress.java:585)
> at java.net.InetAddress.getAllByName0(InetAddress.java:554)
> at java.net.InetAddress.getByName(InetAddress.java:463)
> at java.net.Socket.<init>(Socket.java:112)
> at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:131)
> at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175)
> at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118)
> at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
> at org.apache.axis.client.Call.invoke(Call.java:2102)
> at org.apache.axis.client.Call.invoke(Call.java:1851)
> at org.apache.axis.client.Call.invoke(Call.java:1777)
> at org.apache.axis.client.Call.invoke(Call.java:1315)
> at samples.userguide.example1.TestClient.main(TestClient.java:82)
>
>
> java.net.UnknownHostException: nagoya.apache.org
> java.net.UnknownHostException: nagoya.apache.org
> at java.net.InetAddress.getAllByName0(InetAddress.java:585)
> at java.net.InetAddress.getAllByName0(InetAddress.java:554)
> at java.net.InetAddress.getByName(InetAddress.java:463)
> at java.net.Socket.<init>(Socket.java:112)
> at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:131)
> at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175)
> at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118)
> at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
> at org.apache.axis.client.Call.invoke(Call.java:2102)
> at org.apache.axis.client.Call.invoke(Call.java:1851)
> at org.apache.axis.client.Call.invoke(Call.java:1777)
> at org.apache.axis.client.Call.invoke(Call.java:1315)
> at samples.userguide.example1.TestClient.main(TestClient.java:82)
> [INFO] enterprise - -Mapping Exception to AxisFault
<java.net.UnknownHostException: nagoya.apache.org>
> java.net.UnknownHostException: nagoya.apache.org
>