Steve Bayliss <stephen.bayliss@...> writes:

> 
> Hi Laura
> 
> When trying the API-M requests, try setting the URL to the https endpoint,
> ie https://localhost:8443 at the beginning rather than http://localhost:8080
> 
> Steve
> 
https://localhost:8443/fedora
12-mar-2011 9.12.13 org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: 
Connection refused: connect
12-mar-2011 9.12.13 org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
12-mar-2011 9.12.14 org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: 
Connection refused: connect
12-mar-2011 9.12.14 org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
12-mar-2011 9.12.15 org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: 
Connection refused: connect
12-mar-2011 9.12.15 org.apache.commons.httpclient.HttpMethodDirector 
executeWithRetry
INFO: Retrying request
java.net.ConnectException: Connection refused: 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 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Refl
ectionSocketFactory.java:140)
        at 
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSL
ProtocolSocketFactory.java:130)
        at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionA
dapter.open(MultiThreadedHttpConnectionManager.java:1361)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDire
ctor.java:387)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirecto
r.java:171)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
        at org.fcrepo.client.HttpInputStream.<init>(HttpInputStream.java:38)
        at org.fcrepo.client.FedoraClient.get(FedoraClient.java:316)
        at org.fcrepo.client.FedoraClient.get(FedoraClient.java:284)
        at 
org.fcrepo.client.FedoraClient.getResponseAsString(FedoraClient.java:386)
        at 
org.fcrepo.client.FedoraClient.getServerVersion(FedoraClient.java:527)
        at 
org.fcrepo.client.FedoraClient$SOAPEndpoint.getURL(FedoraClient.java:772)
        at org.fcrepo.client.FedoraClient.getSOAPStub(FedoraClient.java:467)
        at org.fcrepo.client.FedoraClient.getAPIA(FedoraClient.java:439)
        at SOAPClient.<init>(SOAPClient.java:40)
        at SOAPClient.main(SOAPClient.java:53)

Test ingest......................................................
Exception in thread "main" java.lang.NullPointerException
        at SOAPClient.main(SOAPClient.java:70)


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to