EAP Connection issue when JON agent is installed to a directory path containing spaces

Solution Verified - Updated -

Issue

  • I have a JON agent and an EAP server both installed on Windows 2003.
  • The agent discovers the EAP instance but then marks it as unavailable and has the below error in the agent.log:

    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
     java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
     java.net.MalformedURLException: no protocol: files/rhq-agent/plugins/jopr-jboss-as-5-plugin-3.0.1.GA.jar]
     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:839)
     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)
     at org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnectionProvider.lookup(AbstractProfileServiceConnectionProvider.java:81)
     ... 15 more
    

Environment

  • JBoss Operations Network (JON) 2.4.1
  • JBoss Enterprise Application Platform (EAP) 5.1.1
  • Windows 2003 Agent server

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.