You need to create a testcase naming server. See the
org.jboss.test.naming.test.NamingServerSetup in the testsuite. Its setup method
should just be something like:
{{{
protected void setUp() throws Exception
{
super.setUp();
namingServer = new Main();
namingServer.setPort(-1);
namingServer.setLookupPool(new BasicThreadPool());
namingServer.start();
NamingContext.setLocal(namingServer);
}
}}}
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860631#3860631
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860631
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user