How are OFBiz containers started when OFBiz is deployed in an external servlet container?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

How are OFBiz containers started when OFBiz is deployed in an external servlet container?

Jacopo Cappellato-4
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 | Threaded
Open this post in threaded view
|

Re: How are OFBiz containers started when OFBiz is deployed in an external servlet container?

Jacopo Cappellato-3
no one?

Jacopo

On Sep 3, 2014, at 9:00 AM, Jacopo Cappellato <[hidden email]> wrote:

> 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 | Threaded
Open this post in threaded view
|

Re: How are OFBiz containers started when OFBiz is deployed in an external servlet container?

Jacques Le Roux
Administrator
In reply to this post by Jacopo Cappellato-4
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 | Threaded
Open this post in threaded view
|

Re: How are OFBiz containers started when OFBiz is deployed in an external servlet container?

Jacopo Cappellato-3
yes!

On Sep 7, 2014, at 10:26 PM, Jacques Le Roux <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: How are OFBiz containers started when OFBiz is deployed in an external servlet container?

David E. Jones-2

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).

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 <[hidden email]> wrote:

> yes!
>
> On Sep 7, 2014, at 10:26 PM, Jacques Le Roux <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: How are OFBiz containers started when OFBiz is deployed in an external servlet container?

Jacopo Cappellato-3
Thank you David.

Please see inline:

On Sep 17, 2014, at 8:15 AM, David E. Jones <[hidden email]> 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 <[hidden email]> wrote:
>
>> yes!
>>
>> On Sep 7, 2014, at 10:26 PM, Jacques Le Roux <[hidden email]> 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
>>>>
>>>>
>>>>
>>
>