1 Reply Latest reply on Jul 13, 2002 11:00 AM by marc fleury

    Failed to my own Primary key class

    Eric Chow Apprentice

      Hello,

      When I use my own primary key class, it raised the following exception in JBoss3.0, would you please to teach me how to solve it?

      Best regards,
      Eric
      =======================================================
      2002-07-13 18:28:15,006 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy:
      java.lang.InstantiationException: eric.macausms.pk.PhoneCounterPK
      at java.lang.Class.newInstance0(Class.java:281)
      at java.lang.Class.newInstance(Class.java:249)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setPrimaryKeyValue(JDBCAbstractCMPFieldBridge.java:207)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.extractPrimaryKeyFromInstance(JDBCEntityBridge.java:556)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:124)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:450)
      at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:253)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
      at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:579)
      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:324)
      at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1116)
      at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:257)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
      at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:227)
      at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
      at $Proxy28.create(Unknown Source)
      at eric.macausms.ejb.MacauSMSControlerEJB.getPhoneCounter(MacauSMSControlerEJB.java:44)
      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:324)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:664)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      at org.jboss.ejb.Container.invoke(Container.java:705)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy26.getPhoneCounter(Unknown Source)
      at eric.macausms.action.test.doGet(test.java:37)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:607)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1387)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1326)
      at org.mortbay.http.HttpServer.service(HttpServer.java:757)
      at org.jboss.jetty.Jetty.service(Jetty.java:527)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:742)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:915)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:757)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:151)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
      at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
      at java.lang.Thread.run(Thread.java:536)
      2002-07-13 18:28:15,717 ERROR [STDERR] javax.ejb.TransactionRolledbackLocalException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK; nested exception is:
      javax.ejb.EJBException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK
      Embedded Exception
      Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK; nested exception is:
      javax.ejb.EJBException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK
      2002-07-13 18:28:15,797 ERROR [STDERR] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:244)
      2002-07-13 18:28:15,807 ERROR [STDERR] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
      2002-07-13 18:28:15,817 ERROR [STDERR] at $Proxy28.create(Unknown Source)
      2002-07-13 18:28:15,827 ERROR [STDERR] at eric.macausms.ejb.MacauSMSControlerEJB.getPhoneCounter(MacauSMSControlerEJB.java:44)
      2002-07-13 18:28:15,847 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2002-07-13 18:28:15,857 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2002-07-13 18:28:15,867 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2002-07-13 18:28:15,887 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2002-07-13 18:28:15,897 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:664)
      2002-07-13 18:28:15,917 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      2002-07-13 18:28:15,937 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      2002-07-13 18:28:15,947 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      2002-07-13 18:28:15,957 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      2002-07-13 18:28:15,977 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      2002-07-13 18:28:15,987 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
      2002-07-13 18:28:15,997 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      2002-07-13 18:28:16,017 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      2002-07-13 18:28:16,027 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:705)
      2002-07-13 18:28:16,047 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      2002-07-13 18:28:16,057 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      2002-07-13 18:28:16,067 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      2002-07-13 18:28:16,087 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      2002-07-13 18:28:16,097 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      2002-07-13 18:28:16,107 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      2002-07-13 18:28:16,127 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      2002-07-13 18:28:16,137 ERROR [STDERR] at $Proxy26.getPhoneCounter(Unknown Source)
      2002-07-13 18:28:16,137 ERROR [STDERR] at eric.macausms.action.test.doGet(test.java:37)
      2002-07-13 18:28:16,157 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2002-07-13 18:28:16,167 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2002-07-13 18:28:16,177 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
      2002-07-13 18:28:16,197 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:607)
      2002-07-13 18:28:16,207 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1387)
      2002-07-13 18:28:16,217 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1326)
      2002-07-13 18:28:16,227 ERROR [STDERR] at org.mortbay.http.HttpServer.service(HttpServer.java:757)
      2002-07-13 18:28:16,247 ERROR [STDERR] at org.jboss.jetty.Jetty.service(Jetty.java:527)
      2002-07-13 18:28:16,257 ERROR [STDERR] at org.mortbay.http.HttpConnection.service(HttpConnection.java:742)
      2002-07-13 18:28:16,268 ERROR [STDERR] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:915)
      2002-07-13 18:28:16,278 ERROR [STDERR] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:757)
      2002-07-13 18:28:16,298 ERROR [STDERR] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:151)
      2002-07-13 18:28:16,318 ERROR [STDERR] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
      2002-07-13 18:28:16,328 ERROR [STDERR] at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
      2002-07-13 18:28:16,348 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)
      2002-07-13 18:28:16,358 ERROR [STDERR] javax.transaction.TransactionRolledbackException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK; nested exception is:
      javax.ejb.EJBException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK
      2002-07-13 18:28:16,398 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:122)
      2002-07-13 18:28:16,418 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      2002-07-13 18:28:16,428 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
      2002-07-13 18:28:16,438 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
      2002-07-13 18:28:16,458 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
      2002-07-13 18:28:16,468 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
      2002-07-13 18:28:16,478 ERROR [STDERR] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:227)
      2002-07-13 18:28:16,498 ERROR [STDERR] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
      2002-07-13 18:28:16,508 ERROR [STDERR] at $Proxy28.create(Unknown Source)
      2002-07-13 18:28:16,518 ERROR [STDERR] at eric.macausms.ejb.MacauSMSControlerEJB.getPhoneCounter(MacauSMSControlerEJB.java:44)
      2002-07-13 18:28:16,528 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2002-07-13 18:28:16,538 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2002-07-13 18:28:16,558 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2002-07-13 18:28:16,568 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2002-07-13 18:28:16,578 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:664)
      2002-07-13 18:28:16,598 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      2002-07-13 18:28:16,608 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      2002-07-13 18:28:16,618 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      2002-07-13 18:28:16,638 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      2002-07-13 18:28:16,648 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      2002-07-13 18:28:16,658 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
      2002-07-13 18:28:16,678 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      2002-07-13 18:28:16,688 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      2002-07-13 18:28:16,698 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:705)
      2002-07-13 18:28:16,718 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      2002-07-13 18:28:16,728 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      2002-07-13 18:28:16,748 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      2002-07-13 18:28:16,758 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      2002-07-13 18:28:16,768 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      2002-07-13 18:28:16,778 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      2002-07-13 18:28:16,798 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      2002-07-13 18:28:16,808 ERROR [STDERR] at $Proxy26.getPhoneCounter(Unknown Source)
      2002-07-13 18:28:16,818 ERROR [STDERR] at eric.macausms.action.test.doGet(test.java:37)
      2002-07-13 18:28:16,828 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2002-07-13 18:28:16,838 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2002-07-13 18:28:16,858 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
      2002-07-13 18:28:16,868 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:607)
      2002-07-13 18:28:16,878 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1387)
      2002-07-13 18:28:16,898 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1326)
      2002-07-13 18:28:16,908 ERROR [STDERR] at org.mortbay.http.HttpServer.service(HttpServer.java:757)
      2002-07-13 18:28:16,918 ERROR [STDERR] at org.jboss.jetty.Jetty.service(Jetty.java:527)
      2002-07-13 18:28:16,938 ERROR [STDERR] at org.mortbay.http.HttpConnection.service(HttpConnection.java:742)
      2002-07-13 18:28:16,948 ERROR [STDERR] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:915)
      2002-07-13 18:28:16,959 ERROR [STDERR] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:757)
      2002-07-13 18:28:16,979 ERROR [STDERR] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:151)
      2002-07-13 18:28:16,989 ERROR [STDERR] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
      2002-07-13 18:28:16,999 ERROR [STDERR] at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
      2002-07-13 18:28:17,019 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)
      2002-07-13 18:28:17,029 ERROR [STDERR] Caused by: javax.ejb.EJBException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK
      2002-07-13 18:28:17,049 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setPrimaryKeyValue(JDBCAbstractCMPFieldBridge.java:219)
      2002-07-13 18:28:17,059 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.extractPrimaryKeyFromInstance(JDBCEntityBridge.java:556)
      2002-07-13 18:28:17,079 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:124)
      2002-07-13 18:28:17,089 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:450)
      2002-07-13 18:28:17,099 ERROR [STDERR] at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:253)
      2002-07-13 18:28:17,119 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
      2002-07-13 18:28:17,129 ERROR [STDERR] at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:579)
      2002-07-13 18:28:17,139 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2002-07-13 18:28:17,159 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2002-07-13 18:28:17,169 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2002-07-13 18:28:17,179 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2002-07-13 18:28:17,189 ERROR [STDERR] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1116)
      2002-07-13 18:28:17,209 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
      2002-07-13 18:28:17,219 ERROR [STDERR] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:257)
      2002-07-13 18:28:17,229 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
      2002-07-13 18:28:17,249 ERROR [STDERR] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
      2002-07-13 18:28:17,259 ERROR [STDERR] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
      2002-07-13 18:28:17,279 ERROR [STDERR] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
      2002-07-13 18:28:17,289 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
      2002-07-13 18:28:17,299 ERROR [STDERR] ... 47 more
      2002-07-13 18:28:17,309 ERROR [STDERR] javax.transaction.TransactionRolledbackException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK; nested exception is:
      javax.ejb.EJBException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK
      2002-07-13 18:28:17,359 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:122)
      2002-07-13 18:28:17,369 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      2002-07-13 18:28:17,379 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
      2002-07-13 18:28:17,399 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
      2002-07-13 18:28:17,409 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
      2002-07-13 18:28:17,419 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
      2002-07-13 18:28:17,439 ERROR [STDERR] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:227)
      2002-07-13 18:28:17,449 ERROR [STDERR] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
      2002-07-13 18:28:17,459 ERROR [STDERR] at $Proxy28.create(Unknown Source)
      2002-07-13 18:28:17,469 ERROR [STDERR] at eric.macausms.ejb.MacauSMSControlerEJB.getPhoneCounter(MacauSMSControlerEJB.java:44)
      2002-07-13 18:28:17,479 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2002-07-13 18:28:17,499 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2002-07-13 18:28:17,509 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2002-07-13 18:28:17,519 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2002-07-13 18:28:17,539 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:664)
      2002-07-13 18:28:17,549 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      2002-07-13 18:28:17,559 ERROR [STDERR] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:77)
      2002-07-13 18:28:17,579 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:96)
      2002-07-13 18:28:17,589 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)
      2002-07-13 18:28:17,619 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
      2002-07-13 18:28:17,629 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:129)
      2002-07-13 18:28:17,649 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
      2002-07-13 18:28:17,660 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      2002-07-13 18:28:17,670 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:705)
      2002-07-13 18:28:17,690 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      2002-07-13 18:28:17,700 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
      2002-07-13 18:28:17,720 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
      2002-07-13 18:28:17,730 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      2002-07-13 18:28:17,740 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      2002-07-13 18:28:17,760 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      2002-07-13 18:28:17,770 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      2002-07-13 18:28:17,780 ERROR [STDERR] at $Proxy26.getPhoneCounter(Unknown Source)
      2002-07-13 18:28:17,790 ERROR [STDERR] at eric.macausms.action.test.doGet(test.java:37)
      2002-07-13 18:28:17,800 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2002-07-13 18:28:17,810 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2002-07-13 18:28:17,820 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:371)
      2002-07-13 18:28:17,840 ERROR [STDERR] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:607)
      2002-07-13 18:28:17,850 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1387)
      2002-07-13 18:28:17,860 ERROR [STDERR] at org.mortbay.http.HttpContext.handle(HttpContext.java:1326)
      2002-07-13 18:28:17,880 ERROR [STDERR] at org.mortbay.http.HttpServer.service(HttpServer.java:757)
      2002-07-13 18:28:17,890 ERROR [STDERR] at org.jboss.jetty.Jetty.service(Jetty.java:527)
      2002-07-13 18:28:17,900 ERROR [STDERR] at org.mortbay.http.HttpConnection.service(HttpConnection.java:742)
      2002-07-13 18:28:17,920 ERROR [STDERR] at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:915)
      2002-07-13 18:28:17,930 ERROR [STDERR] at org.mortbay.http.HttpConnection.handle(HttpConnection.java:757)
      2002-07-13 18:28:17,940 ERROR [STDERR] at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:151)
      2002-07-13 18:28:17,960 ERROR [STDERR] at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
      2002-07-13 18:28:17,970 ERROR [STDERR] at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
      2002-07-13 18:28:17,980 ERROR [STDERR] at java.lang.Thread.run(Thread.java:536)
      2002-07-13 18:28:17,990 ERROR [STDERR] Caused by: javax.ejb.EJBException: Internal error setting instance field source
      Embedded Exception
      eric.macausms.pk.PhoneCounterPK
      2002-07-13 18:28:18,020 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setPrimaryKeyValue(JDBCAbstractCMPFieldBridge.java:219)
      2002-07-13 18:28:18,030 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.extractPrimaryKeyFromInstance(JDBCEntityBridge.java:556)
      2002-07-13 18:28:18,050 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:124)
      2002-07-13 18:28:18,060 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:450)
      2002-07-13 18:28:18,070 ERROR [STDERR] at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:253)
      2002-07-13 18:28:18,080 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270)
      2002-07-13 18:28:18,100 ERROR [STDERR] at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:579)
      2002-07-13 18:28:18,110 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2002-07-13 18:28:18,130 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2002-07-13 18:28:18,140 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2002-07-13 18:28:18,150 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2002-07-13 18:28:18,160 ERROR [STDERR] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1116)
      2002-07-13 18:28:18,180 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)
      2002-07-13 18:28:18,190 ERROR [STDERR] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:257)
      2002-07-13 18:28:18,200 ERROR [STDERR] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215)
      2002-07-13 18:28:18,220 ERROR [STDERR] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
      2002-07-13 18:28:18,230 ERROR [STDERR] at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
      2002-07-13 18:28:18,240 ERROR [STDERR] at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
      2002-07-13 18:28:18,260 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
      2002-07-13 18:28:18,270 ERROR [STDERR] ... 47 more
      2002-07-13 18:31:14,123 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] Resized cache for bean PhoneCounterEJB: old capacity = 1000000, new capacity = 50