0 Replies Latest reply on Feb 1, 2007 8:34 PM by Arnie Morein

    AppServer won't start from Eclipse

    Arnie Morein Novice

      I downloaded the AS (did not use JEMS) and configured my -ds.xml file and supplied the drivers. If I start the AS from the command line, it starts w/o issue and the application runs (well, at least up to the bug I'm trying to diagnose). But if I start it from w/i Eclipse, it begins to start, then suddenly shuts down. (see below). What gives? I am on OS X (10.4.8)


      2007-02-01 19:27:28,813 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=DestinationManager
      2007-02-01 19:27:28,813 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.mq:service=DestinationManager
      2007-02-01 19:27:28,813 DEBUG [org.jboss.system.ServiceController] Creating service jboss.mq:service=DestinationManager
      2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.mq:service=DestinationManager waiting on jboss.mq:service=PersistenceManager
      2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.mq:service=DestinationManager on jboss.mq:service=PersistenceManager
      2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] starting service jboss.mq:service=PersistenceManager
      2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.mq:service=PersistenceManager
      2007-02-01 19:27:28,814 DEBUG [org.jboss.system.ServiceController] Creating service jboss.mq:service=PersistenceManager
      2007-02-01 19:27:28,865 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.mq:service=PersistenceManager waiting on jboss.jca:service=DataSourceBinding,name=DefaultDS
      2007-02-01 19:27:28,866 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.mq:service=PersistenceManager on jboss.jca:service=DataSourceBinding,name=DefaultDS
      2007-02-01 19:27:29,108 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: hsqldb-jdbc2-service.xml
      2007-02-01 19:27:29,109 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/Applications/jboss/jboss405ga/server/default/deploy/jms/hsqldb-jdbc2-service.xml
      2007-02-01 19:27:29,110 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Unable to obtain watchUrl from deployer. Use url: file:/Applications/jboss/jboss405ga/server/default/deploy/jms/hsqldb-jdbc2-service.xml
      java.lang.NullPointerException
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.getDeployer(AbstractDeploymentScanner.java:88)
      at org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.getLastModified(URLDeploymentScanner.java:762)
      at org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL.deployed(URLDeploymentScanner.java:734)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:432)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:613)
      2007-02-01 19:27:29,132 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] java.lang.NullPointerException
      2007-02-01 19:27:29,134 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true
      2007-02-01 19:27:29,134 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
      2007-02-01 19:27:29,135 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Destroyed jboss.deployment:type=DeploymentScanner,flavor=URL
      2007-02-01 19:27:29,135 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss.jdbc:service=metadata
      2007-02-01 19:27:29,135 DEBUG [org.jboss.system.ServiceController] destroying service: jboss.jdbc:service=metadata
      2007-02-01 19:27:29,135 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss.jdbc:service=metadata dependent services are: []
      2007-02-01 19:27:29,135 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Destroying jboss.jdbc:service=metadata
      2007-02-01 19:27:29,135 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary] Destroyed jboss.jdbc:service=metadata
      2007-02-01 19:27:29,136 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=invoker,type=pooled
      2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=pooled
      2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=invoker,type=pooled dependent services are: []
      2007-02-01 19:27:29,136 DEBUG [org.jboss.invocation.pooled.server.PooledInvoker] Destroying jboss:service=invoker,type=pooled
      2007-02-01 19:27:29,136 DEBUG [org.jboss.invocation.pooled.server.PooledInvoker] Destroyed jboss:service=invoker,type=pooled
      2007-02-01 19:27:29,136 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=invoker,type=local
      2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=local
      2007-02-01 19:27:29,136 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=invoker,type=local dependent services are: []
      2007-02-01 19:27:29,136 DEBUG [org.jboss.invocation.local.LocalInvoker] Destroying jboss:service=invoker,type=local
      2007-02-01 19:27:29,137 DEBUG [org.jboss.invocation.local.LocalInvoker] Destroyed jboss:service=invoker,type=local
      2007-02-01 19:27:29,137 DEBUG [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=invoker,type=jrmp
      2007-02-01 19:27:29,137 DEBUG [org.jboss.system.ServiceController] destroying service: jboss:service=invoker,type=jrmp
      2007-02-01 19:27:29,137 DEBUG [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=invoker,type=jrmp dependent services are: [ObjectName: jboss:service=proxyFactory,target=ClientUserTransactionFactory
      State: STOPPED
      I Depend On:
      jboss:service=invoker,type=jrmp
      Depends On Me:
      jboss:service=ClientUserTransaction
      , ObjectName: jboss:service=proxyFactory,target=ClientUserTransaction
      State: STOPPED
      I Depend On:
      jboss:service=invoker,type=jrmp
      Depends On Me:
      jboss:service=ClientUserTransaction
      ]