| unable to deploy roo 1.1.0 war on virgo web server 2.1.0 [message #646908] |
Sun, 02 January 2011 21:52  |
No real name Messages: 113 Registered: July 2009 |
Senior Member |
|
|
I used roo in eclipse to create a restful application. After starting virgo in eclipse (I get the same behavior if I copy the war file to the pickup directory after running mvn assembly:single to create the war outside eclipse), virgo generates deployment errors. Running on windows 7, 64bit.
Here's the console output. I have been unable to find the log where more specific information is provided. I have turned the logging to DEBUG but no additional info is present to help me identify the issue. Note that this version of roo uses spring 3.0.0 and this version of virgo uses 3.0.0. I do not know if the splash deployment error is significant but it could be. Its a different error than what I receive.
Any thoughts on debugging approaches that will produce more debug info or ideas on what to look for? Some of the forum posts/bug reports seem to suggest it could be spring version collision, but I don't know.
....
[2011-01-02 20:08:19.144] fs-watcher <HD0002E> Hot deploy failed for file 'org.eclipse.virgo.apps.splash-2.1.0.RELEASE.war'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: The artifact bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.RELEASE' in scope 'null' at URI 'file:/C:/tmp/eclipse/virgo/virgo-web-server-2.1.0.RELEASE/p ickup/org.eclipse.virgo.apps.splash-2.1.0.RELEASE.war' cannot be stored in the runtime artifact model as it clashes with the artifact bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.RELEASE' in scope 'null' which is already present.
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApp licationDeployer.doInstall(PipelinedApplicationDeployer.java :146)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApp licationDeployer.install(PipelinedApplicationDeployer.java:1 23)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApp licationDeployer.deploy(PipelinedApplicationDeployer.java:19 0)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSyste mListener.deploy(HotDeploymentFileSystemListener.java:174)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSyste mListener.deployIfNotDeployed(HotDeploymentFileSystemListene r.java:186)
at org.eclipse.virgo.kernel.deployer.hot.HotDeploymentFileSyste mListener.onChange(HotDeploymentFileSystemListener.java:87)
at org.eclipse.virgo.util.io.FileSystemChecker.notifyListeners( FileSystemChecker.java:245)
at org.eclipse.virgo.util.io.FileSystemChecker.check(FileSystem Checker.java:166)
at org.eclipse.virgo.kernel.deployer.hot.WatchTask.run(WatchTas k.java:58)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.virgo.kernel.deployer.model.DuplicateFileNameExc eption: The artifact bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.RELEASE' in scope 'null' at URI 'file:/C:/tmp/eclipse/virgo/virgo-web-server-2.1.0.RELEASE/p ickup/org.eclipse.virgo.apps.splash-2.1.0.RELEASE.war' cannot be stored in the runtime artifact model as it clashes with the artifact bundle 'org.eclipse.virgo.apps.splash' version '2.1.0.RELEASE' in scope 'null' which is already present.
at org.eclipse.virgo.kernel.deployer.model.internal.StandardRun timeArtifactModel.checkFileName(StandardRuntimeArtifactModel .java:94)
at org.eclipse.virgo.kernel.deployer.model.internal.StandardRun timeArtifactModel.add(StandardRuntimeArtifactModel.java:72)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApp licationDeployer.addTreeToModel(PipelinedApplicationDeployer .java:240)
at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApp licationDeployer.doInstall(PipelinedApplicationDeployer.java :144)
... 9 common frames omitted
[2011-01-02 20:08:23.283] Thread-13 <WE0005E> Failed to start web bundle 'codeset.model.roo' version '0.0.0': consult the serviceability log for further details.
[2011-01-02 20:08:23.299] start-signalling-2 <DE0006E> Start failed for bundle 'codeset.model.roo' version '0.0.0'. org.eclipse.virgo.kernel.deployer.core.DeploymentException: Web application failed to start
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListen er.onStarted(WebBundleLifecycleListener.java:129)
at org.eclipse.virgo.kernel.install.artifact.internal.ArtifactS tateMonitor.onStarted(ArtifactStateMonitor.java:205)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractI nstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.j ava:273)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractI nstallArtifact.access$0(AbstractInstallArtifact.java:270)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractI nstallArtifact$StateMonitorSignal.signalSuccessfulCompletion (AbstractInstallArtifact.java:223)
at org.eclipse.virgo.kernel.core.internal.BundleStartTracker$1. run(BundleStartTracker.java:140)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Threa dPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.eclipse.gemini.web.core.WebApplicationStartFailedExcepti on: org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '/codeset.model.roo' failed to start. Check the logs for more details.
at org.eclipse.gemini.web.internal.StandardWebApplication.start (StandardWebApplication.java:107)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListen er.onStarted(WebBundleLifecycleListener.java:120)
... 8 common frames omitted
Caused by: org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '/codeset.model.roo' failed to start. Check the logs for more details.
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContaine r.startWebApplication(TomcatServletContainer.java:123)
at org.eclipse.gemini.web.internal.StandardWebApplication.start (StandardWebApplication.java:90)
... 9 common frames omitted
|
|
|
|
|
| Re: unable to deploy roo 1.1.0 war on virgo web server 2.1.0 [message #646991 is a reply to message #646939] |
Mon, 03 January 2011 16:46   |
No real name Messages: 113 Registered: July 2009 |
Senior Member |
|
|
Tried to catch any files, but it looks like none are produced for that Roo war. I tried dropping other wars into the folder as well but no luck on any of them.
Looks like it is a general problem with the deployer and the splash screen issue may be part of it.
Any other ideas? Its a fresh installation and I have tried -clean multiple times. I'm unable to get the console to tell me anything either.
I have confirmed that everything works as I expect with mvn jetty:run and mvn tomcat:run so it appears to be a deployment issue in Virgo.
[Updated on: Mon, 03 January 2011 16:58] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09838 seconds