[jbosstools-issues] [JBoss JIRA] (JBIDE-24758) Server editor complains about wrong runtime folder even if fixed

Martin Malina (JIRA) issues at jboss.org
Tue Jul 25 04:21:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439654#comment-13439654 ] 

Martin Malina commented on JBIDE-24758:
---------------------------------------

What's worse, when I actually tried to start the server, it still tried to use the old location:
The archive: /Users/rasp/tmp/jboss-eap-6.4/jboss-modules.jar which is referenced by the classpath, does not exist.
I expected that the server start simply failed - it was an error pop up window. But it keeps Starting, even though there is no output in the console. I had to quit it using the stop button in servers view.

I checked again in the server editor and Runtime Environment and it shows the correct path there. So something is fishy.

I then tried to go through Behavior Profile and just clicked Finish, hoping that this would reset the server and it would work now. But no, the server still won't start.

If I go to Preferences -> Server -> Runtimes and then Edit on the runtime, it contains the correct path. So I think it must be some kind of caching problem.

I restarted the IDE and it still fails. Again, I checked that the runtime has the correct path. And now I also checked the launch config. And that seems ok too - these are the calculated arguments, all containing the correct path:
{code}
-mp "/Users/rasp/jbossqa/runtimes/jboss-eap-6.4/modules" -jaxpmodule javax.xml.jaxp-provider -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -b localhost --server-config=standalone.xml -Djboss.server.base.dir=/Users/rasp/jbossqa/runtimes/jboss-eap-6.4/standalone 
{code}

> Server editor complains about wrong runtime folder even if fixed
> ----------------------------------------------------------------
>
>                 Key: JBIDE-24758
>                 URL: https://issues.jboss.org/browse/JBIDE-24758
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.5.0.AM2
>            Reporter: Martin Malina
>
> I had a runtime and server adapter set up for eap 6.4. I deleted the server on the disk. When I opened the server editor, I was shown a red message in the status bar:
> The server's runtime folder does not exist: ......
> So far so good.
> So I unzip eap 6.4 somewhere else, clicked Runtime Environment in the server editor, and pointed the runtime to the new correct directory. Then I saved the editor. But the error message in the status bar still won't go away. I have to close the editor and then open it again, then the message no longer shows up.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list