[jbosstools-issues] [JBoss JIRA] (JBIDE-11626) Start of AS7/EAP6 is not recognized when IPv6 local address ::1 is used

Martin Malina (JIRA) jira-events at lists.jboss.org
Tue May 29 08:02:18 EDT 2012


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

Martin Malina commented on JBIDE-11626:
---------------------------------------

So I had Radim Hopp try this for me on Fedora and really, "Show in browser" on server module and "Run on server" on project works correctly. But no so on Mac :( I guess we can't do anything here.

But what still remains a valid problem is that fact that "Show in browser" on server (in server view) tries to open ::1:8080 - Radim could reproduce this also on Fedora 16. This generates this error:
{code}
Unable to open web browser
java.net.MalformedURLException: For input string: ":1:8080"
	at java.net.URL.<init>(URL.java:601)
	at java.net.URL.<init>(URL.java:464)
	at java.net.URL.<init>(URL.java:413)
	at org.jboss.ide.eclipse.as.ui.launch.JBTWebLaunchableClient.openUrl(JBTWebLaunchableClient.java:150)
	at org.jboss.ide.eclipse.as.ui.launch.JBTWebLaunchableClient.checkedCreateInternalBrowser(JBTWebLaunchableClient.java:123)
	at org.jboss.ide.eclipse.as.ui.views.server.extensions.ShowInWelcomePageActionProvider$1.run(ShowInWelcomePageActionProvider.java:68)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
{code}
                
> Start of AS7/EAP6 is not recognized when IPv6 local address ::1 is used
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-11626
>                 URL: https://issues.jboss.org/browse/JBIDE-11626
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS/Servers
>    Affects Versions: 3.3.0.Beta3
>         Environment: JBT trunk nightly 2012-04-21
> Mac OS X 10.7 Lion | Fedora 16
>            Reporter: Martin Malina
>            Assignee: Martin Malina
>            Priority: Critical
>             Fix For: 3.3.0.CR1
>
>         Attachments: JBIDE-11626.png
>
>
> When you set up JBoss AS 7.1.1 or EAP 6.0.0 ER5 to start in IPv6 mode using ::1, it starts OK, but the state stays in Starting... until it times out and kills the process. So it seems the mechanism used to check if the server is started doesn't work when using IPv6.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list