Community
Participate
Working Groups
Build Identifier: Virgo Web Server 2.1.0 I am try run green page 2.3. If the virgo web server install in a directory containers space, i.e. "C:\a b\virgo-web-server-2.1.0.RELEASE", the server throws class not found exception and shutdown. console output: [2011-02-21 11:53:15.718] startup-tracker <KE0001I> Kernel starting. [2011-02-21 11:53:19.000] startup-tracker <KE0002I> Kernel started. [2011-02-21 11:53:19.093] system-artifacts <DE0000I> Installing plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. [2011-02-21 11:53:19.468] system-artifacts <DE0000I> Installing bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:19.593] system-artifacts <DE0000I> Installing bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:19.640] system-artifacts <DE0000I> Installing bundle 'org.springframework.osgi.io' version '1.2.1'. [2011-02-21 11:53:19.671] system-artifacts <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:19.687] system-artifacts <DE0000I> Installing bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:20.453] system-artifacts <DE0001I> Installed bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.453] system-artifacts <DE0001I> Installed bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:20.468] system-artifacts <DE0001I> Installed bundle 'org.springframework.osgi.io' version '1.2.1'. [2011-02-21 11:53:20.468] system-artifacts <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:20.468] system-artifacts <DE0001I> Installed bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:20.484] system-artifacts <DE0001I> Installed plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. [2011-02-21 11:53:20.531] system-artifacts <DE0004I> Starting plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. [2011-02-21 11:53:20.546] system-artifacts <DE0004I> Starting bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.562] start-signalling-1 <DE0005I> Started bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.562] system-artifacts <DE0004I> Starting bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:20.578] system-artifacts <DE0010I> Stopping bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:20.593] system-artifacts <DE0011I> Stopped bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:20.609] start-signalling-1 <DE0006E> Start failed for bundle 'org.springframework.osgi.extender' version '1.2.1'. java.lang.RuntimeException: bundle stopped at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$StartupTrackerBundleListener.bundleChanged(BundleStartTracker.java:246) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:395) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284) at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStarter.java:57) at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStarter.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.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 $Proxy60.start(Unknown Source) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.startBundle(StandardBundleDriver.java:168) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.start(StandardBundleDriver.java:149) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact.doStart(StandardBundleInstallArtifact.java:253) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoStart(AbstractInstallArtifact.java:203) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact.start(StandardBundleInstallArtifact.java:242) at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.doStart(StandardPlanInstallArtifact.java:122) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoStart(AbstractInstallArtifact.java:203) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.start(AbstractInstallArtifact.java:194) at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.start(PipelinedApplicationDeployer.java:285) at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:195) at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.deployArtifacts(InitialArtifactDeployer.java:155) at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.run(InitialArtifactDeployer.java:145) at java.lang.Thread.run(Unknown Source) [2011-02-21 11:53:20.609] system-artifacts <DE0006E> Start failed for bundle 'org.springframework.osgi.extender' version '1.2.1'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: BundleException at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.startBundle(StandardBundleDriver.java:170) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.start(StandardBundleDriver.java:149) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact.doStart(StandardBundleInstallArtifact.java:253) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoStart(AbstractInstallArtifact.java:203) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact.start(StandardBundleInstallArtifact.java:242) at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.doStart(StandardPlanInstallArtifact.java:122) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoStart(AbstractInstallArtifact.java:203) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.start(AbstractInstallArtifact.java:194) at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.start(PipelinedApplicationDeployer.java:285) at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:195) at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.deployArtifacts(InitialArtifactDeployer.java:155) at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.run(InitialArtifactDeployer.java:145) at java.lang.Thread.run(Unknown Source) Caused by: org.osgi.framework.BundleException: The activator org.springframework.osgi.extender.internal.activator.ContextLoaderListener for bundle org.springframework.osgi.extender is invalid at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:156) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284) at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStarter.java:57) at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStarter.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.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 $Proxy60.start(Unknown Source) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.startBundle(StandardBundleDriver.java:168) ... 12 common frames omitted Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: org.springframework.osgi.extender.internal.activator.ContextLoaderListener in KernelBundleClassLoader: [bundle=org.springframework.osgi.extender_1.2.1] at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:139) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:149) ... 36 common frames omitted Caused by: java.lang.ClassNotFoundException: org.springframework.osgi.extender.internal.activator.ContextLoaderListener at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:135) ... 40 common frames omitted [2011-02-21 11:53:20.625] system-artifacts <DE0013I> Uninstalling plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. [2011-02-21 11:53:20.625] start-signalling-1 <DE0006E> Start failed for plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. java.lang.RuntimeException: bundle stopped at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$StartupTrackerBundleListener.bundleChanged(BundleStartTracker.java:246) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:919) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227) at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1349) at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1300) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:395) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284) at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStarter.java:57) at org.eclipse.virgo.kernel.core.internal.StandardBundleStarter.start(StandardBundleStarter.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.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 $Proxy60.start(Unknown Source) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.startBundle(StandardBundleDriver.java:168) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleDriver.start(StandardBundleDriver.java:149) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact.doStart(StandardBundleInstallArtifact.java:253) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoStart(AbstractInstallArtifact.java:203) at org.eclipse.virgo.kernel.install.artifact.internal.bundle.StandardBundleInstallArtifact.start(StandardBundleInstallArtifact.java:242) at org.eclipse.virgo.kernel.install.artifact.internal.StandardPlanInstallArtifact.doStart(StandardPlanInstallArtifact.java:122) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.driveDoStart(AbstractInstallArtifact.java:203) at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.start(AbstractInstallArtifact.java:194) at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.start(PipelinedApplicationDeployer.java:285) at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:195) at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.deployArtifacts(InitialArtifactDeployer.java:155) at org.eclipse.virgo.kernel.userregion.internal.InitialArtifactDeployer$ArtifactDeployingRunnable.run(InitialArtifactDeployer.java:145) at java.lang.Thread.run(Unknown Source) [2011-02-21 11:53:20.625] system-artifacts <DE0010I> Stopping bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.640] system-artifacts <DE0011I> Stopped bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.640] system-artifacts <DE0013I> Uninstalling bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.656] system-artifacts <DE0014I> Uninstalled bundle 'org.springframework.osgi.core' version '1.2.1'. [2011-02-21 11:53:20.828] system-artifacts <DE0013I> Uninstalling bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:20.843] system-artifacts <DE0014I> Uninstalled bundle 'org.springframework.osgi.extender' version '1.2.1'. [2011-02-21 11:53:20.906] system-artifacts <DE0013I> Uninstalling bundle 'org.springframework.osgi.io' version '1.2.1'. [2011-02-21 11:53:20.906] system-artifacts <DE0014I> Uninstalled bundle 'org.springframework.osgi.io' version '1.2.1'. [2011-02-21 11:53:20.953] system-artifacts <DE0013I> Uninstalling bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:20.968] system-artifacts <DE0014I> Uninstalled bundle 'org.eclipse.virgo.kernel.agent.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:20.984] system-artifacts <DE0013I> Uninstalling bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:21.000] system-artifacts <DE0014I> Uninstalled bundle 'org.eclipse.virgo.kernel.deployer.dm' version '2.1.0.RELEASE'. [2011-02-21 11:53:21.031] system-artifacts <DE0014I> Uninstalled plan 'org.eclipse.virgo.kernel.userregion.springdm' version '2.1.0'. [2011-02-21 11:53:21.031] system-artifacts <UR0002E> User region failed while deploying initial artifacts. Shutting down. [2011-02-21 11:53:21.031] System Bundle Shutdown <KE0010I> Shutdown initiated. enviroment: java 6+eclipse-3.6.1 Reproducible: Always Steps to Reproduce: 1.make directory c:\a b 2.extra virgo-web-server-2.1.0.RELEASE.zip to C:\a b\virgo-web-server-2.1.0.RELEASE 3.import green page 2.3 project into workspace 4.create new virgo web server, set the runtime to c:\a b\virgo-web-server-2.1.0.RELEASE, add greenpages-solution to server 5.start server
Thanks for raising this.
Hello, I tested the issue described above with the latest Virgo milestone release which is 3.0.0.M03. The issue is not reproducible. As there is a workaround i.e. extract Virgo distribution into a directory with a path that does not contain white spaces, I would prefer not to make changes in the old versions. Regards, Violeta
FYI, this problem is back, at least as of version 3.0.5.RELEASE. I have the virgo distribution unzipped into the directory "~/test dir/" on my OS X machine; when I try to start virgo up, the console output is: test dir $ bin/startup.sh /Users/levineja/test dir/virgo-tomcat-server-3.0.2.RELEASE/bin/dmk.sh: line 21: cd: /Users/levineja/test: Not a directory /Users/levineja/test dir/virgo-tomcat-server-3.0.2.RELEASE/bin/dmk.sh: line 27: [: /Users/levineja/test: binary operator expected chmod: dir/virgo-tomcat-server-3.0.2.RELEASE/config/org.eclipse.virgo.kernel.jmxremote.access.properties: No such file or directory mkdir: /Users/levineja/test: File exists /Users/levineja/test dir/virgo-tomcat-server-3.0.2.RELEASE/bin/dmk.sh: line 168: cd: /Users/levineja/test: Not a directory Error: Exception thrown by the agent : java.lang.IllegalArgumentException: Expected word at end of line [test ] It's obviously not a *huge* issue, but it's probably worth addressing -- for me, it means that I have to have the distro in a place different than my regular workflow, which isn't a killer but is sure to get confusing here and there.
Oh, and that was an unfortunate typo; I meant 3.0.2.RELEASE. Sorry about that.