How Do I Specify A Different JBoss Library URL?

Solution In Progress - Updated -

Environment

Red Hat JBoss Enterprise Application Platform (EAP)

  • 5.x

Issue

  • How does one specify a different JBoss library URL (jboss.lib.url)?

  • We are receiving the following error when specifying a JBoss library URL:

java.net.MalformedURLException: no protocol: /data02/appserver/jboss1/nop-lib/
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at org.jboss.bootstrap.ServerLoader.getURL(ServerLoader.java:261)
        at org.jboss.bootstrap.ServerLoader.<init>(ServerLoader.java:163)
        at org.jboss.Main.boot(Main.java:158)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:662)

Resolution

A JBoss library url can be specified like such (as a system property):

-Djboss.lib.url=file:///path/to/URL/library

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.