[Messaging, JMS & JBossMQ] - Re: Using Oracle AQ as JMS Provider
by bbucy
Looking at attempting to do the same thing described above, that is use Oracle AQ as a JMS Provider for MDBs using JBoss 4.2 and Oracle 10.2.0.1.0. Started implementing the "Oracle AQ Patch". Treaded thru various configuration issues which I believe are resolved, but I am now receiving a JMSException("JMS Session is null.") from the AQjmsConnectionConsumer run() method upon startup. Before continuing down this path; I figure I would throw out a couple of questions:
- Is the "Oracle AQ Patch" compatible with Jboss 4.2 and Oracle 10.2.0.1.0?
- A previous reply mentions "configuring the JMSProvider", has anybody gotten this to work? If so, you wouldn't happen to have a cheat sheet or a bit more direction.
- Also, the "Oracle AQ Patch" doesn't support XA, found an oracle aq resource adapater implementation (e.g. https://oracleaq.dev.java.net/), has anybody used this resource adapater with JBoss?
Guess what I'm looking for is a nudge in the right direction!!! More than willing to put in the effort, just would like to start out knowing I'm not going down a dead-end plus that it is the best solution.
Thanks, Bob
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078505#4078505
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078505
18Â years, 8Â months
[JBoss Seam] - Re: @Startup with EJB having multiple roles
by pierospinelli
anonymous wrote : Without knowing the details, I would have thought there were neater ways of doing this than making this extension to Seam. What solution did you use in the end?
Pete, if you referred to JSF recursive structures using backing EJBs, of course it presents some major problems (the first is that you cannot use recursion in EJB).
However, it is often possible to present a recursive structure (i.e. a Tree, a Directory, ...) focalizing on just 2 levels a time in the ui; this way the same EJB can have two roles, one for the parent level and one for the child level.
In order to avoid recursion in EJB it is possible to use some tricks, like moving some operations at presentation time (of course this could introduce some constaints, i.e. in the order of the control in a JSF page).
A sample of this could be found in a project I was ascked to upload in Jira in the thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078497#4078497
The Jira url is http://jira.jboss.org/jira/browse/JBSEAM-1869 and the Organization page allows to manage a user directory (of couse I must have done some silly thing in it, being a new SEAM users, but maybe you could suggest me some easier way to do the same thing).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078504#4078504
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078504
18Â years, 8Â months
[JBoss Seam] - Re: @Startup with EJB having multiple roles
by pierospinelli
anonymous wrote : Without knowing the details, I would have thought there were neater ways of doing this than making this extension to Seam. What solution did you use in the end?
Pete, if you referred to JSF recursive structures using backing EJBs, of course it presents some major problems (the first is that you cannot use recursion in EJB).
However, it is often possible to present a recursive structure (i.e. a Tree, a Directory, ...) focalizing on just 2 levels a time in the ui; this way the same EJB can have two roles, one for the parent level and one for the child level.
In order to avoid recursion in EJB it is possible to use some tricks, like moving some operations at presentation time (of course this could introduce some constaints, i.e. in the order of the control in a JSF page).
A sample of this could be found in a project I was ascked to upload in Jira in the thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078497#4078497
The Jira url is http://jira.jboss.org/jira/browse/JBSEAM-1869 and the Organization page allows to manage a user directory (of couse I must have done some silly thing in it, being a new SEAM users, but maybe you could suggest me some easier way to do the same thing).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078503#4078503
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078503
18Â years, 8Â months