Hi,
Lurk mode off..
Jason Dillon wrote:
o ServerImpl uses org.jboss.net.protocol.URLStreamHandlerFactory
instead of setting system prop
Setting the system property will work but the seperator char is '|' not
':'. The system property is a better solution as there can be only one
Setting the system property will work but the seperator char is '|'
not ':'. The system property is a better solution as there can be only
one
I found this out when looking at the source for URL...just looked at our
jndi.properties file for an example... which is wrong.
Jason Dillon wrote:
StreamHandlerFactory registered (but the URL class only tries to load
resource handlers using Class.forName() and the system-classloader so
that might not work with custom classloaders).
We need to figure out why Class.forName() called from inside URL did not
find
Source for Class.forName() shows that it calls getCallerClassLoader()
which is a package private native method and does... well I haven't a clue.
--jason
Hiram Chirino wrote:
StreamHandlerFactory registered (but the URL class only tries to load
resource handlers using Class.forName() and
User: user57
Date: 02/02/25 17:36:24
Modified:src/main/org/jboss/system/server ServerImpl.java
ServerInfo.java ServerInfoMBean.java
Log:
o Added getProperty() to ServerInfo (easy acess to a sys prop w/o
having to search through showProp* output)
o