Hello,
I had the process "ImportAsset" running before upgrading to CMDBuild 2.4, but didn't use it for a while.
Now, after upgrading, we would like to import again some data from OCS but it doesn't work anymore.
I manually emptied the tables "Activity", "ImportAsset" and "ImportAsset_historry", but stil the record is not added to CMDBuild.
In the process menu i see the record "Activity Name: Inserimento Modifiche and Description: Creazione di un nuovo oggetto (DiskDrives: 1085996)" with status "Open".
The fields look fine:
"Description: Creazione di un nuove oggetto (DiskDrives Code: 1085996)"
"actionDetail: Inserimento di un nuovo oggetto: CMDBUILD"
Descrizione: DiskDrives: 1085996/dev/sdaD-OASSRVDisk54"
But the process doesn't continue and doesn't add the diskdrive?
Do i mis a step now e.q. taskmanager ??
Below the output of the basic connector and the log files "shark.log" and "cmdbuild.log".
D-CMSSRV:/home/ocs/Dsk_Connector # ./Upd_CMDBuild_Disks.sh
log4j:WARN No appenders could be found for logger (connector).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
log4j: Parsing for [root] with value=[WARN, R].
log4j: Level token is [WARN].
log4j: Category root set to WARN
log4j: Parsing appender named "R".
log4j: Parsing layout options for "R".
log4j: End of parsing for "R".
log4j: Setting property [file] to [/home/ocs/Dsk_Connector/logs/ExternalConnector.log].
log4j: Setting property [maxFileSize] to [100MB].
log4j: Setting property [maxBackupIndex] to [10].
log4j: setFile called: /home/ocs/Dsk_Connector/logs/ExternalConnector.log, true
log4j: setFile ended
log4j: Parsed "R" options.
log4j: Parsing for [connector] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category connector set to INFO
log4j: Handling log4j.additivity.connector=[null]
log4j: Parsing for [servermail] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category servermail set to INFO
log4j: Handling log4j.additivity.servermail=[null]
log4j: Parsing for [inventory] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category inventory set to INFO
log4j: Handling log4j.additivity.inventory=[null]
log4j: Parsing for [ldap] with value=[INFO].
log4j: Level token is [INFO].
log4j: Category ldap set to INFO
log4j: Handling log4j.additivity.ldap=[null]
log4j: Finished configuring.
D-CMSSRV:/home/ocs/Dsk_Connector # cat logs/ExternalConnector.log
>>> Program Started - version (Basic Connector 1.5.0 - 30/10/2013)<<<
Parsing XML file [/home/ocs/Dsk_Connector/conf/configuration.xml]
Reading the transform file.
Parsing XML file [/home/ocs/Dsk_Connector/conf/cmdbuild-schema.xml]
Total objects to check: 1
Reading card nr. 1 - Code: 1085996
keyNode name is: storagewith id:168
New master card [Code: 1085996]
A new item has been detected [card master is DiskDrives.Code: 1085996]
>>> Program Terminated <<<
D-CMSSRV:/home/ocs/Dsk_Connector # cat logs/log4j.conf
#
#Thu Oct 27 12:56:23 CEST 2016
log4j.logger.connector=INFO
log4j.logger.servermail=INFO
log4j.appender.R.File=/home/ocs/Dsk_Connector/logs/ExternalConnector.log
log4j.rootLogger=WARN, R
log4j.debug=TRUE
log4j.appender.R.MaxFileSize=100MB
log4j.appender.R..layout.ConversionPattern=%-5.5p %d{yyyy-MM-dd HH\:mm\:ss} [%-8c] %m%n
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.MaxBackupIndex=10
log4j.logger.ldap=INFO
log4j.logger.inventory=INFO
log4j.appender.R=org.apache.log4j.RollingFileAppender
D-CMSSRV:/home/ocs/Dsk_Connector #
Shark.log:
2016-10-27 12:49:14,137: SharkEngineManager -> Working with 'org.enhydra.shark.CallbackUtil' implementation of core CallbackUtilities API
2016-10-27 12:49:14,137: SharkEngineManager -> Working with 'org.enhydra.shark.SharkObjectFactoryExt' implementation of core SharkObjectFactory API
2016-10-27 12:49:14,137: SharkEngineManager -> Working with 'org.enhydra.shark.StandardToolActivityHandler' implementation of core ToolAgentManager API
2016-10-27 12:49:14,138: SharkEngineManager -> Working with 'org.enhydra.shark.logging.StandardLoggingManager' implementation of Logging API
2016-10-27 12:49:14,609: StandardAssignmentManager -> Working with 'org.enhydra.shark.usergroup.DODSUserGroupManagerAdmin' implementation of UserGroup API
2016-10-27 12:49:14,696: StandardAssignmentManager -> Working with 'org.enhydra.shark.partmappersistence.DODSParticipantMappingAdmin' implementation of ParticipantMapping API
2016-10-27 12:49:14,696: SharkEngineManager -> Working with 'org.enhydra.shark.assignment.StandardAssignmentManager' implementation of Assignment API
2016-10-27 12:49:14,700: Process Cache configured - max. size is 100
2016-10-27 12:49:14,701: Resource Cache configured - max. size is 100
2016-10-27 12:49:14,701: SharkEngineManager -> Working with 'org.enhydra.shark.caching.LRUCacheMgr' implementation of Caching API
2016-10-27 12:49:14,945: DODSPersistentManager -> persisting String variables into BLOB for sizes greater than 4000
2016-10-27 12:49:14,945: SharkEngineManager -> Working with 'org.enhydra.shark.instancepersistence.DODSSelectivePersistenceManager' implementation of InstancePersistence API
2016-10-27 12:49:14,959: DODSGlobalPersistenceManager -> persisting String data into BLOB for sizes greater than 4000
2016-10-27 12:49:14,959: SharkEngineManager -> Working with 'org.enhydra.shark.globalpersistence.DODSGlobalPersistenceManager' implementation of GlobalPersistence API
2016-10-27 12:49:16,702: SharkEngineManager -> Working with 'org.cmdbuild.workflow.CMDBuildEventAuditManager' implementation of EventAudit API
2016-10-27 12:49:16,761: SharkEngineManager -> Working with 'org.enhydra.shark.repositorypersistence.DODSRepositoryPersistenceManager' implementation of RepositoryPersistence API
2016-10-27 12:49:16,765: SharkEngineManager -> Working with 'org.enhydra.shark.scripting.StandardScriptingManager' implementation of Scripting API
2016-10-27 12:49:16,765: SharkEngineManager -> Working without Security API implementation - SecurityManager is not specified.
2016-10-27 12:49:16,917: StandardToolAgentManager -> Working with 'org.enhydra.shark.appmappersistence.DODSApplicationMappingAdmin' implementation of ApplicationMapPersistence API
2016-10-27 12:49:16,918: SharkEngineManager -> Working with 'org.enhydra.shark.toolagent.StandardToolAgentManager' implementation of ToolAgentManager API
2016-10-27 12:49:16,918: SharkEngineManager -> Working without wfEngineInteroperability API implementation - WfEngineInteroperability implementation is not specified.
2016-10-27 12:49:16,936: SharkUtilities -> synchronizing XPDL cache
2016-10-27 12:56:29,266: SharkUtilities -> synchronizing XPDL cache
2016-10-27 12:56:29,491: Process [key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] is created
2016-10-27 12:56:29,546: process 'Process_importasset' started
2016-10-27 12:56:29,546: sending notification for start of process 'Process_importasset'
2016-10-27 12:56:30,320: Process [key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] is starting...
2016-10-27 12:56:30,378: Process[key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] - Activity[Process Id=18401_Package_importasset_Process_im
portasset, Id=62301_18401_Package_importasset_Process_importasset_Process_importocs_act1, ba=null, ActDefId=Process_importocs_act1] is created
2016-10-27 12:56:30,383: activity 'Process_importocs_act1' started
2016-10-27 12:56:30,384: activity 'Process_importocs_act1' closed
2016-10-27 12:56:30,384: Process[key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] - Activity[Process Id=18401_Package_importasset_Process_im
portasset, Id=62301_18401_Package_importasset_Process_importasset_Process_importocs_act1, ba=null, ActDefId=Process_importocs_act1] is completed.
2016-10-27 12:56:30,400: Process[key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] - Activity[Process Id=18401_Package_importasset_Process_im
portasset, Id=62302_18401_Package_importasset_Process_importasset_InserimentoModifiche, ba=null, ActDefId=InserimentoModifiche] is created
2016-10-27 12:56:30,401: activity 'InserimentoModifiche' started
2016-10-27 12:56:30,401: sending notification for activity 'InserimentoModifiche'
2016-10-27 12:56:30,401: sending notification for update of process 'Process_importasset'
2016-10-27 12:56:31,605: activity 'InserimentoModifiche' closed
2016-10-27 12:56:31,605: sending notification for activity 'InserimentoModifiche'
2016-10-27 12:56:31,605: sending notification for update of process 'Process_importasset'
2016-10-27 12:56:31,722: Process[key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] - Activity[Process Id=18401_Package_importasset_Process_im
portasset, Id=62302_18401_Package_importasset_Process_importasset_InserimentoModifiche, ba=null, ActDefId=InserimentoModifiche] is completed.
2016-10-27 12:56:31,728: Process[key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] - Activity[Process Id=18401_Package_importasset_Process_im
portasset, Id=62303_18401_Package_importasset_Process_importasset_Synchonize, ba=null, ActDefId=Synchonize] is created
2016-10-27 12:56:31,729: activity 'Synchonize' started
2016-10-27 12:56:31,737: Activity[Process Id=18401_Package_importasset_Process_importasset, Id=62303_18401_Package_importasset_Process_importasset_Synchonize, ba=null, ActDefId=Synchonize] - E
xecuting script [type=text/java,value=//credential setup
url="http://"+cm_url+"/services/soap/Private";
//build the soap proxy for Private webservice
soapClient = new org.cmdbuild.services.soap.client.CmdbuildSoapClient.SoapClientBuilder() //
.forClass(org.cmdbuild.services.soap.Private.class) //
.withUrl(url) //
.withUsername(cm_username) //
.withPasswordType(org.cmdbuild.services.soap.client.CmdbuildSoapClient.PasswordType.DIGEST) //
.withPassword(cm_password) //
.build();
proxy = soapClient.getProxy();
proxy.sync(actionList);]
2016-10-27 12:56:31,758: loading workflow api 'org.cmdbuild.workflow.api.SoapSharkWorkflowApiFactory'
2016-10-27 12:56:31,759: loading class 'org.cmdbuild.workflow.api.SoapSharkWorkflowApiFactory' that should be a 'org.cmdbuild.workflow.api.SharkWorkflowApiFactory'
2016-10-27 12:56:31,904: loading mail api 'org.cmdbuild.common.api.mail.javax.mail.JavaxMailBasedMailApiFactory'
2016-10-27 12:56:31,905: loading class 'org.cmdbuild.common.api.mail.javax.mail.JavaxMailBasedMailApiFactory' that should be a 'org.cmdbuild.common.api.mail.MailApiFactory'
2016-10-27 12:56:32,237: BshToolAgent - application //credential setup
url="http://"+cm_url+"/services/soap/Private";
//build the soap proxy for Private webservice
soapClient = new org.cmdbuild.services.soap.client.CmdbuildSoapClient.SoapClientBuilder() //
.forClass(org.cmdbuild.services.soap.Private.class) //
.withUrl(url) //
.withUsername(cm_username) //
.withPasswordType(org.cmdbuild.services.soap.client.CmdbuildSoapClient.PasswordType.DIGEST) //
.withPassword(cm_password) //
.build();
proxy = soapClient.getProxy();
proxy.sync(actionList); terminated incorrectly: Sourced file: eval stream : Method Invocation proxy.sync : at Line: 14 : in file: eval stream : proxy .sync ( actionList )
Target exception: javax.xml.ws.soap.SOAPFaultException: A security error was encountered when verifying the message
2016-10-27 12:56:32,237: cannot execute tool agent - application terminated incorrectly
Sourced file: eval stream : Method Invocation proxy.sync : at Line: 14 : in file: eval stream : proxy .sync ( actionList )
Target exception: javax.xml.ws.soap.SOAPFaultException: A security error was encountered when verifying the message
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at org.enhydra.shark.toolagent.BshToolAgent.invokeApplication(Unknown Source)
at org.cmdbuild.shark.toolagent.OverriddableDefaultToolAgent.invoke(OverriddableDefaultToolAgent.java:202)
at org.cmdbuild.shark.toolagent.CmdbuildDefaultToolAgent.invoke(CmdbuildDefaultToolAgent.java:70)
at org.cmdbuild.shark.toolagent.OverriddableDefaultToolAgent.invokeApplication(OverriddableDefaultToolAgent.java:87)
at org.enhydra.shark.toolagent.StandardToolAgentManager.invokeToolAgent(Unknown Source)
at org.enhydra.shark.StandardToolActivityHandler$ToolRunner.invokeApplication(Unknown Source)
at org.enhydra.shark.StandardToolActivityHandler$ToolRunner.run(Unknown Source)
at org.enhydra.shark.StandardToolActivityHandler.executeActivity(Unknown Source)
at org.enhydra.shark.WfActivityImpl.runTool(Unknown Source)
:
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation proxy.sync
at org.enhydra.shark.toolagent.BshToolAgent.invokeApplication(Unknown Source)
at org.cmdbuild.shark.toolagent.OverriddableDefaultToolAgent.invoke(OverriddableDefaultToolAgent.java:202)
at org.cmdbuild.shark.toolagent.CmdbuildDefaultToolAgent.invoke(CmdbuildDefaultToolAgent.java:70)
at org.cmdbuild.shark.toolagent.OverriddableDefaultToolAgent.invokeApplication(OverriddableDefaultToolAgent.java:87)
at org.enhydra.shark.toolagent.StandardToolAgentManager.invokeToolAgent(Unknown Source)
at org.enhydra.shark.StandardToolActivityHandler$ToolRunner.invokeApplication(Unknown Source)
at org.enhydra.shark.StandardToolActivityHandler$ToolRunner.run(Unknown Source)
at org.enhydra.shark.StandardToolActivityHandler.executeActivity(Unknown Source)
at org.enhydra.shark.WfActivityImpl.runTool(Unknown Source)
at org.enhydra.shark.WfActivityImpl.startActivity(Unknown Source)
at org.enhydra.shark.WfActivityImpl.activate(Unknown Source)
at org.enhydra.shark.WfProcessImpl.startActivity(Unknown Source)
at org.enhydra.shark.WfProcessImpl.queueNext(Unknown Source)
at org.enhydra.shark.WfProcessImpl.run(Unknown Source)
at org.enhydra.shark.WfProcessImpl.activity_complete(Unknown Source)
at org.enhydra.shark.WfActivityImpl.finish(Unknown Source)
at org.enhydra.shark.WfActivityImpl.complete(Unknown Source)
at org.enhydra.shark.SharkUtilities.changeActivityState(Unknown Source)
at org.enhydra.shark.WAPIImpl.changeActivityInstanceState(Unknown Source)
at org.enhydra.shark.ws.WAPIWrapper.changeActivityInstanceState(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
:
at java.lang.Thread.run(Thread.java:745)
Caused by: Sourced file: eval stream : Method Invocation proxy.sync : at Line: 14 : in file: eval stream : proxy .sync ( actionList )
Target exception: javax.xml.ws.soap.SOAPFaultException: A security error was encountered when verifying the message
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
at bsh.Interpreter.eval(Unknown Source)
... 56 more
2016-10-27 12:56:32,271: Activity[Process Id=18401_Package_importasset_Process_importasset, Id=62303_18401_Package_importasset_Process_importasset_Synchonize, ba=null, ActDefId=Synchonize] - f
ailed to execute script [type=text/java,value=//credential setup
url="http://"+cm_url+"/services/soap/Private";
//build the soap proxy for Private webservice
soapClient = new org.cmdbuild.services.soap.client.CmdbuildSoapClient.SoapClientBuilder() //
.forClass(org.cmdbuild.services.soap.Private.class) //
.withUrl(url) //
.withUsername(cm_username) //
.withPasswordType(org.cmdbuild.services.soap.client.CmdbuildSoapClient.PasswordType.DIGEST) //
.withPassword(cm_password) //
.build();
proxy = soapClient.getProxy();
proxy.sync(actionList);]: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation proxy.sync
2016-10-27 12:56:32,271: activity 'Synchonize' closed
2016-10-27 12:56:32,272: Process[key=18401_Package_importasset_Process_importasset,mgrname=Package_importasset#2#Process_importasset] - Activity[Process Id=18401_Package_importasset_Process_im
portasset, Id=62303_18401_Package_importasset_Process_importasset_Synchonize, ba=null, ActDefId=Synchonize] is terminated.
cmdbuild.log:
INFO 2016-10-27 12:53:10 [workflow] getting all active process classes
INFO 2016-10-27 12:53:10 [workflow] getting all process classes
INFO 2016-10-27 12:53:14 [workflow] getting all process classes
INFO 2016-10-27 12:53:14 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:53:14 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:53:14 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:53:14 [workflow] getting process class with name 'ImportAsset'
INFO 2016-10-27 12:53:14 [workflow] getting all process classes
INFO 2016-10-27 12:53:14 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:53:14 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:53:14 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:53:14 [workflow] getting process class with name 'Activity'
ERROR 2016-10-27 12:53:14 [jsonrpc ] Error retrieving start activity for process
INFO 2016-10-27 12:53:14 [jsonrpc ] Calling url /widget/readall
INFO 2016-10-27 12:53:15 [jsonrpc ] Calling url /attachments/getattachmentscontext
INFO 2016-10-27 12:53:15 [jsonrpc ] Calling url /schema/modmenu/getassignedmenu
:
INFO 2016-10-27 12:55:09 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] trying to login user inventory with group null
WARN 2016-10-27 12:56:28 [persist ] cannot get privilege object for privilege card '75086'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:28 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
WARN 2016-10-27 12:56:28 [cmdbuild] cannot apply filter, user is not guest
INFO 2016-10-27 12:56:29 [cmdbuild] trying to login user inventory with group null
WARN 2016-10-27 12:56:29 [persist ] cannot get privilege object for privilege card '75086'
INFO 2016-10-27 12:56:29 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:29 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:29 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:29 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:29 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO 2016-10-27 12:56:29 [workflow] getting process class with name 'ImportAsset'
INFO 2016-10-27 12:56:29 [workflow] getting process class with name 'ImportAsset'
INFO 2016-10-27 12:56:29 [workflow] starting process for class 'ImportAsset' with variables '{}'
INFO 2016-10-27 12:56:30 [cmdbuild] trying to login user workflow with group null
WARN 2016-10-27 12:56:30 [persist ] cannot get privilege object for privilege card '75086'
INFO 2016-10-27 12:56:30 [workflow] pushing event 'WorkflowEvent[type=START,processDefinitionId=Process_importasset,processInstanceId=18401_Package_importasset_Process_importasset]' for sessi
on '4'
INFO 2016-10-27 12:56:30 [cmdbuild] trying to login user workflow with group null
WARN 2016-10-27 12:56:30 [persist ] cannot get privilege object for privilege card '75086'
INFO 2016-10-27 12:56:30 [workflow] pushing event 'WorkflowEvent[type=UPDATE,processDefinitionId=Process_importasset,processInstanceId=18401_Package_importasset_Process_importasset]' for sess
ion '4'
WARN 2016-10-27 12:56:30 [sql ] cannot get content of column 'ImportAsset#FlowStatus#Description'
WARN 2016-10-27 12:56:31 [sql ] cannot get content of column 'ImportAsset#FlowStatus#Description'
INFO 2016-10-27 12:56:31 [workflow] updating activity instance '62302_18401_Package_importasset_Process_importasset_InserimentoModifiche' for process 'ImportAsset'
WARN 2016-10-27 12:56:31 [sql ] cannot get content of column 'ImportAsset#FlowStatus#Description'
WARN 2016-10-27 12:56:31 [persist ] cannot get privilege object for privilege card '75086'
INFO 2016-10-27 12:56:31 [workflow] advancing activity instance '62302_18401_Package_importasset_Process_importasset_InserimentoModifiche' for process 'ImportAsset'
INFO 2016-10-27 12:56:31 [cmdbuild] trying to login user workflow with group null
WARN 2016-10-27 12:56:31 [persist ] cannot get privilege object for privilege card '75086'
INFO 2016-10-27 12:56:31 [workflow] pushing event 'WorkflowEvent[type=UPDATE,processDefinitionId=Process_importasset,processInstanceId=18401_Package_importasset_Process_importasset]' for sess
ion '9'
WARN 2016-10-27 12:56:32 [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for {http://proxy.sun.com/}$Proxy173Service has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: A security error was encountered when verifying the message
at org.apache.cxf.ws.security.wss4j.WSS4JUtils.createSoapFault(WSS4JUtils.java:218)
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:329)
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:184)
:
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.wss4j.common.ext.WSSecurityException: The security token could not be authenticated or authorized
at org.apache.wss4j.dom.validate.UsernameTokenValidator.verifyDigestPassword(UsernameTokenValidator.java:192)
:
at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:280)
... 56 more
ERROR 2016-10-27 12:56:32 [soap ] cannot update process for className 'ImportAsset' and cardId '0'
org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation proxy.sync
at org.cmdbuild.workflow.service.AbstractSharkService.advanceActivityInstance(AbstractSharkService.java:435)
at org.cmdbuild.workflow.service.TransactedSharkService.access$1301(TransactedSharkService.java:16)
:
at java.lang.Thread.run(Thread.java:745)
Caused by: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation proxy.sync
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
:
at org.enhydra.shark.ejb.client.ws.WAPIEJBEndpointPortSoapBindingStub.changeActivityInstanceState(Unknown Source)
at org.cmdbuild.workflow.service.AbstractSharkService.advanceActivityInstance(AbstractSharkService.java:431)
... 87 more
WARN 2016-10-27 12:56:32 [org.apache.cxf.phase.PhaseInterceptorChain] Application {http://proxy.sun.com/}$Proxy173Service#{http://soap.services.cmdbuild.org}updateWorkflow has thrown exceptio
n, unwinding now
org.apache.cxf.interceptor.Fault
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162)
at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:267)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128)
:
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy173.updateWorkflow(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.jaxws.JAXWSMethodInvoker.performInvocation(JAXWSMethodInvoker.java:66)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 64 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.cmdbuild.common.utils.NotifierProxy$1.invoke(NotifierProxy.java:102)
... 72 more
Caused by: java.lang.RuntimeException: cannot update process for className 'ImportAsset' and cardId '0'
at org.cmdbuild.services.soap.operation.WorkflowLogicHelper.forwardException(WorkflowLogicHelper.java:282)
at org.cmdbuild.services.soap.operation.WorkflowLogicHelper.updateProcess(WorkflowLogicHelper.java:210)
at org.cmdbuild.services.soap.PrivateImpl.updateWorkflow(PrivateImpl.java:228)
... 77 more
Caused by: org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation proxy.sync
at org.cmdbuild.workflow.service.AbstractSharkService.advanceActivityInstance(AbstractSharkService.java:435)
at org.cmdbuild.workflow.service.TransactedSharkService.access$1301(TransactedSharkService.java:16)
at org.cmdbuild.workflow.service.TransactedSharkService$13.command(TransactedSharkService.java:225)
at org.cmdbuild.workflow.service.TransactedSharkService$13.command(TransactedSharkService.java:222)
at org.cmdbuild.workflow.service.TransactedSharkService$TransactedExecutor.execute(TransactedSharkService.java:24)
at org.cmdbuild.workflow.service.TransactedSharkService.advanceActivityInstance(TransactedSharkService.java:228)
at org.cmdbuild.workflow.DefaultWorkflowEngine.advanceActivity(DefaultWorkflowEngine.java:504)
at org.cmdbuild.logic.workflow.DefaultWorkflowLogic.startProcess(DefaultWorkflowLogic.java:411)
at org.cmdbuild.logic.workflow.DefaultWorkflowLogic.startProcess(DefaultWorkflowLogic.java:370)
at org.cmdbuild.services.soap.operation.WorkflowLogicHelper.updateProcess(WorkflowLogicHelper.java:186)
... 78 more
Caused by: org.enhydra.shark.api.internal.toolagent.ToolAgentGeneralException: Sourced file: eval stream : Method Invocation proxy.sync
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
: