OFBiz install won't start - Embedded service not yet been started

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

OFBiz install won't start - Embedded service not yet been started

shikarishambu
I got the source code from the SVN trunk built it and then clicked startofbiz.bat. I get a command window/ stack trace and the command window closes

the log file has the following entries
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:849)
org.ofbiz.catalina.container.CatalinaContainer.stop(CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$000(Start.java:52)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

How do I fix this error and get ofbiz to work?

TIA
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

prasanthi_ofbiz
Please check whether the java home has been set or not. Try to start the server by setting the JAVA_HOME.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

guetampan
hi,

i got the same problem also, i've set my JAVA_HOME directory, but still cannot run ofbiz
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

Scott Gray-2
We're gonna be needing some error logs if you want useful help.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 7/05/2010, at 9:49 PM, guetampan wrote:

>
> hi,
>
> i got the same problem also, i've set my JAVA_HOME directory, but still
> cannot run ofbiz
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/OFBiz-install-won-t-start-Embedded-service-not-yet-been-started-tp448716p2133934.html
> Sent from the OFBiz Installation mailing list archive at Nabble.com.


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

guetampan
hm.. can i just post my huge log file here..?
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

Scott Gray-2
Well if OFBiz won't start then you're log shouldn't be very long.  Just the output from ofbiz from when you try to start it until when the process ends.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 7/05/2010, at 10:01 PM, guetampan wrote:

>
> hm.. can i just post my huge log file here..?
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/OFBiz-install-won-t-start-Embedded-service-not-yet-been-started-tp448716p2133943.html
> Sent from the OFBiz Installation mailing list archive at Nabble.com.


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

tampan
In reply to this post by guetampan
2010-05-07 17:00:44,622 (main) [ ModelServiceReader.java:235:INFO ] Loaded 65 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services.xml
2010-05-07 17:00:44,628 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0050s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_cart.xml
2010-05-07 17:00:44,632 (main) [ ModelServiceReader.java:235:INFO ] Loaded 8 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_cart.xml
2010-05-07 17:00:44,637 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0050s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_shoppinglist.xml
2010-05-07 17:00:44,640 (main) [ ModelServiceReader.java:235:INFO ] Loaded 15 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_shoppinglist.xml
2010-05-07 17:00:44,645 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0050s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_request.xml
2010-05-07 17:00:44,647 (main) [ ModelServiceReader.java:235:INFO ] Loaded 15 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_request.xml
2010-05-07 17:00:44,653 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0060s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_quote.xml
2010-05-07 17:00:44,656 (main) [ ModelServiceReader.java:235:INFO ] Loaded 29 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_quote.xml
2010-05-07 17:00:44,662 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0050s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_requirement.xml
2010-05-07 17:00:44,663 (main) [ ModelServiceReader.java:235:INFO ] Loaded 12 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_requirement.xml
2010-05-07 17:00:44,670 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0050s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_return.xml
2010-05-07 17:00:44,672 (main) [ ModelServiceReader.java:235:INFO ] Loaded 32 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_return.xml
2010-05-07 17:00:44,677 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0040s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_opportunity.xml
2010-05-07 17:00:44,678 (main) [ ModelServiceReader.java:235:INFO ] Loaded 2 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_opportunity.xml
2010-05-07 17:00:44,686 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0080s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/marketing/servicedef/services.xml
2010-05-07 17:00:44,688 (main) [ ModelServiceReader.java:235:INFO ] Loaded 41 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/applications/marketing/servicedef/services.xml
2010-05-07 17:00:44,697 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0070s: C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/hot-deploy/pfingo/servicedef/services.xml
2010-05-07 17:00:44,701 (main) [ ModelServiceReader.java:235:INFO ] Loaded 54 Service definitions from file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/hot-deploy/pfingo/servicedef/services.xml
2010-05-07 17:00:44,701 (main) [  GenericDispatcher.java:76 :INFO ] [LocalDispatcher] : Created Dispatcher for: entity-default
2010-05-07 17:00:45,141 (main) [            UtilXml.java:255:DEBUG] XML Read 0.0060s: file:/C:/Users/andy tanoko/ufinity_workspace/sdp_phase2/framework/catalina/config/mime-type.xml
2010-05-07 17:00:46,040 (main) [    ContainerLoader.java:74 :INFO ] [Startup] Starting containers...
2010-05-07 17:00:46,055 (main) [  ServiceDispatcher.java:168:INFO ] Registered dispatcher: RMIDispatcher
2010-05-07 17:00:46,056 (main) [  GenericDispatcher.java:76 :INFO ] [LocalDispatcher] : Created Dispatcher for: RMIDispatcher
2010-05-07 17:00:46,439 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:93 :INFO ] Shutting down containers
2010-05-07 17:00:46,442 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:592:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:849)
org.ofbiz.catalina.container.CatalinaContainer.stop(CatalinaContainer.java:589)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99)
org.ofbiz.base.start.Start.shutdownServer(Start.java:300)
org.ofbiz.base.start.Start.access$000(Start.java:43)
org.ofbiz.base.start.Start$1.run(Start.java:277)
--------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

tampan
user guetampan is tampan,
sory for registering with double account,
please remove user guetampan...

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

BJ Freeman
In reply to this post by guetampan
looks like something interrupted the startup.

OFBiz_Shutdown_Hook

what steps did you take to start ofbiz

=========================

BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
Specialtymarket.com <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


tampan sent the following on 5/7/2010 3:05 AM:

> 2010-05-07 17:00:44,622 (main) [ ModelServiceReader.java:235:INFO ] Loaded 65
> Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services.xml
> 2010-05-07 17:00:44,628 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0050s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_cart.xml
> 2010-05-07 17:00:44,632 (main) [ ModelServiceReader.java:235:INFO ] Loaded 8
> Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_cart.xml
> 2010-05-07 17:00:44,637 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0050s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_shoppinglist.xml
> 2010-05-07 17:00:44,640 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 15 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_shoppinglist.xml
> 2010-05-07 17:00:44,645 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0050s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_request.xml
> 2010-05-07 17:00:44,647 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 15 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_request.xml
> 2010-05-07 17:00:44,653 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0060s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_quote.xml
> 2010-05-07 17:00:44,656 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 29 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_quote.xml
> 2010-05-07 17:00:44,662 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0050s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_requirement.xml
> 2010-05-07 17:00:44,663 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 12 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_requirement.xml
> 2010-05-07 17:00:44,670 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0050s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_return.xml
> 2010-05-07 17:00:44,672 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 32 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_return.xml
> 2010-05-07 17:00:44,677 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0040s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_opportunity.xml
> 2010-05-07 17:00:44,678 (main) [ ModelServiceReader.java:235:INFO ] Loaded 2
> Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/order/servicedef/services_opportunity.xml
> 2010-05-07 17:00:44,686 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0080s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/marketing/servicedef/services.xml
> 2010-05-07 17:00:44,688 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 41 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/applications/marketing/servicedef/services.xml
> 2010-05-07 17:00:44,697 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0070s: C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/hot-deploy/pfingo/servicedef/services.xml
> 2010-05-07 17:00:44,701 (main) [ ModelServiceReader.java:235:INFO ] Loaded
> 54 Service definitions from file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/hot-deploy/pfingo/servicedef/services.xml
> 2010-05-07 17:00:44,701 (main) [  GenericDispatcher.java:76 :INFO ]
> [LocalDispatcher] : Created Dispatcher for: entity-default
> 2010-05-07 17:00:45,141 (main) [            UtilXml.java:255:DEBUG] XML Read
> 0.0060s: file:/C:/Users/andy
> tanoko/ufinity_workspace/sdp_phase2/framework/catalina/config/mime-type.xml
> 2010-05-07 17:00:46,040 (main) [    ContainerLoader.java:74 :INFO ]
> [Startup] Starting containers...
> 2010-05-07 17:00:46,055 (main) [  ServiceDispatcher.java:168:INFO ]
> Registered dispatcher: RMIDispatcher
> 2010-05-07 17:00:46,056 (main) [  GenericDispatcher.java:76 :INFO ]
> [LocalDispatcher] : Created Dispatcher for: RMIDispatcher
> 2010-05-07 17:00:46,439 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:93
> :INFO ] Shutting down containers
> 2010-05-07 17:00:46,442 (OFBiz_Shutdown_Hook) [
> CatalinaContainer.java:592:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Exception: org.apache.catalina.LifecycleException
> Message: Embedded service has not yet been started
> ---- stack trace
> ---------------------------------------------------------------
> LifecycleException:  Embedded service has not yet been started
> org.apache.catalina.startup.Embedded.stop(Embedded.java:849)
> org.ofbiz.catalina.container.CatalinaContainer.stop(CatalinaContainer.java:589)
> org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:99)
> org.ofbiz.base.start.Start.shutdownServer(Start.java:300)
> org.ofbiz.base.start.Start.access$000(Start.java:43)
> org.ofbiz.base.start.Start$1.run(Start.java:277)
> --------------------------------------------------------------------------------


Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

tampan
hi,
after disabling RMI Service, i am able to run the application. but what will happen if i disabled RMI Service?
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

Deyan Tsvetanov-2
Search through the log files and look for
"java.net.BindException: Address already in use: JVM_Bind"

or for *any* other kind of "Exception",

ofbiz won't fail without an exception stacktrace.

-- deyan

On Sun, 2010-05-09 at 18:59 -0700, tampan wrote:
> hi,
> after disabling RMI Service, i am able to run the application. but what will
> happen if i disabled RMI Service?
>


Reply | Threaded
Open this post in threaded view
|

Re: OFBiz install won't start - Embedded service not yet been started

Jacques Le Roux
Administrator
In reply to this post by tampan
As long as you don't need it, it should not be a problem

Jacques

From: "tampan" <[hidden email]>

>
> hi,
> after disabling RMI Service, i am able to run the application. but what will
> happen if i disabled RMI Service?
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/OFBiz-install-won-t-start-Embedded-service-not-yet-been-started-tp448716p2164874.html
> Sent from the OFBiz Installation mailing list archive at Nabble.com.
>