Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Web Application Failed to start
Web Application Failed to start [message #598032] Sun, 08 August 2010 12:35 Go to next message
Anthony is currently offline AnthonyFriend
Messages: 38
Registered: July 2010
Member
Hi,

I'm getting the following error, whenever I add any type of listener to my web.xml file. I was under the impression from all the documentation that I've read that listeners were just meant to work. Can anyone shed some light on this for me?


Start failed for bundle 'SimpleJSFBundle2' version '1.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:272)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractI nstallArtifact.access$0(AbstractInstallArtifact.java:269)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractI nstallArtifact$StateMonitorSignal.signalSuccessfulCompletion (AbstractInstallArtifact.java:222)
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 '/simpleJSF' 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 '/simpleJSF' 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


Also it says check logs for more details. I've cheked all the logs in the servicability logs and I they all have the same error message. Am I supposed to be looking somewhere else or to have configured logging somewhere?
Re: Web Application Failed to start [message #598048 is a reply to message #598032] Mon, 09 August 2010 16:01 Go to previous messageGo to next message
Steve PowellFriend
Messages: 23
Registered: January 2010
Location: Southampton
Junior Member
Hi Anthony,

The logs it is referring to are probably Catalina (Tomcat) logs. Have you looked for these?
The connection to 'listeners' is not clear from what you say. Can you be more specific?
--
Steve Powell :-/


Steve Powell :-/
Re: Web Application Failed to start [message #600871 is a reply to message #598048] Mon, 09 August 2010 17:45 Go to previous message
Anthony is currently offline AnthonyFriend
Messages: 38
Registered: July 2010
Member
Hi Steve,

Many thanks for your reply. I've looked in the documentation which has a mention of the Catalina logs but I can't find them in my servicability folder. I couldn't find anywhere that mentioned I would have to configure these in any special way. The access log files are created but I was expecting maybe a file catalina.log or something that would indicate tomcat specific errors but i can't find anything relating to this.

The issue that I'm having with the listener is trying to add the configure listener, which is required to setup JSF. The code is as follows


<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class >
</listener>


I've also tried adding a Custom ServletContextListener that I have in my app but this also breaks the startup in the same way. Hope you can help.
Previous Topic:Does your project use Virgo?
Next Topic:Expected timeframe of 'real' Virgo release?
Goto Forum:
  


Current Time: Thu Apr 25 20:28:48 GMT 2024

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

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

Back to the top