[JBoss Tools Users] - Re: Setting up JBoss Tools in Ganymede
by nickboldt
anonymous wrote : Extracted drools-5.1.0.SNAPSHOT-bin.zip into c:/drools directory. I then used it as the runtime while creating the first "Hello"-DroolsProject.
Yes, that's correct. Sorry, should have mentioned that the Drools runtime is NOT an update site, nor is it a collection of Eclipse plugins/features -- it's the layer BELOW that.
So, yes, to "install" it you just unpack it somewhere and then configure the Drools IDE plugins installed into Eclipse (from their update site / zip) to tell it where you put the runtime.
It's akin to telling Eclipse where your Java runtime (JDK or JRE) is installed, if you have more than one (1.4, 5.0, 6.0).
So, as you surmised, the process in general for Eclipse install/config is:
0. install Java
1. get Eclipse, unpack
2. run Eclipse, install into it using Update (remote sites, local sites, local site zips)
3. get additional runtime(s) and unpack them outside Eclipse install folder
4. configure Eclipse to know where runtime(s) are located
Should you want to do the above for Seam, Hibernate, etc. that's the process. :)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253609#4253609
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253609
15 years, 4 months
[JBoss Messaging Users] - Re: Possible transaction scopes for asynchronous reception?
by chtimi2
Sorry my question wasn't very clear.
I know that it isn't possible to produce and consume a message in the same transaction.
What i want to do is this:
If N messages have been produced in a single transaction T_prod, i want them to be consumed in a single transaction T_cons.
T_prod and T_cons don't have to be the same, i know that's not possible.
"ataylor" wrote : I'm not sure i understand your question. when you say 'consumption of the same set of messages' do you mean from a topic.
| If so the each consumer can consumer the messages within its own transaction. The transaction covers the delivery of the messages not the message itself.
Yes, i'm talking about a topic.
Let's say that the producer posts 2 messages, in a transaction (let's call it T_prod).
Let's say the consumer is a MDB: with Container Managed Transaction, each onMessage will execute in a new transaction, independant from T_prod.
What i'm wondering is whether it's possible, by using Bean Managed Transaction in the MDB, to get the 2 onMessage calls to execute within a single transaction.
I'm thinking of a pattern like this:
-Producer side: put the T_prod transaction id in the message header
-Consumer side: read the transaction id to determine if the message is the first to be recieved from T_prod, manually start and commit
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253602#4253602
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253602
15 years, 4 months
[Installation, Configuration & Deployment] - One deploy dir per user
by pplupo
Hi everyone.
I'm from a large brazilian university and I have been presented the following problem from the laboratory administrators of a computer science department who are seeking to provide JBoss AS for the students.
ATM, each user has a login and a home directory. At this home dir, there is a public_html where files can be placed to be served by Apache HTTPD (for those who know it, that is made with mod_userdir /home//public_html makes it available at /~).
In order to provide JBoss AS, it would be nice if one could set it up like that. Indicate a directory in user's profile which would be scanned for deployment and make the application available at some url also configurable.
So, to be short: I want one instance of JBoss AS scanning multiple dirs for applications to be made available at different urls, depending on the dir, with each dir related to a particular user.
Can anyone say how it can be done with AS5?
Thank you, in advance.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253595#4253595
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253595
15 years, 4 months