what keeps ofbiz in running state?

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

what keeps ofbiz in running state?

Chris Snow-3
I'm spending some time looking through how the container principle works
in ofbiz.  I'm trying to get a minimal entity engine + catalina working.

I have reduced the framework component-load.xml to only the following
components:

    <load-component component-location="geronimo"/>
    <load-component component-location="sql"/>
    <load-component component-location="entity"/>
    <load-component component-location="catalina"/>

I have commented out all applications + specialpurpose.

When I do "ant run", I get ofbiz to start, but then it immediately shuts
down:

     ...
     [java] 2010-02-28 12:07:34,979 (main) [    
Http11Protocol.java:209:INFO ] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443
     [java] 2010-02-28 12:07:34,989 (main) [  
CatalinaContainer.java:239:INFO ] Connector AJP/1.3 @ 8009 - not-secure
[org.apache.jk.server.JkCoyoteHandler] started.
     [java] 2010-02-28 12:07:34,989 (main) [  
CatalinaContainer.java:236:INFO ] Connector null @ 8080 - not-secure
[org.apache.coyote.http11.Http11Protocol] started.
     [java] 2010-02-28 12:07:34,990 (main) [  
CatalinaContainer.java:236:INFO ] Connector null @ 8443 - secure
[org.apache.coyote.http11.Http11Protocol] started.
     [java] 2010-02-28 12:07:34,992 (main) [  
CatalinaContainer.java:243:INFO ] Started Apache Tomcat/6.0.16

BUILD SUCCESSFUL
Total time: 8 seconds

Why doesn't ofbiz keep running?

Many thanks in advance,

Chris

Reply | Threaded
Open this post in threaded view
|

Re: what keeps ofbiz in running state?

BJ Freeman
looks like you did and ant install which normally does a shut down at
the end of the install.
have your done startofbiz?


Christopher Snow sent the following on 2/28/2010 4:09 AM:

> I'm spending some time looking through how the container principle works
> in ofbiz.  I'm trying to get a minimal entity engine + catalina working.
>
> I have reduced the framework component-load.xml to only the following
> components:
>
>    <load-component component-location="geronimo"/>
>    <load-component component-location="sql"/>
>    <load-component component-location="entity"/>
>    <load-component component-location="catalina"/>
>
> I have commented out all applications + specialpurpose.
>
> When I do "ant run", I get ofbiz to start, but then it immediately shuts
> down:
>
>     ...
>     [java] 2010-02-28 12:07:34,979 (main) [    
> Http11Protocol.java:209:INFO ] Starting Coyote HTTP/1.1 on
> http-0.0.0.0-8443
>     [java] 2010-02-28 12:07:34,989 (main) [
> CatalinaContainer.java:239:INFO ] Connector AJP/1.3 @ 8009 - not-secure
> [org.apache.jk.server.JkCoyoteHandler] started.
>     [java] 2010-02-28 12:07:34,989 (main) [
> CatalinaContainer.java:236:INFO ] Connector null @ 8080 - not-secure
> [org.apache.coyote.http11.Http11Protocol] started.
>     [java] 2010-02-28 12:07:34,990 (main) [
> CatalinaContainer.java:236:INFO ] Connector null @ 8443 - secure
> [org.apache.coyote.http11.Http11Protocol] started.
>     [java] 2010-02-28 12:07:34,992 (main) [
> CatalinaContainer.java:243:INFO ] Started Apache Tomcat/6.0.16
>
> BUILD SUCCESSFUL
> Total time: 8 seconds
>
> Why doesn't ofbiz keep running?
>
> Many thanks in advance,
>
> Chris
>
>

Reply | Threaded
Open this post in threaded view
|

Re: what keeps ofbiz in running state?

Chris Snow-3
Hi BJ,

It was definitely "ant run".  Interestingly though, "startofbiz.sh" did
work ok.

Many thanks,

Chris

BJ Freeman wrote:

> looks like you did and ant install which normally does a shut down at
> the end of the install.
> have your done startofbiz?
>
>
> Christopher Snow sent the following on 2/28/2010 4:09 AM:
>  
>> I'm spending some time looking through how the container principle works
>> in ofbiz.  I'm trying to get a minimal entity engine + catalina working.
>>
>> I have reduced the framework component-load.xml to only the following
>> components:
>>
>>    <load-component component-location="geronimo"/>
>>    <load-component component-location="sql"/>
>>    <load-component component-location="entity"/>
>>    <load-component component-location="catalina"/>
>>
>> I have commented out all applications + specialpurpose.
>>
>> When I do "ant run", I get ofbiz to start, but then it immediately shuts
>> down:
>>
>>     ...
>>     [java] 2010-02-28 12:07:34,979 (main) [    
>> Http11Protocol.java:209:INFO ] Starting Coyote HTTP/1.1 on
>> http-0.0.0.0-8443
>>     [java] 2010-02-28 12:07:34,989 (main) [
>> CatalinaContainer.java:239:INFO ] Connector AJP/1.3 @ 8009 - not-secure
>> [org.apache.jk.server.JkCoyoteHandler] started.
>>     [java] 2010-02-28 12:07:34,989 (main) [
>> CatalinaContainer.java:236:INFO ] Connector null @ 8080 - not-secure
>> [org.apache.coyote.http11.Http11Protocol] started.
>>     [java] 2010-02-28 12:07:34,990 (main) [
>> CatalinaContainer.java:236:INFO ] Connector null @ 8443 - secure
>> [org.apache.coyote.http11.Http11Protocol] started.
>>     [java] 2010-02-28 12:07:34,992 (main) [
>> CatalinaContainer.java:243:INFO ] Started Apache Tomcat/6.0.16
>>
>> BUILD SUCCESSFUL
>> Total time: 8 seconds
>>
>> Why doesn't ofbiz keep running?
>>
>> Many thanks in advance,
>>
>> Chris
>>
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: what keeps ofbiz in running state?

BJ Freeman
In reply to this post by BJ Freeman
the key is when you see build successful it was in auto shut down mode.


Christopher Snow sent the following on 2/28/2010 7:25 AM:

> Hi BJ,
>
> It was definitely "ant run".  Interestingly though, "startofbiz.sh" did
> work ok.
>
> Many thanks,
>
> Chris
>
> BJ Freeman wrote:
>> looks like you did and ant install which normally does a shut down at
>> the end of the install.
>> have your done startofbiz?
>>
>>
>> Christopher Snow sent the following on 2/28/2010 4:09 AM:
>>  
>>> I'm spending some time looking through how the container principle works
>>> in ofbiz.  I'm trying to get a minimal entity engine + catalina working.
>>>
>>> I have reduced the framework component-load.xml to only the following
>>> components:
>>>
>>>    <load-component component-location="geronimo"/>
>>>    <load-component component-location="sql"/>
>>>    <load-component component-location="entity"/>
>>>    <load-component component-location="catalina"/>
>>>
>>> I have commented out all applications + specialpurpose.
>>>
>>> When I do "ant run", I get ofbiz to start, but then it immediately shuts
>>> down:
>>>
>>>     ...
>>>     [java] 2010-02-28 12:07:34,979 (main) [  
>>> Http11Protocol.java:209:INFO ] Starting Coyote HTTP/1.1 on
>>> http-0.0.0.0-8443
>>>     [java] 2010-02-28 12:07:34,989 (main) [
>>> CatalinaContainer.java:239:INFO ] Connector AJP/1.3 @ 8009 - not-secure
>>> [org.apache.jk.server.JkCoyoteHandler] started.
>>>     [java] 2010-02-28 12:07:34,989 (main) [
>>> CatalinaContainer.java:236:INFO ] Connector null @ 8080 - not-secure
>>> [org.apache.coyote.http11.Http11Protocol] started.
>>>     [java] 2010-02-28 12:07:34,990 (main) [
>>> CatalinaContainer.java:236:INFO ] Connector null @ 8443 - secure
>>> [org.apache.coyote.http11.Http11Protocol] started.
>>>     [java] 2010-02-28 12:07:34,992 (main) [
>>> CatalinaContainer.java:243:INFO ] Started Apache Tomcat/6.0.16
>>>
>>> BUILD SUCCESSFUL
>>> Total time: 8 seconds
>>>
>>> Why doesn't ofbiz keep running?
>>>
>>> Many thanks in advance,
>>>
>>> Chris
>>>
>>>
>>>    
>>
>>  
>
>