Comments (9)
Can you give us the .log from your workspace folder please?
from open-liberty-tools.
This behavior continues and is consistent every time I start Eclipse. Is there some secure way to provide my .log file? In case there's anything sensitive in it.
from open-liberty-tools.
Let me have a go at reproducing first if that is a potential issue.
from open-liberty-tools.
@dougbreaux
Hello Doug, I think we are missing some information here and are unable to reproduce the issue. Let me go through my reproduction steps and please tell me where your steps differ (note that this is only looking at the runtime being lost at the moment to reduce complexity):
- Install eclipse and install Open Liberty Tools.
- Unzip two open liberty runtimes runtimes and name them "ol1" and "ol2"
- Using the "Runtime Explorer" view, define a Liberty Runtime pointing at "ol1" (or optionally define a runtime for "ol2" as well)
- Right click on runtime > New Liberty Server "Fred" (which will be created in the usr directory of "ol1")
- Right click on Fred and select new server
- [optional] Switch to "Servers" view and start and stop server "Fred"
- From "Servers" select Fred and press F3
- EITHER click "Runtime Environment" and change the runtime location to "ol2"
OR if you defined the 2nd runtime on use the pull down to select the other runtime. - Save the server pane (CTRL+S)
- Exit eclipse
- Rename "ol1" to "ol1-delete"
- Start eclipse
- From "Runtime Explorer" view the runtime is still pointing at the new runtime location.
- From "Server" view start server and get the expected message back saying that the server does not exist (as it exists under the usr directory of the old runtime).
How does your recreation differ ?
from open-liberty-tools.
- IBM Liberty Developer Tools 23.2. Just to be certain we're talking about the same extension
- yes
- I didn't use the "Runtime Explorer" view, but I expect what I did is effectively the same? Servers view > Runtime Environment > Choose an existing installation (will attach screenshot)
- I've been working with an existing server, not creating a new one, for a long time
- ditto
- I start and stop server often after switching the Runtime Environment
- don't know what F3 does, haven't used it
- yes
- yes
- yes
- deleted folder entirely
- yes
- no, it's pointing to the old that doesn't exist. Further, the JRE is pointing back to the prior/outdated value (which in my case doesn't exist either). I have to switch both again to current values
- before I switch back, when starting Eclipse, I get the original screenshot shown
Additional, possibly-relevant detail: I have defined the usr directory as a location external to the product installations. So that I don't lose configuration when I upgrade:
from open-liberty-tools.
Okay my apologies you did say "Liberty Developer Tools" not "Open Liberty Tools" I did try originally with the "WebSphere Developer Tools" which includes "Liberty Developer Tools" and the tradtional "WebSphere Tools" ... will try those notes and see if I can get any closer.
F3 on the server definition just brings up the server overview which is how I thought you got to the edit options.
from open-liberty-tools.
Still happening on an entirely new system, but where I'd copied the workspace over from my prior system.
Trying to get to the bottom of this, I find a couple of files in workspace > .metadata > .plugins > org.eclipse.core.runtime > .settings
that do contain the obsolete paths:
com.ibm.ws.st.ui.prefs
org.eclipse.wst.server.core.prefs
Manually cleaning up these does seem to have resolved the problem. So, the question is why they're not being preserved when the represented settings are edited from within Eclipse.
Oh, including making the vm-install-id
in the second match the <vm id
in org.eclipse.jdt.launching.prefs
. Selecting the VM in the dialog apparently doesn't update this file either.
from open-liberty-tools.
Well, I just added a new location from the UI, and I see it updated in the com.ibm.ws.st.ui.prefs
file. I'll have to see if it persists on shutdown/restart
from open-liberty-tools.
Upon restart, ui.prefs kept the full list, but core.prefs reverted to the prior default
from open-liberty-tools.
Related Issues (20)
- Open Liberty Does not show up in Servers view in Eclipse HOT 4
- Problems interacting with server using Docker 3.3.2+
- Update Open Liberty bundle for JSP for Jakarta
- Unable to use the tooling to debug a Liberty Docker container using Java 11+
- Unable to pull Docker image using Docker Tooling perspective
- Hot code replace failed dialog showing for every save action when server is running
- Add `src/main/liberty` and `src/test/liberty` to the list of java source folders HOT 1
- OL tools v22.[1-2] do not install on Eclipse JEE 2022-[06,09,12] (v4.[24,25,26]) because of org.eclipse.m2e.maven.runtime version requirement HOT 22
- OpenLiberty cannot run the war project with Servlet 5.0 (Jakarta EE 9.1 and MicroProfile 5.0) in Eclipse IDE 2022-09 HOT 1
- Upgrade Gradle from v5.5.1 to 7.3+ HOT 2
- Is this project dead? HOT 1
- An internal error occurred during: "Validating" due to class not found issue Eclipse 2023-03 HOT 3
- Cannot start servers due to port conflict, even though ports are unique HOT 2
- Service case: Red dot decorators appearing on files in eclipse with WDT installed
- Update default shutdown timer for Liberty server. HOT 1
- Eclipse takes a very long time to initialize (seems to hang on startup) loading feature metadata for Liberty Server(s). HOT 2
- IDE hangs opening server.xml "Source" tab
- Rename feature installed by OLT
- Change OLT wiki to refer to changed feature name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-liberty-tools.