0 Replies Latest reply on Jan 3, 2006 9:55 AM by infectedrhythms

    JBoss Server main thread suspended with JBoss IDE

      Every time I start JBoss through my server navigator at this exact point:

      09:44:57,015 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'

      ... the main thread gets suspended for an SQLException. All I have to do is press the resume button a few times and I can finally have JBoss startup

      Anoying if you ask me. Is there a way to get rid of this issue?

      This is the debug stack I get...

      Thread [main] (Suspended (exception SQLException))
      Util.throwError(Result) line: not available
      jdbcPreparedStatement.executeUpdate() line: not available [local variables unavailable]
      WrappedPreparedStatement.executeUpdate() line: 227
      JDBCStateManager.initDB() line: 445
      JDBCStateManager.startService() line: 399
      JDBCStateManager(ServiceMBeanSupport).jbossInternalStart() line: 274
      JDBCStateManager(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 230
      GeneratedMethodAccessor42.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      Invocation.invoke() line: 72
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 943
      $Proxy0.start() line: not available
      ServiceController.start(ObjectName) line: 428
      ServiceController.start(ObjectName) line: 446
      ServiceController.start(ObjectName) line: 446
      ServiceController.start(ObjectName) line: 446
      ServiceController.start(ObjectName) line: 446
      ServiceController.start(ObjectName) line: 446
      GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      Invocation.invoke() line: 72
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 176
      $Proxy4.start(ObjectName) line: not available
      SARDeployer.start(DeploymentInfo) line: 285
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 118
      Invocation.invoke() line: 74
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 127
      Invocation.invoke() line: 74
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      JMXInvocationHandler.invoke(Object, Method, Object[]) line: 273
      $Proxy38.start(DeploymentInfo) line: not available
      XSLSubDeployer.start(DeploymentInfo) line: 185
      MainDeployer.start(DeploymentInfo) line: 989
      MainDeployer.deploy(DeploymentInfo) line: 790
      MainDeployer.deploy(URL) line: 753
      GeneratedMethodAccessor50.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 118
      Invocation.invoke() line: 74
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 127
      Invocation.invoke() line: 74
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 176
      $Proxy9.deploy(URL) line: not available
      URLDeploymentScanner.deploy(URLDeploymentScanner$DeployedURL) line: 319
      URLDeploymentScanner.scan() line: 507
      AbstractDeploymentScanner$ScannerThread.doScan() line: 192
      URLDeploymentScanner(AbstractDeploymentScanner).startService() line: 265
      URLDeploymentScanner(ServiceMBeanSupport).jbossInternalStart() line: 274
      URLDeploymentScanner(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 230
      GeneratedMethodAccessor4.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      Invocation.invoke() line: 72
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 943
      $Proxy0.start() line: not available
      ServiceController.start(ObjectName) line: 428
      GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      Invocation.invoke() line: 72
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 176
      $Proxy4.start(ObjectName) line: not available
      SARDeployer.start(DeploymentInfo) line: 285
      MainDeployer.start(DeploymentInfo) line: 989
      MainDeployer.deploy(DeploymentInfo) line: 790
      MainDeployer.deploy(URL) line: 753
      MainDeployer.deploy(String) line: 737
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
      Method.invoke(Object, Object...) line: 585
      ReflectedDispatcher.invoke(Invocation) line: 141
      Invocation.dispatch() line: 80
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 118
      Invocation.invoke() line: 74
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 127
      Invocation.invoke() line: 74
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 245
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 644
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 176
      $Proxy5.deploy(String) line: not available
      ServerImpl.doStart() line: 453
      ServerImpl.start() line: 330
      Main.boot(String[]) line: 187
      Main$1.run() line: 438
      Thread.run() line: 595