can not deploy CXF 1.3.1 on Virgo 3.5 [message #978779] |
Sat, 10 November 2012 10:10 |
TRAN Lap 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 #986650 is a reply to message #986578] |
Wed, 21 November 2012 09:56 |
Glyn Normington 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
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06027 seconds