Admin Console saving 'CHOOSE' for a STUN address, which causes annoying traceback

Description

Ignite's server settings have CHOOSE set for stun.address.secondary , this is due to the admin console jsp page. The traceback comes back as

2012.02.09 08:20:12 org.jivesoftware.openfire.stun.STUNService - Disabling STUN server
java.net.UnknownHostException: CHOOSE
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
at java.net.InetAddress.getAddressFromNameService(Unknown Source)
at java.net.InetAddress.getAllByName0(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getAllByName(Unknown Source)
at java.net.InetAddress.getByName(Unknown Source)
at org.jivesoftware.openfire.stun.STUNService.startLocalServer(STUNService.java:166)
at org.jivesoftware.openfire.stun.STUNService.start(STUNService.java:158)
at org.jivesoftware.openfire.XMPPServer.startModules(XMPPServer.java:622)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:487)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:212)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)

Environment

None

Activity

Show:
Daryl Herzmann
February 9, 2012, 2:47 PM

r12971 updated javascript to check that ip1 and ip2 are not CHOOSE

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Daryl Herzmann

Reporter

Daryl Herzmann