AnsweredAssumed Answered

Calling /api WS via tomcat's SSL port

Question asked by chapeaurouge on Sep 14, 2009
Latest reply on Sep 30, 2009 by yahiko
Hello all,

I am having an issue to call the webservices via tomcat's SSL port. It works OK via the http port.
Basically, the socket closes on me.

I haven't changed any config settings related to Axis or anything. Should I?
I enabled ssl debug, everything is fine. Enabled axis debug, and aside the following which apparently is useless from what I could read on the web (and it goes on ok afterwards it seems):

15:13:49,303  DEBUG [encoding.ser.BaseDeserializerFactory] Exception:
java.lang.NoSuchMethodException: org.apache.axis.encoding.ser.ArrayDeserializerFactory.<init>(java.lang.Class, javax.
        at java.lang.Class.getConstructor0(
        at java.lang.Class.getConstructor(


Keystore is set on client side (I had a previous error related to that and it's OK now).

The error I am encountering is the following, and happens after authenticating OK. I can see the auth go through in the log.

Using endpoint https://dmsprod1:8443/alfresco/api
Error writing content to repository server
java.lang.RuntimeException: Error writing content to repository server
   at org.alfresco.webservice.util.ContentUtils.putContent(
   at org.alfresco.webservice.util.ContentUtils.putContent(
   at com.demo.print2file.Uploader.create(
   at com.demo..print2file.ArcParser.main(
Caused by: Connection reset
   at org.alfresco.webservice.util.ContentUtils.putContent(
   … 3 more

Any idea? I thought that tomcat would talk to axis in the backend would not change, independant from the fact that I call it on the http or https port, but I guess I am wrong.

Thanks for any input.