com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start

SpringSource Issue Tracker | Radhika Madala (c) | 7 years ago
  1. 0

    I hot deploy an unscoped plan referencing the par artifact from "usr" directory in repository.I am getting the following event logs in the console. Each and every artifact inside par are starting and started more than once.The web bundle is failed to start if it is attempt to start more than once. [2009-12-10 10:54:09.452] fs-watcher <HD0001I> Hot deployer processing 'CREATED' event for file 'parreferencedplan.plan'. [2009-12-10 10:54:09.567] fs-watcher <DE0000I> Installing plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:54:09.599] fs-watcher <DE0000I> Installing par 'appA' version '1.0.0'. [2009-12-10 10:54:09.713] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:09.720] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:09.743] fs-watcher <DE0001I> Installed configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.749] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:09.757] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:09.764] fs-watcher <DE0001I> Installed configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.770] fs-watcher <DE0001I> Installed bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:54:09.777] fs-watcher <DE0001I> Installed par 'appA' version '1.0.0'. [2009-12-10 10:54:09.782] fs-watcher <DE0001I> Installed plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:54:09.819] fs-watcher <DE0004I> Starting plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:54:09.826] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:09.906] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:09.912] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.919] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.926] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.933] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.955] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.962] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.969] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.978] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.984] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.991] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.998] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.006] fs-watcher <DE0004I> Starting bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:54:10.017] start-signalling-1 <DE0005I> Started bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:54:10.017] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.034] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.039] Thread-3 <WE0000I> Starting web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.041] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.050] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.060] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.083] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.092] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.098] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.123] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:10.132] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.138] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.146] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.152] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.161] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.179] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.188] fs-watcher <DE0004I> Starting par 'appA' version '1.0.0'. [2009-12-10 10:54:10.196] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.205] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.207] Thread-3 <WE0001I> Started web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.214] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.214] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.227] Thread-3 <WE0000I> Starting web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.228] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.235] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.240] Thread-3 <WE0004E> Failed to start web bundle 'appA-1-bundleB' version '1.0.0': a web application with context path '/bundleBContext' already exists. [2009-12-10 10:54:10.246] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.253] start-signalling-1 <DE0006E> Start failed for par 'appA' version '1.0.0'. com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:139) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:266) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:220) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) 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:637) Caused by: com.springsource.osgi.webcontainer.core.WebApplicationStartFailedException: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:129) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) ... 7 common frames omitted Caused by: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:203) at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:115) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:116) ... 8 common frames omitted [2009-12-10 10:54:10.262] Thread-3 <WE0002I> Stopping web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.290] Thread-3 <WE0003I> Stopped web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.293] start-signalling-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.298] start-signalling-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.305] start-signalling-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.310] start-signalling-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.315] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.320] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.328] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:10.334] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:10.339] start-signalling-1 <DE0005I> Started par 'appA' version '1.0.0'. [2009-12-10 10:54:10.347] start-signalling-1 <DE0005I> Started plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:06.312] fs-watcher <HD0001I> Hot deployer processing 'DELETED' event for file 'parreferencedplan.plan'. [2009-12-10 10:56:06.318] fs-watcher <DE0010I> Stopping plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:06.323] fs-watcher <DE0010I> Stopping par 'appA' version '1.0.0'. [2009-12-10 10:56:06.328] fs-watcher <DE0010I> Stopping bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.332] fs-watcher <DE0010I> Stopping bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.336] fs-watcher <DE0011I> Stopped bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.341] fs-watcher <DE0011I> Stopped bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.345] fs-watcher <DE0010I> Stopping configuration 'foo' version '0.0.0'. [2009-12-10 10:56:06.352] fs-watcher <DE0011I> Stopped configuration 'foo' version '0.0.0'. [2009-12-10 10:56:06.357] fs-watcher <DE0010I> Stopping configuration 'foo' version '0.0.0'. [2009-12-10 10:56:06.364] fs-watcher <DE0011I> Stopped configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.435] fs-watcher <DE0010I> Stopping bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:08.442] fs-watcher <DE0011I> Stopped bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:08.447] fs-watcher <DE0011I> Stopped par 'appA' version '1.0.0'. [2009-12-10 10:56:08.452] fs-watcher <DE0011I> Stopped plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:08.458] fs-watcher <DE0013I> Uninstalling plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:08.464] fs-watcher <DE0013I> Uninstalling par 'appA' version '1.0.0'. [2009-12-10 10:56:08.470] fs-watcher <DE0013I> Uninstalling bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:08.479] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:08.489] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:08.666] fs-watcher <DE0013I> Uninstalling bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:56:08.673] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:56:08.696] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:56:08.832] Configuration Updater <ME0003I> Dump 'serviceability/dump/2009-12-10-10-56-364' generated [2009-12-10 10:56:08.848] fs-watcher <DE0013I> Uninstalling configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.853] fs-watcher <DE0014I> Uninstalled configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.866] fs-watcher <DE0013I> Uninstalling configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.872] fs-watcher <DE0014I> Uninstalled configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.877] fs-watcher <DE0013I> Uninstalling bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:08.884] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:09.005] fs-watcher <DE0014I> Uninstalled par 'appA' version '1.0.0'. [2009-12-10 10:56:09.011] fs-watcher <DE0014I> Uninstalled plan 'parreferenced.plan' version '1.0.0'.

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start
  2. 0

    I hot deploy an unscoped plan referencing the par artifact from "usr" directory in repository.I am getting the following event logs in the console. Each and every artifact inside par are starting and started more than once.The web bundle is failed to start if it is attempt to start more than once. [2009-12-10 10:54:09.452] fs-watcher <HD0001I> Hot deployer processing 'CREATED' event for file 'parreferencedplan.plan'. [2009-12-10 10:54:09.567] fs-watcher <DE0000I> Installing plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:54:09.599] fs-watcher <DE0000I> Installing par 'appA' version '1.0.0'. [2009-12-10 10:54:09.713] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:09.720] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:09.743] fs-watcher <DE0001I> Installed configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.749] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:09.757] fs-watcher <DE0001I> Installed bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:09.764] fs-watcher <DE0001I> Installed configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.770] fs-watcher <DE0001I> Installed bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:54:09.777] fs-watcher <DE0001I> Installed par 'appA' version '1.0.0'. [2009-12-10 10:54:09.782] fs-watcher <DE0001I> Installed plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:54:09.819] fs-watcher <DE0004I> Starting plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:54:09.826] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:09.906] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:09.912] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.919] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.926] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.933] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.955] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.962] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.969] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.978] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.984] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.991] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:09.998] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.006] fs-watcher <DE0004I> Starting bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:54:10.017] start-signalling-1 <DE0005I> Started bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:54:10.017] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.034] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.039] Thread-3 <WE0000I> Starting web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.041] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.050] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.060] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.083] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.092] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.098] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.123] fs-watcher <DE0004I> Starting bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:10.132] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.138] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.146] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.152] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.161] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.179] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.188] fs-watcher <DE0004I> Starting par 'appA' version '1.0.0'. [2009-12-10 10:54:10.196] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.205] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.207] Thread-3 <WE0001I> Started web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.214] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.214] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.227] Thread-3 <WE0000I> Starting web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.228] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.235] fs-watcher <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.240] Thread-3 <WE0004E> Failed to start web bundle 'appA-1-bundleB' version '1.0.0': a web application with context path '/bundleBContext' already exists. [2009-12-10 10:54:10.246] fs-watcher <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-10 10:54:10.253] start-signalling-1 <DE0006E> Start failed for par 'appA' version '1.0.0'. com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:139) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:266) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:220) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) 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:637) Caused by: com.springsource.osgi.webcontainer.core.WebApplicationStartFailedException: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:129) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) ... 7 common frames omitted Caused by: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:203) at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:115) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:116) ... 8 common frames omitted [2009-12-10 10:54:10.262] Thread-3 <WE0002I> Stopping web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.290] Thread-3 <WE0003I> Stopped web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-10 10:54:10.293] start-signalling-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.298] start-signalling-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.305] start-signalling-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.310] start-signalling-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.315] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.320] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:54:10.328] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:10.334] start-signalling-1 <DE0005I> Started bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:54:10.339] start-signalling-1 <DE0005I> Started par 'appA' version '1.0.0'. [2009-12-10 10:54:10.347] start-signalling-1 <DE0005I> Started plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:06.312] fs-watcher <HD0001I> Hot deployer processing 'DELETED' event for file 'parreferencedplan.plan'. [2009-12-10 10:56:06.318] fs-watcher <DE0010I> Stopping plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:06.323] fs-watcher <DE0010I> Stopping par 'appA' version '1.0.0'. [2009-12-10 10:56:06.328] fs-watcher <DE0010I> Stopping bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.332] fs-watcher <DE0010I> Stopping bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.336] fs-watcher <DE0011I> Stopped bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.341] fs-watcher <DE0011I> Stopped bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:06.345] fs-watcher <DE0010I> Stopping configuration 'foo' version '0.0.0'. [2009-12-10 10:56:06.352] fs-watcher <DE0011I> Stopped configuration 'foo' version '0.0.0'. [2009-12-10 10:56:06.357] fs-watcher <DE0010I> Stopping configuration 'foo' version '0.0.0'. [2009-12-10 10:56:06.364] fs-watcher <DE0011I> Stopped configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.435] fs-watcher <DE0010I> Stopping bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:08.442] fs-watcher <DE0011I> Stopped bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:08.447] fs-watcher <DE0011I> Stopped par 'appA' version '1.0.0'. [2009-12-10 10:56:08.452] fs-watcher <DE0011I> Stopped plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:08.458] fs-watcher <DE0013I> Uninstalling plan 'parreferenced.plan' version '1.0.0'. [2009-12-10 10:56:08.464] fs-watcher <DE0013I> Uninstalling par 'appA' version '1.0.0'. [2009-12-10 10:56:08.470] fs-watcher <DE0013I> Uninstalling bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:08.479] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:08.489] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-10 10:56:08.666] fs-watcher <DE0013I> Uninstalling bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:56:08.673] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:56:08.696] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-10 10:56:08.832] Configuration Updater <ME0003I> Dump 'serviceability/dump/2009-12-10-10-56-364' generated [2009-12-10 10:56:08.848] fs-watcher <DE0013I> Uninstalling configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.853] fs-watcher <DE0014I> Uninstalled configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.866] fs-watcher <DE0013I> Uninstalling configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.872] fs-watcher <DE0014I> Uninstalled configuration 'foo' version '0.0.0'. [2009-12-10 10:56:08.877] fs-watcher <DE0013I> Uninstalling bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:08.884] fs-watcher <DE0014I> Uninstalled bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-10 10:56:09.005] fs-watcher <DE0014I> Uninstalled par 'appA' version '1.0.0'. [2009-12-10 10:56:09.011] fs-watcher <DE0014I> Uninstalled plan 'parreferenced.plan' version '1.0.0'.

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start
  3. 0

    Hot deploy the attached unscoped plan(parreferencedplan.plan) which is referencing the attached par artifact(appA.par) Now try to refresh the bundleB.war by selecting it from admin console artifact tree and click on refresh button. Getting the below eventlogs in the console. bundleB.war(web bundle) is failed to start and unscoped plan(parreferencedplan.plan),par (appA.par) are in STARTING state. [2009-12-16 10:47:06.377] Thread-3 <WE0002I> Stopping web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:06.406] Thread-3 <WE0003I> Stopped web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:06.410] http-8080-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.441] http-8080-1 <DE0010I> Stopping par 'appA' version '1.0.0'. [2009-12-16 10:47:06.448] http-8080-1 <DE0010I> Stopping bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.454] http-8080-1 <DE0011I> Stopped bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.461] http-8080-1 <DE0010I> Stopping configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.469] http-8080-1 <DE0011I> Stopped configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.476] http-8080-1 <DE0010I> Stopping bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.483] http-8080-1 <DE0011I> Stopped bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.489] http-8080-1 <DE0010I> Stopping plan 'parreferenced.plan' version '1.0.0'. [2009-12-16 10:47:06.494] http-8080-1 <DE0011I> Stopped plan 'parreferenced.plan' version '1.0.0'. [2009-12-16 10:47:06.499] http-8080-1 <DE0011I> Stopped par 'appA' version '1.0.0'. [2009-12-16 10:47:06.505] http-8080-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.517] http-8080-1 <DE0004I> Starting plan 'parreferenced.plan' version '1.0.0'. [2009-12-16 10:47:06.523] http-8080-1 <DE0004I> Starting bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.532] start-signalling-6 <DE0005I> Started bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.533] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.556] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.561] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.566] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.571] http-8080-1 <DE0004I> Starting bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.577] http-8080-1 <DE0004I> Starting par 'appA' version '1.0.0'. [2009-12-16 10:47:06.577] start-signalling-6 <DE0005I> Started bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.586] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.591] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.596] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.601] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.606] http-8080-1 <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.610] Thread-3 <WE0000I> Starting web bundle 'bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:06.613] http-8080-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.621] http-8080-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.028] http-8080-1 <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.033] Thread-3 <WE0000I> Starting web bundle 'bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:09.046] Thread-3 <WE0004E> Failed to start web bundle 'bundleB' version '1.0.0': a web application with context path '/bundleBContext' already exists. [2009-12-16 10:47:09.053] start-signalling-7 <DE0006E> Start failed for bundle 'appA-1-bundleB' version '1.0.0'. com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:139) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:215) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:281) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:278) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:231) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) 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:637) Caused by: com.springsource.osgi.webcontainer.core.WebApplicationStartFailedException: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:129) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) ... 8 common frames omitted Caused by: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:203) at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:115) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:116) ... 9 common frames omitted [2009-12-16 10:47:09.069] start-signalling-7 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.075] start-signalling-7 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.402] start-signalling-6 <ME0003I> Dump 'serviceability/dump/2009-12-16-10-47-741' generated The following summary is found in the dump. Exception: java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:1003) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundle(BundleContextImpl.java:151) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.getBundle(StandardWebContainer.java:159) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.constructServletContextProperties(StandardWebContainer.java:164) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.publishServletContext(StandardWebContainer.java:150) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:117) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:215) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:281) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:278) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:231) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) 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:637)

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hot deploy the attached unscoped plan(parreferencedplan.plan) which is referencing the attached par artifact(appA.par) Now try to refresh the bundleB.war by selecting it from admin console artifact tree and click on refresh button. Getting the below eventlogs in the console. bundleB.war(web bundle) is failed to start and unscoped plan(parreferencedplan.plan),par (appA.par) are in STARTING state. [2009-12-16 10:47:06.377] Thread-3 <WE0002I> Stopping web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:06.406] Thread-3 <WE0003I> Stopped web bundle 'appA-1-bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:06.410] http-8080-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.441] http-8080-1 <DE0010I> Stopping par 'appA' version '1.0.0'. [2009-12-16 10:47:06.448] http-8080-1 <DE0010I> Stopping bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.454] http-8080-1 <DE0011I> Stopped bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.461] http-8080-1 <DE0010I> Stopping configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.469] http-8080-1 <DE0011I> Stopped configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.476] http-8080-1 <DE0010I> Stopping bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.483] http-8080-1 <DE0011I> Stopped bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.489] http-8080-1 <DE0010I> Stopping plan 'parreferenced.plan' version '1.0.0'. [2009-12-16 10:47:06.494] http-8080-1 <DE0011I> Stopped plan 'parreferenced.plan' version '1.0.0'. [2009-12-16 10:47:06.499] http-8080-1 <DE0011I> Stopped par 'appA' version '1.0.0'. [2009-12-16 10:47:06.505] http-8080-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.517] http-8080-1 <DE0004I> Starting plan 'parreferenced.plan' version '1.0.0'. [2009-12-16 10:47:06.523] http-8080-1 <DE0004I> Starting bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.532] start-signalling-6 <DE0005I> Started bundle 'appA-1-bundleA' version '1.0.0'. [2009-12-16 10:47:06.533] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.556] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.561] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.566] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.571] http-8080-1 <DE0004I> Starting bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.577] http-8080-1 <DE0004I> Starting par 'appA' version '1.0.0'. [2009-12-16 10:47:06.577] start-signalling-6 <DE0005I> Started bundle 'appA-1-synthetic.context' version '1.0.0'. [2009-12-16 10:47:06.586] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.591] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.596] http-8080-1 <DE0004I> Starting configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.601] http-8080-1 <DE0005I> Started configuration 'foo' version '0.0.0'. [2009-12-16 10:47:06.606] http-8080-1 <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.610] Thread-3 <WE0000I> Starting web bundle 'bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:06.613] http-8080-1 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:06.621] http-8080-1 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.028] http-8080-1 <DE0004I> Starting bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.033] Thread-3 <WE0000I> Starting web bundle 'bundleB' version '1.0.0' with context path '/bundleBContext'. [2009-12-16 10:47:09.046] Thread-3 <WE0004E> Failed to start web bundle 'bundleB' version '1.0.0': a web application with context path '/bundleBContext' already exists. [2009-12-16 10:47:09.053] start-signalling-7 <DE0006E> Start failed for bundle 'appA-1-bundleB' version '1.0.0'. com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:139) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:215) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:281) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:278) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:231) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) 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:637) Caused by: com.springsource.osgi.webcontainer.core.WebApplicationStartFailedException: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:129) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) ... 8 common frames omitted Caused by: com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException: Context path '/bundleBContext' already exists at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:203) at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:115) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:116) ... 9 common frames omitted [2009-12-16 10:47:09.069] start-signalling-7 <DE0010I> Stopping bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.075] start-signalling-7 <DE0011I> Stopped bundle 'appA-1-bundleB' version '1.0.0'. [2009-12-16 10:47:09.402] start-signalling-6 <ME0003I> Dump 'serviceability/dump/2009-12-16-10-47-741' generated The following summary is found in the dump. Exception: java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:1003) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundle(BundleContextImpl.java:151) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.getBundle(StandardWebContainer.java:159) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.constructServletContextProperties(StandardWebContainer.java:164) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.publishServletContext(StandardWebContainer.java:150) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:117) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:215) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:281) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:278) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:231) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) 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:637)

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    com.springsource.kernel.deployer.core.DeploymentException: Web application failed to start

    Root Cause Analysis

    1. com.springsource.osgi.webcontainer.core.spi.ContextPathExistsException

      Context path '/bundleBContext' already exists

      at com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.checkContextPathIsFree()
    2. com.springsource.osgi
      StandardWebContainer$StandardWebApplication.start
      1. com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.checkContextPathIsFree(TomcatServletContainer.java:203)
      2. com.springsource.osgi.webcontainer.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:115)
      3. com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:116)
      3 frames
    3. com.springsource.server
      WebBundleLifecycleListener.onStarted
      1. com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130)
      1 frame
    4. com.springsource.kernel
      BundleStartTracker$1.run
      1. com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241)
      2. com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:266)
      3. com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:220)
      4. com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:637)
      3 frames