jmo7 (User)
Junior Boarder
|
|
instance won't terminate 1 Year, 9 Months ago
|
Karma: 0
|
|
In the bpms-console I am trying to terminate an "In Progress" instance but when I try to do so it gives me the following error:
"Error:Terminate instance operation failed for instance PIPA(1474562)"
with a trace of
org.apache.ode.bpel.pmapi.InvalidRequestException: The process "{http://www.alpineinnovations.com/BackBoneAlpha/PIPA}PIPA-14" is available. at org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getDebugger(ProcessAndInstanceManagementImpl.java:521) at org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.getDebugger(ProcessAndInstanceManagementImpl.java:551) at org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.terminate(ProcessAndInstanceManagementImpl.java:384) 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 org.apache.ode.jca.server.rmi.RmiPipeServerImpl.invokeConnectionMethod(RmiPipeServerImpl.java:89) at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) at java.lang.Thread.run(Thread.java:595)
Also, if I try to suspend it itakes me a a genError.htm page that says:
We are sorry for inconvenience, but the page you are looking for is unavailable.
Back or Go to Login page
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:instance won't terminate 1 Year, 9 Months ago
|
Karma: 26
|
|
Hi, What is the version of Intalio|BPMS you're using? Since the problem is not reprodcable in which you can terminate an inprogress instance from console easily be selecting it in the list of instances.
Thanks, Shivanand.
|
|
|
|
|
|
|
The administrator has disabled public write access. |
jmo7 (User)
Junior Boarder
|
|
Re:instance won't terminate 1 Year, 9 Months ago
|
Karma: 0
|
|
Shivanend,
I'm using intalio-bpms-5.0.0.059. There might be something strange going on with my setup (either of Intalio or possibly java as I keep getting java.lang.nullPointer exceptions when I'm using the Intalio Designer also). I'll uninstall and reinstall things to see if it helps.
(for me, I was in the console and I would click on the checkbox next to a process. It would show a checkmark, but then when I went and clicked the terminate button it would give me the error.)
|
|
|
|
|
|
|
The administrator has disabled public write access. |
jmo7 (User)
Junior Boarder
|
|
Re:instance won't terminate 1 Year, 9 Months ago
|
Karma: 0
|
|
Today I tried it again and it works. I had tried rebooting my machine yesterday in case it was due to my machine crashing and it didn't seem to help. I uninstalled intalio server and reinstalled it and things seem to be working now (I don't know that it was Intalio server's fault. I think my JVM was having problems and might have corrupted some things)
|
|
|
|
|
|
|
The administrator has disabled public write access. |
jmo7 (User)
Junior Boarder
|
|
Re:instance won't terminate 1 Year, 9 Months ago
|
Karma: 0
|
|
I think I've figured it out. I had "undeployed" some of my processes and the instances that wouldn't terminate were instances of those processes. If this proves to be what happened it would be a good idea that when the admin undeploys a process intalio would delete any corresponding instancess. (Either that or tell the admin that they need to go and delete the corresponding instances before they can undeploy the process)
The reason why I was able to get it working as of my last post was that I had removed intalio and reinstalled it. I had then deployed a process and started instances of it. I was then able to terminate the instances (because the process was still deployed)
Post edited by: jmo7, at: 2007/09/13 15:24
Post edited by: jmo7, at: 2007/09/13 15:25
Post edited by: jmo7, at: 2007/09/13 15:25
|
|
|
|
|
|
|
The administrator has disabled public write access. |
jmo7 (User)
Junior Boarder
|
|
Re:instance won't terminate 1 Year, 9 Months ago
|
Karma: 0
|
|
Also, it looks like if you use the bpms-console to terminate an instance, the tasks related to that instance still show up in the workflow manager, but when you try to run them they error out.
So I'd suggest a similar thing as in my last post in the thread - when an instance is terminated in the console, the tasks associated with it should a) drop out of the tasksl isted in the workflow manager (possibly with a message to the workflow user), or
b) a warning should be given to the admin saying you can't terminate this because there are tasks currently listed in the workflow manager (this wouldn't make much sense because then you couldn't terminate instances early as they will always have some task waiting to be fulfilled).
Hope this helps,
Jeff
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|