2016-07-25 42 views
0

Ich versuche, meine Anwendung von JBoss 7 bis WildFly10 zu aktualisieren, und ich erhalte eine Warnung:Wie wird man ein Upgrade org.jboss.as.jmx: Haupt in WildFly10

[0m[33m13:53:36,641 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) 
WFLYSRV0018: Deployment "deployment.mywar.war" is using a private module 
("org.jboss.as.jmx:main") which may be changed or removed in future versions 
without notice. 

Das Modul wird erwähnt in jboss-deployment-structure.xml wie folgt:

<?xml version="1.0" encoding="UTF-8"?> 
<jboss-deployment-structure > 
<deployment> 
    <dependencies> 
     <module name="org.jboss.as.jmx"/> 
    </dependencies> 
</deployment> 
</jboss-deployment-structure> 

wie wird das neue Modul für JMX genannt? Ich habe versucht, dass mit org.jboss.remoting-jmx zu ersetzen, aber dann bekam ich

Invocation of init method failed; 
nested exception is javax.management.JMRuntimeException: 
Failed to load MBeanServerBuilder class org.jboss.as.jmx.PluggableMBeanServerBuilder: 
java.lang.ClassNotFoundException: org.jboss.as.jmx.PluggableMBeanServerBuilder 

Antwort

1

nach Wildfly Forum es bedeutet nichts, siehe Zitat (source)

Sie bekommen eine Warnmeldung wie Sie verwenden intern „nicht-öffentliche "Module von Anwendungsserver. Das sagt Ihnen nur, dass Sie vorsichtig sein sollten mit dieser .