Löytyykö täältä ketään joka osaa sanoa,
mikä voisi aiheuttaa seuraavan Listener errorin.
Käytössä J2ee+SDK+Tomcat+Eclipse.
Olen tässä web-sovellusten ohjelmmoinnissa uusi,
ja tässäkin on kyse helposta hello ohjelmasta
JCat
__________________________
Jun 17, 2005 9:42:13 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Jun 17, 2005 9:42:13 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2423 ms
Jun 17, 2005 9:42:14 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 17, 2005 9:42:14 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Sun-Java-System/Web-Services-Pack-1.4
Jun 17, 2005 9:42:14 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\kompo\tomcat50-jwsdp\conf\Catalina\localhost\admin.xml
Jun 17, 2005 9:42:16 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jun 17, 2005 9:42:16 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jun 17, 2005 9:42:16 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.
Jun 17, 2005 9:42:20 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\kompo\tomcat50-jwsdp\conf\Catalina\localhost\balancer.xml
Jun 17, 2005 9:42:20 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\kompo\tomcat50-jwsdp\conf\Catalina\localhost\manager.xml
Jun 17, 2005 9:42:21 AM org.apache.catalina.startup.HostConfig deployWARs
INFO: Deploying web application archive helloDeploy.war
Jun 17, 2005 9:42:21 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /helloDeploy from URL jar:file:C:\kompo\tomcat50-jwsdp\webapps\helloDeploy.war!/
Jun 17, 2005 9:42:21 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jun 17, 2005 9:42:21 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jun 17, 2005 9:42:21 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Jun 17, 2005 9:42:21 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:C:\kompo\tomcat50-jwsdp\webapps\jsp-examples
Jun 17, 2005 9:42:21 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:C:\kompo\tomcat50-jwsdp\webapps\ROOT
Jun 17, 2005 9:42:22 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:C:\kompo\tomcat50-jwsdp\webapps\servlets-examples
Jun 17, 2005 9:42:22 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:C:\kompo\tomcat50-jwsdp\webapps\tomcat-docs
Jun 17, 2005 9:42:22 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:C:\kompo\tomcat50-jwsdp\webapps\webdav
Jun 17, 2005 9:42:22 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jun 17, 2005 9:42:23 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 9053 ms
Itsellenikin varsin uusi alue, mutta tuo logi viittaa johonkin aikaisempaan virheeseen (rivi12), joka ei tästä logista kuitenkaan selviä. Onko kaikki tarvittavat polkumääritykset jms. oikein?
JaneCat kirjoitti:
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Jun 17, 2005 9:42:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
niin, en tiedä mihin tuo viittaus kohdistuu, tuossa yllä on koko tomactin käynnistys logi. Mutta tomcat/logs hakemistosta löytyy kyllä myös lokitiedosto localhost_log.2005-06-17.txt. Siinä on mainitaa, että luokkaa com.sun.xml.rpc.server.http.JAXRPCContextListener ei löydy. Mutta jarri (jaxrpc-impl.jar) jossa tuo luokka on määritelty on ladattu eclipsen JRE System Library:yyn. Onko ongelma sittenkin eclipsessä?
JCat
2005-06-17 07:56:59 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 2005-06-17 07:57:00 StandardContext[/helloDeploycom.sun.xml.rpc.server.http.JAXRPCContextListenercom.sun.xml.rpc.server.http.JAXRPCContextListenerjava.lang.ClassNotFoundException: com.sun.xml.rpc.server.http.JAXRPCContextListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1343) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1190) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4226) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:276) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:961) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:347) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:476) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2298) at org.apache.catalina.startup.Catalina.start(Catalina.java:547) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Aihe on jo aika vanha, joten et voi enää vastata siihen.