Thank you David.

Please see inline:

On Sep 17, 2014, at 8:15 AM, David E. Jones <[email protected]> wrote:

> 
> As I recall there is a stripped-down container config file that is used when 
> deployed in an external servlet container, and this was used instead of 
> ofbiz-containers.xml (or any of the others in framework/base/config).
> 

The stripped-down container is now:

    <container name="component-container-limited" loaders="limited" 
class="org.ofbiz.base.container.ComponentContainer">
        <property name="update-classpath" value="false"/>
    </container>

It is the same container that loads the components with the update-classpath 
set to false (because the jars required by ofbiz are supposed to be in the app 
server's classpath already).
However I don't see that code that starts this ComponentContainer when you 
start e.g. Tomcat: Tomcat just loads the OFBiz webapplications deployed.

Jacopo

> How it works now I don't know... most stuff looks the same but in the recent 
> code base there is only an ofbiz-containers.xml file and the rest are missing 
> (pos-containers.xml, start-containers.xml, rmi-containers.xml, etc). Each of 
> these had a corresponding properties file, and those are still in SVN 
> (framework/start/src/org/ofbiz/base/start)... and still referring to 
> container files to load that don't exist...
> 
> Config.java is still looking at these properties files, but I don't know what 
> happens when something like -pos or -start is the final argument when running 
> ofbiz.jar.
> 
> -David
> 
> 
> On Sep 7, 2014, at 8:54 PM, Jacopo Cappellato <[email protected]> 
> wrote:
> 
>> yes!
>> 
>> On Sep 7, 2014, at 10:26 PM, Jacques Le Roux <[email protected]> 
>> wrote:
>> 
>>> Hi Jacopo,
>>> 
>>> Are you still interested in an answer to this question?
>>> 
>>> Jacques
>>> 
>>> Le 03/09/2014 09:00, Jacopo Cappellato a écrit :
>>>> This is a question for the ones that are deploying OFBiz in external 
>>>> application servers/servlet containers, either using the scripts from 
>>>> specialpurpose/appservers or manually.
>>>> I don't see in the scripts in specialpurpose/appservers anything related 
>>>> to the initialization of OFBiz containers (component etc...) . What am I 
>>>> missing?
>>>> 
>>>> Thanks,
>>>> 
>>>> Jacopo
>>>> 
>>>> 
>>>> 
>> 
> 

Reply via email to