Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SocketException will converting from Twiki to Confluence

Saravanan Subramanian August 10, 2011

I got the below exception when running the UWC commandline java class

I verified with my admin that the XML RPC is enabled , Borrowers URL for the Confluence Wiki is http://<servername>:<port>/display/<spaceName>, in the conf/confluenceSettings.properties i specify the url = http\://<servername>\:<port>, is this Correct ?

2011-08-09 19:08:10,885 ERROR [main] - java.net.SocketException: Unexpected end of file from server

at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:769)

at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:766)

at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)

at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)

at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)

at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)

at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)

at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)

at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.getLoginTokenThrowExceptions(RemoteWikiBroker.java:377)

at biz.artemis.confluence.xmlrpcwrapper.RemoteWikiBroker.checkConnectivity(RemoteWikiBroker.java:1263)

at com.atlassian.uwc.ui.listeners.TestSettingsListener.getConnectionFeedback(TestSettingsListener.java:183)

at com.atlassian.uwc.ui.ConverterEngine.checkConfluenceSettings(ConverterEngine.java:1827)

at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:1851)

at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:1621)

at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:1537)

at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:1485)

at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:412)

at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:210)

at com.atlassian.uwc.ui.UWCCommandLineInterface.convert(UWCCommandLineInterface.java:175)

at com.atlassian.uwc.ui.UWCCommandLineInterface.main(UWCCommandLineInterface.java:55)

1 answer

0 votes
Laura Kolker
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2011

in the conf/confluenceSettings.properties i specify the url = http\://<servername>\:<port>, is this Correct ?

That should work.

When you run the connection settings test, what error message do you get? (run_cmdline.sh -t conf/confluenceSettings.properties)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events