integrazione con OpenMAINT

cancel
Showing results for 
Search instead for 
Did you mean: 
flaviodv
Member II

integrazione con OpenMAINT

Salve a tutti,
sono nuovo di Alfresco e anche di Openmaint. . . .
Sto provando entrambi per capirne le potenzialità.
Ho realizzato una VM con Vmware e ubuntu 15.10 server.
seguendo le guide e le informazioni contenute in questo ho realizzato un'installazione tranquilla e "funzionale" di Alfresco.
Ho però un problema nell'integrazione con OpenMAINT.
Se nel modulo amministrazione.configurazione abilito Alfresco, all'avvio mi viene generato questo errore:


Call: services/json/attachments/getattachmentscontext
——————————————————
Error: org.alfresco.webservice.util.WebServiceException: Error starting session.
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:88)
   at org.cmdbuild.dms.alfresco.webservice.AlfrescoSession.start(AlfrescoSession.java:29)
   at org.cmdbuild.dms.alfresco.webservice.AlfrescoWebserviceClient.executeWhithinSession(AlfrescoWebserviceClient.java:52)
   at org.cmdbuild.dms.alfresco.webservice.AlfrescoWebserviceClient.getDocumentTypeDefinitions(AlfrescoWebserviceClient.java:138)
   at org.cmdbuild.dms.alfresco.webservice.AlfrescoWsService.getDocumentTypeDefinitions(AlfrescoWsService.java:426)
   at org.cmdbuild.dms.alfresco.AlfrescoDmsService.getTypeDefinitions(AlfrescoDmsService.java:64)
   at org.cmdbuild.dms.ForwardingDmsService.getTypeDefinitions(ForwardingDmsService.java:35)
   at org.cmdbuild.dms.LoggedDmsService.getTypeDefinitions(LoggedDmsService.java:39)
   at org.cmdbuild.dms.ForwardingDmsService.getTypeDefinitions(ForwardingDmsService.java:35)
   at org.cmdbuild.dms.CachedDmsService.getTypeDefinitions(CachedDmsService.java:28)
   at org.cmdbuild.logic.dms.DefaultDmsLogic.getCategoryDefinitions(DefaultDmsLogic.java:136)
   at org.cmdbuild.logic.dms.DefaultDmsLogic.getCategoryDefinition(DefaultDmsLogic.java:97)
   at org.cmdbuild.logic.dms.DefaultDmsLogic$1.apply(DefaultDmsLogic.java:121)
   at org.cmdbuild.logic.dms.DefaultDmsLogic$1.apply(DefaultDmsLogic.java:117)
   at com.google.common.collect.Iterators$8.transform(Iterators.java:794)
   at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)
   at org.cmdbuild.servlets.json.Attachments.getAttachmentsContext(Attachments.java:51)
   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 org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:101)
   at org.cmdbuild.servlets.JSONDispatcher.doGet(JSONDispatcher.java:67)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:158)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:48)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:52)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.cmdbuild.filters.LocalizationFilter.doFilter(LocalizationFilter.java:148)
   at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused
   at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
   at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
   at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
   at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
   at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
   at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
   at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
   at org.apache.axis.client.Call.invoke(Call.java:2767)
   at org.apache.axis.client.Call.invoke(Call.java:2443)
   at org.apache.axis.client.Call.invoke(Call.java:2366)
   at org.apache.axis.client.Call.invoke(Call.java:1812)
   at org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub.startSession(AuthenticationServiceSoapBindingStub.java:187)
   at org.alfresco.webservice.util.AuthenticationUtils.startSession(AuthenticationUtils.java:73)
   … 59 more
Caused by: java.net.ConnectException: Connection refused
   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:525)
   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 org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
   at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
   at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
   at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
   at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
   … 70 more

credo sia un problema relativo alla configurazione delle directory?
se gentilmente c'è qualche info . . . .

grazie 1000 anticipatamente.

FlavioDV
1 Reply
flaviodv
Member II

Re: integrazione con OpenMAINT

mi rispondo da solo! ;-)
la voce Host: della configurazione di OpenMAINT faceva riferimento a: http://localhost:10080/alfresco/api mentre il riferimento esatto è sulla porta 8080 (http://localhost:8080/alfresco/api).
grazie mille a tutti

per i posteri