Results 1 to 2 of 2

Thread: Slices Sample Project - pet clinic deployment problem

  1. #1
    Join Date
    Nov 2009
    Posts
    5

    Angry Slices Sample Project - pet clinic deployment problem

    Hi Everyone,

    I am trying to learn slices and trying to compile and deploy petclinic that comes with it. But when i deploy to pickup directory i get following.

    Caused by: com.springsource.kernel.osgi.framework.UnableToSat isfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.springsource.slices.petclinic.host' at version '1.0.0.BUILD-20100211193221': Import-Bundle with symbolic name 'com.springsource.org.tuckey.web.filters.urlrewrit e' in version range '[3.1.0, 3.1.0]' could not be satisfied
    at com.springsource.kernel.userregion.internal.import expansion.ImportExpansionHandler.getBundlePackageI mports(ImportExpansionHandler.java:282)
    at com.springsource.kernel.userregion.internal.import expansion.ImportExpansionHandler.getAdditionalPack ageImports(ImportExpansionHandler.java:247)
    at com.springsource.kernel.userregion.internal.import expansion.ImportExpansionHandler.expandImports(Imp ortExpansionHandler.java:218)
    at com.springsource.kernel.userregion.internal.import expansion.ImportExpansionHandler.expandImportsIfNe cessary(ImportExpansionHandler.java:184)
    at com.springsource.kernel.userregion.internal.import expansion.ImportExpansionHandler.expandImports(Imp ortExpansionHandler.java:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflection(AopUtils.java:307)
    at org.springframework.osgi.service.importer.support. internal.aop.ServiceInvoker.doInvoke(ServiceInvoke r.java:58)
    at org.springframework.osgi.service.importer.support. internal.aop.ServiceInvoker.invoke(ServiceInvoker. java:62)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.doProceed(DelegatingIntroductionIn terceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.invoke(DelegatingIntroductionInter ceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.osgi.service.util.internal.aop .ServiceTCCLInterceptor.invokeUnprivileged(Service TCCLInterceptor.java:56)
    at org.springframework.osgi.service.util.internal.aop .ServiceTCCLInterceptor.invoke(ServiceTCCLIntercep tor.java:39)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.osgi.service.importer.support. LocalBundleContextAdvice.invoke(LocalBundleContext Advice.java:59)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.doProceed(DelegatingIntroductionIn terceptor.java:131)
    at org.springframework.aop.support.DelegatingIntroduc tionInterceptor.invoke(DelegatingIntroductionInter ceptor.java:119)
    at org.springframework.aop.framework.ReflectiveMethod Invocation.proceed(ReflectiveMethodInvocation.java :172)
    at org.springframework.aop.framework.JdkDynamicAopPro xy.invoke(JdkDynamicAopProxy.java:202)
    at $Proxy64.expandImports(Unknown Source)
    at com.springsource.kernel.deployer.core.internal.Imp ortExpandingTransformer.expandImports(ImportExpand ingTransformer.java:116)
    ... 21 common frames omitted


    Can anyone help,
    TiKi

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

    Default

    This looks like a straightforward missing import or mismatch between the import version range and the available exports. Check the versions of the exports of the missing package that are available in the repository.

    (Also please note that slices is currently just a prototype and is not necessarily kept up to speed as dm Server/Virgo evolves.)
    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
  •