Re: Dedicated ActiveMQ pooled ConnectionFactory with XA / JCA support
Guillaume Nodet wrote: > Btw, I've blogged about that at http://gnodet.blogspot.com/ > > On 12/19/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote: >> I have committed in jencks some work I have done the past weeks >> on a pooled ConnectionFactory for ActiveMQ. >> This add the following features: >>* multiple connections are used to improve throughput (until the >> AMQ broker is multithreaded) >>* support for XA transactions: when creating a session, if an XA >> transaction is active, >> the session will be enlisted in this transaction >>* support for JCA : if used with JCA inbound support, there is a >> need to wrap the >> XAResource so that the TM knows that both XA resources belongs >> to the same >> ResourceManager >> >> Support for XA / JCA is much faster than the JCA outbound support >> because the AMQ resource adapter reverts the connection in a fully >> clean state >> after use. This may be needed when dealing with container managed >> security, >> but when this feature is not used, I would recommend using this pooled >> connection factories, which performs much better. >> >> -- >> Cheers, >> Guillaume Nodet >> Could you put up some configuration examples, perhaps amqpool outbound in combination with JCA inbound using AMQ's RA with XA JTA transactions in Spring? :) -- Christopher G. Stach II
Re: Expired message stuck inside the queue
Can you try switching your jars to 4.2-snapshot (from January 2007) in development / system testing and seeing if you can make the bug happen? I'd like to know if the issue is fixed in 4.2-snapshot. On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: Sorry, may i know what do u mean reproduce? James.Strachan wrote: > > On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: >> >> we just allowed to use official release for our production use. Since 4.2 >> haven been officially released, we r not allowed to use it. Is there any >> other solution? > > Can't you try reproduce it in development? > > -- > > James > --- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8446723 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- James --- http://radio.weblogs.com/0112098/
[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
[ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37937 ] Endre Stølsvik commented on AMQ-1016: - Nice to see it reopened. At least the next versions, both 4.2 and 4.1.1 should have this fixed. Here's a link to a post that describes the different problems, again referring to some more posts: http://www.nabble.com/Re%3A-Issues-configuring-ActiveMQ-in-spring-context-file-p8450503.html > 4.1 RC1: META-INF/spring.schemas refers to building user > "file:/Users/chirino/" > --- > > Key: AMQ-1016 > URL: https://issues.apache.org/activemq/browse/AMQ-1016 > Project: ActiveMQ > Issue Type: Bug >Affects Versions: 4.1.0 > Environment: n/a >Reporter: Endre Stølsvik > Assigned To: Hiram Chirino >Priority: Minor > Fix For: 4.1.1, 4.2.0 > > > Referring to the 4.1 RC1 posted by Hiram Chirino Oct 06, here: > http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974 > The META-INF file spring.schemas have the single line. > "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd" > Notice "file:/" and "Users/chirino". Referring to > org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: > "schema-location should also be a schema file in the classpath", and that > no-one can tell what structure I will have on my fs, this must be wrong. In > addition, I most probably won't have a user name "chirino". > PS: In addition, the doc at > > http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html > refers as such: > xmlns:amq="http://activemq.org/config/1.0"; > .. and .. > xsi:schemaLocation="http://activemq.org/config/1.0 > http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"; > Wouldn't it be nice if this was put at a better place than such a > snapshot-build URI? It could be put where it will reside when 4.1 actually is > out, w/o anyone being to angry about changes during the finalization period, > I personally believe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
[ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Lewandowski reopened AMQ-1016: --- Regression: [Regression] This issue is not resolved. > 4.1 RC1: META-INF/spring.schemas refers to building user > "file:/Users/chirino/" > --- > > Key: AMQ-1016 > URL: https://issues.apache.org/activemq/browse/AMQ-1016 > Project: ActiveMQ > Issue Type: Bug >Affects Versions: 4.1.0 > Environment: n/a >Reporter: Endre Stølsvik > Assigned To: Hiram Chirino >Priority: Minor > Fix For: 4.1.1, 4.2.0 > > > Referring to the 4.1 RC1 posted by Hiram Chirino Oct 06, here: > http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974 > The META-INF file spring.schemas have the single line. > "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd" > Notice "file:/" and "Users/chirino". Referring to > org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: > "schema-location should also be a schema file in the classpath", and that > no-one can tell what structure I will have on my fs, this must be wrong. In > addition, I most probably won't have a user name "chirino". > PS: In addition, the doc at > > http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html > refers as such: > xmlns:amq="http://activemq.org/config/1.0"; > .. and .. > xsi:schemaLocation="http://activemq.org/config/1.0 > http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"; > Wouldn't it be nice if this was put at a better place than such a > snapshot-build URI? It could be put where it will reside when 4.1 actually is > out, w/o anyone being to angry about changes during the finalization period, > I personally believe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
[ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37935 ] Endre Stølsvik commented on AMQ-1016: - Now the 4.2 SNAPSHOT version doesn't work either. I've now put a 4.1-working version here (its a 4.2 SNAPSHOT version that I apparently downloaded 2007-01-08, according to its timestamp): http://picorg.net/schema/activemq-4.1-working-V4.2.xsd Hopefully the maintainers of ActiveMQ at some point will understand and fix this rather big problem. By exchanging the xsi:schemaLocation URL with that one, I got both Eclipse to be happy, and my app to actually boot. NOTE: I will not promise that I'll leave that file there forever, so don't go production with it. > 4.1 RC1: META-INF/spring.schemas refers to building user > "file:/Users/chirino/" > --- > > Key: AMQ-1016 > URL: https://issues.apache.org/activemq/browse/AMQ-1016 > Project: ActiveMQ > Issue Type: Bug >Affects Versions: 4.1.0 > Environment: n/a >Reporter: Endre Stølsvik > Assigned To: Hiram Chirino >Priority: Minor > Fix For: 4.1.1, 4.2.0 > > > Referring to the 4.1 RC1 posted by Hiram Chirino Oct 06, here: > http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974 > The META-INF file spring.schemas have the single line. > "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd" > Notice "file:/" and "Users/chirino". Referring to > org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: > "schema-location should also be a schema file in the classpath", and that > no-one can tell what structure I will have on my fs, this must be wrong. In > addition, I most probably won't have a user name "chirino". > PS: In addition, the doc at > > http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html > refers as such: > xmlns:amq="http://activemq.org/config/1.0"; > .. and .. > xsi:schemaLocation="http://activemq.org/config/1.0 > http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"; > Wouldn't it be nice if this was put at a better place than such a > snapshot-build URI? It could be put where it will reside when 4.1 actually is > out, w/o anyone being to angry about changes during the finalization period, > I personally believe. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Doxample: Can we ship it with our code?
Thanks Oren! On Jan 18, 2007, at 6:49 PM, Oren Ben-Kiki wrote: On Thu, 2007-01-18 at 18:09 -0500, Hiram Chirino wrote: ... Yeah the differences between the two get a bit complex and IANAL too :) But I think the biggest difference between the Licenses are that Apache licensed software is a bit more liberal with how it can be used. For example it allows commercial companies to make modifications and redistribute without giving back the changes. Which is contrary to the GPL philosophy. In essence the Apache, BSD, and MIT licenses are more Business friendly. So I light of that, you might not actually want to Apache License it.. And that would be OK... I don't feel that strongly about it. It isn't exactly the crown jewels :-) But if you don't mind other folks using your file (even for commercial reasons), you would just need to also add this to the header for us to be able to consume it: Copyright [] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Fine, put that in there with my name (Oren Ben-Kiki) and the current year (2007). And hopefully within a "short period of time" this will be in the Autoconf archive and the problem will go away. Share & Enjoy, Oren Ben-Kiki
getaddrinfo() error
I 've fixed a tiny bug with getaddrinfo() error handling. Whom should I delegate a patch? -- View this message in context: http://www.nabble.com/getaddrinfo%28%29-error-tf3039518.html#a8447964 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Expired message stuck inside the queue
Sorry, may i know what do u mean reproduce? James.Strachan wrote: > > On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: >> >> we just allowed to use official release for our production use. Since 4.2 >> haven been officially released, we r not allowed to use it. Is there any >> other solution? > > Can't you try reproduce it in development? > > -- > > James > --- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8446723 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Expired message stuck inside the queue
On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: we just allowed to use official release for our production use. Since 4.2 haven been officially released, we r not allowed to use it. Is there any other solution? Can't you try reproduce it in development? -- James --- http://radio.weblogs.com/0112098/
Re: Expired message stuck inside the queue
we just allowed to use official release for our production use. Since 4.2 haven been officially released, we r not allowed to use it. Is there any other solution? Thanks in advance James.Strachan wrote: > > Does the same thing happen if you try the latest 4.2-snapshot (from > January)? > > On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: >> >> 4.1 >> >> James.Strachan wrote: >> > >> > Which version are you using? >> > >> > On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: >> >> >> >> I had sent an 10 sec expired message to a queue(i stopped the >> application >> >> server tat reading the queue's message for 10 sec to create this >> >> scenario), >> >> then started the application server and i send another message to the >> >> same >> >> queue after 20 sec (in this case the previous message should be >> expired). >> >> The 2nd message that I send to the queue cannot be consumed due to the >> >> previous expired message stuck inside the queue. May i know how to >> solve >> >> this? thanks. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8445948 >> >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > >> > James >> > --- >> > http://radio.weblogs.com/0112098/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8446196 >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> >> > > > -- > > James > --- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8446603 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Expired message stuck inside the queue
Does the same thing happen if you try the latest 4.2-snapshot (from January)? On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: 4.1 James.Strachan wrote: > > Which version are you using? > > On 1/19/07, bluedolphin <[EMAIL PROTECTED]> wrote: >> >> I had sent an 10 sec expired message to a queue(i stopped the application >> server tat reading the queue's message for 10 sec to create this >> scenario), >> then started the application server and i send another message to the >> same >> queue after 20 sec (in this case the previous message should be expired). >> The 2nd message that I send to the queue cannot be consumed due to the >> previous expired message stuck inside the queue. May i know how to solve >> this? thanks. >> -- >> View this message in context: >> http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8445948 >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> >> > > > -- > > James > --- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Expired-message-stuck-inside-the-queue-tf3038899.html#a8446196 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. -- James --- http://radio.weblogs.com/0112098/