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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content