Announcement Announcement Module
Collapse
No announcement yet.
ConcurrentModiciationException when genering uses conflict error message Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ConcurrentModiciationException when genering uses conflict error message

    I'm trying to deploy a simple bundle, with a manifest generated by Bundlor M6 (and the latest nightly dm server tools in STS) to dm Server CI458. When the kernel is computing the error message for display, it gets a ConcurrentModificationException. So, there are really two problems, my simple bundle didn't deploy (I wonder why, and I can't debug it without output), and this error that prevents dm Server from telling me why. Any help would be appreciated. I'm dead in the water at the moment. Thanks!

    I filed this in JIRA:
    https://issuetracker.springsource.com/browse/DMS-2021

    2009-11-11 15:17:49.227] TCP Connection(4)-127.0.0.1 <> Error occurend while determining the type of an Artifact 'R:\bin\springsource\dm-server-2.0.0.CI-458\stage\plateaucommon-foundation.jar' wite the bridge '$Proxy83'. com.springsource.repository.ArtifactGenerationExce ption: Error occured while parsing the manifest.
    at com.springsource.kernel.artifact.bundle.BundleBrid ge.generateArtifactDescriptor(BundleBridge.java:99 )
    at sun.reflect.GeneratedMethodAccessor66.invoke(Unkno wn Source)
    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 $Proxy83.generateArtifactDescriptor(Unknown Source)
    at com.springsource.kernel.install.artifact.internal. StandardArtifactTypeDeterminer.determineType(Stand ardArtifactTypeDeterminer.java:87)
    at com.springsource.kernel.install.artifact.internal. StandardInstallArtifactTreeInclosure.determineType (StandardInstallArtifactTreeInclosure.java:142)
    at com.springsource.kernel.install.artifact.internal. StandardInstallArtifactTreeInclosure.createInstall Tree(StandardInstallArtifactTreeInclosure.java:118 )
    at com.springsource.kernel.deployer.core.internal.Pip elinedApplicationDeployer.doInstall(PipelinedAppli cationDeployer.java:159)
    at com.springsource.kernel.deployer.core.internal.Pip elinedApplicationDeployer.install(PipelinedApplica tionDeployer.java:142)
    at com.springsource.kernel.deployer.core.internal.Pip elinedApplicationDeployer.deploy(PipelinedApplicat ionDeployer.java:206)
    at com.springsource.kernel.deployer.management.Standa rdDeployer.deploy(StandardDeployer.java:62)
    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 com.sun.jmx.mbeanserver.ConvertingMethod.invokeWit hOpenReturn(ConvertingMethod.java:167)
    at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM 2(MXBeanIntrospector.java:96)
    at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM 2(MXBeanIntrospector.java:33)
    at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM( MBeanIntrospector.java:208)
    at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInt erface.java:120)
    at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanS upport.java:262)
    at com.sun.jmx.interceptor.DefaultMBeanServerIntercep tor.invoke(DefaultMBeanServerInterceptor.java:836)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxM BeanServer.java:761)
    at javax.management.remote.rmi.RMIConnectionImpl.doOp eration(RMIConnectionImpl.java:1426)
    at javax.management.remote.rmi.RMIConnectionImpl.acce ss$200(RMIConnectionImpl.java:72)
    at javax.management.remote.rmi.RMIConnectionImpl$Priv ilegedOperation.run(RMIConnectionImpl.java:1264)
    at javax.management.remote.rmi.RMIConnectionImpl.doPr ivilegedOperation(RMIConnectionImpl.java:1359)
    at javax.management.remote.rmi.RMIConnectionImpl.invo ke(RMIConnectionImpl.java:788)
    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 sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    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$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(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 'plateaucommon-foundation.jar'.
    at com.springsource.kernel.artifact.bundle.BundleBrid ge.manifestReaderFromJar(BundleBridge.java:305)
    at com.springsource.kernel.artifact.bundle.BundleBrid ge.getManifestReader(BundleBridge.java:282)
    at com.springsource.kernel.artifact.bundle.BundleBrid ge.generateArtifactDescriptor(BundleBridge.java:93 )
    ... 58 common frames omitted
    Caused by: java.io.FileNotFoundException: R:\bin\springsource\dm-server-2.0.0.CI-458\stage\plateaucommon-foundation.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.BundleBrid ge.manifestReaderFromJar(BundleBridge.java:295)
    ... 60 common frames omitted

  • #2
    Thanks, JC.

    For those not following the JIRA, this issue is now resolved in the latest nightly builds.

    Comment

    Working...
    X