Hi Kevin,

Can you check if you can install manually dom4j jar :

Here is the command to be used in osgi

install - s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6_2-SNAPSHOT

If this command does not work, check in the following file
etc/org.ops4j.pax.url.mvn.cfg  that you point to your settings.xml file
configured for your local maven repository :

org.ops4j.pax.url.mvn.settings=C:/Documents and
Settings/chzhang/.m2/settings.xml

next try to reinstall or use features command

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com


On Tue, Jul 7, 2009 at 5:42 PM, Kevin.Zhang <zhangyongji...@yahoo.com>wrote:

>
> Hi Charles,
>
> I downloaded dom4j and ran "mvn" command. It seems that it's still not
> working.
>
> Below is the repository list for dom4j.
>
>
> C:\Documents and Settings\chzhang\.m2\repository>dir /s *dom4j*
>  Volume in drive C has no label.
>  Volume Serial Number is D051-6A60
>
>  Directory of C:\Documents and Settings\chzhang\.m2\repository
>
> 10/20/2008  09:24 AM    <DIR>          dom4j
>               0 File(s)              0 bytes
>
>  Directory of C:\Documents and Settings\chzhang\.m2\repository\dom4j
>
> 07/07/2009  08:06 AM    <DIR>          dom4j
>               0 File(s)              0 bytes
>
>  Directory of C:\Documents and
> Settings\chzhang\.m2\repository\dom4j\dom4j\1.6
>
> 07/07/2009  08:20 AM                 0 dom4j-1.6-sources.jar-not-available
> 07/07/2009  08:06 AM           313,359 dom4j-1.6.jar
> 07/07/2009  08:06 AM                40 dom4j-1.6.jar.sha1
> 07/07/2009  08:06 AM             6,763 dom4j-1.6.pom
> 07/07/2009  08:06 AM               130 dom4j-1.6.pom.sha1
>               5 File(s)        320,292 bytes
>
>  Directory of C:\Documents and
> Settings\chzhang\.m2\repository\dom4j\dom4j\1.6.1
>
> 10/20/2008  10:27 AM           432,186 dom4j-1.6.1-sources.jar
> 10/20/2008  10:27 AM                84 dom4j-1.6.1-sources.jar.sha1
> 10/20/2008  09:25 AM           313,898 dom4j-1.6.1.jar
> 10/20/2008  09:25 AM                40 dom4j-1.6.1.jar.sha1
> 10/20/2008  09:24 AM             6,765 dom4j-1.6.1.pom
> 10/20/2008  09:24 AM               134 dom4j-1.6.1.pom.sha1
>               6 File(s)        753,107 bytes
>
>  Directory of C:\Documents and
> Settings\chzhang\.m2\repository\org\apache\servicemix\bundles
>
> 07/07/2009  08:06 AM    <DIR>          org.apache.servicemix.bundles.dom4j
>               0 File(s)              0 bytes
>
>  Directory of C:\Documents and
>
> Settings\chzhang\.m2\repository\org\apache\servicemix\bundles\org.apache.servicemix.bundles.dom4j\1.6_2-SNAPSHOT
>
> 07/07/2009  08:06 AM           320,542
> org.apache.servicemix.bundles.dom4j-1.6_2-SNAPSHOT.jar
> 07/07/2009  08:06 AM             2,843
> org.apache.servicemix.bundles.dom4j-1.6_2-SNAPSHOT.pom
>               2 File(s)        323,385 bytes
>
>
> In the hibernate directory, I can see
>
>
> C:\Documents and Settings\chzhang\.m2\repository\org\hibernate>dir
>  Volume in drive C has no label.
>  Volume Serial Number is D051-6A60
>
>  Directory of C:\Documents and
> Settings\chzhang\.m2\repository\org\hibernate
>
> 07/02/2009  10:33 PM    <DIR>          .
> 07/02/2009  10:33 PM    <DIR>          ..
> 07/02/2009  10:33 PM    <DIR>          ejb3-persistence
> 10/20/2008  10:06 AM    <DIR>          hibernate
> 07/02/2009  10:33 PM    <DIR>          hibernate-annotations
> 07/02/2009  10:33 PM    <DIR>          hibernate-commons-annotations
> 07/02/2009  10:18 PM    <DIR>          hibernate-core
> 07/02/2009  10:33 PM    <DIR>          hibernate-entitymanager
> 07/02/2009  10:18 PM    <DIR>          hibernate-parent
> 07/02/2009  10:33 PM    <DIR>          hibernate-tools
> 10/20/2008  10:06 AM    <DIR>          jtidy
>
>
>
> After I started servicemix.bat, it prints error msg in the console.
>
>
> C:\grid-console\apache-servicemix-kernel-1.1.0\bin>servicemix.bat
>  ____                  _          __  __ _
> / ___|  ___ _ ____   _(_) ___ ___|  \/  (_)_  __
> \___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
>  ___) |  __/ |   \ V /| | (_|  __/ |  | | |>  <
> |____/ \___|_|    \_/ |_|\___\___|_|  |_|_/_/\_\
>
>  ServiceMix Kernel (1.1.0)
>
> Type 'help' for more information.
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
> s...@root:/> ERROR: Error starting
> mvn:org.apache.camel.example/reportincident.web/1.0-SNAPSHOT/war
> (org.osgi.framework.BundleException: Unresolved constraint in
>  bundle 114: package; (package=org.hibernate.classic))
> org.osgi.framework.BundleException: Unresolved constraint in bundle 114:
> package; (package=org.hibernate.classic)
>         at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3059)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
>        at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>        at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>        at java.lang.Thread.run(Thread.java:619)
>
> s...@root:/> osgi/list
> START LEVEL 100
>   ID   State         Spring     Level  Name
> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
> (1.0.2)
> [   2] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
> jaxp-ri-1.4.2 (1.4.2.2)
> [   3] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
> [   4] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API
> 1.4 (1.3.0)
> [   5] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> [   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)
> [   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] spring-osgi-io (1.2.0.m2)
> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: Spring
> Deployer (1.1.0)
> [  15] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> mina-1.1.7
> (1.1.7.1)
> [  16] [Active     ] [       ] [   30] Spring Context (2.5.6)
> [  17] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Modules (1.1.0)
> [  18] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-jexl-1.1 (1.1.0.1)
> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Features (1.1.0)
> [  20] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-httpclient-3.1 (3.1.0.1)
> [  21] [Active     ] [       ] [   30] Spring Core (2.5.6)
> [  22] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> [  23] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> ConfigAdmin Commands (1.1.0)
> [  24] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
> Config (1.1.0)
> [  25] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> [  26] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-vfs-1.0 (1.0.0.1)
> [  27] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> [  28] [Active     ] [       ] [   30] Unnamed -
> com.google.code.sshd:sshd:bundle:0.1 (0.1)
> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> commons-codec-1.2 (1.2.0.1)
> [  30] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  31] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> cglib-2.1_3 (2.1.0.3_1)
> [  32] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> jline-0.9.94 (0.9.94.1)
> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
> aopalliance-1.0 (1.0.0.1)
> [  34] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> [  35] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> PackageAdmin Commands (1.1.0)
> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8
> (2.0.8.1)
> [  37] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell
> Log Commands (1.1.0)
> [  38] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> OSGi Commands (1.1.0)
> [  40] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell
> Admin (1.1.0)
> [  41] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
> Management (1.1.0)
> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
> Monitor (1.1.0)
> [  43] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jaxb-impl-2.1.6 (2.1.6.1)
> [  44] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
> ACTIVATION
> API 1.4 (1.2.0)
> [  45] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB API
> 2.1 (1.2.0)
> [  46] [Active     ] [       ] [   60] Commons Collections (3.2.1)
> [  47] [Active     ] [       ] [   60] Commons Lang (2.4)
> [  48] [Active     ] [       ] [   60] Apache Commons Pool Bundle (1.4)
> [  49] [Active     ] [       ] [   60] Apache ServiceMix Bundles: asm-2.2.3
> (2.2.3.1)
> [  50] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
> [  51] [Active     ] [       ] [   60] geronimo-j2ee-connector_1.5_spec
> (2.0.0)
> [  52] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> howl-1.0.1-1 (1.0.1.1_1)
> [  53] [Active     ] [       ] [   60] Geronimo TxManager :: Transaction
> (2.2.0.r634076)
> [  54] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
> [  55] [Active     ] [Started] [   60] Apache ServiceMix Transaction
> (1.0.0)
> [  56] [Active     ] [       ] [   60] Geronimo TxManager :: Connector
> (2.2.0.r634076)
> [  57] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
> [  58] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jencks-2.1
> (2.1.0.1)
> [  59] [Active     ] [       ] [   60] geronimo-j2ee-management_1.1_spec
> (1.0.1)
> [  60] [Active     ] [       ] [   60] xbean-spring (3.4.3)
> [  61] [Active     ] [       ] [   60] activemq-core (5.2.0)
> [  62] [Active     ] [       ] [   60] activemq-ra (5.2.0)
> [  63] [Active     ] [       ] [   60] activemq-console (5.2.0)
> [  64] [Active     ] [       ] [   60] activemq-pool (5.2.0)
> [  65] [Active     ] [Started] [   60] Apache ServiceMix Features ::
> ActiveMQ Commands (4.0.0)
> [  66] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> jetty-6.1.14 (6.1.14.1)
> [  67] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
> (0.6.0)
> [  68] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support (0.6.0)
> [  69] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR (0.5.1)
> [  70] [Active     ] [       ] [   60] OPS4J Pax Web Extender - Whiteboard
> (0.5.1)
> [  71] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i: (0.4.0)
> [  72] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
> (4.0.0)
> [  73] [Resolved   ] [       ] [   60] Spring Web (2.5.6)
> [  74] [Active     ] [       ] [   60] Wicket (1.3.5)
> [  75] [Active     ] [       ] [   60] Wicket IoC common code (1.3.5)
> [  76] [Active     ] [       ] [   60] Wicket Spring Integration (1.3.5)
> [  77] [Active     ] [       ] [   60] Wicket Spring Integration through
> Annotations (1.3.5)
> [  78] [Active     ] [       ] [   60] Wicket Extensions (1.3.5)
> [  79] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> FastInfoset-1.2.2 (1.2.2.1)
> [  80] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlsec-1.3.0 (1.3.0.1)
> [  81] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wss4j-1.5.4 (1.5.4.1)
> [  82] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlbeans-2.4.0 (2.4.0.1)
> [  83] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlresolver-1.2 (1.2.0.1)
> [  84] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> xmlschema-1.4.2 (1.4.2.1)
> [  85] [Active     ] [       ] [   60] Apache ServiceMix Bundles: ant-1.7.0
> (1.7.0.1)
> [  86] [Active     ] [       ] [   60] Apache ServiceMix Bundles: jdom-1.1
> (1.1.0.1)
> [  87] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> werken-xpath-0.9.4 (0.9.4.1)
> [  88] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> neethi-2.0.4 (2.0.4.1)
> [  89] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> abdera-0.4.0-incubating (0.4.0.incubating_1)
> [  90] [Active     ] [       ] [   60] Apache ServiceMix Bundles: junit-4.4
> (4.4.0.1)
> [  91] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> antlr-3.0.1 (3.0.1.1)
> [  92] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> commons-io-1.3.2 (1.3.2.1)
> [  93] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAVAMAIL
> API 1.4 (1.2.0)
> [  94] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS API
> 2.1 (1.2.0)
> [  95] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ API
> 1.3 (1.2.0)
> [  96] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
> wsdl4j-1.6.1 (1.6.1.1)
> [  97] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
> (1.1.2)
> [  98] [Active     ] [       ] [   60] Apache CXF Bundle Jar (2.2)
> [  99] [Active     ] [Started] [   60] Apache ServiceMix CXF Transport for
> OSGi (4.0.0)
> [ 100] [Active     ] [       ] [   60] camel-core (2.0.0.M1)
> [ 101] [Active     ] [       ] [   60] camel-spring (2.0.0.M1)
> [ 102] [Active     ] [       ] [   60] camel-osgi (2.0.0.M1)
> [ 103] [Active     ] [       ] [   60] camel-bindy (2.0.0.M1)
> [ 104] [Active     ] [       ] [   60] Spring JMS (2.5.6)
> [ 105] [Active     ] [       ] [   60] camel-jms (2.0.0.M1)
> [ 106] [Active     ] [       ] [   60] camel-cxf (2.0.0.M1)
> [ 107] [Active     ] [       ] [   60] activemq-camel (5.2.0)
> [ 108] [Resolved   ] [       ] [   60] Apache ServiceMix Bundles:
> commons-dbcp-1.2.2 (1.2.2.3)
> [ 109] [Resolved   ] [       ] [   60] Spring ORM (2.5.6)
> [ 110] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6)
> [ 111] [Resolved   ] [       ] [   60] ActiveMQ Queuing engine
> (1.0.0.SNAPSHOT)
> [ 112] [Resolved   ] [       ] [   60] Camel Queuing Service
> (1.0.0.SNAPSHOT)
> [ 113] [Resolved   ] [       ] [   60] Report Incident Model Bundle
> (1.0.0.SNAPSHOT)
> [ 114] [Installed  ] [       ] [   60] Report Incident Persistence Bundle
> (1.0.0.SNAPSHOT)
> [ 115] [Installed  ] [       ] [   60] reportincident.service
> (1.0.0.SNAPSHOT)
> [ 116] [Installed  ] [       ] [   60] Report Incident Webservice Bundle
> (1.0.0.SNAPSHOT)
> [ 117] [Installed  ] [       ] [   60] Report Incident Routing Bundle
> (1.0.0.SNAPSHOT)
> [ 118] [Installed  ] [       ] [   60] Report Incident Web Bundle
> (1.0.0.SNAPSHOT)
> [ 119] [Resolved   ] [       ] [   60] Apache ServiceMix Bundles: dom4j-1.6
> (1.6.0.SNAPSHOT)
>
>
> Bundle 73, 108-113 are still in Resolved state.
>
> I attached the new log file here
> http://www.nabble.com/file/p24375817/servicemix-2.zip servicemix-2.zip .
> Not
> sure if it's useful information but in the log file I saw some exception
>
>
> 08:23:57,000 | DEBUG | FelixStartLevel  | Connection
> |
> .pax.url.mvn.internal.Connection  320 |   Resolving metadata
> 08:23:57,046 | TRACE | FelixStartLevel  | Connection
> |
> .pax.url.mvn.internal.Connection  331 |     Metadata found:
>
> [org/apache/camel/example/reportincident.features/1.0-SNAPSHOT/maven-metadata-local.xml]
> 08:23:57,062 | TRACE | FelixStartLevel  | Connection
> |
> .pax.url.mvn.internal.Connection  171 | Possible download locations for
> [mvn:org.apache.camel.example/reportincident.features/1.0-SNAPSHOT]
> 08:23:57,062 | TRACE | FelixStartLevel  | Connection
> |
> .pax.url.mvn.internal.Connection  174 |   Version [1.0-20090704.161351-0]
> from URL
>
> [file:/C:/Documents%20and%20Settings/chzhang/.m2/repository/org/apache/camel/example/reportincident.features/1.0-SNAPSHOT/reportincident.features-1.0-SNAPSHOT.jar]
> 08:23:57,062 | TRACE | FelixStartLevel  | Connection
> |
> .pax.url.mvn.internal.Connection  179 | Downloading [Version
> [1.0-20090704.161351-0] from URL
>
> [file:/C:/Documents%20and%20Settings/chzhang/.m2/repository/org/apache/camel/example/reportincident.features/1.0-SNAPSHOT/reportincident.features-1.0-SNAPSHOT.jar]]
> 08:23:57,109 | ERROR | FelixStartLevel  | FeaturesServiceImpl
>  |
> res.internal.FeaturesServiceImpl  451 | Error loading FeaturesService state
> java.lang.NumberFormatException: For input string: ""
>        at
>
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>        at java.lang.Long.parseLong(Long.java:424)
>        at java.lang.Long.parseLong(Long.java:461)
>        at
>
> org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.readValue(FeaturesServiceImpl.java:507)
>        at
>
> org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.loadMap(FeaturesServiceImpl.java:487)
>        at
>
> org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.loadState(FeaturesServiceImpl.java:443)
>        at
>
> org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:363)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>        at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>        at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>        at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
>        at
>
> org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)
>        at
>
> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
>        at
>
> org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>        at
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>        at
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>        at
>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>        at
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
>        at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:68)
>        at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:343)
>        at
>
> org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
>        at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:308)
>        at
>
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:138)
>        at
>
> org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
>        at
>
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageTwo(DependencyWaiterApplicationContextExecutor.java:304)
>        at
>
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:246)
>        at
>
> org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:168)
>        at
>
> org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:179)
>        at
>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:759)
>        at
>
> org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
>        at
>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.maybeCreateApplicationContextFor(ContextLoaderListener.java:806)
>        at
>
> org.springframework.osgi.extender.internal.activator.ContextLoaderListener.start(ContextLoaderListener.java:415)
>        at
>
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
>        at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
>        at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
>        at java.lang.Thread.run(Thread.java:619)
>
>
> Thanks a lot,
>
> Kevin
>
>
> cmoulliard wrote:
> >
> > Hi,
> >
> > I see in the log that some important bundles have not been installed :
> >
> > 1) Hibernate is not installed
> >
> > 09:21:20,016 | ERROR | Thread-5         | FeaturesServiceImpl
> > |
> > s.internal.FeaturesServiceImpl$1  380 | Error installing boot feature
> > reportincident
> > org.osgi.framework.BundleException: Unresolved constraint in bundle 114:
> > package; (package=org.hibernate.classic)
> >
> > 2) Idem for MySQL
> >
> > 09:21:19,313 | ERROR | Thread-5         | FeaturesServiceImpl
> > |
> > s.internal.FeaturesServiceImpl$1  380 | Error installing boot feature
> > jdbc-driver
> > java.lang.RuntimeException: URL
> > [mvn:com.mysql.jdbc/com.springsource.com.mysql.jdbc/5.1.6] could not be
> > resolved. (enable TRACE logging for details)
> >     at
> >
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:193)
> >     at java.net.URL.openStream(URL.java:1009)
> >
> > 3) Dom4j
> >
> > 09:21:19,673 | ERROR | Thread-5         | FeaturesServiceImpl
> > |
> > s.internal.FeaturesServiceImpl$1  380 | Error installing boot feature
> > hibernate
> > java.lang.RuntimeException: URL
> >
> [mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6_2-SNAPSHOT]
> > could not be resolved. (enable TRACE logging for details)
> >     at
> >
> org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:193)
> >     at java.net.URL.openStream(URL.java:1009)
> >     at org.apache.servicemix.kernel.gshell.features.internal.Feat
> >
> > This is strange because I don't see this bundle on apache maven repo
> >
> > This bundle can be recreated locally if you have a copy of the following
> > project :
> >
> > http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/dom4j-1.6
> >
> > Can you review this ?
> >
> > Regards,
> >
> > Charles Moulliard
> > Senior Enterprise Architect
> > Apache Camel Committer
> >
> > *****************************
> > blog : http://cmoulliard.blogspot.com
> >
> >
> > On Tue, Jul 7, 2009 at 4:08 PM, Kevin.Zhang
> > <zhangyongji...@yahoo.com>wrote:
> >
> >>
> >> Hi Charles,
> >>
> >> I just uploaded the log file. Please take a look and let me know if you
> >> need
> >> more information.
> >>
> >> Thanks a lot,
> >> Kevin
> >>
> >> http://www.nabble.com/file/p24373875/servicemix.log.zip
> >> servicemix.log.zip
> >>
> >>
> >> cmoulliard wrote:
> >> >
> >> > Hi Kevin,
> >> >
> >> > I don't see any bundles concerning MySQL or Hibernate.
> >> >
> >> > Can you send me what you have in the log for the last bundles 108 -
> 113
> >> ?
> >> > I
> >> > see that some of them are in status "Resolved". So information of the
> >> log
> >> > will help us
> >> >
> >> > [ 108] [Resolved   ] [       ] [   60] Apache ServiceMix Bundles:
> >> > commons-dbcp-1.2.2 (1.2.2.3)
> >> > [ 109] [Resolved   ] [       ] [   60] Spring ORM (2.5.6)
> >> > [ 110] [Resolved   ] [       ] [   60] Spring JDBC (2.5.6)
> >> > [ 111] [Resolved   ] [       ] [   60] ActiveMQ Queuing engine
> >> > (1.0.0.SNAPSHOT)
> >> > [ 112] [Resolved   ] [       ] [   60] Camel Queuing Service
> >> > (1.0.0.SNAPSHOT)
> >> > [ 113] [Resolved   ] [       ] [   60] Report Incident Model Bundle
> >> >
> >> > Regards,
> >> >
> >> >
> >> > Charles Moulliard
> >> > Senior Enterprise Architect
> >> > Apache Camel Committer
> >> >
> >> > *****************************
> >> > blog : http://cmoulliard.blogspot.com
> >> >
> >> >
> >> > On Mon, Jul 6, 2009 at 6:25 PM, Kevin.Zhang
> >> > <zhangyongji...@yahoo.com>wrote:
> >> >
> >> >>
> >> >> Hi Charles,
> >> >>
> >> >> Below please find the list of bundles installed:
> >> >>
> >> >> s...@root:/> osgi/list
> >> >> START LEVEL 100
> >> >>   ID   State         Spring     Level  Name
> >> >> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.r752991)
> >> >> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences
> Service
> >> > ........................
> >> >>
> >> >>
> >> >
> >> >
> >> > -----
> >> > Charles Moulliard
> >> > SOA Architect
> >> >
> >> > My Blog : http://cmoulliard.blogspot.com/
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Have-anybody-here-tried-the-tutorial-osgi-camel-part2--tp24327596p24373875.html
> >> Sent from the Camel - Users mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > -----
> > Charles Moulliard
> > SOA Architect
> >
> > My Blog : http://cmoulliard.blogspot.com/
> >
>
> --
> View this message in context:
> http://www.nabble.com/Have-anybody-here-tried-the-tutorial-osgi-camel-part2--tp24327596p24375817.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to