1 2 Previous Next 29 Replies Latest reply on Apr 26, 2004 4:22 PM by adrian.brock

    Change Notes: 3.2.4

      Added SecureIdentityLoginModule

      An example of how one could encrypt the database password for a jca
      connection factory

        • 1. Re: Observable Pattern on the WIKI

          Can you explain the annotation usage.
          Is that doable now or do we have to code something?

          • 2. Re: Change Notes: 3.2.4

            Regression:

            Allow the transaction isolation to overridden inside a manged transaction.
            Leave it to the db to decide whether this is legal.

            • 3. Re: SpecJappServer 2002 : dies in OrderAuditSesEJB

              Turns out all I needed to do was to add jnp_client.jar to my compile path....

              Any ideas on how to find out why JBoss can't commit on tx=TransactionImpl:XidImp ?

              On to a new and improved problem :
              18:52:48,098 ERROR [LogInterceptor] TransactionRolledbackLocalException in metho
              d: public abstract org.spec.jappserver.util.helper.SequenceBlock org.spec.jappse
              rver.util.sequenceent.ejb.SequenceEntLocal.nextSequenceBlock(), causedBy:
              org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImp
              l [FormatId=257, GlobalId=lenny//309, BranchQual=] status=STATUS_NO_TRANSACTION;
              - nested throwable: (javax.ejb.EJBException: Expected one updated row but got:
              0)
              at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:415)
              at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCM
              T.java:456)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
              torCMT.java:369)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
              48)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
              java:120)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
              ryFinderInterceptor.java:122)
              at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484
              )
              at org.jboss.ejb.Container.invoke(Container.java:723)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalPro
              xyFactory.java:359)
              at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)
              at $Proxy193.nextSequenceBlock(Unknown Source)
              at org.spec.jappserver.util.sequenceses.ejb.SequenceSesEJB.nextKey(Seque
              nceSesEJB.java:165)
              at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
              tatelessSessionContainer.java:683)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
              elessSessionInstanceInterceptor.java:72)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
              rceptor.java:84)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
              torCMT.java:282)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
              48)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
              java:120)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
              ryFinderInterceptor.java:122)
              at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessi
              onContainer.java:331)
              at org.jboss.ejb.Container.invoke(Container.java:723)
              at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
              java:60)

              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
              java:185)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
              at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
              a:90)
              at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
              java:46)
              at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
              3)
              at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi
              onInterceptor.java:100)
              at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
              at $Proxy197.nextKey(Unknown Source)
              at org.spec.jappserver.mfg.workorderent.ejb.WorkOrderCmp20EJB.ejbCreate(
              WorkOrderCmp20EJB.java:142)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersisten
              ceManager.java:170)
              at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:57
              6)
              at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityC
              ontainer.java:1061)
              at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractIntercep
              tor.java:88)
              at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(Ent
              itySynchronizationInterceptor.java:204)
              at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractIntercep
              tor.java:88)
              at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInst
              anceInterceptor.java:90)
              at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCrea
              tionInterceptor.java:28)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
              rceptor.java:88)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
              torCMT.java:315)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.ja
              va:128)
              at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityIntercep
              tor.java:94)
              at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:1
              20)

              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyF
              actoryFinderInterceptor.java:93)
              at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java
              :478)
              at org.jboss.ejb.Container.invoke(Container.java:743)
              at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLoca
              lProxyFactory.java:294)
              at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java
              :110)
              at $Proxy43.create(Unknown Source)
              at org.spec.jappserver.mfg.workorderses.ejb.WorkOrderSesEJB.scheduleWork
              Order(WorkOrderSesEJB.java:178)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S
              tatelessSessionContainer.java:683)
              at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat
              elessSessionInstanceInterceptor.java:72)
              at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte
              rceptor.java:84)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
              torCMT.java:315)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1
              48)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
              java:120)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto
              ryFinderInterceptor.java:122)
              at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessi
              onContainer.java:331)
              at org.jboss.ejb.Container.invoke(Container.java:723)
              at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
              java:60)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
              java:185)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
              at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:
              360)
              at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
              at sun.rmi.transport.Transport$1.run(Transport.java:148)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
              60)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
              .java:701)
              at java.lang.Thread.run(Thread.java:534)
              Caused by: javax.ejb.EJBException: Expected one updated row but got: 0
              at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable$1.executeUpdate(En
              tityTable.java:1159)
              at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.update(EntityTable
              .java:482)
              at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable.access$1300(Entity
              Table.java:42)
              at org.jboss.ejb.plugins.cmp.jdbc2.schema.EntityTable$View.flush(EntityT
              able.java:779)
              at org.jboss.ejb.plugins.cmp.jdbc2.schema.Schema.flush(Schema.java:118)
              at org.jboss.ejb.plugins.cmp.jdbc2.schema.Schema$SchemaSynchronization.b
              eforeCompletion(Schema.java:153)
              at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:
              1362)
              at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:347)
              ... 103 more

              • 4. Re: Change Notes: 3.2.4

                Bug Fix:
                Fix the ConnectionsInUse statistic on the managed connection pool

                • 5. Re: Change Notes: 3.2.4

                  MySQL example - docs/examples/jca/mysql-ds.xml

                  Update the legacy driver-class org.gjt.mm.mysql.Driver to the
                  current 3.0.9 com.mysql.jdbc.Driver available from:
                  http://www.mysql.com/downloads/api-jdbc-stable.html

                  • 6. Re: Change Notes: 3.2.4

                    Bug Fix:

                    Fix the synchronization of the WeakHashMap used in Connection close checking

                    • 7. Re: Change Notes: 3.2.4

                      Regression:

                      Reinstate the removal of a connection from the pool that is not checked out
                      by an application when notification is received of a connection failure.

                      • 8. Re: Change Notes: 3.2.4

                        JMSRA - ExceptionListener

                        Add exception listeners to the connections used by the JMSRA
                        so they can be removed from the pool and destroyed.

                        • 9. Re: Change Notes: 3.2.4

                          HSQLDB shutdown

                          An mbean to force a clean shutdown of the embedded hsqldb when it is not
                          exposed over tcp/ip

                          • 10. Re: Change Notes: 3.2.4

                            Bug Fix:

                            Correct the type of the ResourceAdapterElement in the mbean description
                            of the RARDeployment

                            • 11. Re: Change Notes: 3.2.4

                              Use an ArrayList rather than array to hold the pooled connections.

                              • 12. Re: Change Notes: 3.2.4

                                Added SecureIdentityLoginModule

                                An example of how one could encrypt the database password for a jca
                                connection factory

                                • 13. Re: Change Notes: 3.2.4

                                  AbstractPasswordCredentialLoginModule.java

                                  Remove the notification listener behavior as its useless to clear the
                                  shared state map on a cf stop since only the login modules active during
                                  authentication have access to it.

                                  • 14. Re: Change Notes: 3.2.4

                                    JDBC Resource adapter

                                    Added synchronization to modifications of a connection's state

                                    1 2 Previous Next