This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79708 - JBI Remote Exception while shutdowning any sample application
Summary: JBI Remote Exception while shutdowning any sample application
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Joshua Sandusky
URL:
Keywords:
Depends on:
Blocks: 81280
  Show dependency tree
 
Reported: 2006-07-04 15:21 UTC by Alexander Pepin
Modified: 2006-08-08 14:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
DebugError.txt (2.22 KB, text/plain)
2006-07-27 23:46 UTC, Jun Qian
Details
ShutdownError.txt (10.58 KB, text/plain)
2006-07-27 23:47 UTC, Jun Qian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2006-07-04 15:21:49 UTC
Syeps to reproduce:
- create any sample application project (e.g. SynchronousSample)
- add JBI module to the application
- deploy the application
- debug the application
- close debug session
- switch to Runtime tab and stop the application 
- try to shutdown the application
Result: Shutdowning takes long time then fails with message in JBI Console:
Failed execution of shutdownServiceAssembly.
com.sun.jbi.ui.common.JBIRemoteException
Comment 1 Jun Qian 2006-07-27 23:45:48 UTC
I could still reproduce the problem with build 060727_18. (The app server is
from build 060724.)

After I attached the BPEL debugger and ran a testcase, I noticed that I couldn't
stop in the bpel code. I got the following in server.log. (See Attachment
DebuggerError.txt) 

I then detached the debugger, stopped the SA and tried to shutdown the SA. I got
a timeout error as originally reported. The following is the error message from
server.log. (See Attachment ShutdownError.txt) 

I think this is some problem in the BPEL runtime/debugger.
Comment 2 Jun Qian 2006-07-27 23:46:58 UTC
Created attachment 32273 [details]
DebugError.txt
Comment 3 Jun Qian 2006-07-27 23:47:40 UTC
Created attachment 32274 [details]
ShutdownError.txt
Comment 4 Jun Qian 2006-07-28 19:22:36 UTC
With build 060728, when attached to the BPEL debugger, I could hit my breakpoint
just fine and I didn't see the debugger error anymore, but I still got timeout
on shutting down the SA.

I tried the whole process once again (on a fresh JBI installation) except that I
didn't attach the BPEL debugger this time. I could stop/shutdown/undeploy the SA
without any problem. This leads me to think maybe there are some resources that
are not released after attaching/detaching the BPEL debugger?

I am reassigning this to the BPEL debugger team for comments.
Comment 5 Alexander Pepin 2006-08-02 15:02:28 UTC
see also 81280
Comment 6 _ hong_lin 2006-08-02 19:26:47 UTC
Bug is reproducible in coke milestone build 17.
Comment 7 Joshua Sandusky 2006-08-07 23:02:48 UTC
Mei Wu has fixed this issue. There was an additional thread that was making a 
duplicate call to detach the client, this erroneous thread has been removed.
Comment 8 Alexander Pepin 2006-08-08 14:25:46 UTC
verified in build 060806_1