Steps to reproduce
- Start App Server 8.1
- In Runtime tab expand Runtime > Servers > Sun Java System Application Server 8.1 > JDBC > Connection Pools nodes
- Register non-registered JDBC Connection Pool (create it if neccessary). It will be successfully registered.
RESULT: Open Runtime tab again and verify that connection pool isn't added here yet. To see it you should refresh the node.
The same situation is for the JDBC Resources and Persistence Resources.
Deploy project action and the register action on resource should follow up with
a call to refresh the runtime area in order for the latest server snapshot to be
This bug fix is requested by JSE team. Exceptions needs to be handled properly.
Marking this bug as P1
This functionality is needed for coming JSE release.
P3 bug. There is a workaround, to call refresh manually.
We cannot find a fix other than maybe completely refreshing the entire tree and
that could be another p3 bug in itsef...
The main issue is that there is no notification back from the runtime of
changes...The model is really handled by the backend server (because apps or
resources could be also deployed outside the IDE)...That's why we have this
refresh action, to resynchronize the IDE with the current state of the server.
If the node has not been explored previously, then you'll have the correct value
since to improve perf, we do lazy loadind on the necessary data for each node.
The runtime tree is not connected to the activity in the projects tab. So no
refresh is initiated after a deploy or register. Initiating an overrall refresh
will result in the entire tree being refreshed, as Ludo described. This needs to
be looked into to see if it is possible to refresh only the set of affected
runtime components. ie. say web project is deployed, the web modules node and
aoociated resoures nodes will need to be refreshed.
*** Issue 61200 has been marked as a duplicate of this issue. ***
should we add this to the 6.5 task list for the v3 plugin? bonus points if it ends up working in the v2 plugin... but
not a requirement.
I guess we need to resolve this issue in 7.0.
Please be ready to discuss this on 2008/10/22.
no bug should be assigned to issues. distributing the load.