You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Brunner Basil <ba...@entwinemedia.com> on 2012/03/14 09:50:45 UTC
Problem during startup (3.0.1)
Hi,
if i start Felix (I'm using 3.0.1), most of the bundles are loaded correctly (state active). But the bundles located in the 'bundle' directory of Felix (these are bundlerepository, gogo.command, gogo.runtime & gogo.shell) remain resolved/installed and the system bundle itself remains in state starting. There's no problem starting the bundles manually via web console. After this, lb outputs:
g! lb
START LEVEL 3
ID|State |Level|Name
0|Starting | 0|System Bundle (3.0.1)
1|Active | 6|Apache Felix Gogo Command (0.12.0)
2|Active | 6|Apache Felix Gogo Runtime (0.10.0)
3|Active | 6|Apache Felix Gogo Shell (0.10.0)
4|Active | 3|H2 Database Engine (1.3.164)
5|Active | 3|Commons Lang (2.6.0)
6|Active | 3|Commons IO (2.1.0)
7|Active | 3|Commons Codec (1.6.0)
8|Active | 3|Apache HttpCore OSGi bundle (4.1.4)
9|Active | 3|Apache HttpClient OSGi bundle (4.1.3)
10|Active | 3|jettison (1.3.1)
11|Active | 3|Spring Core (3.0.2.RELEASE)
12|Active | 3|Spring Beans (3.0.2.RELEASE)
13|Active | 3|Spring Context (3.0.2.RELEASE)
14|Active | 3|Spring Web (3.0.2.RELEASE)
15|Active | 3|Spring Security Core (3.0.2.RELEASE)
16|Active | 3|Spring Security Namespace Configuration (3.0.2.RELEASE)
17|Active | 3|Spring Security Web (3.0.2.RELEASE)
18|Active | 3|Spring AOP (3.0.2.RELEASE)
19|Active | 3|Spring Transaction (3.0.2.RELEASE)
20|Active | 3|Apache CXF JAX-RS Bundle Jar (2.5.2)
21|Active | 3|matterhorn-common (1.3.0.rc6)
22|Active | 3|matterhorn-kernel (1.3.0.rc6)
23|Active | 2|geronimo-servlet_2.5_spec (1.2.0)
24|Active | 2|jsr311-api (1.1.1)
25|Active | 2|Apache Neethi (3.0.1)
26|Active | 2|Apache ServiceMix :: Specs :: Activation API 1.4 (1.9.0)
27|Active | 2|Apache ServiceMix :: Specs :: Stax API 1.0 (1.9.0)
28|Active | 2|Apache ServiceMix :: Specs :: JAXB API 2.1 (1.9.0)
29|Active | 2|Apache ServiceMix :: Specs :: SAAJ API 1.3 (1.9.0)
30|Active | 2|Apache ServiceMix :: Specs :: JAXWS API 2.1 (1.9.0)
31|Active | 2|AOP Alliance API (1.0.0)
32|Active | 1|osgi.cmpn (4.2.0.200908310645)
33|Active | 1|osgi.enterprise (4.2.0.201003190513)
34|Active | 1|Apache Felix Configuration Admin Service (1.2.8)
35|Active | 1|OPS4J Pax ConfMan - Properties Loader (0.2.2)
36|Active | 1|OPS4J Pax Logging - API (1.6.4)
37|Active | 1|OPS4J Pax Logging - Service (1.6.4)
38|Active | 1|Apache Felix Declarative Services (1.6.0)
39|Active | 1|Apache Felix Lightweight HTTP Service Complete (0.1.4)
40|Active | 1|Apache Felix Web Management Console (3.1.8)
But the system bundle remains starting… Shuting down with 'stop 0' does not work, therefore I have to kill the java process.
I've attached my system.properties
-Basil
Re: Problem during startup (3.0.1)
Posted by Brunner Basil <ba...@entwinemedia.com>.
> The mailinglist is stripping attachements. Can you create a jira issue
> and attach your dumps there? Furthermore, any chance to update to
> felix 4.0.2? A lot has changed since 3.0.1…
Updating to Felix 4.0.2 is no problem AND that solved this problem!
Unfortunately, I get a constraint violation now, but I'll open a new thread for that.
-Basil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Problem during startup (3.0.1)
Posted by Karl Pauls <ka...@gmail.com>.
The mailinglist is stripping attachements. Can you create a jira issue
and attach your dumps there? Furthermore, any chance to update to
felix 4.0.2? A lot has changed since 3.0.1...
On Wed, Mar 14, 2012 at 11:38 AM, Brunner Basil <ba...@entwinemedia.com> wrote:
> Hi,
>
> thanks for your help.
>
>
>> I suspect you have a deadlock ... you might want to dump the stack
>
> I've attached two thread dumps: felix-1.dump is just after I started Felix and felix-2.dump is after I started the bundles manually. Do you see anything conspicuous?
>
>
>
>
> -Basil
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
--
Karl Pauls
karlpauls@gmail.com
http://twitter.com/karlpauls
http://www.linkedin.com/in/karlpauls
https://profiles.google.com/karlpauls
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Problem during startup (3.0.1)
Posted by Brunner Basil <ba...@entwinemedia.com>.
Hi,
thanks for your help.
> I suspect you have a deadlock ... you might want to dump the stack
I've attached two thread dumps: felix-1.dump is just after I started Felix and felix-2.dump is after I started the bundles manually. Do you see anything conspicuous?
Re: Problem during startup (3.0.1)
Posted by Felix Meschberger <fm...@adobe.com>.
Hi
I suspect you have a deadlock ... you might want to dump the stack
Regards
Felix
Am 14.03.2012 um 09:50 schrieb Brunner Basil:
Hi,
if i start Felix (I'm using 3.0.1), most of the bundles are loaded correctly (state active). But the bundles located in the 'bundle' directory of Felix (these are bundlerepository, gogo.command, gogo.runtime & gogo.shell) remain resolved/installed and the system bundle itself remains in state starting. There's no problem starting the bundles manually via web console. After this, lb outputs:
g! lb
START LEVEL 3
ID|State |Level|Name
0|Starting | 0|System Bundle (3.0.1)
1|Active | 6|Apache Felix Gogo Command (0.12.0)
2|Active | 6|Apache Felix Gogo Runtime (0.10.0)
3|Active | 6|Apache Felix Gogo Shell (0.10.0)
4|Active | 3|H2 Database Engine (1.3.164)
5|Active | 3|Commons Lang (2.6.0)
6|Active | 3|Commons IO (2.1.0)
7|Active | 3|Commons Codec (1.6.0)
8|Active | 3|Apache HttpCore OSGi bundle (4.1.4)
9|Active | 3|Apache HttpClient OSGi bundle (4.1.3)
10|Active | 3|jettison (1.3.1)
11|Active | 3|Spring Core (3.0.2.RELEASE)
12|Active | 3|Spring Beans (3.0.2.RELEASE)
13|Active | 3|Spring Context (3.0.2.RELEASE)
14|Active | 3|Spring Web (3.0.2.RELEASE)
15|Active | 3|Spring Security Core (3.0.2.RELEASE)
16|Active | 3|Spring Security Namespace Configuration (3.0.2.RELEASE)
17|Active | 3|Spring Security Web (3.0.2.RELEASE)
18|Active | 3|Spring AOP (3.0.2.RELEASE)
19|Active | 3|Spring Transaction (3.0.2.RELEASE)
20|Active | 3|Apache CXF JAX-RS Bundle Jar (2.5.2)
21|Active | 3|matterhorn-common (1.3.0.rc6)
22|Active | 3|matterhorn-kernel (1.3.0.rc6)
23|Active | 2|geronimo-servlet_2.5_spec (1.2.0)
24|Active | 2|jsr311-api (1.1.1)
25|Active | 2|Apache Neethi (3.0.1)
26|Active | 2|Apache ServiceMix :: Specs :: Activation API 1.4 (1.9.0)
27|Active | 2|Apache ServiceMix :: Specs :: Stax API 1.0 (1.9.0)
28|Active | 2|Apache ServiceMix :: Specs :: JAXB API 2.1 (1.9.0)
29|Active | 2|Apache ServiceMix :: Specs :: SAAJ API 1.3 (1.9.0)
30|Active | 2|Apache ServiceMix :: Specs :: JAXWS API 2.1 (1.9.0)
31|Active | 2|AOP Alliance API (1.0.0)
32|Active | 1|osgi.cmpn (4.2.0.200908310645)
33|Active | 1|osgi.enterprise (4.2.0.201003190513)
34|Active | 1|Apache Felix Configuration Admin Service (1.2.8)
35|Active | 1|OPS4J Pax ConfMan - Properties Loader (0.2.2)
36|Active | 1|OPS4J Pax Logging - API (1.6.4)
37|Active | 1|OPS4J Pax Logging - Service (1.6.4)
38|Active | 1|Apache Felix Declarative Services (1.6.0)
39|Active | 1|Apache Felix Lightweight HTTP Service Complete (0.1.4)
40|Active | 1|Apache Felix Web Management Console (3.1.8)
But the system bundle remains starting… Shuting down with 'stop 0' does not work, therefore I have to kill the java process.
I've attached my system.properties
-Basil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org<ma...@felix.apache.org>
For additional commands, e-mail: users-help@felix.apache.org<ma...@felix.apache.org>