Hello,

I'm using springsource-ap-1.0.0.RC1 and found what is apparently a bug. When I deploy a PAR, it occasionally throws a java.util.ConcurrentModificationException error and fails to deploy. However, if I restart the platform or try to re-deploy the same PAR 3-4 times its succeeds.
I believe it might be something to do with the default timeouts to lookup services or something along those lines.

Here is the error stack when deployment of the PAR fails:

[2008-08-18 12:42:56.546] platform-dm-13 <SPDE0020E> Application context creation failure for bundle 'HelloWorld-1-com.springosgi.web'.
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'helloWorldServiceBean': Initialization of bean failed; nested exception is java.util.ConcurrentModificationException
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:480)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 64)
at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:221)
at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:261 )
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:164)
at

And like I mentioned, this error occurs some of the time, other times it deploys the same PAR with no issues.