Wildfly 13 Startup failure

17 views
Skip to first unread message

Dan ny

unread,
Nov 28, 2018, 2:55:35 PM11/28/18
to inspectIT
Wildfly 13 on JDK8 (u162) with the inspectit 1.9.2.106 agent


Immediately I am met with the following exception and the process dies:


Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.NoClassDefFoundError: org/wildfly/common/net/HostName
        at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:87)
        at org.jboss.logmanager.ExtLogRecord.<init>(ExtLogRecord.java:70)
        at org.jboss.logmanager.Logger.info(Logger.java:526)
        at rocks.inspectit.agent.java.javaagent.JavaAgent.premain(JavaAgent.java:89)
        ... 6 more
FATAL ERROR in native method: processing of -javaagent failed


The logmanager version in Wildfly13 is jboss-logmanager-2.1.2.Final.jar

Are there any known gotchas out there ?  I've been scouring google for clues...

Any advice/pointers greatly appreciated  :)

Ivan Senic

unread,
Nov 29, 2018, 6:06:55 AM11/29/18
to Dan ny, insp...@googlegroups.com
Hi,

Well it seems that the class org.wildfly.common.net.HostName is not available at the time the logmanager is initialized. I guess you added logmanager to the boot classpath as suggested in our documentation. If so, the only help here could be to fine the jar that contains the mentioned class and add this one to the boot classpath as well. 

Let us know if you succeded and what's your final config, so that we can share that in our docs.

Cheers,
Ivan

--
You received this message because you are subscribed to the Google Groups "inspectIT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inspectit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inspectit/4aa85ba3-dc64-482c-8a58-c5e06b04e14e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Reply all
Reply to author
Forward
0 new messages