[jbossws-commits] JBossWS SVN: r3317 - trunk/testsuite/src/java/org/jboss/test/ws.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Thu May 31 04:24:35 EDT 2007
Author: thomas.diesler at jboss.com
Date: 2007-05-31 04:24:34 -0400 (Thu, 31 May 2007)
New Revision: 3317
Modified:
trunk/testsuite/src/java/org/jboss/test/ws/JBossWSTestHelper.java
Log:
More debug
Modified: trunk/testsuite/src/java/org/jboss/test/ws/JBossWSTestHelper.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/JBossWSTestHelper.java 2007-05-30 20:19:00 UTC (rev 3316)
+++ trunk/testsuite/src/java/org/jboss/test/ws/JBossWSTestHelper.java 2007-05-31 08:24:34 UTC (rev 3317)
@@ -24,6 +24,7 @@
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
+import java.util.Hashtable;
import javax.management.MBeanServerConnection;
import javax.management.ObjectName;
@@ -112,14 +113,16 @@
{
if (server == null)
{
+ Hashtable jndiEnv = null;
try
{
InitialContext iniCtx = new InitialContext();
+ jndiEnv = iniCtx.getEnvironment();
server = (MBeanServerConnection)iniCtx.lookup("jmx/invoker/RMIAdaptor");
}
catch (NamingException ex)
{
- throw new RuntimeException("Cannot obtain MBeanServerConnection", ex);
+ throw new RuntimeException("Cannot obtain MBeanServerConnection using jndi props: " + jndiEnv, ex);
}
}
return server;
More information about the jbossws-commits
mailing list