Author: meerajk
Date: Mon Jan  1 09:30:07 2007
New Revision: 491601

URL: http://svn.apache.org/viewvc?view=rev&rev=491601
Log:
Added error logging.

Modified:
    
incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java

Modified: 
incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java?view=diff&rev=491601&r1=491600&r2=491601
==============================================================================
--- 
incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java
 (original)
+++ 
incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java
 Mon Jan  1 09:30:07 2007
@@ -123,7 +123,7 @@
 
             final String className =
                 System.getProperty("tuscany.launcherClass",
-                                   
"org.apache.tuscany.core.services.management.jmx.runtime.JmxRuntimeImpl");
+                                   
"org.apache.tuscany.runtime.standalone.jmx.JmxRuntimeImpl");
             final TuscanyRuntime runtime = 
(TuscanyRuntime)Beans.instantiate(bootClassLoader, className);
             runtime.setMonitorFactory(runtime.createDefaultMonitorFactory());
             runtime.setSystemScdl(systemScdl);
@@ -135,10 +135,16 @@
             bootedRuntimes.put(bootPath, runtime);
 
         } catch (InitializationException ex) {
+            ex.printStackTrace();
             throw new TuscanyServerException(ex);
         } catch (IOException ex) {
+            ex.printStackTrace();
             throw new TuscanyServerException(ex);
         } catch (ClassNotFoundException ex) {
+            ex.printStackTrace();
+            throw new TuscanyServerException(ex);
+        } catch (Exception ex) {
+            ex.printStackTrace();
             throw new TuscanyServerException(ex);
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to