JBoss fails to start: NoSuchMethodError: org.jboss.system.server.ServerConfigUtil.fixHostnameForURL

Solution Verified - Updated -

Issue

  • We moved from JBoss AS 4.2.3 to JBoss EAP 4.3 CP10, something in the configuration that is causing the WebService mbean to fail to load. We are getting the following error in the boot.log:
WARN  [ServiceController] Problem creating service jboss:service=WebService
java.lang.NoSuchMethodError: org.jboss.system.server.ServerConfigUtil.fixHostnameForURL(Ljava/lang/String;)Ljava/lang/String;
  at org.jboss.web.WebService.createService(WebService.java:307)
  at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
  at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
  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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  ...

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.