Nous migrons une application de JBoss AS 4.2 vers JBoss eap 6.4. Lors du déploiement de l'application en obtenant l'exception ci-dessous.Configuration du port JNDI pour JBoss eap 6.4
javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:10099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:10099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:10099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
La connexion à localhost: 10099 a échoué. Lorsque j'ai vérifié le fichier jboss-service.xml de AS 4.2, la configuration de ce port est présente.
<mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming"
xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
<!-- The call by value mode. true if all lookups are unmarshalled using
the caller's TCL, false if in VM lookups return the value by reference.
-->
<attribute name="CallByValue">false</attribute>
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
<attribute name="Port">10099</attribute>
Quelqu'un peut-il s'il vous plaît me dire où pouvons-nous faire la même configuration EAP 6. Essayé l'ajout dans la prise de liaison groupe dans standalone.xml mais ne fonctionne pas.