?
\
我自己有个项目,是对的,在自己的TOMCAT上跑都是对的,现在我放别人的TOMCAT下去跑,但是就出现问题了,我在想可能是他TOMCAT上少什么或者哪儿设置了,你帮我看看,怎么解决哈
\
2008-6-26 9:42:32 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\ahm\ahmWeb\conf\Catalina
\localhost\njproject.xml
2008-06-26 09:42:33,265 INFO [org.apache.myfaces.config.FacesConfigurator] Read
ing standard config org/apache/myfaces/resource/standard-faces-config.xml
2008-06-26 09:42:33,375 INFO [org.apache.myfaces.config.FacesConfigurator] Read
ing config jar:file:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/facestrace-0.8.
1.jar!/META-INF/faces-config.xml
2008-06-26 09:42:33,390 INFO [org.apache.myfaces.config.FacesConfigurator] Read
ing config jar:file:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/tomahawk-1.1.5-
SNAPSHOT.jar!/META-INF/faces-config.xml
2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] Star
ting up MyFaces-package : myfaces-api in version : 1.1.5-SNAPSHOT from path : fi
le:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/myfaces-api-1.1.5-SNAPSHOT.jar
2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] Star
ting up MyFaces-package : myfaces-impl in version : 1.1.5-SNAPSHOT from path : f
ile:/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/myfaces-impl-1.1.5-SNAPSHOT.jar
2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] MyFa
ces-package : tomahawk-sandbox not found.
2008-06-26 09:42:33,453 INFO [org.apache.myfaces.config.FacesConfigurator] Star
ting up MyFaces-package : tomahawk in version : 1.1.5-SNAPSHOT from path : file:
/C:/ahm/ahmWeb/webapps/njproject/WEB-INF b/tomahawk-1.1.5-SNAPSHOT.jar
2008-06-26 09:42:33,531 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils]
Locale name in faces-config.xml null or empty, setting locale to default locale
: zh_CN
2008-06-26 09:42:34,328 INFO [org.apache.myfaces.config.FacesConfigurator] Seri
alization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSer
ialFactory
2008-06-26 09:42:34,359 INFO [org.apache.myfaces.webapp.StartupServletContextLi
stener] ServletContext 'C:\ahm\ahmWeb\webapps\njproject\' initialized.
2008-6-26 9:42:34 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2008-6-26 9:42:34 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors
2008-6-26 9:42:34 org.apache.catalina.core.StandardHostDeployer install
这就是报的那个错,
服务启动哦,这个项目都访问不到啊
HTTP Status 404 - /njproject/njhomepage/crbtdinggeinfopage.html
type Status report
message /njproject/njhomepage/crbtdinggeinfopage.html
description The requested resource (/njproject/njhomepage/crbtdinggeinfopage.html) is not available.
根本就找不到这个项目
但是服务下他原来的项目是对的,我们现在的TOMCAT与JDK的版本都一致了,但是他的TOMCAT应该是像发布产品那样,发布出来的,之前可能有过改动,哪位给看看...
[b]问题补充:[/b]
嗯,TOMCAT下相应的包我都看了,都一样的....
这个是就是LOGS文件内容
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1f88f7b')
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@193f50c')
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@bd13bf')
2008-06-26 09:23:28 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2008-06-26 09:23:28 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2008-06-26 09:24:04 StandardContext[/balancer]Exception starting filter BalancerFilter
java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
at org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:65)
at org.apache.webapp.balancer.RulesParser.(RulesParser.java:43)
at org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:79)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4349)
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:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
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:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2008-06-26 09:24:04 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2008-06-26 09:24:04 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2008-06-26 09:24:05 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2008-06-26 09:24:05 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1650cea')
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@132ece7')
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@5f6ed4')
2008-06-26 09:26:33 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2008-06-26 09:26:33 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1ba3c1f')
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1c12050')
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@309239')
2008-06-26 09:26:35 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2008-06-26 09:26:35 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
[b]问题补充:[/b]
唯一觉得有点不一样的就他的server.xml
<?xml version='1.0' encoding='utf-8'?>
factory
org.apache.catalina.users.MemoryUserDatabaseFactory
pathname
conf/tomcat-users.xml
少了一些东西
[b]问题补充:[/b]
版本一样哈
[b]问题补充:[/b]
我把包放在了 commer/lib 还是不行哈 。那个包也有