[jboss-jira] [JBoss JIRA] (AS7-2859) Management: unable to add connector listening on created interface

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Jan 18 12:51:20 EST 2012


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

Brian Stansberry commented on AS7-2859:
---------------------------------------

I haven't been able to duplicate this. I suspect it has to do with the provided interface name not matching what is returned by java.net.NetworkInterface.getName().
                
> Management: unable to add connector listening on created interface
> ------------------------------------------------------------------
>
>                 Key: AS7-2859
>                 URL: https://issues.jboss.org/browse/AS7-2859
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 7.1.0.Beta1
>            Reporter: Dominik Pospisil
>            Assignee: Brian Stansberry
>
> Creating connector listening on newly created inteface fails with:
> MSC00001: Failed to start service jboss.network.test-interface: org.jboss.msc.service.StartException in service jboss.network.test-interface: failed to resolve interface test-interface
> Steps to reproduce:
> 1) create new interface
> /interface=test-interface:add(nic="tun0")
> 2) add socket binding which uses created interface
> /socket-binding-group=standard-sockets/socket-binding=test-binding:add(interface="test-interface", port=9091)
> 3) add web connector
> /subsystem=web/connector=test:add(socket-binding="test-binding", protocol="HTTP/1.1", scheme="http")
> Step 3 fails with:
> 16:27:56,388 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.network.test-interface: org.jboss.msc.service.StartException in service jboss.network.test-interface: failed to resolve interface test-interface
>         at org.jboss.as.server.services.net.NetworkInterfaceService.start(NetworkInterfaceService.java:95) [jboss-as-server-7.1.0.CR1-SNAPSHOT.jar:]
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:]
>         at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.6.0_23]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.6.0_23]
>         at java.lang.Thread.run(Thread.java:679) [:1.6.0_23]
> 16:27:56,592 INFO  [org.jboss.as.controller] (Remoting "simkin:MANAGEMENT" task-2) JBAS014774: Service status report
> JBAS014777:   Services which failed to start:      service jboss.network.test-interface: org.jboss.msc.service.StartException in service jboss.network.test-interface: failed to resolve interface test-interface

--
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 jboss-jira mailing list