Buongiorno a tutti
Sono in fase di verifica della configurazione dell'interfaccia di CMDBuild verso Shark.
Digitando l'URL:
http://localhost:8084/shark/sharkWebService
ottengo in risposta:
Axis error
No service is available at this URL
Secondo quanto ho letto su un vecchio post, questo non dovrebbe essere un errore, ma la prova che shark è su.
Infatti, i log dell'istanza tomcat demandata alla gestione di shark mi dicono:
2011-10-19 08:24:22,925: SharkUtilities -> synchronizing XPDL cache
Shark -> shark engine initialization is finished, it lasted 4 [s]
Shark -> Shark ready and waiting ...
pre getConnection . . . . . .
pre commit . . . . . .
++++++++++++++++++++++++++++++++++++++ init - end
ActivityPerformerServlet configured: sharkUGM, sharkUGM
Oct 19, 2011 8:24:23 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
Oct 19, 2011 8:24:23 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
Oct 19, 2011 8:24:23 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/64 config=null
Oct 19, 2011 8:24:23 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 8601 ms
Se, però, effettuo anche il secondo test suggerito dal post già menzionato, ossia richiamo l'URL:
http://localhost:8084/shark/sharWebService/WAPI?wsdl
ottengo il seguente messaggio di errore:
Axis error
Could not generate WSDL!
There is no SOAP service at this location
Inoltre, mentre l'esportazione da cmdbuild dell'XPDL di un workflow funziona senza problemi, quando provo ad importare un XPDL su cmdbuild ottengo, ovviamente, un errore da parte del componento workflow (fonte cmdbuild.log):
ERROR 2011-10-21 11:22:20 [workflow] error executing an action
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultSubcode:
faultString: The AXIS engine could not find a target service to invoke! targetService is sharkWebService/WAPI
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:slitsv2138
The AXIS engine could not find a target service to invoke! targetService is sharkWebService/WAPI
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
.................................................................................................................................................................
ERROR 2011-10-21 11:22:20 [jsonrpc ] A org.cmdbuild.exception.CMDBWorkflowException occurred calling method class org.cmdbuild.servlets.json.schema.ModWorkflow.uploadXPDL: WF_GENERIC_ERROR
Il log del tomcat di cmdbuild non segnala alcun errore.
Onestamente, non so più dove sbattere la testa, per cui ogni aiuto sarà graditissimo ed indispensabile al prosieguo dell'attività.
Ringrazio tutti anticipatatmente per l'aiuto che vorrete darmi.
Cordiali saluti
Francesco