Giter Club home page Giter Club logo

esb-transactions's People

Contributors

fbolton avatar ffang avatar gertv avatar grgrzybek avatar kevinearls avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esb-transactions's Issues

"Username cannot be null" error received when running the 6.1 branch

When running the 6.1 branch I'm seeing the exception below repeatedly...

 12:26:34,398 | ERROR | RetryTimer       | GenericResourceManager           | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Failed to create ConnectionAndWrapperNamedXAResource, User name [null] or password is invalid.
javax.transaction.SystemException: Failed to create ConnectionAndWrapperNamedXAResource, User name [null] or password is invalid.
    at org.apache.activemq.jms.pool.GenericResourceManager$Recovery$1.getNamedXAResource(GenericResourceManager.java:161)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.geronimo.transaction.manager.RecoverTask.run(RecoverTask.java:49)[116:org.apache.aries.transaction.manager:1.0.1.redhat-610379]
    at org.apache.geronimo.transaction.manager.ExponentialtIntervalRetryScheduler$TaskWrapper.run(ExponentialtIntervalRetryScheduler.java:50)[116:org.apache.aries.transaction.manager:1.0.1.redhat-610379]
    at java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_45]
    at java.util.TimerThread.run(Timer.java:505)[:1.7.0_45]
Caused by: javax.jms.JMSSecurityException: User name [null] or password is invalid.
    at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:52)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1408)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1513)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQXAConnection.createSession(ActiveMQXAConnection.java:74)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQXAConnection.createXASession(ActiveMQXAConnection.java:61)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.jms.pool.GenericResourceManager$Recovery$1.getNamedXAResource(GenericResourceManager.java:155)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    ... 4 more
Caused by: java.lang.SecurityException: User name [null] or password is invalid.
    at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:80)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:97)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:764)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:148)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:242)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
Caused by: javax.security.auth.login.LoginException: Username can not be null
    at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java:93)
    at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar:]
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_45]
    at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)[:1.7.0_45]
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)[:1.7.0_45]
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)[:1.7.0_45]
    at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.login(LoginContext.java:594)[:1.7.0_45]
    at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:73)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    ... 13 more

"org.apache.openjpa.persistence.TransactionRequiredException: There is no managed transaction in progress to sync this EntityManager with" - deploying in fabric

Sometimes seeing

org.apache.openjpa.persistence.TransactionRequiredException: There is no managed transaction in progress to sync this EntityManager with.

It seems that the start order of the bundles are causing this exception. In fabric (JBoss Fuse 6.1) the only way to influence start order is to import/export OSGi services between bundles.

adding a pull request with sample update that worked around the issue.

Question regarding DB XA connection pooling.

The ENTESB-633 workaround utilises the Geronimo JCA Connection Manager to also include DB connection pooling. What would be used for connection pooling should 633 be fixed?

With the FuseSource JIRA being taken on by redhat support, will the 633 JIRA issue continue to be updated?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.