Bug 779382 (SOA-1772)

Summary: load_generator quickstart fails: Failed to retrieve Naming interface for provider http://localhost:8080/invoker/JNDIFactory
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Sedlacek <jsedlace>
Component: ExamplesAssignee: Kevin Conner <kevin.conner>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.0.2, 5.0.0 ER6CC: oskutka
Target Milestone: ---Keywords: Regression
Target Release: 5.1.0 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1772
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Environment: 5.0.2 CR2
Last Closed: 2011-02-11 06:50:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
load_generator_ant.log none

Description Jiri Sedlacek 2010-01-06 09:27:38 UTC
Date of First Response: 2010-02-03 14:56:05
project_key: SOA

Quickstart fails with error 

javax.naming.NamingException: Failed to retrieve Naming interface for provider http://localhost:8080/invoker/JNDIFactory [Root exception is java.net.ProtocolException: Server redirected too many  times (20)]

ant runtest-secure output is attached.

Comment 1 Jiri Sedlacek 2010-01-06 09:28:02 UTC
Attachment: Added: load_generator_ant.log


Comment 2 Len DiMaggio 2010-02-03 19:56:05 UTC
In ER8, it's failing with:

BUILD FAILED
/jboss/local/50_ER8/jboss-soa-p.5.0.0/jboss-as/samples/quickstarts/load_generator/build.xml:43: /jboss/local/50_ER8/jboss-soa-p.5.0.0/jboss-as/server/default/deploy/jbossesb.sar/lib not found.

jboss-as/server/default/deploy/jbossesb.sar/lib - is not there in 5.0 ER7 or ER8, it was there in 4.3 and up to ER6.

This is not at issue in ESB 4.7





Comment 3 Len DiMaggio 2010-02-03 19:56:54 UTC
It looks like this dir from ER6 was not carried forward to ER7:

 /opt/local/50_ER6/jboss-soa-p-standalone.5.0.0/jboss-esb/server/default/deploy/jbossesb.sar/lib/
total 9752
-rw-r--r-- 1 ldimaggi ldimaggi   46725 Dec 18 18:33 commons-codec-1.3.jar
-rw-r--r-- 1 ldimaggi ldimaggi  245274 Dec 18 18:33 commons-lang-2.3.jar
-rw-r--r-- 1 ldimaggi ldimaggi    6387 Dec 18 18:33 jbosssoa-opensso.jar
-rw-r--r-- 1 ldimaggi ldimaggi 9609938 Dec 18 18:33 openssoclientsdk.jar
-rw-r--r-- 1 ldimaggi ldimaggi   24677 Dec 18 18:33 xpp3_min-1.1.3.4.O.jar



Comment 4 Len DiMaggio 2010-02-03 20:02:30 UTC
Affects Testing: Added: [Regression]


Comment 5 Kevin Conner 2010-02-03 20:04:08 UTC
There is no longer a lib directory in jbossesb.sar, so the build.xml for that quickstart needs to be changed.


Comment 6 Kevin Conner 2010-09-16 14:06:09 UTC
Link: Added: This issue depends JBESB-3338


Comment 7 Kevin Conner 2010-09-16 14:06:47 UTC
Resolving against 5.1 but ESB issue was addressed for 5.0.2.

Comment 9 Dana Mison 2011-01-05 00:14:30 UTC
Writer: Added: dlesage


Comment 10 Jiri Sedlacek 2011-02-07 12:14:22 UTC
verified in 5.1.0.ER9

Comment 11 David Le Sage 2011-02-11 06:46:54 UTC
Temporarily reopening to update release note info.

Comment 12 David Le Sage 2011-02-11 06:50:00 UTC
Release Notes Docs Status: Added: Documented as Resolved Issue
Release Notes Text: Added: https://issues.jboss.org/browse/JBESB-3338

Quick starts would fail with a javax.naming.NamingException: Failed to retrieve Naming interface for provider.  This was due to a problem with the load generator. To fix this issue, the Groovy class-path has been changed to the exec class-path. As a result, quick starts will no longer fail with this problem.