dev@glassfish.java.net

Re: Fresh build results in exceptions in startup ...

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Sat, 01 Aug 2009 23:58:43 -0700

IIRC, sahoo has the plan for a better shutdown procedure when fatal
error arise on startup.

On Aug 1, 2009, at 6:56 PM, Richard S. Hall wrote:

> On 8/1/09 18:53, Kedar Mhaswade wrote:
>> Port was occupied. Interestingly, server says that shutdown has
>> started,
>> but never actually goes down.
>
> Sounds like we need to handle the error better.
>
> -> richard
>
>>
>> Kedar Mhaswade wrote:
>>> I just built a fresh workspace of v3 and I see the following
>>> on startup:
>>> java.lang.RuntimeException: org.osgi.framework.BundleException:
>>> Bundle com.sun.enterprise.osgi-adapter [196] cannot be stopped,
>>> since it is either starting or stopping.
>>> at
>>> org
>>> .jvnet.hk2.osgiadapter.OSGiModuleImpl.detach(OSGiModuleImpl.java:
>>> 224)
>>> at
>>> org.jvnet.hk2.osgiadapter.OSGiModuleImpl.stop(OSGiModuleImpl.java:
>>> 203)
>>> at
>>> com
>>> .sun
>>> .enterprise
>>> .v3.admin.StopDomainCommand.execute(StopDomainCommand.java:86)
>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl
>>> $4.execute(CommandRunnerImpl.java:427)
>>> at com.sun.enterprise.v3.admin.CommandRunnerImpl
>>> $5.run(CommandRunnerImpl.java:450)
>>> Caused by: org.osgi.framework.BundleException: Bundle
>>> com.sun.enterprise.osgi-adapter [196] cannot be stopped, since it
>>> is either starting or stopping.
>>> at org.apache.felix.framework.Felix.stopBundle(Felix.java:1784)
>>> at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:
>>> 815)
>>> at org.apache.felix.framework.BundleImpl.stop(BundleImpl.java:
>>> 802)
>>> at
>>> org
>>> .jvnet.hk2.osgiadapter.OSGiModuleImpl.detach(OSGiModuleImpl.java:
>>> 220)
>>> ... 4 more
>>>
>>>
>>> any ideas?
>>>
>>> -Kedar
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>