cancel
Showing results for 
Search instead for 
Did you mean: 

AddDocument is not working

popeye
Champ in-the-making
Champ in-the-making
Hi,

I have setup OpenWorkdesk based on Alfresco 4.0.1 and get the following error whenever I try to upload a new document. Any ideas?

Thanks in advance

Stacktrace:
Caused by: com.wewebu.ow.server.exceptions.OwServerException: Ein Fehler trat beim Erstellen des Objektes auf.
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.createObjectSkeleton(OwCMISNetwork.java:467)
   at com.wewebu.ow.server.plug.owaddmultidocuments.OwAddMultiDocumentsDocument.createSkeletonObject(OwAddMultiDocumentsDocument.java:187)
   at com.wewebu.ow.server.plug.owaddmultidocuments.OwAddMultiDocumentsDocument.setObjectClass(OwAddMultiDocumentsDocument.java:117)
   at com.wewebu.ow.server.plug.owaddmultidocuments.OwAddMultiDocumentsDocument.onObjectClassViewSelectClass(OwAddMultiDocumentsDocument.java:524)
   at com.wewebu.ow.server.dmsdialogs.views.OwObjectClassView.onTreeViewOpenFolder(OwObjectClassView.java:269)
   at com.wewebu.ow.server.ui.OwTreeView.openNode(OwTreeView.java:1560)
   at com.wewebu.ow.server.ui.OwTreeView.onClickPlusMinus(OwTreeView.java:1520)
   … 26 more
Caused by: java.lang.reflect.UndeclaredThrowableException
   at $Proxy49.prepareForCreation(Unknown Source)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISNetwork.createObjectSkeleton(OwCMISNetwork.java:444)
   … 32 more
Caused by: java.lang.reflect.InvocationTargetException
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.wewebu.ow.server.ecmimpl.cmis.OwCMISExtensionPoint.invoke(OwCMISExtensionPoint.java:69)
   … 34 more
Caused by: com.wewebu.ow.server.exceptions.OwServerException: Fehler beim Anfragen der Aspects Definitionen
   at com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALNetworkExtension.prepareForCreation(OwCMISALNetworkExtension.java:118)
   … 39 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.read(SocketInputStream.java:129)
   at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
   at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
   at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
   at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:695)
   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:640)
   at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:660)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1195)
   at com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALBasicAspectRetriever.retrieveAspectIds(OwCMISALBasicAspectRetriever.java:56)
   at com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALAspectsService.retrieveManadatoryAspects(OwCMISALAspectsService.java:52)
   at com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALAspectsService.ensureMandatroyAspects(OwCMISALAspectsService.java:90)
   at com.wewebu.ow.server.ecmimpl.cmis.alfresco.OwCMISALNetworkExtension.prepareForCreation(OwCMISALNetworkExtension.java:113)
   … 39 more
1 REPLY 1

d_evil
Champ in-the-making
Champ in-the-making
Hi popeye,

as the exception shows, somehow the service to the classes definition of alfresco can not be accessed:
java.net.SocketException: Software caused connection abort: recv failed

Please call following url:
h t t p : //<server>:<port>/alfresco/service/api/classes/
replace server and port with your installation. There you should get a file as answer!
If that is not accessible please check your installation and firewall settings.

Is everything working, please verify that your connecting against your alfresco deployment (WSDL definitions correct in owbootstrap.xml?).

One important thing which need to be checked, is if you use our defaulft cmis configuration (WEB-INF/conf/cmis), this is preconfigured against the alfresco cloud and you have to change the <AspectRetrieveUrl>-tag value (in owbootstrap.xml).

Hope that helps!

Cheers,
D.evil