Remoting API: DiscoveryBoss manager not functioning with JON Remoteclient

Solution Verified - Updated -

Issue

  • I'm migrating a java application based on the JON CLI  2.4 remoting api to JON 3.0.0 .

  • One of the functions of the application is to automatically import jboss resources into JON from the Discovery Queue.

  • When the RemoteClient. method getDiscovery() is called the client receive a namenotbound exception from the server.

     INFO [main] (AbstractJONAction.java:86) - getting logged in jon subject
    DEBUG [main] (RemoteClientProxy.java:71) - javax.naming.NameNotFoundException: [Warning] remote not bound
    ERROR [main] (AbstractJONAction.java:49) -  perform method did not successfully complete. 
    [Warning] javax.naming.NameNotFoundException: remote not bound
         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
         at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
         at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
         at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
         at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)........
    

Environment

  • JBoss Operations Network (JON) 3.0.0

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.