Hi I am Using DM Server 2.0 M5 , while deploying my application I am getting the following execpetion
and DM server log is hereCode:[2009-10-22 14:12:08.314] TCP Connection(4)-127.0.0.1 <DE0056I> Installing bundle 'com.ocimum.btree.mw.util' version '5.0.1.0'. [2009-10-22 14:12:44.247] TCP Connection(4)-127.0.0.1 <ME0003I> Dump 'serviceability\dump\200910221412466' generated [2009-10-22 14:12:44.278] TCP Connection(4)-127.0.0.1 <DE0058E> Install failed for bundle 'com.ocimum.btree.mw.util' version '5.0.1.0'. [2009-10-22 14:12:44.278] TCP Connection(4)-127.0.0.1 <DE0018E> Unable to install application from location 'file:/E:/springsource-dm-server-2.0.0.M5/stage/com.ocimum.btree.mw.util.jar'. Could not satisfy constraints for bundle 'com.ocimum.btree.mw.util' at version '5.0.1.0'. Cannot resolve: com.ocimum.btree.mw.util Resolver report: Uses violation: <Import-Package: org.springframework.web.servlet.tags; version="0.0.0"> in bundle <com.ocimum.btree.mw.util_5.0.1.0> Possible matches: <Export-Package: org.springframework.web.servlet.tags; version="3.0.0.RC1"> from <org.springframework.web.servlet_3.0.0.RC1> No dependent constraint mismatch. Try refreshing the <org.springframework.web.servlet_3.0.0.RC1> bundle. .
I am able to deploy the same bundle in 2.0 m4 succesfully.Code:[2009-10-22 14:10:50.499] SpringOsgiExtenderThread-8 c.s.repository.internal.external.ExternalStorageRepository Duplicate artifact 'E:\springsource-dm-server-2.0.0.M5\repository\ext\org.springframework.osgi.io-1.2.1.jar' discovered in external repository 'ext'. [2009-10-22 14:10:50.906] SpringOsgiExtenderThread-8 c.s.repository.internal.external.ExternalStorageRepository Duplicate artifact 'E:\springsource-dm-server-2.0.0.M5\repository\ext\org.springframework.osgi.extender-1.2.1.jar' discovered in external repository 'ext'. [2009-10-22 14:10:52.389] SpringOsgiExtenderThread-8 c.s.repository.internal.external.ExternalStorageRepository Duplicate artifact 'E:\springsource-dm-server-2.0.0.M5\repository\ext\org.springframework.osgi.core-1.2.1.jar' discovered in external repository 'ext'. [2009-10-22 14:12:07.564] TCP Connection(4)-127.0.0.1 c.s.k.install.artifact.internal.StandardArtifactTypeDeterminer Error occurend while determining the type of an Artifact 'E:\springsource-dm-server-2.0.0.M5\stage\com.ocimum.btree.mw.util.jar' wite the bridge '$Proxy88'. com.springsource.repository.ArtifactGenerationException: Error occured while parsing the manifest. at com.springsource.kernel.artifact.bundle.BundleBridge.generateArtifactDescriptor(BundleBridge.java:99) 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.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy88.generateArtifactDescriptor(Unknown Source) at com.springsource.kernel.install.artifact.internal.StandardArtifactTypeDeterminer.determineType(StandardArtifactTypeDeterminer.java:87) at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.determineType(StandardInstallArtifactTreeInclosure.java:155) at com.springsource.kernel.install.artifact.internal.StandardInstallArtifactTreeInclosure.createInstallTree(StandardInstallArtifactTreeInclosure.java:120) at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:165) at com.springsource.kernel.deployer.management.StandardDeployer.deploy(StandardDeployer.java:60) 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 com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:167) at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:96) at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:33) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1359) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) at sun.rmi.transport.Transport$1.run(Transport.java:159) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:155) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Failed to read manifest from file 'com.ocimum.btree.mw.util.jar'. at com.springsource.kernel.artifact.bundle.BundleBridge.manifestReaderFromJar(BundleBridge.java:305) at com.springsource.kernel.artifact.bundle.BundleBridge.getManifestReader(BundleBridge.java:282) at com.springsource.kernel.artifact.bundle.BundleBridge.generateArtifactDescriptor(BundleBridge.java:93) ... 57 common frames omitted Caused by: java.io.FileNotFoundException: E:\springsource-dm-server-2.0.0.M5\stage\com.ocimum.btree.mw.util.jar (Access is denied) at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:114) at java.util.jar.JarFile.<init>(JarFile.java:133) at java.util.jar.JarFile.<init>(JarFile.java:97) at com.springsource.kernel.artifact.bundle.BundleBridge.manifestReaderFromJar(BundleBridge.java:295) ... 59 common frames omitted [2009-10-22 14:12:44.278] TCP Connection(4)-127.0.0.1 com.springsource.osgi.medic.eventlog.default DE0058E Install failed for bundle 'com.ocimum.btree.mw.util' version '5.0.1.0'. [2009-10-22 14:12:44.278] TCP Connection(4)-127.0.0.1 com.springsource.osgi.medic.eventlog.default DE0018E Unable to install application from location 'file:/E:/springsource-dm-server-2.0.0.M5/stage/com.ocimum.btree.mw.util.jar'. Could not satisfy constraints for bundle 'com.ocimum.btree.mw.util' at version '5.0.1.0'. Cannot resolve: com.ocimum.btree.mw.util Resolver report: Uses violation: <Import-Package: org.springframework.web.servlet.tags; version="0.0.0"> in bundle <com.ocimum.btree.mw.util_5.0.1.0> Possible matches: <Export-Package: org.springframework.web.servlet.tags; version="3.0.0.RC1"> from <org.springframework.web.servlet_3.0.0.RC1> No dependent constraint mismatch. Try refreshing the <org.springframework.web.servlet_3.0.0.RC1> bundle. .


