Mike Finn [http://community.jboss.org/people/mikefinnx] created the discussion
"Request-response pattern using JMS?"
To view the discussion, visit: http://community.jboss.org/message/533165#533165
--------------------------------------------------------------
Bringing this over from user forum: http://community.jboss.org/thread/149042http://community.jboss.org/thread/149042
The only apparent way to do request/response execution of a service via JMS is by providing the response via JMS Router. This couples the service consumer transport into the service flow, which IMO seems like not a great thing. For example, if one is exposing an ESB service over both WS and JMS, conditional logic would need to be baked into the service to determine how to deliver the response.
It seems a better approach would be for JmsGatewayListener to support the request/response semantic. I have such an implementation pretty close to complete, working off the 4.7 GA base. Should I just post a jira with it (can also port to trunk or 4_7_CP or whatever makes sense), or is there a better way to solve this? I am happy to build and contribute anything that solves the problem, but just want to know the consensus from you folks on the right way to go about this.
Thanks,
Mike
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533165#533165]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"Fixing the EJB3 testsuite..."
To view the discussion, visit: http://community.jboss.org/message/533118#533118
--------------------------------------------------------------
> Clebert Suconic wrote:
>
> also.. there's another issue.. as you need to adjust the classpath as the tests didn't get the newest hornetq libraries.
The EJB3 testsuide adds all the jars that are in JBOSS_HOME/client folder to its classpath. So as long as the JBOSS_HOME/client folder has the right set of hornetq jars, it should work.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533118#533118]
Start a new discussion in EJB 3.0 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Clebert Suconic [http://community.jboss.org/people/clebert.suconic%40jboss.com] created the discussion
"Fixing the EJB3 testsuite..."
To view the discussion, visit: http://community.jboss.org/message/533100#533100
--------------------------------------------------------------
I've tried fixing the testsuite myself.. but the build is somewhat... well... broken now... So, I will just provide you guys a quick howto, and you guys can do it.
I've tried to upgrade the jboss-test dependency as required to fix it.. and it kept pulling the older version it used to. I guess there is something getting it indirectly.
Basically, there is a package now on JBossTest that will decide how to make the deployment of destinations. If you look at the latest jboss-test project, you will see JBossJMSTestCase and the org.jboss.test.jms.JMSTestAdmin.
The attached patch here is fixing one of the tests. Take a look it should be easy to understand.
also.. there's another issue.. as you need to adjust the classpath as the tests didn't get the newest hornetq libraries.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533100#533100]
Start a new discussion in EJB 3.0 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Tong Su [http://community.jboss.org/people/suto] created the discussion
"How to add a new protected page under the default portal"
To view the discussion, visit: http://community.jboss.org/message/533092#533092
--------------------------------------------------------------
I am having trouble adding a new page to the default portal. I am using portal 2.72 with Jboss 4.2.3
My goal is very simple: I have a new role, say myRole1, and wanted to add a page just visible to users in myRole1 under the default portal.
Here are the steps :
1. create myrole1 and myrole2
2. go to admin tab, click on the security link for the default portal. Change permission from 'view recursive' for 'role unchecked' to 'view' for 'myRole1', 'myRole2' and 'admin'.
3. click on the default portal link to drill down, add a new page under it and then click on the seurity link for the page and select 'view recursive' for 'myRole1'
The first problem i faced after logging back in as any user is that even the default portal was not accessible to me anymore.
So i had to change the security at the default portal level from 'View' to 'view recursive' for admin myRole1 and myRole2. But this is different from when i read in page 186 in the reference guide http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/pdf/Reference_Guide_...http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/pdf/Reference_Guide_...
Now i am able to get into the default portal after logging in as myRole1 or myRole2. But the problem is the page is visible to user in both roles. Don't know what I missing in setting up the security.
Please Help!
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533092#533092]
Start a new discussion in JBoss Portal Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
aravind kopparthi [http://community.jboss.org/people/aravindsk] created the discussion
"switching from DbSchedulerServiceFactory to JmsSchedulerServiceFactory causes unexpected behaviour with BpmProcessor in esb service"
To view the discussion, visit: http://community.jboss.org/message/533078#533078
--------------------------------------------------------------
I have deployed test.esb that calls BpmProcessor from one of the services that is defined in jboss-esb.xml. This works great and creates bpm process-instance.
With default settings of jbpm-cfg.xml. but when I modify jbpm-cfg.xml to use JmsschedulerService instead of default DBScheduler it stopped working.
Please provide your inputs what else do I need to change to initiate process instance from jboss-esb to work with jbpm that is using jmsscheduler instead for JobExecuter.
jboss-esb.xml
<action name="startProcessInstance" >
<property name="command" value="StartProcessInstanceCommand" />
<property name="process-definition-name" value="EsbFileProcess"/>
<property name="esbToBpmVars">
<mapping esb="BODY_CONTENT" bpm="message" />
</property>
</action>
>From default
<service factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
To Jms
<service name="scheduler" factory="org.jboss.soa.esb.services.jbpm.integration.timer.JmsSchedulerServiceFactory"/>
<null name="jbpm.job.executor"/>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533078#533078]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Sameer Pokarna [http://community.jboss.org/people/sameerpokarna2] created the discussion
"Multiple Java interfaces exposed in a single WSDL interface"
To view the discussion, visit: http://community.jboss.org/message/533029#533029
--------------------------------------------------------------
Hi All,
I am using JBoss 5.1.0 for my application development.
I have a Java interfaces, sample.interfaces.interface1, and sample.interfaces.interface2. Each of these interfaces have a single method each. Each of these interfaces also have their own service implementation classes.
I want to expose a single WSDL interface which will contain both these operations.
When I tried this in JBoss, I encountered an issue, where only one of the <port-component> in webservices.xml was being recognised. But, I get an "Endpoint already registered" message.
Any ideas on what is the best approach to achieve this?
Thanks and regards,
Sameer
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/533029#533029]
Start a new discussion in JBoss Web Services Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
JBoss development,
A new message was posted in the thread "jboss-classpool-jbosscl.jar on AS bootstrap classpath":
http://community.jboss.org/message/532935#532935
Author : Flavia Rainone
Profile : http://community.jboss.org/people/flavia.rainone@jboss.com
Message:
--------------------------------------------------------------
> alesj wrote:
>
>
> If you're saying we actually don't need jboss-classpool-jbosscl for the bootstrap services to work correctly on Javasist+Reflect,
> then simply move its declaration to aop.xml.
> e.g. there is no JBossCL usage in bootstrap phase -- no BaseClassLoader / ClassLoaderPolicy
Yes, currently we don't need. I cannot give a 100% garantee that we won't need until all this is finished, but I'm 99.99% sure we won't
The jboss-classpool-jbosscl.jar is already referenced in my version of the aop.xml file. I cannot commit it to trunk because we don't have a JBoss AOP release with the classpool refactoring yet. In the meantime, this file is part of the installation script of JBoss AOP and can be found here: http://anonsvn.jboss.org/repos/jbossas/projects/aop/trunk/asintegration-c...
For now, I'll commit a version of Main.java without the dependency, if that's ok.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/532935#532935