servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Moulliard (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SMX4-234) Features referenced in the file org.apache.servicemix.features.cfg are not loaded at the startup of servicemix 4.1.0-fuse-SNAPSHOT
Date Mon, 02 Mar 2009 09:45:59 GMT

    [ https://issues.apache.org/activemq/browse/SMX4-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50136#action_50136
] 

Charles Moulliard commented on SMX4-234:
----------------------------------------

@Guillaume,

It works now. I think that the problem was related to my local maven repository. I have updated
the config file of SMX4 like this :

org.ops4j.pax.url.mvn.localRepository=c:/.m2/repository
org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2,http://repo.open.iona.com/maven2-snapshot@snapshots@noreleases,http://repository.ops4j.org/maven2,http://svn.apache.org/repos/asf/servicemix/m2-repo,http://repo.open.iona.com/maven2

and now the features are well installed at the startup.

smx@root:features> list |grep cxf
[installed  ]  [      0.0.0] cxf
[installed  ]  [      0.0.0] cxf-osgi
[uninstalled]  [      0.0.0] cxf-nmr
[uninstalled]  [      0.0.0] camel-cxf

[  70] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.1.0.x-fuse-SNAPSHOT)
[  71] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport for OSGi (4.1.0.fuse-SNAPSHOT)

I propose to close the issue.

> Features referenced in the file org.apache.servicemix.features.cfg are not loaded at
the startup of servicemix 4.1.0-fuse-SNAPSHOT
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMX4-234
>                 URL: https://issues.apache.org/activemq/browse/SMX4-234
>             Project: ServiceMix 4
>          Issue Type: Bug
>            Reporter: Charles Moulliard
>         Attachments: servicemix.log
>
>
> Hi,
> Perhaps I do something wrong but when I add features in the file org.apache.servicemix.features.cfg,
servicemix does not load them at the startup. Is there a way to debug and see what is really
loaded at the servicemix 4.1.0-SNAPSHOT startup (with level = DEBUG, I don't see any error)
> config 
> #
> # Comma separated list of features repositories to register by default
> #
> featuresRepositories=mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.1.0-fuse-SNAPSHOT/xml/features,
> mvn:org.apache.servicemix.features/apache-servicemix/4.1.0-fuse-SNAPSHOT/xml/features,
> mvn:org.apache.servicemix.camel/org.apache.servicemix.camel.features/4.1.0-fuse-SNAPSHOT/xml/features
> #
> # Comma separated list of features to install at startup
> #
> featuresBoot=transaction,management,activemq,web,web-core,cxf,cxf-osgi,camel
> log console
> smx@root:/> osgi
> smx@root:osgi> list
> START LEVEL 100
>    ID   State         Spring     Level  Name
> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.SNAPSHOT)
> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service (1.0.2)
> [   2] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API 1.4 (1.3.0.fuse-SNAPSHOT)
> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
> [   4] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> [   5] [Active     ] [       ] [   10] Apache ServiceMix Bundles: jaxp-ri-1.4.2 (1.4.2.1)
> [   6] [Active     ] [       ] [   10] Apache Felix Configuration Admin Service (1.0.4)
> [   7] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell Core (1.1.0.fuse-SNAPSHOT)
> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [  13] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell PackageAdmin
Commands (1.1.0.fuse-SNAPSHOT)
> [  14] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> [  15] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell Features (1.1.0.fuse-SNAPSHOT)
> [  16] [Active     ] [       ] [   30] Apache ServiceMix Bundles: mina-1.1.7 (1.1.7.1)
> [  17] [Active     ] [       ] [   30] Spring Context (2.5.6)
> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles: commons-jexl-1.1 (1.1.0.1)
> [  19] [Active     ] [       ] [   30] Apache ServiceMix Bundles: commons-httpclient-3.1
(3.1.0.1)
> [  20] [Active     ] [       ] [   30] Spring Core (2.5.6)
> [  21] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> [  22] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell ConfigAdmin
Commands (1.1.0.fuse-SNAPSHOT)
> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell Admin (1.1.0.fuse-SNAPSHOT)
> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell Log Commands
(1.1.0.fuse-SNAPSHOT)
> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> [  26] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring Deployer (1.1.0.fuse-SNAPSHOT)
> [  27] [Active     ] [       ] [   30] Apache ServiceMix Bundles: commons-vfs-1.0 (1.0.0.1)
> [  28] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> [  29] [Active     ] [       ] [   30] Unnamed - com.google.code.sshd:sshd:bundle:0.1
(0.1)
> [  30] [Active     ] [       ] [   30] Apache ServiceMix Bundles: commons-codec-1.2 (1.2.0.1)
> [  31] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  32] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS Config (1.1.0.fuse-SNAPSHOT)
> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles: cglib-2.1_3 (2.1.0.3_1)
> [  34] [Active     ] [       ] [   30] Apache ServiceMix Bundles: jline-0.9.94 (0.9.94.1)
> [  35] [Active     ] [       ] [   30] Apache ServiceMix Bundles: aopalliance-1.0 (1.0.0.1)
> [  36] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> [  37] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.1)
> [  38] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: Management Core (1.1.0.fuse-SNAPSHOT)
> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell OSGi Commands
(1.1.0.fuse-SNAPSHOT)
> [  40] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: JAAS Modules (1.1.0.fuse-SNAPSHOT)
> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File Monitor (1.1.0.fuse-SNAPSHOT)
> [  43] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
> [  44] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec (2.0.0)
> [  45] [Active     ] [       ] [   60] Apache ServiceMix Bundles: howl-1.0.1-1 (1.0.1.1_1)
> [  46] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction (2.2.0.r634076)
> [  47] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
> [  48] [Active     ] [Started] [   60] Apache ServiceMix Transaction (1.1.0.fuse-SNAPSHOT)
> [  49] [Installed  ] [       ] [   60] activemq-broker.xml (0.0.0)
> smx@root:osgi> features
> smx@root:features> list
>   State          Version       Name
> [uninstalled]  [1.1.0-fuse-SNAPSHOT] examples-nmr
> [installed  ]  [1.1.0-fuse-SNAPSHOT] transaction
> [uninstalled]  [1.1.0-fuse-SNAPSHOT] naming
> [uninstalled]  [1.1.0-fuse-SNAPSHOT] jbi
> [uninstalled]  [1.1.0-fuse-SNAPSHOT] nmr
> There is a dependency unresolved. Is it the root cause ?
> smx@root:/> ERROR: Error starting file:/C:/Workspace/esb/apache-servicemix-4.1.0-fuse-SNAPSHOT/data/generated-bundles/activemq-broker.xml.jar
(org.osg
> i.framework.BundleException: Unresolved constraint in bundle 49: package; (package=org.apache.activemq.pool))
> org.osgi.framework.BundleException: Unresolved constraint in bundle 49: package; (package=org.apache.activemq.pool)
>         at org.apache.felix.framework.Felix.resolveBundle(Felix.java:2990)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1426)
>         at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:971)
>         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message