[jboss-dev-forums] [Embedded JBoss Development] - Re: JbossWS in embbeded
manuel.chinea
do-not-reply at jboss.com
Tue Nov 10 07:32:33 EST 2009
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#4264803
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264803
More information about the jboss-dev-forums
mailing list