Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » can not deploy CXF 1.3.1 on Virgo 3.5
icon9.gif  can not deploy CXF 1.3.1 on Virgo 3.5 [message #978779] Sat, 10 November 2012 10:10 Go to next message
TRAN Lap is currently offline TRAN LapFriend
Messages: 7
Registered: November 2012
Junior Member
Dear experts,

I am trying to create my Web Service by using the Apache CXF on Virgo server.
When i try to deploy the CXF single bundle (cxf-dosgi-ri-singlebundle-distribution-1.3.1.jar) on Virgo, I got these problems:

1. Deploy bundle form Admin UI (Artifact Console) ==> admin_deploy_log.log:

Quote:
[2012-11-10 16:15:00.109] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.web.core_3.5.0.RELEASE, Service 277, ServiceEvent REGISTERED
[2012-11-10 16:15:00.140] INFO SpringOsgiExtenderThread-8 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl *** Filter: (objectClass=org.eclipse.virgo.kernel.shell.state.StateService)
[2012-11-10 16:15:00.156] INFO SpringOsgiExtenderThread-8 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl *** Filter: (objectClass=org.eclipse.virgo.kernel.module.ModuleContextAccessor)
[2012-11-10 16:15:00.156] INFO SpringOsgiExtenderThread-8 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl *** Filter: (objectClass=org.eclipse.virgo.kernel.osgi.quasi.QuasiFrameworkFactory)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err Exception in thread "SpringOsgiExtenderThread-6" java.lang.IllegalArgumentException: The service object is not an instance of the service class org.springframework.core.io.support.ResourcePatternResolver
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:209)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:344)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:237)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
[2012-11-10 16:15:00.156] ERROR SpringOsgiExtenderThread-6 System.err at java.lang.Thread.run(Thread.java:619)
[2012-11-10 16:15:00.156] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.apps.admin.core_3.5.0.RELEASE, Service 278, ServiceEvent REGISTERED
[2012-11-10 16:15:00.171] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.apps.admin.core_3.5.0.RELEASE, Service 279, ServiceEvent REGISTERED
[2012-11-10 16:15:00.171] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.apps.admin.core_3.5.0.RELEASE, Service 280, ServiceEvent REGISTERED
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err Exception in thread "SpringOsgiExtenderThread-8" java.lang.IllegalArgumentException: The service object is not an instance of the service class org.springframework.core.io.support.ResourcePatternResolver
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:209)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:344)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:237)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
[2012-11-10 16:15:00.171] ERROR SpringOsgiExtenderThread-8 System.err at java.lang.Thread.run(Thread.java:619)
[2012-11-10 16:15:00.218] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.web.core_3.5.0.RELEASE, Service 281, ServiceEvent REGISTERED
[2012-11-10 16:15:00.218] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.gemini.web.tomcat_2.1.0.RELEASE, Service 282, ServiceEvent REGISTERED
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err Exception in thread "SpringOsgiExtenderThread-7" java.lang.IllegalArgumentException: The service object is not an instance of the service class org.springframework.core.io.support.ResourcePatternResolver
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:209)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:344)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:237)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
[2012-11-10 16:15:00.234] ERROR SpringOsgiExtenderThread-7 System.err at java.lang.Thread.run(Thread.java:619)
[2012-11-10 16:15:00.234] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.web.core_3.5.0.RELEASE, Service 283, ServiceEvent REGISTERED
[2012-11-10 16:15:00.250] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.web.core_3.5.0.RELEASE, Service 284, ServiceEvent REGISTERED
[2012-11-10 16:15:00.250] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.web.core_3.5.0.RELEASE, Service 285, ServiceEvent REGISTERED
[2012-11-10 16:15:00.250] INFO SpringOsgiExtenderThread-9 org.apache.cxf.dosgi.topologymanager.ListenerHookImpl *** Filter: (objectClass=org.eclipse.virgo.repository.HashGenerator)
[2012-11-10 16:15:00.265] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle org.eclipse.virgo.web.core_3.5.0.RELEASE, Service 286, ServiceEvent REGISTERED
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err Exception in thread "SpringOsgiExtenderThread-9" java.lang.IllegalArgumentException: The service object is not an instance of the service class org.springframework.core.io.support.ResourcePatternResolver
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:209)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:344)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:237)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
[2012-11-10 16:15:00.265] ERROR SpringOsgiExtenderThread-9 System.err at java.lang.Thread.run(Thread.java:619)
[2012-11-10 16:15:04.750] INFO http-bio-8080-exec-5 org.apache.cxf.dosgi.dsw.qos.IntentMap Injected intents: {addressing=org.apache.cxf.ws.policy.WSPolicyFeature@510a0, logging=org.apache.cxf.feature.LoggingFeature@8684b1, SOAP=org.apache.cxf.binding.soap.SoapBindingConfiguration@171bc3b, SOAP.1_1=org.apache.cxf.binding.soap.SoapBindingConfiguration@171bc3b, SOAP.1_2=org.apache.cxf.binding.soap.SoapBindingConfiguration@1fcdbc5, HTTP=PROVIDED}
[2012-11-10 16:15:04.750] INFO http-bio-8080-exec-5 org.apache.cxf.dosgi.dsw.Activator Registering RemoteServiceAdminFactory...
[2012-11-10 16:15:04.750] INFO http-bio-8080-exec-5 org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList Adding RemoteServiceAdmin to list of admins
[2012-11-10 16:15:04.765] INFO http-bio-8080-exec-5 org.apache.cxf.dosgi.topologymanager.RemoteServiceAdminList enlisted RemoteEventAdmins: 0
[2012-11-10 16:15:04.765] INFO http-bio-8080-exec-5 org.apache.cxf.dosgi.topologymanager.TopologyManager TopologyManager: triggerExportImportForRemoteSericeAdmin()
[2012-11-10 16:15:04.765] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle cxf-dosgi-ri-singlebundle-distribution_1.3.1, Service 287, ServiceEvent REGISTERED
[2012-11-10 16:15:04.812] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle cxf-dosgi-ri-singlebundle-distribution_1.3.1, Service 288, ServiceEvent REGISTERED
[2012-11-10 16:15:04.812] INFO http-bio-8080-exec-5 org.eclipse.virgo.kernel.core.internal.BundleStartTracker Non-Spring DM powered bundle 'cxf-dosgi-ri-singlebundle-distribution_1.3.1 [138]' has started. Driving signals '[org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal@14935f3]'.
[2012-11-10 16:15:04.812] INFO start-signalling-3 org.eclipse.virgo.kernel.core.internal.BundleStartTracker Driving signal 'org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal@14935f3'
[2012-11-10 16:15:04.812] INFO start-signalling-3 o.e.v.k.i.artifact.internal.bundle.BundleThreadContextManager Thread context class loader 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]' pushed and set to 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]'
[2012-11-10 16:15:04.812] INFO http-bio-8080-exec-5 o.e.v.k.i.artifact.internal.bundle.BundleThreadContextManager Thread context class loader 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]' popped and set to 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]'
[2012-11-10 16:15:04.812] INFO http-bio-8080-exec-5 o.e.v.k.i.artifact.internal.bundle.BundleThreadContextManager Thread context class loader 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]' popped and set to 'org.eclipse.gemini.web.tomcat.internal.loading.BundleWebappClassLoader@1da63c3'
[2012-11-10 16:15:04.812] INFO start-signalling-3 org.eclipse.virgo.medic.eventlog.default DE0005I Started bundle 'cxf-dosgi-ri-singlebundle-distribution' version '1.3.1'.
[2012-11-10 16:15:04.812] INFO start-signalling-3 o.e.v.k.i.artifact.internal.bundle.BundleThreadContextManager Thread context class loader 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]' popped and set to 'KernelBundleClassLoader: [bundle=cxf-dosgi-ri-singlebundle-distribution_1.3.1]'
[2012-11-10 16:15:04.812] INFO OSGiLogServiceListener@9fdee org.osgi.service.log.LogService Bundle cxf-dosgi-ri-singlebundle-distribution_1.3.1, BundleEvent STARTED


By this way, although, there are some errors in the log file but the CXF service works and my web service is hosted. But the inconvenience of this ways is the bundle does not start automatic when the the Virgo server restarts and we need deploy it manually.

2. When i try using hot-deploy (put it in pickup folder):

==> screen_log.zip, file_log.zip

Quote:

[2012-11-10 16:08:21.250] start-signalling-3 <DE0005I> Started bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.core' version '3.5.0.RELEASE'.
[2012-11-10 16:08:21.984] fs-watcher <DE0000I> Installing bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE'.
[2012-11-10 16:08:22.046] fs-watcher <DE0001I> Installed bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE'.
[2012-11-10 16:08:22.250] fs-watcher <DE0004I> Starting bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE'.
[2012-11-10 16:08:22.250] start-signalling-3 <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:22.281] start-signalling-3 <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:22.640] start-signalling-1 <WE0003I> Stopped web bundle 'org.eclipse.virgo.apps.admin.web' version '3.5.0.RELEASE' with context path '/admin'.
[2012-11-10 16:08:22.640] start-signalling-1 <WE0003I> Stopped web bundle 'org.eclipse.virgo.apps.admin.web' version '3.5.0.RELEASE' with context path '/admin'.
[2012-11-10 16:08:22.640] start-signalling-1 <DE0010I> Stopping bundle 'org.eclipse.virgo.apps.admin.web' version '3.5.0.RELEASE'.
[2012-11-10 16:08:22.656] start-signalling-1 <DE0011I> Stopped bundle 'org.eclipse.virgo.apps.admin.web' version '3.5.0.RELEASE'.
[2012-11-10 16:08:22.656] start-signalling-1 <DE0011I> Stopped plan 'org.eclipse.virgo.apps.admin.plan' version '3.5.0'.
[2012-11-10 16:08:22.656] start-signalling-1 <DE0006E> Start failed for bundle 'org.eclipse.virgo.apps.admin.web' version '3.5.0.RELEASE'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Web application failed to start
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:132)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
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: org.eclipse.gemini.web.core.WebApplicationStartFailedException: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/admin' already exists
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:123)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/admin' already exists
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:218)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:95)
... 9 common frames omitted

[2012-11-10 16:08:22.718] start-signalling-1 <DE0006E> Start failed for plan 'org.eclipse.virgo.apps.admin.plan' version '3.5.0'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Web application failed to start
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:132)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
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: org.eclipse.gemini.web.core.WebApplicationStartFailedException: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/admin' already exists
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:123)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/admin' already exists
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:218)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:95)
... 9 common frames omitted

[2012-11-10 16:08:23.218] start-signalling-3 <WE0001I> Started web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.234] start-signalling-3 <WE0001I> Started web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.234] start-signalling-3 <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.234] start-signalling-3 <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.250] start-signalling-3 <WE0004E> Failed to start web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE': a web application with context path '/' already exists.
[2012-11-10 16:08:23.265] start-signalling-3 <WE0004E> Failed to start web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE': a web application with context path '/' already exists.
[2012-11-10 16:08:23.265] start-signalling-3 <DE0006E> Start failed for bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Web application failed to start
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:132)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
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: org.eclipse.gemini.web.core.WebApplicationStartFailedException: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '' already exists
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:123)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '' already exists
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:218)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:95)
... 9 common frames omitted

[2012-11-10 16:08:23.312] start-signalling-3 <WE0002I> Stopping web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.328] start-signalling-3 <WE0002I> Stopping web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.343] start-signalling-3 <WE0003I> Stopped web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.343] start-signalling-3 <WE0003I> Stopped web bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE' with context path '/'.
[2012-11-10 16:08:23.343] start-signalling-3 <DE0010I> Stopping bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.375] start-signalling-3 <DE0011I> Stopped bundle 'org.eclipse.virgo.apps.splash' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.375] start-signalling-2 <WE0001I> Started web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.390] start-signalling-2 <WE0001I> Started web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.390] start-signalling-2 <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.390] start-signalling-2 <WE0000I> Starting web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.453] start-signalling-2 <WE0004E> Failed to start web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE': a web application with context path '/org.eclipse.virgo.apps.repository' already exists.
[2012-11-10 16:08:23.453] start-signalling-2 <WE0004E> Failed to start web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE': a web application with context path '/org.eclipse.virgo.apps.repository' already exists.
[2012-11-10 16:08:23.453] start-signalling-2 <DE0010I> Stopping par 'org.eclipse.virgo.apps.repository' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.484] start-signalling-2 <DE0010I> Stopping bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.core' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.500] start-signalling-2 <DE0011I> Stopped bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.core' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.515] start-signalling-2 <WE0002I> Stopping web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.515] start-signalling-2 <WE0002I> Stopping web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.531] start-signalling-2 <WE0003I> Stopped web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.546] start-signalling-2 <WE0003I> Stopped web bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE' with context path '/org.eclipse.virgo.apps.repository'.
[2012-11-10 16:08:23.546] start-signalling-2 <DE0010I> Stopping bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.546] start-signalling-2 <DE0011I> Stopped bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.562] start-signalling-2 <DE0010I> Stopping bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-synthetic.context' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.562] start-signalling-2 <DE0011I> Stopped bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-synthetic.context' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.562] start-signalling-2 <DE0011I> Stopped par 'org.eclipse.virgo.apps.repository' version '3.5.0.RELEASE'.
[2012-11-10 16:08:23.562] start-signalling-2 <DE0006E> Start failed for bundle 'org.eclipse.virgo.apps.repository-3.5.0.RELEASE-org.eclipse.virgo.apps.repository.web' version '3.5.0.RELEASE'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Web application failed to start
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:132)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
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: org.eclipse.gemini.web.core.WebApplicationStartFailedException: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/org.eclipse.virgo.apps.repository' already exists
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:123)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/org.eclipse.virgo.apps.repository' already exists
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:218)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:95)
... 9 common frames omitted

[2012-11-10 16:08:23.625] start-signalling-2 <DE0006E> Start failed for par 'org.eclipse.virgo.apps.repository' version '3.5.0.RELEASE'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Web application failed to start
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:132)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
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: org.eclipse.gemini.web.core.WebApplicationStartFailedException: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/org.eclipse.virgo.apps.repository' already exists
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:123)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/org.eclipse.virgo.apps.repository' already exists
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:218)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:120)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:95)
... 9 common frames omitted


Please see the full log in attached files

If you know how to deploy CXF on Virgo server, please help me.

Thank you very much!
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #981318 is a reply to message #978779] Mon, 12 November 2012 10:23 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Hot deploying should be equivalent to deploying via the web admin console. The event logs from hot deployment look a bit strange. The Virgo-supplied applications seem to be conflicting with themselves, which is really odd. Did you start with -clean?
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #981405 is a reply to message #981318] Mon, 12 November 2012 11:37 Go to previous messageGo to next message
TRAN Lap is currently offline TRAN LapFriend
Messages: 7
Registered: November 2012
Junior Member
Hi Glyn,

Thanks for your response.

I just did these steps:

1. Download virgo-tomcat-server-3.5.0.RELEASE.zip from
http-www.eclipse.org/virgo/download/ and extract to a folder

2. Download cxf-dosgi-ri-singlebundle-distribution-1.3.1.jar from http-cxf.apache.org/dosgi-releases.html

3. copy cxf-dosgi-ri-singlebundle-distribution-1.3.1.jar to the pickup folder of Virgo server.

4. start Virgo from command line:
startup.bat or
startup.bat -clean

==> I got the same error

My java is "1.6.0_22"

Please help me.

Thank you very much!
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #981417 is a reply to message #981405] Mon, 12 November 2012 11:49 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Thanks for the instructions. I'll try to reproduce the problem later this week.
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #984296 is a reply to message #981417] Wed, 14 November 2012 15:21 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
I reproduced the problem by starting VTS 3.5.0.RELEASE with cxf-dosgi-ri-singlebundle-distribution-1.3.1.jar ("uber bundle") in pickup. It seems that the uber bundle is interfering with the normal functioning of the web container/web apps in Virgo. If I drop the uber bundle into pickup after the Virgo-provided web apps have started, then those web apps seem to continue to function ok.

I've successfully used version 1.3 of the uber bundle with Virgo kernel 3.5.0.M03. I imagine that the lack of a web container in the Virgo kernel avoids interference from the uber bundle.

I also tried starting a recent 3.6 kernel development build with the uber bundle in pickup and the new web admin console (which uses a HTTP service to serve itself) works fine.

I'm guessing that the uber bundle has some machinery which interferes with VTS and its web container. I noticed, for instance, that the uber bundle has some service registry hooks and also publishes its own Configuration Admin service, so it's far from being a typical bundle.

The best way forward I can suggest is to use individual bundles from CXF rather than the uber bundle. I suppose you could also ask the CXF project why the uber bundle might interfere with the container in which it runs, although I doubt they could avoid that easily.
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #984927 is a reply to message #978779] Thu, 15 November 2012 03:05 Go to previous messageGo to next message
TRAN Lap is currently offline TRAN LapFriend
Messages: 7
Registered: November 2012
Junior Member
Hi Glyn,

Thanks for your response.

I am trying to deploy CXF by using cxf-dosgi-ri-multibundle-distribution-1.3.1-dir.zip and ask the CXF project.

[Updated on: Thu, 15 November 2012 03:08]

Report message to a moderator

Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #986578 is a reply to message #984927] Wed, 21 November 2012 02:48 Go to previous messageGo to next message
TRAN Lap is currently offline TRAN LapFriend
Messages: 7
Registered: November 2012
Junior Member
Hi,

I posted this problem to Apache Issue Tracker, for now the solution is not OK.

Here is my solution. Using the single-distribution: cxf-dosgi-ri-singlebundle-distribution-1.3.1.jar

1. Copy cxf-dosgi-ri-singlebundle-distribution-1.3.1.jar to "{VIRGO_HOME}\repository\ext" folder.
Of course, you can use your own folder and configure it in "org.eclipse.virgo.repository.properties"

2. Create a plan with the prefix "zzz" in folder {VIRGO_HOME}\pickup\, for example: "zzz.cxf.plan"
It means, I want to tell to Virgo Server that: please start "zzz.cxf.plan" after "org.eclipse.virgo.apps.admin..."

3. Start your Virgo Server normally(startup.bat -clean). The Virgo Admin and CXF can deploy together.

It's OK with me for now Smile
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #986650 is a reply to message #986578] Wed, 21 November 2012 09:56 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
The contents of pickup are not guaranteed to be deployed in alphanumeric order of file name. The only way to be sure of the order is to create an over-arching plan which refers to the artefacts (including plans) currently in pickup, move those other artefacts from pickup to repository/usr, and place the over-arching plan in pickup.

[Updated on: Wed, 21 November 2012 09:56]

Report message to a moderator

Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #987033 is a reply to message #978779] Fri, 23 November 2012 04:11 Go to previous messageGo to next message
TRAN Lap is currently offline TRAN LapFriend
Messages: 7
Registered: November 2012
Junior Member
Thanks Glyn,

You are right.

Your way is better.
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #1091105 is a reply to message #986578] Wed, 21 August 2013 03:50 Go to previous messageGo to next message
dalei dai is currently offline dalei daiFriend
Messages: 2
Registered: August 2013
Junior Member
hi,

I have the same problems with you . I do it under you steps,but the virgo Console show me an exception:

[2013-08-21 11:39:35.945] fs-watcher <DE0002E> Installation of plan 'zz.cxf.plan' version '1.3.1' failed. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Deployment of plan 'zz.cxf.plan' version '1.3.1' in scope 'null' failed: bundle 'cxf-dosgi-ri-singlebundle-distribution' in version range '[1.3.1, 1.3.1]' not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:116)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:92)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:86)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visitInternal(ThreadSafeGraphNode.java:193)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visit(ThreadSafeGraphNode.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:82)
at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessGraph(TransformationStage.java:54)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:360)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:139)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:252)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:163)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeployerFileSystemListener.java:175)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:76)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:48)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.virgo.kernel.deployer.core.DeploymentException: bundle 'cxf-dosgi-ri-singlebundle-distribution' in version range '[1.3.1, 1.3.1]' not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.obtainInstallArtifactGraph(PlanResolver.java:165)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:101)
... 23 common frames omitted




Can you help me,and show me your "zz.cxf.plan"?

Thank you !
Re: can not deploy CXF 1.3.1 on Virgo 3.5 [message #1091108 is a reply to message #986650] Wed, 21 August 2013 03:51 Go to previous message
dalei dai is currently offline dalei daiFriend
Messages: 2
Registered: August 2013
Junior Member
Glyn Normington wrote on Wed, 21 November 2012 04:56
The contents of pickup are not guaranteed to be deployed in alphanumeric order of file name. The only way to be sure of the order is to create an over-arching plan which refers to the artefacts (including plans) currently in pickup, move those other artefacts from pickup to repository/usr, and place the over-arching plan in pickup.


hi,

I have the same problems with you . I do it under you steps,but the virgo Console show me an exception:

[2013-08-21 11:39:35.945] fs-watcher <DE0002E> Installation of plan 'zz.cxf.plan' version '1.3.1' failed. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Deployment of plan 'zz.cxf.plan' version '1.3.1' in scope 'null' failed: bundle 'cxf-dosgi-ri-singlebundle-distribution' in version range '[1.3.1, 1.3.1]' not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:116)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.access$0(PlanResolver.java:92)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver$1.visit(PlanResolver.java:86)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visitInternal(ThreadSafeGraphNode.java:193)
at org.eclipse.virgo.util.common.ThreadSafeGraphNode.visit(ThreadSafeGraphNode.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.transform(PlanResolver.java:82)
at org.eclipse.virgo.kernel.install.pipeline.stage.transform.internal.TransformationStage.doProcessGraph(TransformationStage.java:54)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessGraph(CompensatingPipeline.java:73)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessGraph(StandardPipeline.java:62)
at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:360)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:184)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:139)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:252)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deploy(HotDeployerFileSystemListener.java:163)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.deployIfNotDeployed(HotDeployerFileSystemListener.java:175)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSystemListener.onChange(HotDeployerFileSystemListener.java:76)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners(FileSystemChecker.java:245)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystemChecker.java:166)
at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTask.java:48)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.virgo.kernel.deployer.core.DeploymentException: bundle 'cxf-dosgi-ri-singlebundle-distribution' in version range '[1.3.1, 1.3.1]' not found
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.obtainInstallArtifactGraph(PlanResolver.java:165)
at org.eclipse.virgo.kernel.deployer.core.internal.PlanResolver.operate(PlanResolver.java:101)
... 23 common frames omitted




Can you help me,and show me your "zz.cxf.plan"?

Thank you !
Previous Topic:greenpages failing unit tests
Next Topic:virgo 3.6.2 java.lang.NoClassDefFoundError: javax/servlet/Servlet
Goto Forum:
  


Current Time: Fri Mar 29 10:34:22 GMT 2024

Powered by FUDForum. Page generated in 0.04726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top