当前位置:编程学习 > 网站相关 >>

求解,websphere包XFireServlet无法装入

请问为啥会出这个错误..我PARENT_LAST会出错,但是如果调到PARENT_FIREST就正常..


web.xml的内容
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>

  <servlet>
    <servlet-name>XFireServlet</servlet-name>
    <servlet-class>org.codehaus.xfire.transport.http.XFireConfigurableServlet</servlet-class>
    <load-on-startup>0</load-on-startup>
  </servlet>



然后是错误日志..
[11-11-8 13:36:58:787 GMT] 3b04d391 WebContainer  A SRVE0169I: 正在装入 Web 模块:EntraGuardServer.war。
[11-11-8 13:36:58:973 GMT] 3b04d391 WebGroup      I SRVE0180I: [EntraGuardServer.war] [/EntraGuardServer] [Servlet.LOG]: JSP 1.2 Processor: init
[11-11-8 13:36:59:163 GMT] 3b04d391 WebGroup      I SRVE0180I: [EntraGuardServer.war] [/EntraGuardServer] [Servlet.LOG]: SimpleFileServlet: init
[11-11-8 13:36:59:324 GMT] 3b04d391 WebGroup      E SRVE0020E: [Servlet 错误]-[XFireServlet]:无法装入 servlet:java.lang.ClassCastException: org.codehaus.xfire.transport.http.XFireConfigurableServlet
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1442)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:304)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:413)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:217)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1019)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:517)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:311)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:152)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:287)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:222)
at java.lang.Thread.run(Thread.java:568)

[11-11-8 13:36:59:325 GMT] 3b04d391 WebAppServlet E Servlet[XFireServlet]:不是 servlet 类
[11-11-8 13:36:59:347 GMT] 3b04d391 ApplicationMg A WSVR0221I: 应用程序已启动:EntraGuardServer_war



xfire的LIB包..

activation-1.1.jar
bcprov-jdk15-133.jar
commons-attributes-api-2.1.jar
commons-beanutils-1.7.0.jar
commons-codec-1.3.jar
commons-discovery-0.2.jar
commons-httpclient-3.0.jar
commons-logging-1.0.4.jar
jaxb-api-2.0.jar
jaxb-impl-2.0.1.jar
jaxb-xjc-2.0.1.jar
jaxen-1.1-beta-9.jar
jaxws-api-2.0.jar
jdom-1.0.jar
jetty-6.1.2rc0.jar
jetty-util-6.1.2rc0.jar
jmock-1.0.1.jar
jsr173_api-1.0.jar
junit-3.8.1.jar
log4j-1.2.9.jar
mail-1.4.jar
opensaml-1.0.1.jar
org.springframework.web.servlet-3.1.0.M2.jar
saaj-api-1.3.jar
saaj-impl-1.3.jar
servlet-api-2.3.jar
servlet-api-2.5-6.1.2rc0.jar
spring-1.2.6.jar
stax-api-1.0.1.jar
stax-utils-20040917.jar
wsdl4j-1.6.1.jar
wss4j-1.5.1.jar
wstx-asl-3.2.0.jar
xbean-2.2.0.jar
xbean-spring-2.8.jar
xercesImpl-2.6.2.jar
xfire-aegis-1.2.6.jar
xfire-all-1.2.6.jar      //这个试着删掉了,但是错误一样..
xfire-annotations-1.2.6.jar
xfire-core-1.2.6.jar
xfire-java5-1.2.6.jar
xfire-jaxws-1.2.6.jar
xfire-jsr181-api-1.0-M1.jar
xfire-spring-1.2.6.jar
xml-apis-1.0.b2.jar
XmlSchema-1.1.jar
xmlsec-1.3.0.jar
xmlbeans-qname.jar
补充:企业软件 ,  WebSphere
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,