1 Reply Latest reply on Nov 17, 2002 7:26 PM by Stephen Coy

    Incomprehensible exception

    Anatol Newbie

      Somehting strange happend with my CMP Beans.
      There are problem. When we use OracleDB everything seems alright, but
      when switch on MySQL appears strange exception


      Seems that CMP plugin creates entity with pk=2002-11-15 ejbCreates goes well. But there are no ejbPostCreate method invocation.
      Then fethed CMP with pk=2002-11-14. And there invoke ejbPostCreate where initialize relationship (Day-DayType : many-one)
      not for 2002-11-15 but 2002-11-14 and such entity absent in DB storage.

      If I mistaken correct me.

      JBoss 3.0.4
      Tomcat 4.1.12
      MySQL 4.0.4-beta
      Win2k sp3
      JDBC MySQL Driver mm.mysql-2.0.14



      2002-11-16 21:36:40,013 INFO [MessageGenerator] Start Message Generator
      2002-11-16 21:36:40,023 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Appointment.findByName] Executing SQL: SELECT t0_a.ID FROM APPOINTMENT t0_a WHERE t0_a.NAME = ?
      2002-11-16 21:36:40,043 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Appointment] Executing SQL: SELECT NAME FROM APPOINTMENT WHERE (ID=?)
      2002-11-16 21:36:40,043 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Appointment.ejbSelectWorkingEmployee] Executing SQL: SELECT t0_e.ID FROM EMPLOYEE t0_e, APPOINTMENT t1_e_appointment WHERE ((t1_e_appointment.ID=?) AND (t0_e.END_WORKING IS NULL OR t0_e.END_WORKING > ? OR t0_e.END_WORKING = ?) AND (t0_e.BEGIN_WORKING < ? OR t0_e.BEGIN_WORKING = ?)) AND (t0_e.APPOINTMENTID=t1_e_appointment.ID) ORDER BY t0_e.LASTNAME ASC
      2002-11-16 21:36:40,053 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Appointment.findByName] Executing SQL: SELECT t0_a.ID FROM APPOINTMENT t0_a WHERE t0_a.NAME = ?
      2002-11-16 21:36:40,063 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Appointment] Executing SQL: SELECT NAME FROM APPOINTMENT WHERE (ID=?)
      2002-11-16 21:36:40,073 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Appointment.ejbSelectWorkingEmployee] Executing SQL: SELECT t0_e.ID FROM EMPLOYEE t0_e, APPOINTMENT t1_e_appointment WHERE ((t1_e_appointment.ID=?) AND (t0_e.END_WORKING IS NULL OR t0_e.END_WORKING > ? OR t0_e.END_WORKING = ?) AND (t0_e.BEGIN_WORKING < ? OR t0_e.BEGIN_WORKING = ?)) AND (t0_e.APPOINTMENTID=t1_e_appointment.ID) ORDER BY t0_e.LASTNAME ASC
      2002-11-16 21:36:40,083 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Appointment.findByName] Executing SQL: SELECT t0_a.ID FROM APPOINTMENT t0_a WHERE t0_a.NAME = ?
      2002-11-16 21:36:40,083 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Appointment] Executing SQL: SELECT NAME FROM APPOINTMENT WHERE (ID=?)
      2002-11-16 21:36:40,103 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Appointment.ejbSelectWorkingEmployee] Executing SQL: SELECT t0_e.ID FROM EMPLOYEE t0_e, APPOINTMENT t1_e_appointment WHERE ((t1_e_appointment.ID=?) AND (t0_e.END_WORKING IS NULL OR t0_e.END_WORKING > ? OR t0_e.END_WORKING = ?) AND (t0_e.BEGIN_WORKING < ? OR t0_e.BEGIN_WORKING = ?)) AND (t0_e.APPOINTMENTID=t1_e_appointment.ID) ORDER BY t0_e.LASTNAME ASC
      2002-11-16 21:36:40,113 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Employee] Executing SQL: SELECT FIRSTNAME, LASTNAME, SALUTATION, TITLE, NICKNAME, BIRTHDAY, EMAIL, EDUCATION, ADDRESS, PHONE, BEGIN_WORKING, END_WORKING, PASSPORT, DEPARTURE, LOGIN, PASSWORD, APPOINTMENTID, LOCATIONID FROM EMPLOYEE WHERE (ID=?)
      2002-11-16 21:36:40,123 DEBUG [MessageGenerator] employeeFillsDay ::: Getting time for day: 2002-11-15
      2002-11-16 21:36:40,123 DEBUG [com.pmssoftware.time.ejb.EmployeeBean] getTimeForDay ::: Day is 2002-11-15 and employeetime/Employee:2
      2002-11-16 21:36:40,123 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Employee.ejbSelectTimeForDay] Executing SQL: SELECT t0_t.ID FROM TIME t0_t, EMPLOYEE t1_t_employee WHERE ((t1_t_employee.ID=?) AND t0_t.DAY = ?) AND (t0_t.EMPLOYEEID=t1_t_employee.ID)
      2002-11-16 21:36:40,133 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.Employee.ejbSelectWaitingForDay] Executing SQL: SELECT t0_w.ID FROM WAITING t0_w, EMPLOYEE t1_w_employee WHERE ((t1_w_employee.ID=?) AND t0_w.DAY = ?) AND (t0_w.EMPLOYEEID=t1_w_employee.ID)
      2002-11-16 21:36:40,143 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.EmployeeDay.findByDayAndEmployee] Executing SQL: SELECT t0_ed.ID FROM EMPLOYEEDAY t0_ed, EMPLOYEE t1_ed_employee WHERE (t0_ed.DAY = ? AND (t1_ed_employee.ID=?)) AND (t0_ed.EMPLOYEEID=t1_ed_employee.ID)
      2002-11-16 21:36:40,143 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Day.findByPrimaryKey] Executing SQL: SELECT DAY FROM DAY WHERE DAY=?
      2002-11-16 21:36:40,153 DEBUG [com.pmssoftware.time.ejb.DayBean] ejbHomeGetByPrimaryKeyNorCreate ::: Day is null. Create new bean.
      2002-11-16 21:36:40,164 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCJBossQLQuery.DayType.findGeneralDays] Executing SQL: SELECT t0_dt.ID FROM DAYTYPE t0_dt WHERE t0_dt.GENERAL = 1 ORDER BY t0_dt.NAME ASC
      2002-11-16 21:36:40,204 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.DayType] Executing SQL: SELECT ID,NAME, GENERAL, ZEROHOURS, employee FROM DAYTYPE WHERE (ID=?) OR (ID=?) OR (ID=?)
      2002-11-16 21:36:40,224 DEBUG [com.pmssoftware.time.ejb.DayBean] ejbCreate ::: day type time/DayType:1 day 2002-11-15
      2002-11-16 21:36:40,224 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Day] Create: pk=2002-11-15
      2002-11-16 21:36:40,224 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Day] Executing SQL: SELECT COUNT(*) FROM DAY WHERE DAY=?
      2002-11-16 21:36:40,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Day] Executing SQL: INSERT INTO DAY (DAY, HOURS, NOTE, DAYTYPEID) VALUES (?, ?, ?, ?)
      2002-11-16 21:36:40,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Day] Rows affected = 1
      2002-11-16 21:36:40,234 DEBUG [com.pmssoftware.time.ejb.DayBean] ejbPostCreate ::: day type time/DayType:1 day 2002-11-15
      2002-11-16 21:36:40,264 DEBUG [MessageGenerator] time/Day:2002-11-15
      2002-11-16 21:36:40,264 DEBUG [MessageGenerator] time/DayType:1
      2002-11-16 21:36:40,264 DEBUG [MessageGenerator] employeeFillsDay ::: Getting time for day: 2002-11-14
      2002-11-16 21:36:40,264 DEBUG [com.pmssoftware.time.ejb.EmployeeBean] getTimeForDay ::: Day is 2002-11-14 and employeetime/Employee:2
      2002-11-16 21:36:40,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Day] Executing SQL: UPDATE DAY SET DAYTYPEID=? WHERE DAY=?
      2002-11-16 21:36:40,274 ERROR [org.jboss.ejb.GlobalTxEntityMap] Store failed on entity: 2002-11-14
      javax.ejb.EJBException: Update failed. Expected one affected row: rowsAffected=0id=2002-11-14
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:102)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:589)
      at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:458)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:388)
      at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:708)
      at org.jboss.ejb.GlobalTxEntityMap.syncEntities(GlobalTxEntityMap.java:99)
      at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:172)
      at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:95)
      at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
      at com.pmssoftware.time.ejb.EmployeeBean$Proxy.ejbSelectTimeForDay()
      at com.pmssoftware.time.ejb.EmployeeBean.getTimeForDay(EmployeeBean.java:243)
      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.invoke(EntityContainer.java:1194)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:297)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:90)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38)
      at $Proxy97.getTimeForDay(Unknown Source)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.employeeFillsDay(MessageGenerator.java:266)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.checkNotFilledLastDays(MessageGenerator.java:543)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.notFilledLastDays(MessageGenerator.java:507)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.execute(MessageGenerator.java:195)
      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:660)
      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:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:81)
      at $Proxy95.execute(Unknown Source)
      at com.pmssoftware.time.scheduler.QuartzJob.execute(QuartzJob.java:29)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:160)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:268)
      2002-11-16 21:36:40,834 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy:
      javax.transaction.TransactionRolledbackException: Exception in store of entity :2002-11-14
      at org.jboss.ejb.GlobalTxEntityMap.syncEntities(GlobalTxEntityMap.java:128)
      at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:172)
      at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:95)
      at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
      at com.pmssoftware.time.ejb.EmployeeBean$Proxy.ejbSelectTimeForDay()
      at com.pmssoftware.time.ejb.EmployeeBean.getTimeForDay(EmployeeBean.java:243)
      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.invoke(EntityContainer.java:1194)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:297)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:90)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38)
      at $Proxy97.getTimeForDay(Unknown Source)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.employeeFillsDay(MessageGenerator.java:266)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.checkNotFilledLastDays(MessageGenerator.java:543)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.notFilledLastDays(MessageGenerator.java:507)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.execute(MessageGenerator.java:195)
      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:660)
      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:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:81)
      at $Proxy95.execute(Unknown Source)
      at com.pmssoftware.time.scheduler.QuartzJob.execute(QuartzJob.java:29)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:160)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:268)
      2002-11-16 21:36:41,365 ERROR [STDERR] java.sql.SQLException: General error: Warning: Some non-transactional changed tables couldn't be rolled back
      2002-11-16 21:36:41,375 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source)
      2002-11-16 21:36:41,385 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source)
      2002-11-16 21:36:41,395 ERROR [STDERR] at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Source)
      2002-11-16 21:36:41,405 ERROR [STDERR] at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
      2002-11-16 21:36:41,415 ERROR [STDERR] at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
      2002-11-16 21:36:41,435 ERROR [STDERR] at org.gjt.mm.mysql.Connection.rollback(Unknown Source)
      2002-11-16 21:36:41,445 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.rollback(LocalManagedConnection.java:273)
      2002-11-16 21:36:41,455 ERROR [STDERR] at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener.rollback(LocalTxConnectionManager.java:658)
      2002-11-16 21:36:41,465 ERROR [STDERR] at org.jboss.tm.TxCapsule.rollbackResources(TxCapsule.java:1779)
      2002-11-16 21:36:41,475 ERROR [STDERR] at org.jboss.tm.TxCapsule.rollback(TxCapsule.java:475)
      2002-11-16 21:36:41,485 ERROR [STDERR] at org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:83)
      2002-11-16 21:36:41,495 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:191)
      2002-11-16 21:36:41,505 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      2002-11-16 21:36:41,515 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      2002-11-16 21:36:41,535 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      2002-11-16 21:36:41,545 ERROR [STDERR] at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      2002-11-16 21:36:41,556 ERROR [STDERR] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      2002-11-16 21:36:41,566 ERROR [STDERR] at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:81)
      2002-11-16 21:36:41,576 ERROR [STDERR] at $Proxy95.execute(Unknown Source)
      2002-11-16 21:36:41,586 ERROR [STDERR] at com.pmssoftware.time.scheduler.QuartzJob.execute(QuartzJob.java:29)
      2002-11-16 21:36:41,606 ERROR [STDERR] at org.quartz.core.JobRunShell.run(JobRunShell.java:160)
      2002-11-16 21:36:41,616 ERROR [STDERR] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:268)
      2002-11-16 21:36:41,626 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy:
      javax.transaction.TransactionRolledbackException: Exception in store of entity :2002-11-14
      at org.jboss.ejb.GlobalTxEntityMap.syncEntities(GlobalTxEntityMap.java:128)
      at org.jboss.ejb.EntityContainer.synchronizeEntitiesWithinTransaction(EntityContainer.java:172)
      at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:95)
      at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
      at com.pmssoftware.time.ejb.EmployeeBean$Proxy.ejbSelectTimeForDay()
      at com.pmssoftware.time.ejb.EmployeeBean.getTimeForDay(EmployeeBean.java:243)
      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.invoke(EntityContainer.java:1194)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:297)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:90)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38)
      at $Proxy97.getTimeForDay(Unknown Source)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.employeeFillsDay(MessageGenerator.java:266)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.checkNotFilledLastDays(MessageGenerator.java:543)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.notFilledLastDays(MessageGenerator.java:507)
      at com.pmssoftware.time.ejb.scheduling.MessageGenerator.execute(MessageGenerator.java:195)
      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:660)
      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:107)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204)
      at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313)
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(BaseLocalContainerInvoker.java:301)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:81)
      at $Proxy95.execute(Unknown Source)
      at com.pmssoftware.time.scheduler.QuartzJob.execute(QuartzJob.java:29)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:160)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:268)
      2002-11-16 21:36:42,146 INFO [STDOUT] ERROR : Naming exception Internal error; CausedByException is:
      Exception in store of entity :2002-11-14; CausedByException is:
      Internal error; CausedByException is:
      Exception in store of entity :2002-11-14