Bug 779481 - Some of JBossESB quickstarts don't work in SOA-P 5.0
Summary: Some of JBossESB quickstarts don't work in SOA-P 5.0
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-22 08:27 UTC by Denny Xu
Modified: 2012-07-13 04:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: SOA-1864
Environment:
Last Closed: 2011-05-18 13:32:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Quickstart_helloworld.esb (6.15 KB, application/octet-stream)
2010-01-22 14:54 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-1864 0 None None None Never

Description Denny Xu 2010-01-22 08:27:21 UTC
++ This bug is a clone of bug 779480 ++

Date of First Response: 2010-01-22 09:54:42
project_key: SOA

I have downloaded SOA-P5.0 beta1 and jbossesb-server-4.7 and tried to run the "helloworld" quickstart,  it doesn't work for soa-p5 but work with jbossesb-server correctly.
Here is the steps:
At first,  I start jbossesb-server and run the "helloworld" quickstart using "ant deploy" and "ant sendesb" in jbossesb-server-4.7,  it works ,
second, I shutdown  jbossesb-server and start up SOA-P5.0 and copy the "helloworld" archive from jbossesb-server deploy directory into SOA-P deploy directory , then try to run the SendESBMessage by "ant sendesb", it doesn't work with following errors:
Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException
	at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:545)
	at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:174)
	at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:155)
	at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:197)
	at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:55)
Caused by: org.jboss.soa.esb.services.registry.RegistryException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException
	at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:348)
	at org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.findEPRs(InVMRegistryInterceptor.java:85)
	at org.jboss.soa.esb.services.registry.RegistryFactory$HeadRegistryInterceptor.findEPRs(RegistryFactory.java:229)
	at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:226)
	at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:532)
	... 4 more
Caused by: javax.xml.registry.JAXRException: org.apache.ws.scout.transport.TransportException: java.lang.reflect.InvocationTargetException
	at org.apache.ws.scout.registry.BusinessQueryManagerV3Impl.findConcepts(BusinessQueryManagerV3Impl.java:516)
	at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.getJBossESBTModel(JAXRRegistryImpl.java:653)
	at org.jboss.internal.soa.esb.services.registry.JAXRRegistryImpl.findEPRs(JAXRRegistryImpl.java:307)
	... 8 more

If I run SendJMSMessage client, soa-p5.0 works. is there any special configuration for ServiceInvoker to invoke ESB service?

Comment 1 Denny Xu 2010-01-22 08:29:00 UTC
The version of SOA-P I used : http://porkchop.redhat.com/released/JBossSOAP/5.0.0/Beta1/

Comment 2 Len DiMaggio 2010-01-22 14:54:42 UTC
I can't recreate this issue with an .esb build with ESB 4.7 GA and deployed to a SOA-P 5.0 ER7 server. Do you have any more information?

09:52:05,867 INFO  [QueueService] Queue[/queue/quickstart_helloworld_Request_esb] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:52:05,884 INFO  [QueueService] Queue[/queue/quickstart_helloworld_Request_gw] started, fullSize=200000, pageSize=2000, downCacheSize=2000
09:52:05,960 INFO  [EsbDeployment] Starting ESB Deployment 'Quickstart_helloworld.esb'
09:52:25,714 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
09:52:25,716 INFO  [STDOUT] Body: Hello World
09:52:25,716 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
09:52:25,717 INFO  [STDOUT] Message structure: 
09:52:25,717 INFO  [STDOUT] [Hello World].
09:52:44,493 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
09:52:44,497 INFO  [STDOUT] Body: Hello World - Straight to ESB listener - no Gateway
09:52:44,497 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
09:52:44,497 INFO  [STDOUT] Message structure: 
09:52:44,497 INFO  [STDOUT] [Hello World - Straight to ESB listener - no Gateway].


Comment 3 Len DiMaggio 2010-01-22 14:54:42 UTC
Attachment: Added: Quickstart_helloworld.esb


Comment 4 Kevin Conner 2010-01-22 14:57:26 UTC
Denny seems to be suffering from some environmental issues, see the following user forum thread.

http://community.jboss.org/thread/147064?tstart=0

Comment 5 Denny Xu 2010-01-25 09:39:00 UTC
I tried it on Windows Vista, it works without errors, but still unable to run the test by "ant sendesb" using command line on Fedora 10.

btw, where can I download a SOA-P 5.0 ER7?  I would like to try other SOA-P 5.0 version.


Note You need to log in before you can comment on or make changes to this bug.