Quartz Scheduler in JBoss ON cannot create Instance Id because of UnknownHostException
Issue
- During initial startup of JBoss ON server, it fails due to Quartz Scheduler
Environment
- Red Hat JBoss Operations Network (ON) 3.3.10
- hostname of server is mapped to IPv6 interface
jboss.server.bind.addressis set to IP of the IPv4 interface- JBoss ON server and storage node are both listening on IPv4 address
server.logshows Quartz Scheduler failing to create instance
ERROR [org.quartz.impl.StdSchedulerFactory] (pool-6-thread-1) Couldn't generate instance Id!: org.quartz.SchedulerException: Couldn't get host name! [See nested exception: java.net.UnknownHostException: ip6hostname: ip6hostname]
at org.quartz.simpl.SimpleInstanceIdGenerator.generateInstanceId(SimpleInstanceIdGenerator.java:36) [quartz-1.6.5.jar:1.6.5]
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1137) [quartz-1.6.5.jar:1.6.5]
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1376) [quartz-1.6.5.jar:1.6.5]
at org.rhq.enterprise.server.scheduler.SchedulerService.initQuartzScheduler(SchedulerService.java:126) [rhq-server.jar:4.12.0.JON330GA-redhat-9]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75) [rt.jar:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
