Bug 777712 (SOA-228) - The SOA package should contain jbossesb-properties.xml file for clients
Summary: The SOA package should contain jbossesb-properties.xml file for clients
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-228
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Build Process, Configuration, Deployment
Version: 4.2 Beta 1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 Beta 2
Assignee: trev
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-12 14:49 UTC by Jiri Pechanec
Modified: 2008-01-21 08:40 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-21 08:40:51 UTC
Type: Bug


Attachments (Terms of Use)


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

Description Jiri Pechanec 2007-12-12 14:49:54 UTC
Date of First Response: 2007-12-18 07:03:19
project_key: SOA

When client uses ServiceInvoker then it searches for jboss-properties.xml file that is customized for client-side use. There are a lot of such files in sample dirs but there is no single one official to be used and to which classpath can be pointed.

Comment 1 trev 2007-12-18 12:03:19 UTC
The majority of these files are identical apart from whitespace.
the trailblazer has 
               <property name="org.jboss.soa.esb.persistence.db.conn.manager"           value="org.jboss.internal.soa.esb.persistence.manager.StandaloneConnectionManager"/> 
moved but is otherwise identical

./quickstarts/webservice_consumer{12}/jbossesb-properties.xml
have a different persistence url and no persistence.manager

./quickstarts/scripting_groovy/jbossesb-properties.xml and the transform ones have
>     <properties name="transformation">
>       <property name="java.naming.provider.url" value="localhost"/>
>     </properties>
./quickstarts/helloworld_db_registration/jbossesb-properties.xml
has 
       <property name="org.jboss.soa.esb.registry.queryManagerURI"
                  value="org.apache.juddi.registry.local.InquiryService#inquire"/>
        <property name="org.jboss.soa.esb.registry.lifeCycleManagerURI"
                  value="org.apache.juddi.registry.local.PublishService#publish"/>
indtead of 
      <property name="org.jboss.soa.esb.scout.proxy.transportClass"
                  value="org.apache.ws.scout.transport.LocalTransport"/>
 

      <property name="org.jboss.soa.esb.scout.proxy.transportClass"
                  value="org.apache.ws.scout.transport.LocalTransport"/> instead of
org.apache.ws.scout.transport.RMITransport


 



Comment 2 Mark Little 2007-12-18 12:32:14 UTC
What we're looking for are just the sensible defaults. The file is meant to be edited by the user if those aren't right. So there can never be one "official" one. The one in the install/conf directory is the closest we have to such a thing. That should be the one we recommend.

Comment 3 Jiri Pechanec 2007-12-18 13:28:18 UTC
Hi,

this file is not usable for client apps. For exmaple all registry realted params are set for local access to registry which does not work when used outside SOA/ESB process.

Also dbstore cannot be used as the datasource is not accessible via JNDI to external clients.

Comment 4 Mark Little 2007-12-18 16:28:21 UTC
This is the configuration file that ships with the ESB standalone. Are you suggesting that it does not work out-of-the-box in standalone, or when deployed into the application server?

Comment 5 Mark Little 2007-12-19 13:34:00 UTC
I have created a separate template properties file in install/conf.

Comment 6 Jiri Pechanec 2007-12-20 13:07:39 UTC
File is not in the packages

Comment 7 trev 2007-12-21 11:10:14 UTC
file is merged correctly into the platform branch, the esb install script  is not installing it.

Comment 8 Mark Little 2008-01-08 16:57:14 UTC
Is this done now?

Comment 9 trev 2008-01-09 12:13:31 UTC
jbossesb-properties.xml.template moved to quickstarts/conf, now appears in both standalone and embedded versions under quickstarts/conf

Comment 10 Jiri Pechanec 2008-01-21 08:40:51 UTC
Verified in beta 2


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