Unsolved

This post is more than 5 years old

3222

March 17th, 2010 09:00

Atmos Online Storage: File Upload Error

Hi,

I am attempting the basic example of the file upload to atmos online storage and i am getting the followiong error:

com.emc.esu.api.EsuException: Could not parse response body for 404: Not Found

and the below detailed error is:

: Error on line 1: White spaces are required between publicId and systemId.

Not sure if the server is establishing the connection or is it the error while processing the response from the server.

the detailed stack trace is below:

EsuRestApi.java:1737)

EsuRestApi.java:229)

UploadHelper.java:137)

UploadHelper.java:106)

Any help in resolving this issue is very much appreciated.

Thank you.

Kamal

00000026 SystemErr R at com.emc.esu.api.UploadHelper.createObject(

00000026 SystemErr R at com.emc.esu.api.UploadHelper.createObject(

00000026 SystemErr R at com.emc.esu.api.rest.EsuRestApi.createObjectFromSegment(

00000026 SystemErr R at com.emc.esu.api.rest.EsuRestApi.handleError(

org.jdom.input.JDOMParseException

2 Intern

 • 

534 Posts

March 18th, 2010 09:00

Do you follow the readme.txt?  Did you build the jar file?

Do you add all the necessary jar files?

March 18th, 2010 13:00

Thanks for your reply and yes followed the readme text and i am using the SDK provided

by the AT&T synaptic storage. we are implmenting the Java application for the file upload.

Initially we had errors related to connecting to server and that now resolved and when trying

to upload any file, i get this error - could not parse the response body for 404.

on debug, i could see the connected parameter is false. any idea resolving this is helpful.

March 19th, 2010 13:00

Finally... The rest api call should be not just UserId as provided in the example java code snippet. To establish the connection, it should be combination of the subtenantUid and UserId so when making the object using restapi, the syntax should be:

EsuRestApi  esuRest = new EsuRestApi(host,port, subtenantId/UserId, sharedkey);

Hope this helps if any one trying with the java code snippets.

Thank you

Kamal

No Events found!

Top