We have an EE Enterprise Application and EE Web Application in two projects. The EE Web Application uses a jar that requires a native implementation.
I can add a native path and it work, but if I leave MyEclipse and then come back, it stops working.
Here are the steps I take to show this problem.
1. Within MyEclipse, I look at the Servers tab. I see GlassFish v3 Final and I right-click on it.
2. I select Configure Server Connector.
3. I explode the tree node for GlassFish v3 Final.
4. I select the Paths leaf node.
5. In the bottom pane, I see the “Append to library path:” list.
6. I click on Add DIR.
7. I navigate to (in my particular case) C:\Program Files\tibco\tibrv\bin and click OK.
8. The native path is added to the bottom pane as “C:\Program Files\tibco\tibrv\bin”.
9. I click OK, and when I run things, everything works perfectly …
UNTIL
10. I exit MyEclipse and come back in.
11. Now, when I run the application, it fails, saying it can’t find the native implementation
12. I go back to the “Append to library path:” list and I see that the entry has now changed to “bin – C:/Program Files/tibco/tibrv/bin”.
13. If I then manually add the correct directory AGAIN, things will work fine again until the next time I leave MyEclipse and re-enter.
This is, as I’m sure you can imagine, extremely annoying.