Results 1 to 2 of 2

Thread: pro springsource dm server

  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Default pro springsource dm server

    Hi,

    I get error as below which does not make sense as I have not specified any version constraint in import packages in web bundle.

    Caused by: com.springsource.kernel.osgi.framework.UnableToSat isfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.
    apress.prodmserver.vehicle-1-com.apress.prodmserver.vehicle.web' at version '1.0.0': Cannot resolve: com.apress.prodmserver.vehicle-1-com.ap
    ress.prodmserver.vehicle.web
    Resolver report:
    An Import-Package could not be resolved. Caused by missing constraint in bundle <com.apress.prodmserver.vehicle-1-com.apress.prodmse
    rver.vehicle.web_1.0.0>
    constraint: <Import-Package: com.apress.prodmserver.vehicle.domain; version="0.0.0">

    at com.springsource.kernel.install.pipeline.stage.res olve.internal.QuasiResolveStage.process(QuasiResol veStage.java:54)
    at com.springsource.kernel.install.pipeline.internal. StandardPipeline.doProcessTree(StandardPipeline.ja va:71)
    at com.springsource.kernel.install.pipeline.internal. CompensatingPipeline.doProcessTree(CompensatingPip eline.java:81)
    at com.springsource.kernel.install.pipeline.stage.Abs tractPipelineStage.process(AbstractPipelineStage.j ava:50)
    at com.springsource.kernel.install.pipeline.internal. StandardPipeline.doProcessTree(StandardPipeline.ja va:71)
    at com.springsource.kernel.install.pipeline.stage.Abs tractPipelineStage.process(AbstractPipelineStage.j ava:50)
    at com.springsource.kernel.deployer.core.internal.Pip elinedApplicationDeployer.driveInstallPipeline(Pip elinedApplicationDeployer.jav
    a:277)
    ... 10 common frames omitted


    Here is par:

    C:\springsource-dm-server-2.0.1.RELEASE\pickup>jar tvf com.apress.prodmserver.ve
    hicle-1.0.0.par
    171 Thu Apr 15 15:10:40 IST 2010 META-INF/MANIFEST.MF
    2731 Thu Apr 15 15:10:28 IST 2010 com.apress.prodmserver.vehicle.repository.jp
    a-1.0.0.jar
    7635 Thu Apr 15 15:10:40 IST 2010 com.apress.prodmserver.vehicle.web-1.0.0.war

    2520 Thu Apr 15 15:10:28 IST 2010 com.apress.prodmserver.vehicle.service-1.0.0
    .jar
    2069 Thu Apr 15 15:10:28 IST 2010 com.apress.prodmserver.vehicle.domain-1.0.0.
    jar
    1039 Thu Apr 15 15:10:28 IST 2010 com.apress.prodmserver.vehicle.infrastructur
    e.derby-1.0.0.jar
    629 Thu Apr 15 15:10:28 IST 2010 com.apress.prodmserver.vehicle.repository-1.
    0.0.jar



    Actually earlier I was having error related to spring mock and javax.persistence versions. I edited the eclipse link manifest to look for 1.0.0 javax.persistence and then removed aspectj lib dependency and replaced with aspectj package imports instead. But now I get above error when deploying.

    Regards,

    Miten.

  2. #2
    Join Date
    Oct 2008
    Location
    Winchester, UK
    Posts
    535

    Default

    I agree the error is unexpected. It smacks of a typo somewhere in a manifest.

    You could analyse the state dump that was produced using the admin console and pay particular attention to the imports and exports of the package com.apress.prodmserver.vehicle.domain to make sure they match.

    An alternative approach would be to start from the original version and check that that works before editing it. If it works, you could then play "spot the difference". If it doesn't work, perhaps you could contact the authors.
    Glyn Normington
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •