Re: websphere MQ
We are to send/receive message to webpshere MQ version 7 using version 7 resource adapter from ibm in geronimo 3.0. We would like to get this to work in Tomee. I created a sample without MDB to test this out. created tomee.xml under META-INF with the following value I am able to send/receive message using tomee by adding the following jars com.ibm.mq.jar com.ibm.mq.mqqi.jar com.ibm.mq.jms.Nojndi.jar com.ibm.mq.pcf.jar com.ibm.mq.soap.jar com.ibm.mqjms.jar dhbcore.jar to lib. Once the I bundle resource adapter to EAR I start to see the following exception. I need to get resource adapter to work in order to start using MDB. Any help suggestion is much appreciated. Nov 29, 2012 10:13:04 AM org.apache.geronimo.connector.outbound.MCFConnectionInterceptor getConnection SEVERE: Error occurred creating ManagedConnection for handle: nullManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@16aa9b2. mc: null] com.ibm.mq.connector.DetailedResourceException: MQJCA1011: Failed to allocate a JMS connection. An internal error caused an attempt to allocate a connection to fail. See the linked exception for details of the failure. at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:129) at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:105) at com.ibm.mq.connector.ConnectionBuilder.createConnection(ConnectionBuilder.java:197) at com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl.createConnection(ManagedConnectionFactoryImpl.java:434) at com.ibm.mq.connector.outbound.ManagedConnectionImpl.(ManagedConnectionImpl.java:138) at com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:190) at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48) at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41) at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:70) at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:80) at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:49) at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:109) at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43) at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39) at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66) at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:81) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createManagedJMSConnection(ConnectionFactoryImpl.java:194) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnectionInternal(ConnectionFactoryImpl.java:153) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:138) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:123) at com.amex.test.First.doGet(First.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$Ab
Re: websphere MQ
We are to send/receive message to webpshere MQ version 7 using version 7 resource adapter from ibm in geronimo 3.0. We would like to get this to work in Tomee. I created a sample without MDB to test this out. created tomee.xml under META-INF with the following value I am able to send/receive message using tomee by adding the following jars com.ibm.mq.jar com.ibm.mq.mqqi.jar com.ibm.mq.jms.Nojndi.jar com.ibm.mq.pcf.jar com.ibm.mq.soap.jar com.ibm.mqjms.jar dhbcore.jar to lib. Once the I bundle resource adapter to EAR I start to see the following exception. I need to get resource adapter to work in order to start using MDB. Any help suggestion is much appreciated. Nov 29, 2012 10:13:04 AM org.apache.geronimo.connector.outbound.MCFConnectionInterceptor getConnection SEVERE: Error occurred creating ManagedConnection for handle: nullManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@16aa9b2. mc: null] com.ibm.mq.connector.DetailedResourceException: MQJCA1011: Failed to allocate a JMS connection. An internal error caused an attempt to allocate a connection to fail. See the linked exception for details of the failure. at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:129) at com.ibm.mq.connector.services.JCAExceptionBuilder.buildException(JCAExceptionBuilder.java:105) at com.ibm.mq.connector.ConnectionBuilder.createConnection(ConnectionBuilder.java:197) at com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl.createConnection(ManagedConnectionFactoryImpl.java:434) at com.ibm.mq.connector.outbound.ManagedConnectionImpl.(ManagedConnectionImpl.java:138) at com.ibm.mq.connector.outbound.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:190) at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48) at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41) at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:70) at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:80) at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:49) at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:109) at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43) at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39) at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66) at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:81) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createManagedJMSConnection(ConnectionFactoryImpl.java:194) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnectionInternal(ConnectionFactoryImpl.java:153) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:138) at com.ibm.mq.connector.outbound.ConnectionFactoryImpl.createConnection(ConnectionFactoryImpl.java:123) at com.amex.test.First.doGet(First.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$Ab
TomEE 1.5.1 release date?
Hello, People in my company are getting nervous with TomEE 1.5.1 official release date, because it's the target prerequisite of our soon-to-be released product. 1.5.0 is just not usable for production on Windows, due to the issues with registration as a service, and the bugs in Windows path processing. Is it possible to have a firm date for 1.5.1 official release? Thanks, Alex.
Re: APR based Apache Tomcat Native library ... not found on java.library.path
okay, thanks. On Thu, Nov 29, 2012 at 3:04 AM, Jean-Louis MONTEIRO wrote: > Push a post on Tomcat mailing list to get more relevant advises on APR > usage. > > JLouis > > > 2012/11/29 Jean-Louis MONTEIRO > > > That should be similar to Tomcat usage. > > Everything working with Tomcat should work with TomEE. > > > > If not, that's a bug so let us know to fix it. > > > > Jean-Louis > > > > 2012/11/26 Howard W. Smith, Jr. > > > >> cat Native library to my java.library > > > > > > > > > > -- > > Jean-Louis > > > > > > -- > Jean-Louis >
Re: Programmatically release of pessimistic lock
A tip could be to use a "LockBean" with a transaction type to required_new Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/11/29 tschuler : > Hi Romain! > > We want to use the pessimistic lock to avoid parallel execution of a part of > our application over all cluster nodes. As the part of the application to be > locked is only a small portion of the activity to be done in the > transaction, the unlock at the end of the transaction would lock it much > longer as needed. > > Best regards, > Thomas > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Programmatically-release-of-pessimistic-lock-tp4658518p4658986.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: Programmatically release of pessimistic lock
Hi Romain! We want to use the pessimistic lock to avoid parallel execution of a part of our application over all cluster nodes. As the part of the application to be locked is only a small portion of the activity to be done in the transaction, the unlock at the end of the transaction would lock it much longer as needed. Best regards, Thomas -- View this message in context: http://openejb.979440.n4.nabble.com/Programmatically-release-of-pessimistic-lock-tp4658518p4658986.html Sent from the OpenEJB User mailing list archive at Nabble.com.
Re: APR based Apache Tomcat Native library ... not found on java.library.path
Push a post on Tomcat mailing list to get more relevant advises on APR usage. JLouis 2012/11/29 Jean-Louis MONTEIRO > That should be similar to Tomcat usage. > Everything working with Tomcat should work with TomEE. > > If not, that's a bug so let us know to fix it. > > Jean-Louis > > 2012/11/26 Howard W. Smith, Jr. > >> cat Native library to my java.library > > > > > -- > Jean-Louis > -- Jean-Louis
Re: APR based Apache Tomcat Native library ... not found on java.library.path
That should be similar to Tomcat usage. Everything working with Tomcat should work with TomEE. If not, that's a bug so let us know to fix it. Jean-Louis 2012/11/26 Howard W. Smith, Jr. > cat Native library to my java.library -- Jean-Louis
Re: Apache TomEE documentation: WTP and TomEE logging
Hi Howard, No no, everyone can propose changes. Apache CMS supports anonymous contributions. When it asks if you have an Apache ID, just answer No, it you should switch to an anonymous mode. As soon as you submit it, we receive a patch we can apply for you. Thanks in advance for your contribution. Jean-Louis 2012/11/27 Howard W. Smith, Jr. > edited by 'committer -- Jean-Louis