[jbosstools-issues] [JBoss JIRA] (JBIDE-19532) "Edit Server Runtime Environment" Dialog configuration validation is broken

Rob Stryker (JIRA) issues at jboss.org
Tue Apr 28 13:22:52 EDT 2015


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

Rob Stryker commented on JBIDE-19532:
-------------------------------------

Denis:

I've set up the same situation you have, but I'm still seeing validation errors. And yes, I'm using the browse button, and selecting a folder that is sym-linked to the home directory. 

The error message I see is  Configuration file is not found: /home/rob/apps/jboss/unzipped/wildfly-8.2.0.Final.zip.expanded_sym/configuration/standalone.xml

The wizard is not completable due to this error. 

[~mmalina]  Can you test this? 

My workflow is:
1) Create new wf 8.2 server+runtime with homedir /home/rob/apps/jboss/unzipped/wildfly-8.2.0.Final.zip.expanded
2) Create symlink /home/rob/apps/jboss/unzipped/wildfly-8.2.0.Final.zip.expanded_sym -> /home/rob/apps/jboss/unzipped/wildfly-8.2.0.Final.zip.expanded
3) Double-click server to open editor, click Runtime Environment
4) Click "browse" on "Server Base Directory"  (or Configuration Base Directory if you're using a previous version)
5) Browse to /home/rob/apps/jboss/unzipped/wildfly-8.2.0.Final.zip.expanded_sym
6) Check if there's an error message

> "Edit Server Runtime Environment" Dialog configuration validation is broken
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-19532
>                 URL: https://issues.jboss.org/browse/JBIDE-19532
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.3.CR1
>            Reporter: Denis Golovin
>            Assignee: Rob Stryker
>             Fix For: 4.3.0.Beta1
>
>         Attachments: data-folder-config.png, Edit Server Runtime Environment _102.png
>
>
> If I use "Browse" button for "Configuration base directory" and "Configuration file" validation has no complains, but result is broken Server that cannot start.
> {code}java.lang.IllegalStateException: basedir /home/eskimo/Java/wildfly-8.0.0.Final/configuration does not exist.
> 	at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:879)
> 	at org.jboss.ide.eclipse.as.core.extensions.descriptors.AntFileFilter.getIncludedFiles(AntFileFilter.java:40)
> 	at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.refresh(XPathQuery.java:133)
> 	at org.jboss.tools.as.core.server.controllable.subsystems.internal.XPathsPortsController.findPort(XPathsPortsController.java:80)
> 	at org.jboss.tools.as.core.server.controllable.subsystems.internal.XPathsPortsController.getPortOffset(XPathsPortsController.java:128)
> 	at org.jboss.tools.as.core.server.controllable.subsystems.internal.XPathsPortsController.getJBossWebPort(XPathsPortsController.java:110)
> 	at org.jboss.tools.as.core.server.controllable.subsystems.internal.XPathsPortsController.findPort(XPathsPortsController.java:58)
> 	at org.jboss.ide.eclipse.as.core.server.internal.JBossServer.findPort(JBossServer.java:209)
> 	at org.jboss.ide.eclipse.as.core.server.internal.JBossServer.getJBossWebPort(JBossServer.java:195)
> 	at org.jboss.ide.eclipse.as.core.extensions.polling.WebPortPoller.getURL(WebPortPoller.java:84)
> 	at org.jboss.ide.eclipse.as.core.extensions.polling.WebPortPoller.getCurrentStateSynchronous(WebPortPoller.java:155)
> 	at org.jboss.ide.eclipse.as.core.util.PollThreadUtils.isServerStarted(PollThreadUtils.java:227)
> 	at org.jboss.ide.eclipse.as.core.util.PollThreadUtils.isServerStarted(PollThreadUtils.java:213)
> 	at org.jboss.ide.eclipse.as.core.server.internal.launch.StandardLocalJBossStartLaunchDelegate.isServerStarted(StandardLocalJBossStartLaunchDelegate.java:68)
> 	at org.jboss.ide.eclipse.as.wtp.core.server.launch.AbstractStartJavaServerLaunchDelegate.preLaunchCheck(AbstractStartJavaServerLaunchDelegate.java:117)
> 	at org.jboss.tools.as.core.server.controllable.subsystems.internal.LocalJBossLaunchController.preLaunchCheck(LocalJBossLaunchController.java:119)
> 	at org.jboss.ide.eclipse.as.wtp.core.server.launch.ControllableServerLaunchConfiguration.preLaunchCheck(ControllableServerLaunchConfiguration.java:86)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:840)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
> 	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:731)
> 	at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3541)
> 	at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3477)
> 	at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:367)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list