0 Replies Latest reply on Mar 13, 2012 11:14 AM by raymanf

    Error creating stateless bean(JBOSS 4) with annotations

    raymanf

      I am using Jboss 4.2.3 GA, EJB3.0

       

       

      I am trying to create simple stateless ejb with annotations and I get error.

       

       

      some code:

       

       

      my class:

       

       

          import javax.ejb.Local; 

          import javax.ejb.Stateless; 

          import org.jboss.ejb3.annotation.LocalBinding; 

           

           

         

              @Stateless 

              @Local( 

              { CoreBeanLocal.class }) 

              @LocalBinding(jndiBinding = "CoreBean") 

              public class CoreBean implements CoreBeanLocal 

              { 

               

                   

                  public void insertCallsToJMS(String msg) 

                  { 

                       

                  } 

              } 

       

       

      my interface: 

       

       

          import javax.ejb.Local; 

          @Local 

          public interface CoreBeanLocal 

          { 

              public void insertCallsToJMS(String string); 

          } 

       

       

       

       

       

       

      this is the error from the console:

       

       

          16:10:51,034 INFO [EJBContainer] STARTED EJB: com.finbird.testproject.sessionsBeans.CoreBean ejbName: CoreBean

          16:10:51,049 INFO [EJBContainer] STOPPED EJB: com.finbird.testproject.sessionsBeans.CoreBean ejbName: CoreBean

          16:10:51,049 WARN [ServiceController] Problem starting service jboss.j2ee:ear=TestProject.ear,jar=TestProjectEJB.jar,name=CoreBean,service=EJB3

          java.lang.NullPointerException

       

       

      Full console log:

       

       

          16:10:29,774 INFO [Server] Starting JBoss (MX MicroKernel)...

          16:10:29,774 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)

          16:10:29,790 INFO [Server] Home Dir: C:\D\jboss-4.2.3.GA

          16:10:29,790 INFO [Server] Home URL: file:/C:/D/jboss-4.2.3.GA/

          16:10:29,790 INFO [Server] Patch URL: null

          16:10:29,790 INFO [Server] Server Name: datafeed

          16:10:29,790 INFO [Server] Server Home Dir: C:\D\jboss-4.2.3.GA\server\datafeed

          16:10:29,790 INFO [Server] Server Home URL: file:/C:/D/jboss-4.2.3.GA/server/datafeed/

          16:10:29,790 INFO [Server] Server Log Dir: C:\D\jboss-4.2.3.GA\server\datafeed\log

          16:10:29,790 INFO [Server] Server Temp Dir: C:\D\jboss-4.2.3.GA\server\datafeed\tmp

          16:10:29,790 INFO [Server] Root Deployment Filename: jboss-service.xml

          16:10:29,946 INFO [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.

          16:10:29,946 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.3-b02,Sun Microsystems Inc.

          16:10:29,946 INFO [ServerInfo] OS-System: Windows XP 5.1,x86

          16:10:30,788 INFO [Server] Core system initialized

          16:10:32,816 INFO [WebService] Using RMI server codebase: http://JRLM-D119:8083/

          16:10:32,831 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml

          16:10:33,112 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.

          16:10:33,112 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer

          16:10:33,252 INFO [TransactionManagerService] Starting recovery manager

          16:10:33,315 INFO [TransactionManagerService] Recovery manager started

          16:10:33,315 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference

          16:10:35,062 INFO [EJB3Deployer] Starting java:comp multiplexer

          16:10:36,107 INFO [STDOUT]

          -------------------------------------------------------

          GMS: address is 192.168.2.49:2608

          -------------------------------------------------------

          16:10:38,150 INFO [TreeCache] viewAccepted(): [192.168.2.49:2608|0] [192.168.2.49:2608]

          16:10:38,181 INFO [TreeCache] TreeCache local address is 192.168.2.49:2608

          16:10:38,181 INFO [TreeCache] State could not be retrieved (we are the first member in group)

          16:10:38,181 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty

          16:10:39,679 INFO [NativeServerConfig] JBoss Web Services - Native

          16:10:39,679 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044)

          16:10:40,224 INFO [SnmpAgentService] SNMP agent going active

          16:10:40,458 INFO [DefaultPartition] Initializing

          16:10:40,505 INFO [STDOUT]

          -------------------------------------------------------

          GMS: address is 192.168.2.49:2613

          -------------------------------------------------------

          16:10:42,517 INFO [DefaultPartition] Number of cluster members: 1

          16:10:42,517 INFO [DefaultPartition] Other members: 0

          16:10:42,517 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds):

          16:10:42,517 INFO [DefaultPartition] State could not be retrieved (we are the first member in group)

          16:10:42,549 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0

          16:10:42,564 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=192.168.2.49:1100

          16:10:42,845 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used

          16:10:43,063 INFO [STDOUT]

          -------------------------------------------------------

          GMS: address is 192.168.2.49:2617

          -------------------------------------------------------

          16:10:45,075 INFO [TreeCache] viewAccepted(): [192.168.2.49:2617|0] [192.168.2.49:2617]

          16:10:45,075 INFO [TreeCache] TreeCache local address is 192.168.2.49:2617

          16:10:45,185 INFO [STDOUT]

          -------------------------------------------------------

          GMS: address is 192.168.2.49:2621

          -------------------------------------------------------

          16:10:47,197 INFO [TreeCache] viewAccepted(): [192.168.2.49:2621|0] [192.168.2.49:2621]

          16:10:47,197 INFO [TreeCache] TreeCache local address is 192.168.2.49:2621

          16:10:47,571 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000F8000102000000000D3139322E3136382E322E343900000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000D3139322E3136382E322E343900000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]

          16:10:47,649 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000F8000102000000000D3139322E3136382E322E343900000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000007000000000000000010000000000000024000000200000007E00000000000000010000000D3139322E3136382E322E343900000DC900400000000000080606678102010101000000170401000806066781020101010000000764656661756C7400000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]

          16:10:47,899 INFO [Embedded] Catalina naming disabled

          16:10:48,148 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/bin

          16:10:48,179 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080

          16:10:48,179 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009

          16:10:48,179 INFO [Catalina] Initialization processed in 287 ms

          16:10:48,179 INFO [StandardService] Starting service jboss.web

          16:10:48,179 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA

          16:10:48,211 INFO [Catalina] Server startup in 34 ms

          16:10:48,289 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/

          16:10:48,803 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/httpha-invoker.sar/invoker.war/

          16:10:48,959 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/

          16:10:49,084 INFO [TomcatDeployer] deploy, ctxPath=/juddi, warUrl=.../deploy/juddi-service.sar/juddi.war/

          16:10:49,209 INFO [RegistryServlet] Loading jUDDI configuration.

          16:10:49,209 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties

          16:10:49,209 INFO [RegistryServlet] Initializing jUDDI components.

          16:10:49,458 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/

          16:10:49,817 INFO [MailService] Mail Service bound to java:/Mail

          16:10:49,973 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar

          16:10:50,020 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar

          16:10:50,067 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar

          16:10:50,098 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar

          16:10:50,145 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms-ra.rar

          16:10:50,191 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar

          16:10:50,223 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar

          16:10:50,238 INFO [QuartzResourceAdapter] start quartz!!!

          16:10:50,457 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main

          16:10:50,472 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.

          16:10:50,472 INFO [RAMJobStore] RAMJobStore initialized.

          16:10:50,472 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'

          16:10:50,472 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2

          16:10:50,472 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.

          16:10:50,488 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/

          16:10:50,644 INFO [EARDeployer] Init J2EE application: file:/C:/D/jboss-4.2.3.GA/server/datafeed/deploy/TestProject.ear

          16:10:51,003 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer

          16:10:51,003 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=TestProject.ear,jar=TestProjectEJB.jar,name=CoreBean,service=EJB3 with dependencies:

          16:10:51,034 INFO [EJBContainer] STARTED EJB: com.finbird.testproject.sessionsBeans.CoreBean ejbName: CoreBean

          16:10:51,049 INFO [EJBContainer] STOPPED EJB: com.finbird.testproject.sessionsBeans.CoreBean ejbName: CoreBean

          16:10:51,049 WARN [ServiceController] Problem starting service jboss.j2ee:ear=TestProject.ear,jar=TestProjectEJB.jar,name=CoreBean,service=EJB3

          java.lang.NullPointerException

          at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)

          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:597)

          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 $Proxy30.listTimerHandles(Unknown Source)

          at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)

          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:597)

          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 $Proxy69.restoreTimers(Unknown Source)

          at org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:122)

          at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:106)

          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:597)

          at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)

          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          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:597)

          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 $Proxy60.start(Unknown Source)

          at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)

          at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)

          at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)

          at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)

          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)

          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)

          at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          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:597)

          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 $Proxy33.start(Unknown Source)

          at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)

          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:597)

          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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)

          at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)

          at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)

          at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)

          at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)

          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 $Proxy34.start(Unknown Source)

          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)

          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)

          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)

          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)

          at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          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 $Proxy9.deploy(Unknown Source)

          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)

          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.GeneratedMethodAccessor3.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          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:597)

          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:304)

          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:597)

          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:508)

          at java.lang.Thread.run(Thread.java:619)

          16:10:51,049 INFO [EJB3Deployer] Deployed: file:/C:/D/jboss-4.2.3.GA/server/datafeed/tmp/deploy/tmp4633129125907651504TestProject.ear-contents/TestProjectEJB.jar

          16:10:51,065 INFO [TomcatDeployer] deploy, ctxPath=/TestProjectWeb, warUrl=.../tmp/deploy/tmp4633129125907651504TestProject.ear-contents/TestProjectWeb-exp.war/

          16:10:51,190 INFO [EARDeployer] Started J2EE application: file:/C:/D/jboss-4.2.3.GA/server/datafeed/deploy/TestProject.ear

          16:10:51,237 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

         

          --- MBeans waiting for other MBeans ---

          ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database

          State: CONFIGURED

          I Depend On:

          jboss.jca:service=DataSourceBinding,name=DefaultDS

         

          ObjectName: jboss.messaging.connectionfactory:service=ConnectionFactory

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=ServerPeer

          jboss.messaging:service=Connector,transport=bisocket

          jboss.messaging:service=PostOffice

         

          ObjectName: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=ServerPeer

          jboss.messaging:service=Connector,transport=bisocket

          jboss.messaging:service=PostOffice

         

          ObjectName: jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=ServerPeer

          jboss.messaging:service=Connector,transport=bisocket

          jboss.messaging:service=PostOffice

         

          ObjectName: jboss.messaging:service=ServerPeer

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=PersistenceManager

          jboss.messaging:service=JMSUserManager

          jboss.messaging:service=Connector,transport=bisocket

          Depends On Me:

          jboss.messaging.connectionfactory:service=ConnectionFactory

          jboss.messaging.connectionfactory:service=ClusteredConnectionFactory

          jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory

          jboss.messaging:service=PostOffice

          jboss.messaging:service=Bootstrap

          jboss.messaging.destination:service=Queue,name=DLQ

          jboss.messaging.destination:service=Queue,name=ExpiryQueue

          jboss.messaging.destination:service=Topic,name=feedTopicRealTime

          jboss.messaging.destination:service=Queue,name=TestQueue

         

          ObjectName: jboss.messaging:service=PersistenceManager

          State: CONFIGURED

          I Depend On:

          jboss.jca:service=DataSourceBinding,name=DefaultDS

          jboss:service=TransactionManager

          Depends On Me:

          jboss.messaging:service=ServerPeer

         

          ObjectName: jboss.messaging:service=PostOffice

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=ServerPeer

          jboss.jca:service=DataSourceBinding,name=DefaultDS

          jboss:service=TransactionManager

          Depends On Me:

          jboss.messaging.connectionfactory:service=ConnectionFactory

          jboss.messaging.connectionfactory:service=ClusteredConnectionFactory

          jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory

          jboss.messaging.destination:service=Queue,name=DLQ

          jboss.messaging.destination:service=Queue,name=ExpiryQueue

          jboss.messaging.destination:service=Topic,name=feedTopicRealTime

          jboss.messaging.destination:service=Queue,name=TestQueue

        

         

          ObjectName: jboss:service=juddi

          State: CONFIGURED

          I Depend On:

          jboss.jca:service=DataSourceBinding,name=DefaultDS

       

       

         

          ObjectName: jboss.messaging.destination:service=Topic,name=feedTopicRealTime

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=ServerPeer

          jboss.messaging:service=PostOffice

         

          ObjectName: jboss.messaging.destination:service=Queue,name=TestQueue

          State: CONFIGURED

          I Depend On:

          jboss.messaging:service=ServerPeer

          jboss.messaging:service=PostOffice

         

          ObjectName: jboss.j2ee:ear=TestProject.ear,jar=TestProjectEJB.jar,name=CoreBean,service=EJB3

          State: FAILED

          Reason: java.lang.NullPointerException

         

          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---

          ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS

          State: NOTYETINSTALLED

          Depends On Me:

          jboss.ejb:service=EJBTimerService,persistencePolicy=database

          jboss.messaging:service=PersistenceManager

          jboss.messaging:service=PostOffice

          jboss.messaging:service=JMSUserManager

          jboss:service=juddi

          jboss:service=KeyGeneratorFactory,type=HiLo

         

          ObjectName: jboss.jca:service=DataSourceBinding,name=jdbc/datafeed

          State: NOTYETINSTALLED

          Depends On Me:

          com.finotec:service=FailOverManager

         

          ObjectName: jboss:service=dev-feed

          State: NOTYETINSTALLED

          Depends On Me:

          com.finotec:service=FailOverManager-HASingletonController

         

          ObjectName: jboss.j2ee:ear=TestProject.ear,jar=TestProjectEJB.jar,name=CoreBean,service=EJB3

          State: FAILED

          Reason: java.lang.NullPointerException

         

         

          16:10:51,283 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080

          16:10:51,299 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009

          16:10:51,299 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 21s:509ms

       

       

       

       

      thanks,

      ray.