Error when executing external workflow process
OWB 9.2 with server on Windows NT.
I can successfully execute a mapping workflow process from the deployment manager, but I get an error when executing a simple external process:
command: move
parameters: ?c:\\data\\owbtest\\src.txt?c:\\data\\owbtest\\trg.txt
Resulting output:
Create Process: move c:\data\owbtest\src.txt c:\data\owbtest\trg.txt error=2
File c:\data\owbtest\src.txt exists.
My questions:
1. What am I doing wrong?
2. What does error=2 mean? Is this a Windows error?
3. Do I have to configure some location for the process? What does 'use default location' mean for the configuration property Working Location? Is a host-logon performed before the host-command is executed?
4. Is there logging available for an external process? In the workflow tables or views?
5. I can't find much documentation for these questions. Is there more documentation than the OWB user guide and the OWF guide?
Jaap.
It seems that commands that are not an executable in some directory, but are part of the Windows kernel (like 'move'), need to be started as a parameter of the cmd command. I did this and now it works fine.
Similar Messages
-
Random error when executing a workflow (urgent!!)
We are sometimes getting the following error message when a workflow is executed:
"com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession com.waveset.util.InternalError: ID not passed to ObjectCache.getObject"
This error occurs randomly (sometimes happens and sometimes don't, even when repeating the same test) when executing the create user and update user workflows.
The problem is that in spite of this error, the user is successfully created and provisioned to all resources (when executing the create workflow) and all changes made user to the user are also successfully provisioned (when executing the update user workflow), so we are not quite sure what is causing it.
So far, we've checked across our code to make sure that every time the getObject method is called we are passing to it the following code as context:
<invoke name='getObject'>
<select>
<ref>context</ref>
<ref>:display.session</ref>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
</select>
But this made no difference.
Any comments on this issue would be much appreciated!
Here are 2 different examples of this error from the logs:
1)
Walking case 'Create User'
Walking case 'Approval'
Processing steps in 'Approval'
Step pass 1
Check completion 'Approve'
Processing work item results from 'testuseradmin'
Step complete 'Approve'
Step pass 2
Resolved reference WF_ACTION_TIMEOUT = null
Step inactive 'Approve'
Step executing 'Check Status'
Action
Evaluating XPRESS
Resolved reference APPROVAL = true
Resolved reference APPROVAL = true
Assigning approved = true
Resolved reference ACTUAL_APPROVER = testuseradmin
Resolved reference ACTUAL_APPROVER = testuseradmin
Assigning actualApprover = testuseradmin
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
Caused by: com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	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:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	... 85 more
Wrapped exception:
com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	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:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
<ResultError throwable='com.waveset.util.InternalError'>
<Message id='OBJECT_CACHE_NO_ID'>
</Message>
<StackTrace>com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	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:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExGet.evalInternal(ExGet.java:114)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_notnull.evalInternal(ExFunction.java:950)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_and.evalInternal(ExFunction.java:606)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExFunction$f_cond.evalInternal(ExFunction.java:3448)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExFunction$f_append.evalInternal(ExFunction.java:2656)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.evalInternal(ExBlock.java:182)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExBlock.eval(ExBlock.java:148)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
	at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
	at com.waveset.task.TaskManager.launchTask(TaskManager.java:267)
	at com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
	at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
	at com.waveset.view.UserViewer.launchUpdate(UserViewer.java:3336)
	at com.waveset.view.UserViewer.checkinView(UserViewer.java:1322)
	at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:747)
	at com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
	at com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:522)
	at com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
	at org.apache.jsp.account.modify_jsp._jspService(modify_jsp.java:413)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.getBinding(ExState.java:893)
	at com.waveset.expression.ExReference.evalInternal(ExReference.java:252)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExDefvar.call(ExDefvar.java:257)
	at com.waveset.expression.ExState.geMandar_S: Thank you very much for your reply.
Indeed we are using the inbuilt Approval process in all of our workflows. We call that process from our approval activity and we pass to it the "approver" variable as an argument as follows:
<Activity id='8' name='Manager Approval'>
<Variable name='manager' value='$(user.accounts[Lighthouse].idmManager)'/>
<Action id='0' process='Approval'>
<Argument name='user' value='$(user)'/>
<Argument name='approvalTemplate' value='AIO - New User Approval'/>
<Argument name='approvalForm' value='AIO - Approval Form'/>
<Argument name='approver'>
<ref>manager</ref>
</Argument>
.......... As far as I could investigate, the "approver" variable is passed to the "Approval" process, and this is seen in the logs:
Walking case 'Create User'
Walking case 'Approval'
Processing steps in 'Approval'
Step pass 1
Check completion 'Approve'
Processing work item results from 'testuseradmin'
Step complete 'Approve'
Step pass 2
Resolved reference WF_ACTION_TIMEOUT = null
Step inactive 'Approve'
Step executing 'Check Status'
Action
Evaluating XPRESS
Resolved reference APPROVAL = true
Resolved reference APPROVAL = true
Assigning approved = true
Resolved reference ACTUAL_APPROVER = testuseradmin
Resolved reference ACTUAL_APPROVER = testuseradmin
Assigning actualApprover = testuseradmin
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class
com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
	at java.lang.Thread.run(Thread.java:595)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
</WavesetResult>
Assimilating last application result into task result
Step complete 'Check Status'
Step inactive 'Approve'
Step pass 3
Resolved reference useSignedApprovals = false
Resolved reference approved = true
Step inactive 'Check Status'
Step executing 'Approved'
Action
Argument op = audit
Argument action = Approve
Resolved reference actualApprover = testuseradmin
Argument subject = testuseradmin
Argument approver = testuseradmin
Argument type = ObjectGroup
Argument name = Top:Bill Payment:Shared Services
Argument accountId = mcontrol1
Argument fullname = Marcelo Control
Argument email = [email protected]
Resolved reference delegator = njefe
Resolved reference approver = testuseradmin
Resolved reference actualApprover = testuseradmin
Resolved reference delegator = njefe
Argument error = Delegated by njefe
Resolved reference comments = null
Argument attributes = {Comments=null}
Resolved reference WF_TRANSACTION_SIGNATURE = null
Calling application 'com.waveset.session.WorkflowServices'
Application requested argument op
Application requested argument logResultErrors
Application requested argument action
Application requested argument status
Application requested argument type
Application requested argument subject
Application requested argument name
Application requested argument resource
Application requested argument accountId
Application requested argument error
Application requested argument parameters
Application requested argument trackedAttributes
Application requested argument attributes
Application requested argument originalAttributes
Application requested argument overflowAttributes
Application requested argument auditableAttributesList
Application requested argument organizations
Step complete 'Approved'
Step inactive 'Check Status'
Step pass 4
Step inactive 'Approved'
Step executing 'end'
Step inactive 'end'
Completing case 'Approval'
Step inactive 'Approved'
Processing steps in 'Create User'
Step pass 1
Check completion 'Manager Approval'
Check subcase result 'Approval'
Subcase complete
Returning from actualApprover to actualApprover = testuseradmin
Returning from applicationEscalator to actualEscalator = null
Returning from approved to managerApproved = true
Returning from comments to comments = null
Step complete 'Manager Approval'
Step pass 2
Resolved reference error = null
Resolved reference managerApproved = true
Resolved reference WF_ACTION_ERROR = null
Step inactive 'Manager Approval'
Step executing 'Provision'
Action
Resolved reference transforms.preProvisionRule = null
Resolved reference transforms.preProvisionForm = null
Creating subcase Data Transformation
Step inactive 'Manager Approval'
Step pass 3
Check completion 'Provision'
Check subcase result 'null'
Subcase waiting
----------------------------------------In spite of that, the error ocurred (I've eliminated some StackTrace lines for clarity reasons, but you can find them in my original post).
Furthermore, we've encountered this error in other activities diffrent from the "Approval" process. Here's another log example of this error:
Walking case 'AIO - Update Resource Account WF'
Walking case 'Rename Task'
Processing steps in 'Rename Task'
Step pass 1
Initializing variables
Initial Case Variables
name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Case title set to 'Rename Task'
Step executing 'Find Unique Name'
Action
Resolved reference makeUnique = null
Condition evaluated false
Step complete 'Find Unique Name'
Step inactive 'Find Unique Name'
Step executing 'Rename'
Action
Evaluating XPRESS
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Resolved reference WF_CASE_OWNER = jjefe
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
Resolved reference name = Solicitud de Acceso en Proceso de jjefe (04/08/2008 @ 17:12:04)
XPRESS returned =
<WavesetResult>
<ResultItem type='error' status='error'>
<ResultError>
<Message>
<Text>XPRESS <invoke> exception:</Text>
</Message>
</ResultError>
</ResultItem>
<ResultItem type='error' status='error'>
<ResultError throwable='com.waveset.util.WavesetException'>
<Message>
<Text>Can't call method getObject on class com.waveset.server.InternalSession</Text>
</Message>
<StackTrace>com.waveset.util.WavesetException: Can't call method getObject on class com.waveset.server.InternalSession
==> com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:229)
	at com.waveset.util.Reflection.invoke(Reflection.java:908)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
Caused by: com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	... 31 more
Wrapped exception:
com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
</StackTrace>
<ResultError throwable='com.waveset.util.InternalError'>
<Message id='OBJECT_CACHE_NO_ID'>
</Message>
<StackTrace>com.waveset.util.InternalError: ID not passed to ObjectCache.getObject
	at com.waveset.util.WavesetException.checkBreakpoint(WavesetException.java:513)
	at com.waveset.util.WavesetException.<init>(WavesetException.java:114)
	at com.waveset.util.InternalError.<init>(InternalError.java:75)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:527)
	at com.waveset.object.ObjectCache.getObject(ObjectCache.java:480)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:478)
	at com.waveset.server.InternalSession.getObject(InternalSession.java:497)
	at sun.reflect.GeneratedMethodAccessor420.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.waveset.util.Reflection.invoke(Reflection.java:885)
	at com.waveset.util.Reflection.invoke(Reflection.java:846)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:171)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExInvoke.evalInternal(ExInvoke.java:130)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.object.Rule.eval(Rule.java:955)
	at com.waveset.workflow.ExpressionState.resolveRule(ExpressionState.java:233)
	at com.waveset.expression.ExState.externalRule(ExState.java:565)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:184)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExRule$Argument.evalInternal(ExRule.java:345)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.expression.ExRule.evalInternal(ExRule.java:172)
	at com.waveset.expression.ExNode.eval(ExNode.java:79)
	at com.waveset.expression.ExNode.evalToObject(ExNode.java:498)
	at com.waveset.workflow.WorkflowEngine.evaluate(WorkflowEngine.java:1463)
	at com.waveset.workflow.WorkflowEngine.initVariables(WorkflowEngine.java:2017)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3312)
	at com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:2863)
	at com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:2754)
	at com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:2540)
	at com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:1945)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1797)
	at com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:1705)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
	at com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
	at com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:236)
	at com.waveset.task.TaskThread.run(TaskThread.java:132)
</StackTrace>
</ResultError>
</ResultError>
</ResultItem>
</WavesetResult>
Assimilating last application result into task result
Step complete 'Rename'
Step inactive 'Find Unique Name'
Step pass 2
Step inactive 'Rename'
Completing case 'Rename Task'
Processing steps in 'AIO - Update Resource Account WF'
Step pass 1
Check completion 'Rename Temporary Task'
Check subcase result 'Rename Task'
Subcase complete
Step complete 'Rename Temporary Task'
Step pass 2
Step inactive 'Rename Temporary Task'
Step executing 'end'
Step inactive 'end'
Completing case 'AIO - Update Resource Account WF'
Step inactive 'Rename Temporary Task'
Deleting work item for action Edit Request
Deleting invalid work item #ID#5F564652662387E3:-15828051:11B8E51257D:-7CEE
Finished executing workflow case AIO - Update Resource Account WF
***************************************The code that genereted this log is something like this:
<Configuration name='Rename Task' creator='%STARTUP%Configurator' createDate='1214936621250' lastModifier='Configurator' lastModDate='1216397579578' lastMod='1'>
<Extension>
<WFProcess name='Rename Task' maxSteps='0'>
<Comments>
 Rename the current workflow task instance.
 </Comments>
<Variable name='name' input='true'>
<Comments>
 New task instance name.
 </Comments>
</Variable>
<Variable name='makeUnique' input='true'>
<Comments>
 If true, causes this task to append a suffix to the end
 of 'name' in order to enforce uniqueness. Otherwise
 this task fails if a task already exists called 'name'.
 </Comments>
</Variable>
<Activity id='0' name='Find Unique Name' hidden='true'>
<Action id='0'>
<Comments>
 The 'name' passed in may be suffixed with something that
 makes it unique if necessary
 </Comments>
<Condition>
<isTrue>
<ref>makeUnique</ref>
</isTrue>
</Condition>
<expression>
<block>
<defvar name='uniqueName'>
<ref>name</ref>
</defvar>
<defvar name='counter'>
<i>0</i>
</defvar>
<while>
<cond>
<invoke name='getObjectIfExists'>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>TaskInstance</s>
</invoke>
<ref>uniqueName</ref>
</invoke>
<s>false</s>
</cond>
<block>
<set name='counter'>
<add>
<ref>counter</ref>
<i>1</i>
</add>
</set>
<set name='uniqueName'>
<concat>
<ref>name</ref>
<s>(</s>
<ref>counter</ref>
<s>)</s>
</concat>
</set>
<s>true</s>
</block>
<s>false</s>
</while>
<set name='name'>
<ref>uniqueName</ref>
</set>
</block>
</expression>
</Action>
<Transition to='Rename'/>
<WorkflowEditor x='43' y='10'/>
</Activity>
<Activity id='1' name='Rename'>
<Action id='0'>
<Comments>
 First rename the object in the repository. The last
 argument is an options map containing the name under which
 we will lock the object.
 Next rename it in memory so when the scheduler eventually
 saves it back into the repository it doesn't overwrite
 the name we just changed.
 </Comments>
<expression>
<block>
<invoke name='renameObject'>
<invoke name='getLighthouseContext'>
<ref>WF_CONTEXT</ref>
</invoke>
<invoke name='findType' class='com.waveset.object.Type'>
<s>TaskInstance</s>
</invoke>
<invoke name='getId'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
</invoke>
<ref>name</ref>
<map>
<s>user</s>
<ref>WF_CASE_OWNER</ref>
</map>
</invoke>
<invoke name='setName'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
<ref>name</ref>
</invoke>
<invoke name='setDisplayName'>
<invoke name='getTask'>
<ref>WF_CONTEXT</ref>
</invoke>
<ref>name</ref>
</invoke>
</block>
</expression>
</Action>
<WorkflowEditor x='174' y='13'/>
</Activity>
</WFProcess>
</Extension>
<MemberObjectGroups>
<ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
</MemberObjectGroups>
</Configuration>
.......................................Any ideas on why this is happening?
Thanks a lot in advance. -
HAL errors when executing a runtime process (windows .exe) outside Vignette
Hi,
I have a flow diagram where I load data form txt source into Hyperion Performance Scorecard Adapter.
I built an exe in order to run the activity in a computer without HAL.
When I execute my exe file from HAL it is working, but then when I try to execute it from outside it is not working. I'm getting this errors:
java.lang.UnsatisfiedLinkError: no prtjt42 java.library.path
at java.lang.ClassLoader.loadLibrary <Unknown source>
at java.lang.runtime.loadLibrary0<Unknown source>
at java.lang.system.loadLibrary <Unknown source>
at com.oberon.runtime.Utilities.<clinit><Unknown source>
at com.oberon.runtime.NativeValue.<clinit><Unknown source>
at java.lang.Class.forName<Unknown source>
at com.oberon.runtime.ProsperoRuntime.<clinit><Unknown source>
at com.oberon.runtime.ProsperoRuntime.SetValueClass<Unknown source>
at com.vignette.integrate.runtime.ZipFileRuntimeMain<Unknown source>
Any idea? Do I have to put anything in CLASSPATH and PATH??
Thank youHi John,
I didn't do it because I read this in the HAL user guide:
For Windows runtime targets, select the Copy needed VBIS DLLs option to
copy all required runtime DLLs to the directory where the adapter process
files will be created. Use the option only if all of the following three
conditions are true:
• The adapter process will only run locally
• The adapter process will reside in a location other than your VBIS bin
directory
• The VBIS bin directory is not in your path
I think I have to define CLASSPATH but I don't know what to put in this env. variable...
Any idea?
Thank you! -
LC 2 Error 1003 when executing external command brconnect on (xpgid=0,con
Dear all,
I am getting error in sm21.Please suggest .
Details Page 2 Line 23 System Log: Local Analysis of clusa 1
Time Type Nr Clt User TCode Grp N Text
10:00:32 DIA 000 600 DDIC LC 2 Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
Details
Recording at local and central time........................ 10.05.2010 10:00:32
Task...... Process User...... Terminal Session TCode Program Cl Problem cl Package
06952 Dialog work process No. 000 DDIC 1 SAPMSSY1 S Operation Trace SBTC
No documentation for syslog message LC 2 exists
Parameter
1 .... xpgid=0,convid=.
Technical details
File Offset RecFm System log Grp N variable message data
224 260640 LC 2 brconnect & &Error 1003 & & &
Regards,
KumarDear Juan,
Please find the logs.Please suggest.
dev_cp log
Trace file of control program (trace level 3)
< Function: BtcTrcInit> Function: main SAPXPG 720
2010-05-10--09-33-29 : Before BtcXpgDetach
> Function: BtcXpgDetach < Function: BtcXpgDetach Accept RFC connection from R/3 system
2010-05-10--09-33-29 : Before RfcAccept
2010-05-10--09-33-29 : RfcAccept returned OK
Begin of check_if_security_list
security check switched OFF
End of check_if_security_list
Begin of check_trace_option
End of check_trace_option
Install RFC call SAPXPG_START_XPG
Install RFC call SAPXPG_START_XPG_LONG
Install RFC call SAPXPG_END_XPG
Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
2010-05-10--09-33-29 : Before first call of RFCDispatch
Security: rfcexec_logon_check
rfcexec_logon_check: logon_user =
sapxpg_logon_check: rfc_attr.user = BASIS
rfcexec_logon_check: client =
> Function: BtcXpgStartXpgLong
2010-05-10--09-33-29 : Beginning of BtcXpgStartXpgLong
> Function: BtcXpgStartXpgImportLong > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgTable < Function: BtcXpgTable < Function: BtcXpgStartXpgImportLong
BtcXpgStartXpgLong: special_trace_flag = <6>
> Function: BtcXpgStartXpgInt > Function: BtcXpgItTransfer Content of source log table:
Line Text
<No StdOut/StdErr output reported>
Target log table is not identical to source
ItGetLine terminated with NULL
< Function: BtcXpgItTransfer > Function: BtcTrcReset < Function: BtcTrcReset Call mode: VIA RFC
Input arguments of BtcXpgStartXpg:
External program: brtools
tracecntl = : 6
Display of Parameter string switched off !!
Contents of control flags:
StdIn control flag: redirect StdIn
StdOut control flag: store StdOut output in memory
StdErr control flag: store StdErr output in memory
Trace control flag: unknown contents
Termination control flag: control program will wait for termination
> Function: BtcXpgCheck > Function: BtcXpgArgv
parameter number 1:
parameter number 2:
parameter number 3:
parameter number 4:
parameter number 5:
parameter number 6:
parameter number 7:
Total number of arguments scanned: 7
Argument argv[0]: brtools
< Function: BtcXpgArgv < Function: BtcXpgCheck > Function: BtcXpgSigInst < Function: BtcXpgSigInst > Function: BtcXpgStart Rearrange stderr to be collected in memory
Rearrange stdout to be collected in memory
Redirect stdin, read from NUL:
> Function: BtcTrcInit< Function: BtcXpgStartStart status of external program: external program successfully started
Id of external process: 0000005296
StdOut/StdErr collected in memory
Line Text
<No StdOut/StdErr output reported>
< Function: BtcXpgStartXpgInt> Function: BtcXpgStartXpgExport > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam< Function: BtcXpgStartXpgExport
2010-05-10--09-33-29 : End of BtcXpgStartXpgLong
< Function: BtcXpgStartXpgLong
2010-05-10--09-33-29 : After first call of RFCDispatch
Wait for RFC call SAPXPG_END_XPG
2010-05-10--09-33-29 : Before second call of RFCDispatch
Security: rfcexec_logon_check
rfcexec_logon_check: logon_user =
sapxpg_logon_check: rfc_attr.user = BASIS
rfcexec_logon_check: client =
> Function: BtcXpgEndXpg
2010-05-10--09-33-29 : Beginning of BtcXpgEndXpg
> Function: BtcXpgStartXpgExport > Function: BtcXpgTable < Function: BtcXpgTable < Function: BtcXpgEndXpgImport > Function: BtcXpgEndXpgInt > Function: BtcXpgItTransfer Content of source log table:
Line Text
<No StdOut/StdErr output reported>
Target log table is not identical to source
ItGetLine terminated with NULL
< Function: BtcXpgItTransfer > Function: BtcXpgReadChild Output of external command not written to log !!
Process executing external program has terminated
< Function: BtcXpgReadChild > Function: BtcXpgEnd < Function: BtcXpgEnd Termination status of external program: no errors reported
StdOut/StdErr collected in memory
< Function: BtcXpgEndXpgInt > Function: BtcXpgEndXpgExport > Function: BtcXpgParam < Function: BtcXpgParam > Function: BtcXpgParam < Function: BtcXpgParam < Function: BtcXpgEndXpgExport
2010-05-10--09-33-30 : End of BtcXpgEndXpg
< Function: BtcXpgEndXpg
2010-05-10--09-33-30 : After second call of RFCDispatch
2010-05-10--09-33-30 : After call of RfcClose (wait)
< Function: main
2010-05-10--09-33-30 : End of SAPXPG: main
dev_xpg
Trace file of External Program (trace level 3)
< Function: BtcTrcInit> Function: BtcXpgStart External program: brtools -sid prd -F printout alert_log 20100401000000 0128
Regards,
Kumar -
Error processing request in sax parser: Error when executing statement...
Hello,
I want to INSERT data from R/3 System to AS400 via JDBC adapter into a DB2 database. The interfaces from R/3 are Ok. but i have some problems to use the JDBC in DB2 Systems. The message in comunitation channel is:
" Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPE106TST' (structure 'STATEMENT'): java.sql.SQLException: SPE106TST de SADMT1 no válido para la operación."
in the SXMB_MONI -> Request Message Mapping payloads this:
The connection to the database is fine, Sender adapter with a SELECT * works perfect.
Please Can anyone help me solve this problem? I'm lost.
Best regards,
Edited by: Nicola Occhipinti on May 22, 2008 7:40 PMHi Nicola,
This error occurs when the receiver side structure is incorrect.
Your structure seems to be correct.
Please use lower case for action, access and table.
Please check whether the field names are exactly the same as in the actual Database table sadmt1.SPE106TST.
Check if the table has permissions to write.
You can try an alternate structure without using table tag.
<ns0:MT_XMLSQL_SPEC xmlns:ns0="urn:damm.com/pi/EmployeeMasterData">
<STATEMENT>
<sadmt1.SPE106TST action="INSERT">
<access>
<CODEMP>D</CODEMP>
<CODPRO>00202339</CODPRO>
<NOMPRO>ROSIQUE PERALSGENIS</NOMPRO>
<DIRPRO>GIRONA</DIRPRO>
<POBPRO>S. VICENS HORTS</POBPRO>
<RUTA>0</RUTA>
<ORDEN>0</ORDEN>
<NOMINA>S</NOMINA>
</access>
</sadmt1.SPE106TST>
</STATEMENT>
</ns0:MT_XMLSQL_SPEC>
Hope your problem gets solved.
-Shamly -
Error 801 when executing external command on
Hello,
I have installed CCMS agents and CCMS ping in my system yesterday. And activated the CPH BGD jobs for SL reporting purpse. Now I am getting an error "Error 801 when executing external command on" under class LC 2. I am not able to find any relevant note or help for this error. Any idea why this happens? How can I solve this? The details as follows:
EXTERNAL COMMAND: rc = Error 801
SXPG_COMMAND_EXECUTE(LONG):
<timestamp>: 20100310144206
COMMANDNAME: PING
ADDITIONAL_PARAMETERS: s-sapcae
LONG_PARAMS:
OPERATINGSYSTEM: AIX
TARGETSYSTEM: sapasmc1
DESTINATION:
SY-SUBRC: 801
Regards,
RajeevHi,
I have activated the trace level to 3 and now I get some messages in dev_cp which is as follows:
Trace file of control program (trace level 3)
< Function: BtcTrcInit> Function: main SAPXPG 720
2010-03-11 08-52-09 : Before BtcXpgDetach
> Function: BtcXpgDetach < Function: BtcXpgDetach Accept RFC connection from R/3 system
2010-03-11 08-52-09 : Before RfcAccept
2010-03-11 08-52-09 : RfcAccept returned OK
Begin of check_if_security_list
security check switched OFF
End of check_if_security_list
Begin of check_trace_option
End of check_trace_option
Install RFC call SAPXPG_START_XPG
Install RFC call SAPXPG_START_XPG_LONG
Install RFC call SAPXPG_END_XPG
Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
2010-03-11 08-52-09 : Before first call of RFCDispatch
Security: rfcexec_logon_check
rfcexec_logon_check: logon_user = TT4WNUC
sapxpg_logon_check: rfc_attr.user = TT4WNUC
rfcexec_logon_check: client = 100
2010-03-11 08-52-09 : After first call of RFCDispatch
2010-03-11 08-52-09 : Before call of RfcClose (sequencing error)
2010-03-11 08-52-09 : After call of RfcClose (sequencing error)
< Function: main
2010-03-11 08-52-09 : End of SAPXPG: main
I think the issue is with the user TT4WNUC. Could you please let me know from where I can change this user?
Rajeev -
Sm_SolmanSID error 503 when executing external command
Hello,
On one of my managed system (my productive ECC),
I have the following error ,everyday at 20:00,
for the user SM_SolamnSID.
"Error 503 when executing external command on (xpgid=0,convid=.)"
The role ZSAP_SOLMAN_READ has been given to this user.
Could you tell me what I should perform to avoid this problem?
Regards,Hi Benoit,
Pls refer below threads for external error of 503,
Cannot run SM69 external commands from application server
Cannot run SM69 external commands from application server,&nbsp;SM21&nbsp;|&nbsp;ABAP,&nbsp;SAP,&nbs…
Regards
K.N -
Error 801 when executing external command
Dear all,
One of our PRODcution system (PI) system getting lot of below error in SM21.
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
00:07:17 sappip_PIP_03 BTC 038 400 BASIS LC 2 Error 801 when executing external command on (xpgid=0,convid=.)
OS : HP-UX , DB : Oracle and sapnetweaver2004s
Kindly advise and let me know what should i check SM49 ?
Thanks
Edited by: satheesh0812 on Aug 18, 2011 4:37 PMHi,
Perhaps the steps and solution in this thread could help.:
Error 801 when executing external command on
Regards,
Srikishan -
Error when executing statement for table/stored proc
Hi All,
I am getting this error when executing IDOC to JDBC (Stored Procedure) Scenario.
In my stored procedure I have three insert statements to insert rows in to 3 tables.
This stored procedure is working fine for two insert statements i.e,
For this I have created data type for stored procedure with 10 elements and executed the scenario and was successfully running.
when I added 3rd insert statement to stored procedure ie., when i added 5 more elements to the datatype (totally 15 elements) it starts giving the bellow error in Message Monitoring.
<i><b>Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
<i><b>Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'COGRP_TMP_PROC_1' (structure 'Statements'): java.sql.SQLException: General error</b></i>
Note:- I have run the stored procedure with three insert statements in Sql Server, and also by calling an external program also, and was working fine.
<i><b> Note : Is there any structure needs to be follow when working with IDOC to Stored procedure.</b></i>
I am struck up with the error, can any body resolve this issue.
Thanks in Advance,
MurthyHi narasimha,
This seems to be any error due to incorrect query formation.In your receiver jdbc channel set the parameter logSQLstatement = true.you can find this parameter in the advanced mode. Using this parameter you will be able to see the sql query which is generated at runtime in the audit log in RWB.
Regards,
Pragati -
File to JDBC :Error when executing statement for table/stored proc.
Hi,
I am getting following error when i am trying to insert data into z-table using JDBC recr adapter.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZTEST' (structure 'STATEMENT'): java.sql.SQLException: <u>[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name '<b>ZTEST</b>'.</u>
But the database table name 'ZTEST' exists in the system.
XML structure:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<TEST action="INSERT">
<table>ZTEST</table>
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>ABC</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</TEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
SrinivasHi,
I have changed my MT str but still getting the same error.Is it possible to insert/ update a z-table using JDBC adapter.
XML str:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_RECR xmlns:ns0="http://urn:srini/FileToJDBC">
<STATEMENT>
<ZTEST action="INSERT">
<access>
<ROLLNO>123</ROLLNO>
<FIRSTNAME>abc</FIRSTNAME>
<LASTNAME>XYZ</LASTNAME>
</access>
</ZTEST>
</STATEMENT>
</ns0:MT_RECR>
Regards,
Srinivas -
Error when executing interface which load data from csv file which has 320
Hi,
Can some one provide a resolution for below error:
I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
using LKM File to SQL, IKM Sql Control Append.
I am getting below error when executing the interface :
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location>
BSF info: Create external table at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
out.print("createTblCmd = r\"\"\"\ncreate table ") ;
out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
"<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022[DEST_WRI_DT]\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t", "","")) ;
out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
out.print("'\n\t\t") ;
out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
out.print("\n\t\tBADFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
out.print("\n") ;
if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])\\t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t\\t\\t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
} else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
out.print("'\n\t\t") ;
if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
} else {out.print("OPTIONALLY ENCLOSED BY '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
out.print("' AND '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
out.print("' ") ;
}out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t\\t\\t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
}out.print("\tLOCATION (") ;
out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
out.print(")\n)\n") ;
out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
out.print("\nREJECT LIMIT ") ;
out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
****** ORIGINAL TEXT ******
createTblCmd = r"""
create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t", "","")%>
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dat_dir
ACCESS PARAMETERS
RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
<%=odiRef.getUserExit("EXT_CHARACTERSET")%>
<%=odiRef.getUserExit("EXT_STRING_SIZE")%>
BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
<% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
FIELDS
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%} else {%>
FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
<% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
<%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
<%=odiRef.getUserExit("EXT_PARALLEL")%>
REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
# Create the statement
myStmt = myCon.createStatement()
# Execute the trigger creation
myStmt.execute(createTblCmd)
myStmt.close()
myStmt = None
# Commit, just in case
myCon.commit().
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)The issue is encountered because the text delimiter used in the source file did not consist of a pair of delimiters.
Please see support Note [ID 1469977.1] for details. -
Error when executing statement for table/stored proc DB2 - Data Truncation
Hi,
I have one call sp in XI with n parameters int and two parameters out.
well, to implement the interface gives the following error
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SPSAPAR9' (structure 'Statement'): java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters
Thanks for your help
Ximena
Edited by: Ximena Gonzalez on Feb 19, 2008 11:50 AM
Edited by: Ximena Gonzalez on Feb 20, 2008 12:17 PMMy Error is change
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPPRG.SPSAPAR9' (structure 'Statement'): java.sql.DataTruncation: Data truncation
but de change DT SP
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:AlistReqDet2_MT xmlns:ns1="urn:proxl:tmuc:proxl01:AlistReqItems">
<Statement>
<SPSAPAR9 action="EXECUTE">
<table>SAPPRG.SPSAPAR9</table>
<ISAPNU1 isInput="TRUE" type="STRING">0080000353</ISAPNU1>
<ISAPEM1 isInput="TRUE" type="STRING">'LU'</ISAPEM1>
<ISAPC05 isInput="TRUE" type="STRING">15353</ISAPC05>
<ISAPSEC isInput="TRUE" type="STRING">10</ISAPSEC>
<ISAPLOT isInput="TRUE" type="STRING">'lats'</ISAPLOT>
<ISAPCA1 isInput="TRUE" type="STRING">10</ISAPCA1>
<ISAPCA2 isInput="TRUE" type="STRING">10</ISAPCA2>
<ISAPKIL isInput="TRUE" type="STRING">10</ISAPKIL>
<ISAPES1 isInput="TRUE" type="STRING">'T'</ISAPES1>
<ISAPSW isOutput="TRUE" type="STRING" />
</SPSAPAR9>
</Statement>
</ns1:AlistReqDet2_MT> -
FJS-00012 Error when executing script.
Folks, please i need help, i'm installing sap on oracle 9.2
SYSID CBT, this is SAP 4.71. It stops on the "creating or registering SAP Services (post processing)" phase, and inside the file SAPSTARTSRV.EXE.log it's just the word SERVICE NOT STARTED.
here is the error message
==========
Creating file K:\usr\sap\trans\bin\tpparam_instCBT.
PHASE 2011-03-14 18:41:36
Deal with services
PHASE 2011-03-14 18:41:36
Prepare dealing with SAP System services
INFO 2011-03-14 18:41:36
Creating file S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-14 18:41:48
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log'.
ERROR 2011-03-14 18:41:48
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
ERROR 2011-03-14 18:41:48
FJS-00012 Error when executing script.
INFO 2011-03-14 18:42:05
Creating file S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-14 18:42:52
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log'.
ERROR 2011-03-14 18:42:52
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
ERROR 2011-03-14 18:42:52
FJS-00012 Error when executing script.
INFO 2011-03-14 18:48:37
Creating file S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-14 18:48:44
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log'.
ERROR 2011-03-14 18:48:44
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
ERROR 2011-03-14 18:48:44
FJS-00012 Error when executing script.
=============
what can i do?
cheers.Hi, i installed the vcredist_x86 patch but nothing happened. I'm running a windows 2000 advanced server on a virtual machine with 3 GB of RAM and a lot of space.
When i tried to start the services manually from service.exe it shows me the on windows eventviewer:
Initialization failed. Service not started. [ntservmain.cpp 1002]
and then
The dynamic link library librfc32.dll could not be loaded
And here is the message from the sapinst
***** Transaction begin ********************************************************
TRACE
Processing Row[0] WapsSystemName="CBT" WapsInstanceName="DVEBMGS00" WapsInstanceHost="SNGCBT1" Key="WAPS_SAPsidInstNum_Service" Program="K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE" ProgramArguments="-r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS00_SNGCBT1 -s CBT -n 00 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm" ArgumentSeparator=" " ProgramReturnCode="255"
TRACE<i>
Copying file S:/SAPinst_ORACLE_SAPINST/SAPSTARTSRV.EXE.log to: S:/SAPinst_ORACLE_SAPINST/SAPSTARTSRV.EXE.12.log.
TRACE<i>
Creating file S:\SAPinst_ORACLE_SAPINST\SAPSTARTSRV.EXE.12.log.
TRACE<i>
Removing file S:/SAPinst_ORACLE_SAPINST/SAPSTARTSRV.EXE.log.
INFO 2011-03-15 14:47:21
Creating file S:\SAPinst_ORACLE_SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-15 14:47:29
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS00_SNGCBT1 -s CBT -n 00 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst_ORACLE_SAPINST\SAPSTARTSRV.EXE.log'.
TRACE
ProgramReturnCode='-1' means error.
ERROR 2011-03-15 14:47:29
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS00_SNGCBT1 -s CBT -n 00 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
***** Transaction end **********************************************************
So Please can someone help me.
regards -
Error1006 when executing external command mv ...
This error concerns one of the several daily batch most critical. It was not detected before because even if there is an error the program won't never fail (we will review for sure this program).
The error appears at the call of an external command ZRENAME that corresponds to the OS command "mv" to rename a physical file on directory /interface.
This error seems corresponds to a timeout when the SAP system tries to call the mv command on the OS level ...
ERROR:
Time Type Nr Clt User TCode Priority Grp N Text
12:00:51 BTC 034 120 BUSER_HK20 LC 2 *Error1006 when executing external command mv on %_TCPIP_%1 (in=R,out=M,err=M,trc=0,trm=C. strtstat=,xpgid=0,convid=. msg:timeout during a)*
Thanks in advance for helpHello
Check note #1406178 Error 1006 occurs when you execute an external
Regards
Mark -
Error when executing statement for table/stored proc. : ORA-00911
Hi All,
I am posting IDOC->XI->JDBC, approx 5000 Idocs.
But few messages are giving following error in XI-_SXMB_MONI
Can any one guide me what is the cause of error? I check whole Idoc data I am not able to see bad character? can any once guide me what are the bad character in XML to post data in oracle? so that i can search in XML and how to avoide this error.
"com.sap.aii.af.ra.ms.api.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'HRP1001' (structure 'INSERT_PAD34'): java.sql.SQLException: ORA-00911: invalid character"> I am talking about following IDOC.<ZRMD_A06> ->
> <E1PLOGI SEGMENT="1">-> <E1PITYP SEGMENT="1"> ->
> <E1PAD34 SEGMENT="1"> -><PROZT>0.00 #</PROZT>.
> Can we remove this # during message mapping in XI??
sure you can remove it using Replace function or by writing UDF.
as I am seing # is last character..<b>so remove # with " " (single space) and then use the TRIM fucntion.</b>
Thanks
Farooq.
*<b>Rewards points if you find it useful*</b>
Maybe you are looking for
-
SQL Server Agent Job Step: Can I run in single step?
Hi: I have a SSIS package that I am running from a SQL Agent job. I have to run a msdb Stored procedure first and then run the package. So I have created 2 steps. step-1, type =Tra-SQL where I am running my Stored Procedure. And then step-2, type= In
-
Problems with special Characters in filenames and folders
My problem is that i have a small portlet which lists some files under each other. These files have sometimes the special character & in there name. If now a person clicks with right mousebutton on such a link, the saving dialog only shows a cryptik
-
Serial number column in Jtable
Apologies for this distraction. I read at this forum about a year ago how to add a s/n column in Jtable such that all the nos are automatically updated/adjusted when a row is added/deleted. the count starts from the top down serially and unaffected b
-
I have a Cisco aironet 1040. On my Accespoint i have 2 vlans: 1 for my wifi phones and 1 for my network. Wifi Lan has the SSID LAN with WPA enterprise authentication to a radius server(ms server 2008). Wifi Phone has SSID PHONE and vlan 50 with local
-
I want to know if my plan includes the discount from my employer "Mayo clinic"
Mayo clinic offers employee discounts and I want to know if updating my phone and plan are included in that discount. Also, I did not okay online bill pay.Is that my only option?