Hi,

Lots of bundle status is Resolved, which isn't correct, they should be Active. Do you machine behind some firewall(or anti virus software block the internet request) or you have proxy configuration for your maven settings.xml?
Freeman
On 2011-9-20, at 下午9:48, ranthy wrote:

I did not modify any file under 'etc' directory.
Yes I'm using SMX 4.3.0.
Yes, I do have internet connection on my desktop.
If you could, could you give me a sample maven 'settings.xml' and
repository.xml.

here is  osgi:list output:
START LEVEL 100 , List Threshold: 50
  ID   State         Blueprint      Spring    Level  Name
[  32] [Active     ] [            ] [       ] [   60]
geronimo-annotation_1.0_spec (1.1.1)
[ 33] [Active ] [ ] [ ] [ 60] geronimo- jta_1.1_spec
(1.1.1)
[ 34] [Active ] [ ] [ ] [ 60] geronimo- jms_1.1_spec
(1.1.1)
[  35] [Active     ] [            ] [       ] [   60]
geronimo-j2ee-management_1.1_spec (1.0.1)
[ 36] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: commons-pool (1.5.4.2)
[ 37] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: commons-collections (3.2.1.1)
[ 38] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: commons-lang (2.4.0.4)
[ 39] [Active ] [ ] [ ] [ 60] Commons Codec (1.4) [ 40] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: oro (2.0.8.4)
[ 41] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: velocity (1.6.2.4)
[ 42] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: jasypt (1.6.0.1)
[ 43] [Active ] [Created ] [ ] [ 60] activemq-core (5.4.2)
                                      Fragments: 53
[  44] [Active     ] [            ] [       ] [   60] kahadb (5.4.2)
[  45] [Active     ] [            ] [       ] [   60] activemq-console
(5.4.2)
[ 46] [Active ] [ ] [ ] [ 60] activemq-ra (5.4.2) [ 47] [Active ] [ ] [ ] [ 60] activemq-pool (5.4.2) [ 48] [Active ] [Created ] [ ] [ 60] activemq-karaf (5.4.2)
[  49] [Active     ] [            ] [       ] [   60] Apache Aries
Transaction Manager (0.2.0.incubating)
[ 50] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: Scripting API 1.0 (1.7.0)
[ 51] [Active ] [ ] [ ] [ 60] Commons JEXL (2.0.1) [ 52] [Active ] [Created ] [ ] [ 60] Apache XBean :: OSGI
Blueprint Namespace Handler (3.7)
[ 53] [Resolved ] [ ] [ ] [ 60] activemq- blueprint
(5.4.2)
                                      Hosts: 43
[ 54] [Active ] [Created ] [ ] [ 60] activemq- broker.xml
(0.0.0)
[ 55] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: aopalliance (1.0.0.4)
[  56] [Active     ] [            ] [       ] [   60] Spring Core
(3.0.5.RELEASE)
[  57] [Active     ] [            ] [       ] [   60] Spring ASM
(3.0.5.RELEASE)
[ 58] [Active ] [ ] [ ] [ 60] Spring Expression
Language (3.0.5.RELEASE)
[  59] [Active     ] [            ] [       ] [   60] Spring Beans
(3.0.5.RELEASE)
[  60] [Active     ] [            ] [       ] [   60] Spring AOP
(3.0.5.RELEASE)
[  61] [Active     ] [            ] [       ] [   60] Spring Context
(3.0.5.RELEASE)
[ 62] [Active ] [ ] [ ] [ 60] Spring Context Support
(3.0.5.RELEASE)
[ 63] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: Activation API 1.4 (1.7.0)
[ 64] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: JAXB API 2.2 (1.7.0)
[ 65] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: Stax API 1.0 (1.7.0)
[ 66] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: jaxb-impl (2.2.1.1_1)
[ 67] [Active ] [ ] [ ] [ 60] Commons Management
(1.0)
[ 68] [Active ] [ ] [ ] [ 60] camel-core (2.6.0) [ 69] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: cglib (2.1.0.3_6)
[ 70] [Active ] [ ] [ ] [ 60] spring-osgi-io (1.2.0)
[  71] [Active     ] [            ] [       ] [   60] spring-osgi-core
(1.2.0)
[ 72] [Active ] [ ] [ ] [ 60] spring-osgi- extender
(1.2.0)
[ 73] [Active ] [ ] [ ] [ 60] spring-osgi- annotation
(1.2.0)
[ 74] [Active ] [ ] [ ] [ 60] Spring Transaction
(3.0.5.RELEASE)
[ 75] [Active ] [ ] [ ] [ 60] camel-spring (2.6.0)
[  76] [Active     ] [Created     ] [       ] [   60] camel-blueprint
(2.6.0)
[  77] [Resolved   ] [            ] [       ] [   60] Spring JMS
(3.0.5.RELEASE)
[ 78] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Document (1.4.0)
[ 79] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Utils (1.4.0)
[ 80] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
NMR :: API (1.4.0)
[ 81] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
NMR :: Core (1.4.0)
[ 82] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
NMR :: OSGi (1.4.0)
[ 83] [Installed ] [ ] [ ] [ 60] Apache ServiceMix ::
NMR :: Commands (1.4.0)
[ 84] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
NMR :: Management (1.4.0)
[ 85] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: JAXWS API 2.2 (1.7.0)
[  86] [Resolved   ] [            ] [       ] [   60]
geronimo-ws-metadata_2.0_spec (1.1.2)
[ 87] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: SAAJ API 1.3 (1.7.0)
[ 88] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: asm (2.2.3.4)
[ 89] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: FastInfoset (1.2.7.3)
[ 90] [Resolved ] [ ] [ ] [ 60] Servlet 3.0 (1.0) [ 91] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: jetty (6.1.25.1)
[ 92] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: jdom (1.1.0.3)
[  93] [Resolved   ] [            ] [       ] [   60] jettison (1.2)
[ 94] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: ant (1.7.0.4)
[ 95] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: bcel (5.2.0.3)
[ 96] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: xalan (2.7.1.3)
[ 97] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: xercesImpl (2.9.1.4)
[ 98] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: xmlbeans (2.5.0.1)
[ 99] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: xmlsec (1.4.3.3)
[ 100] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: xmlresolver (1.2.0.3)
[ 101] [Resolved ] [ ] [ ] [ 60] Woodstox XML- processor
(4.0.8)
[ 102] [Resolved ] [ ] [ ] [ 60] Stax2 API (3.0.2) [ 103] [Resolved ] [ ] [ ] [ 60] XmlSchema (1.4.7) [ 104] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: antlr (2.7.7.3)
[ 105] [Resolved ] [ ] [ ] [ 60] JavaMail API (1.4.3) [ 106] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: neethi (2.0.4.3)
[ 107] [Installed ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: abdera (0.4.0.incubating_4)
[ 108] [Installed ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: saaj-impl (1.3.2.2)
[ 109] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: wsdl4j (1.6.2.3)
[ 110] [Resolved   ] [            ] [       ] [   60] WSS4J (1.5.9)
[ 111] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: opensaml (1.1.0.5)
[ 112] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: JSR-311 API 1.1 (1.7.0)
[ 113] [Resolved ] [ ] [ ] [ 60] Apache CXF Bundle Jar
(2.3.2)
[ 114] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Naming (1.4.0)
[ 115] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Specs :: JBI API 1.0 (1.7.0)
[ 116] [Active ] [Created ] [ ] [ 60] Apache ServiceMix ::
Components :: Shared Libraries :: Common (2011.01.0)
[ 117] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
JBI :: Runtime (1.4.0)
[ 118] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
JBI :: OSGi (1.4.0)
[ 119] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
JBI :: Deployer (1.4.0)
[ 120] [Active ] [Created ] [ ] [ 60] Apache ServiceMix ::
JBI :: Commands (1.4.0)
[ 121] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
JBI :: Clustering :: Requestor (1.4.0)
[ 122] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
JBI :: Clustering :: Engine (1.4.0)
[ 123] [Active ] [Created ] [ ] [ 60] Apache ServiceMix ::
JBI :: Clustering :: Config (1.4.0)
[ 124] [Active     ] [            ] [       ] [   60]
geronimo-servlet_2.5_spec (1.1.2)
[ 125] [Active ] [ ] [ ] [ 60] OPS4J Pax Web - API
(0.7.4)
[ 126] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Service SPI (0.7.4)
[ 127] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Runtime (0.7.4)
[ 128] [Active ] [ ] [ ] [ 60] OPS4J Pax Web - Jetty
(0.7.4)
[ 129] [Active ] [ ] [ ] [ 60] OPS4J Pax Web - Jsp
Support (0.7.4)
[ 130] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Extender - WAR (0.7.4)
[ 131] [Active     ] [            ] [       ] [   60] OPS4J Pax Web -
Extender - Whiteboard (0.7.4)
[ 133] [Active ] [Created ] [ ] [ 60] Apache Karaf :: WAR
Deployer (2.1.3)
[ 134] [Active ] [ ] [ ] [ 60] Apache XBean :: Spring
(3.7)
[ 135] [Active     ] [            ] [       ] [   60] Apache XBean ::
Classloader (3.7)
[ 136] [Active ] [ ] [ ] [ 60] Axiom API (1.2.8) [ 137] [Active ] [ ] [ ] [ 60] Axiom API (1.2.8) [ 138] [Active ] [ ] [ ] [ 60] Jetty :: Utilities
(7.2.2.v20101205)
[ 139] [Active ] [ ] [ ] [ 60] Jetty :: IO Utility
(7.2.2.v20101205)
[ 140] [Active ] [ ] [ ] [ 60] Jetty :: Http Utility
(7.2.2.v20101205)
[ 141] [Active ] [ ] [ ] [ 60] Jetty :: Asynchronous
HTTP Client (7.2.2.v20101205)
[ 142] [Active ] [ ] [ ] [ 60] Jetty :: Continuation
(7.2.2.v20101205)
[ 143] [Active     ] [            ] [       ] [   60] Jetty :: JMX
Management (7.2.2.v20101205)
[ 144] [Active ] [ ] [ ] [ 60] Jetty :: Server Core
(7.2.2.v20101205)
[ 145] [Active ] [ ] [ ] [ 60] Jetty :: Security
(7.2.2.v20101205)
[ 146] [Active     ] [            ] [       ] [   60] Jetty :: Servlet
Handling (7.2.2.v20101205)
[ 147] [Active     ] [            ] [       ] [   60] Jetty :: Utility
Servlets and Filters (7.2.2.v20101205)
[ 148] [Active ] [ ] [ ] [ 60] Jetty :: XML utilities
(7.2.2.v20101205)
[ 149] [Active     ] [            ] [       ] [   60] Jetty :: Webapp
Application Support (7.2.2.v20101205)
[ 150] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Components :: Shared Libraries :: SOAP Stack v2 (2011.01.0)
[ 151] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: CXF Binding Component (2011.01.0)
[ 152] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: File Binding Component (2011.01.0)
[ 153] [Active ] [ ] [ ] [ 60] Commons Net (2.2) [ 154] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: FTP Binding Component (2011.01.0)
[ 155] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: commons-httpclient (3.1.0.5)
[ 156] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Components :: Shared Libraries :: SOAP Stack (2011.01.0)
[ 157] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: HTTP Binding Component (2011.01.0)
[ 158] [Active     ] [            ] [       ] [   60]
geronimo-j2ee-connector_1.5_spec (2.0.0)
[ 159] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: JMS Binding Component (2011.01.0)
[ 160] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: Mail Binding Component (2011.01.0)
[ 161] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: jsmpp (2.1.0.2)
[ 162] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: SMPP Binding Component (2011.01.0)
[ 163] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: snmp4j (1.8.1.4)
[ 164] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: SNMP Binding Component (2011.01.0)
[ 165] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: commons-vfs (1.0.0.5)
[ 166] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: VFS Binding Component (2011.01.0)
[ 167] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: Bean Service Engine (2011.01.0)
[ 168] [Active ] [Created ] [ ] [ 60] Apache ServiceMix ::
Components :: Camel Service Engine (2011.01.0)
[ 169] [Active ] [ ] [ ] [ 60] Apache CXF Runtime JBI
Binding (2.3.2)
[ 170] [Active ] [ ] [ ] [ 60] Apache CXF Runtime JBI
Transport (2.3.2)
[ 171] [Installed ] [ ] [ ] [ 60] Apache ServiceMix ::
Components :: CXF Service Engine (2011.01.0)
[ 172] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: core (3.2.3.4)
[ 173] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: antlr-runtime (3.0.1.2)
[ 174] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: drools (5.1.1.1)
[ 175] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: mvel2 (2.0.8.4)
[ 176] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: Drools Service Engine (2011.01.0)
[ 177] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: EIP Service Engine (2011.01.0)
[ 178] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: antlr (3.0.1.4)
[ 179] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: quartz (1.8.3.2)
[ 180] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: oscore (2.2.4.4)
[ 181] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: propertyset (1.3.0.4)
[ 182] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: osworkflow (2.7.0.4)
[ 183] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: OSWorkflow Service Engine (2011.01.0)
[ 184] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: Quartz Service Engine (2011.01.0)
[ 185] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: groovy (1.5.6.4)
[ 186] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: js (1.0.0.7R1_3)
[ 187] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: jruby (1.1.2.3)
[ 188] [Active     ] [            ] [       ] [   60] ScriptEngines ::
Groovy (1.1)
[ 189] [Active     ] [            ] [       ] [   60] ScriptEngines ::
JavaScript (1.1)
[ 190] [Active ] [ ] [ ] [ 60] ScriptEngines :: JRuby
(1.1)
[ 191] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: JSR-223 Scripting Service Engine (2011.01.0)
[ 192] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: Validation Service Engine (2011.01.0)
[ 193] [Active ] [ ] [ ] [ 60] Apache ServiceMix ::
Bundles :: saxon (9.1.0.8_1)
[ 194] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: Saxon Service Engine (2011.01.0)
[ 195] [Active ] [Failure ] [ ] [ 60] Apache ServiceMix ::
Components :: WS-Notification Service Engine (2011.01.0)
[ 212] [Active ] [ ] [ ] [ 60] OPS4J Pax Url - war:,
war-i: (1.2.4)
[ 213] [Active ] [ ] [Failed ] [ 60] Apache ServiceMix ::
Features :: Examples :: CXF OSGi (4.3.0)


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/ServiceMix-4-3-cxf-osgi-webservice-example-install-failed-with-BeanFactory-not-initialized-or-alreadd-tp4807513p4822603.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to