Bug 779245 (SOA-1638) - helloworld_bridge quickstart fails to deploy in non-standalone mode (production profile)
Summary: helloworld_bridge quickstart fails to deploy in non-standalone mode (producti...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1638
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Build Process
Version: 5.0.0 ER3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0.0 GA,5.0.0 ER8
Assignee: trev
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-23 11:55 UTC by trev
Modified: 2010-02-03 18:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-03 18:12:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
helloworld_bridge_production_server.log (109.96 KB, text/x-log)
2010-01-12 19:22 UTC, Len DiMaggio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 779224 0 high CLOSED helloworld_ejb3_ws quickstart fails to compile - missing jboss-annotations-ejb3.jar (seen in ER2, ER3, ER4) 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-1638 0 None None None Never

Internal Links: 779224

Description trev 2009-11-23 11:55:25 UTC
Affects: Interactive Demo/Tutorial
Date of First Response: 2009-11-27 20:14:23
project_key: SOA

Quickstart deploys but when run produces the following error

run:
     [echo] Launching Quickstart in standalone mode...
   [qsjava] +----------------------------------------------------------+
   [qsjava] |                                                          |
   [qsjava] |     Starting JBossESB...                                 |
   [qsjava] |                                                          |
   [qsjava] +----------------------------------------------------------+
   [qsjava] Reading config from /workspace/test-area/ER3/jboss-soa-p.5.0.0/jboss-as/samples/quickstarts/helloworld_bridge/jboss-esb.xml
   [qsjava] Exception in thread "main" java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/workspace/test-area/ER3/jboss-soa-p.5.0.0/jboss-as/client/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

Comment 1 trev 2009-11-23 12:05:31 UTC
Affects: Added: [Interactive Demo/Tutorial]


Comment 2 trev 2009-11-27 16:28:52 UTC
Link: Added: This issue is related to SOA-1617


Comment 3 Len DiMaggio 2009-11-28 01:14:23 UTC
When not running in standalone mode - it fails to deploy:

2009-11-27 20:07:33,995 INFO  [org.jboss.jms.server.destination.QueueService] (HDScanner) Queue[/queue/quickstart_helloworld_Request_esb] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2009-11-27 20:07:34,006 INFO  [org.jboss.jms.server.destination.QueueService] (HDScanner) Queue[/queue/quickstart_helloworld_Request_gw] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2009-11-27 20:07:34,061 INFO  [org.jboss.jms.server.destination.QueueService] (HDScanner) Queue[/queue/quickstart_helloworld_Request_bridge] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2009-11-27 20:07:34,063 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.esb.vfszip:/jboss/local/50_ER4/jboss-soa-p.5.0.0/jboss-as/server/production/deploy/Quickstart_helloworld_bridge.esb/" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.esb.vfszip:/jboss/local/50_ER4/jboss-soa-p.5.0.0/jboss-as/server/production/deploy/Quickstart_helloworld_bridge.esb/>" (should be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.messaging:name=TestBridge,service=Bridge' **")
  Deployment "jboss.messaging:name=TestBridge,service=Bridge" is missing the following dependencies:
    Dependency "jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader' **")
    Dependency "jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader' **")

DEPLOYMENTS IN ERROR:
  Deployment "jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader' **
  Deployment "<UNKNOWN jboss.esb.vfszip:/jboss/local/50_ER4/jboss-soa-p.5.0.0/jboss-as/server/production/deploy/Quickstart_helloworld_bridge.esb/>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.messaging:name=TestBridge,service=Bridge' **

        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:994)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:940)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:378)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:256)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)


Comment 4 Jiri Sedlacek 2010-01-06 10:01:39 UTC
When not running in standalone mode, the quickstart deployment is still failing with the same error as Len mentioned.

Comment 5 Aleksandar Kostadinov 2010-01-08 10:40:21 UTC
Link: Added: This issue is related to JBQA-2762


Comment 6 trev 2010-01-08 10:48:00 UTC
Test-bridge-service depends on HAJNDIJMSProvider  which is not loaded in the default profile. It is present in production and the non standalone  version works fine there.

Comment 7 Len DiMaggio 2010-01-08 17:50:17 UTC
This was also an issue with the default profile in SOA-P 4.3 CP02:

12:32:01,052 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.messaging:service=Bridge,name=TestBridge
  State: CONFIGURED
  I Depend On:
    jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider
  Depends On Me:
    jboss.esb:deployment=Quickstart_helloworld_bridge.esb

ObjectName: jboss.esb:deployment=Quickstart_helloworld_bridge.esb
  State: NOTYETINSTALLED
  I Depend On:
    jboss.messaging:service=Bridge,name=TestBridge
    jboss.esb:deployment=jbossesb.esb
    jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_bridge
    jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb
    jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider
  State: NOTYETINSTALLED
  Depends On Me:
    jboss.messaging:service=Bridge,name=TestBridge
[ Show ยป ]
Len DiMaggio - 08/Jan/10 12:35 PM This was also an issue in SOA-P 4.3 CP02: 12:32:01,052 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss.messaging:service=Bridge,name=TestBridge   State: CONFIGURED   I Depend On:     jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider   Depends On Me:     jboss.esb:deployment=Quickstart_helloworld_bridge.esb ObjectName: jboss.esb:deployment=Quickstart_helloworld_bridge.esb   State: NOTYETINSTALLED   I Depend On:     jboss.messaging:service=Bridge,name=TestBridge     jboss.esb:deployment=jbossesb.esb     jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_bridge     jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_esb     jboss.esb.quickstart.destination:service=Queue,name=quickstart_helloworld_Request_gw --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.jms:service=JMSProviderLoader,name=HAJNDIJMSProvider   State: NOTYETINSTALLED   Depends On Me:     jboss.messaging:service=Bridge,name=TestBridge

======================

On 4.3 CP02 and the production profile:

2010-01-08 12:47:37,407 INFO  [org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer] create esb service, Quickstart_helloworld_bridge.esb
2010-01-08 12:47:37,413 INFO  [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstart_helloworld_Request_esb] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2010-01-08 12:47:37,415 INFO  [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstart_helloworld_Request_gw] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2010-01-08 12:47:37,416 INFO  [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstart_helloworld_Request_bridge] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2010-01-08 12:47:37,456 INFO  [org.jboss.jms.server.bridge.BridgeService] Started bridge BridgeService. Source: /queue/quickstart_helloworld_Request_bridge Target: /queue/quickstart_helloworld_Request_gw
2010-01-08 12:49:09,678 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
2010-01-08 12:49:09,692 INFO  [STDOUT] Body: Hello World
2010-01-08 12:49:09,692 INFO  [STDOUT] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
2010-01-08 12:49:09,695 INFO  [STDOUT] Message structure: 
2010-01-08 12:49:09,695 INFO  [STDOUT] [ message: [ JBOSS_XML ]
header: [ To: JMSEpr [ PortReference < <wsa:Address jms:jnp://127.0.0.1:1099#queue/quickstart_helloworld_Request_esb/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : jnp://127.0.0.1:1099/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.url.pkgs : org.jboss.naming:org.jnp.interfaces/>, <wsa:ReferenceProperties jbossesb:destination-type : queue/>, <wsa:ReferenceProperties jbossesb:destination-name : queue/quickstart_helloworld_Request_esb/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties jbossesb:acknowledge-mode : AUTO_ACKNOWLEDGE/>, <wsa:ReferenceProperties jbossesb:transacted : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/jms/> > ] MessageID: 68b7d952-beb2-46c3-89e3-d1ca79d6e029 RelatesTo: jms:correlationID#68b7d952-beb2-46c3-89e3-d1ca79d6e029 ]
context: {}
body: [ objects: {org.jboss.soa.esb.message.defaultEntry=Hello World} ]
fault: [  ]
attachments: [ Named:{}, Unnamed:[] ]
properties: [ {org.jboss.soa.esb.message.transport.type=Deferred serialized value: d4694, org.jboss.soa.esb.message.byte.size=2979, org.jboss.soa.esb.message.time.dob=Deferred serialized value: 194ccbc, org.jboss.soa.esb.message.time.dod=Fri Jan 08 12:49:09 EST 2010, javax.jms.message.redelivered=false, org.jboss.soa.esb.gateway.original.queue.name=Deferred serialized value: d59d0, org.jboss.soa.esb.message.source=Deferred serialized value: 8370f8} ] ]




Comment 8 Len DiMaggio 2010-01-08 18:03:43 UTC
This QS fails to deploy on 5.0 ER6 with the production profile:

2010-01-08 13:02:13,780 INFO  [org.jboss.jms.server.destination.QueueService] (HDScanner) Queue[/queue/quickstart_helloworld_Request_esb] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2010-01-08 13:02:13,796 INFO  [org.jboss.jms.server.destination.QueueService] (HDScanner) Queue[/queue/quickstart_helloworld_Request_gw] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2010-01-08 13:02:13,809 INFO  [org.jboss.jms.server.destination.QueueService] (HDScanner) Queue[/queue/quickstart_helloworld_Request_bridge] started, fullSize=200000, pageSize=2000, downCacheSize=2000
2010-01-08 13:02:13,810 WARN  [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "jboss.esb.vfszip:/jboss/local/50_ER6/jboss-soa-p.5.0.0/jboss-as/server/production/deploy/Quickstart_helloworld_bridge.esb/" is missing the following dependencies:
    Dependency "<UNKNOWN jboss.esb.vfszip:/jboss/local/50_ER6/jboss-soa-p.5.0.0/jboss-as/server/production/deploy/Quickstart_helloworld_bridge.esb/>" (should be in state "PreInstall", but is actually in state "** UNRESOLVED Demands 'jboss.messaging:name=TestBridge,service=Bridge' **")
  Deployment "jboss.messaging:name=TestBridge,service=Bridge" is missing the following dependencies:
    Dependency "jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader' **")
    Dependency "jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader' **")

DEPLOYMENTS IN ERROR:
  Deployment "<UNKNOWN jboss.esb.vfszip:/jboss/local/50_ER6/jboss-soa-p.5.0.0/jboss-as/server/production/deploy/Quickstart_helloworld_bridge.esb/>" is in error due to the following reason(s): ** UNRESOLVED Demands 'jboss.messaging:name=TestBridge,service=Bridge' **
  Deployment "jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jms:name=HAJNDIJMSProvider,service=JMSProviderLoader' **

        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:994)
        at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:940)
        at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:378)
        at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:256)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)



Comment 9 Len DiMaggio 2010-01-08 18:03:43 UTC
Affects Testing: Added: [Regression]


Comment 10 Len DiMaggio 2010-01-12 19:22:45 UTC
Server log

Comment 11 Len DiMaggio 2010-01-12 19:22:45 UTC
Attachment: Added: helloworld_bridge_production_server.log


Comment 12 trev 2010-01-22 16:47:47 UTC
after discussion this QSshould not be in this release, it should be removed

Comment 13 trev 2010-01-25 11:38:56 UTC
Rev 4889 quickstart removed as not relevant to this release 

Comment 14 Len DiMaggio 2010-02-03 18:12:43 UTC
Verified in ER8


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