Hi,
i applied the patch in the jira ticket
https://jira.jboss.org/jira/browse/EMB-61. I
checked the code for the system property java.endorsed.libs. I changed the line in
ServerTestCase.java
final File lib = new File(jbossHome,"endorsed");
to
final File lib = new File(jbossHome,"lib");
so the path were something like this: ...lib/endorsed.
Then i ran the test with no luck.
I was curious about the java.endorsed.dirs property and what jboss does with it. I put an
iteration over the jboss config properties after the server.start() and saw the property
jboss.bootstrap.url is set to server/default/conf/bootstrap.xml, aren't we running in
the "all" config?
The code i put in the ServerTestCase.startEmbedddedASAndSetNamingContext() method, after
server.start() is:
Map<String, String> props = server.getConfiguration().getProperties();
for (Iterator iterator = props.keySet().iterator(); iterator.hasNext();)
{
String key = (String) iterator.next();
log.info("key[" + key + "],value[" + props.get(key) +
"]");
}
Also saw the java.endorsed.libs is not modified in jboss, according to the logs in my
run.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264803#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...