WebSphere 8.5中CXF2.5.2+Spring3.0的配置问题

问题描述

[8/22/1513:09:24:399CST]00000045WASSessionCorISessionContextRegistrygetSessionContextSESN0176I:Willcreateanewsessioncontextforapplicationkeydefault_hostUWC[8/22/1513:09:24:431CST]00000045jspWcom.ibm.ws.jsp.webcontainerext.WASJSPExtensionProcessorWASJSPExtensionProcessorSpecfiedSharedLibraryjarfile[D:/Java_library/apache-cxf-2.5.2/lib/geronimo-ejb_3.0_spec-1.0.1.jar]doesnotexist[8/22/1513:09:24:433CST]00000045jspWcom.ibm.ws.jsp.webcontainerext.WASJSPExtensionProcessorWASJSPExtensionProcessorSpecfiedSharedLibraryjarfile[D:/Java_library/apache-cxf-2.5.2/lib/org.apache.servicemix.bundles.saaj-impl-1.3.18_1.jar]doesnotexist[8/22/1513:09:24:583CST]00000045FfdcProviderWcom.ibm.ws.ffdc.impl.FfdcProviderlogIncidentFFDC1003I:FFDCIncidentemittedonD:AIAWorkspaceWASProfilelogsffdcUWC_LOCAL_c3dfb112_15.08.22_13.09.24.554204308141295168644.txtcom.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet213[8/22/1513:09:24:585CST]00000045webappEcom.ibm.ws.webcontainer.webapp.WebAppcommonInitializationFinallySRVE0266E:Erroroccuredwhileinitializingservlets:{0}javax.servlet.UnavailableException:SRVE0201E:Servlet[org.apache.cxf.transport.servlet.CXFServlet]:notaservletclassatcom.ibm.ws.webcontainer.servlet.ServletWrapper$1.run(ServletWrapper.java:1486)atcom.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:1460)atcom.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1339)atcom.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:604)atcom.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:574)atcom.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)atcom.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)atcom.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)atcom.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)atcom.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)atcom.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)atcom.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1173)atcom.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)atcom.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)atcom.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:772)atcom.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2175)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)atcom.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)atcom.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:994)atcom.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)atcom.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1814)[8/22/1513:09:24:590CST]00000045webappWcom.ibm.ws.webcontainer.webapp.WebAppinitializeStaticFileHandlerSRVE0278E:Errorwhileaddingservletmapping-->/*.配置文件如下web.xml<!--Springframeworkconfiguration--><context-param><param-name>contextConfigLocation</param-name><param-value>/WEB-INF/classes/beans-2.5.2.xml,/WEB-INF/classes/cxf-servlet-2.5.2.xml</param-value></context-param><listener><listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener><!--listener><listener-class>org.springframework.web.util.IntrospectorCleanupListener</listener-class></listener--><servlet><description>JAX-RSToolsGenerated-Donotmodify</description><servlet-name>cxf</servlet-name><servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class><load-on-startup>1</load-on-startup><enabled>true</enabled><async-supported>false</async-supported></servlet><servlet-mapping><servlet-name>cxf</servlet-name><url-pattern>/*</url-pattern></servlet-mapping>beans-2.5.2.xml<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:jaxws="http://cxf.apache.org/jaxws"xmlns:aop="http://www.springframework.org/schema/aop"xmlns:tx="http://www.springframework.org/schema/tx"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-3.0.xsdhttp://www.springframework.org/schema/txhttp://www.springframework.org/schema/tx/spring-tx-3.0.xsdhttp://www.springframework.org/schema/aophttp://www.springframework.org/schema/aop/spring-aop-3.0.xsd"default-autowire="byName"></beans>cxf-2.5.2.xml<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:jaxws="http://cxf.apache.org/jaxws"xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans.xsdhttp://cxf.apache.org/jaxwshttp://cxf.apache.org/schemas/jaxws.xsd"><importresource="classpath:META-INF/cxf/cxf.xml"/><importresource="classpath:META-INF/cxf/cxf-servlet.xml"/><importresource="classpath:META-INF/cxf/cxf-extension-soap.xml"/><jaxws:endpointid="underwriting"implementor="com.aia.nuwc.services.impl.UnderwritingImpl"address="/underwriting"/></beans>Applicationserver&WebmoduleClasspath<classPath>D:/Java_library/apache-cxf-2.5.2/lib/cxf-2.5.2.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/cxf-manifest.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/xmlschema-core-2.0.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/FastInfoset-1.2.9.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/aopalliance-1.0.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/commons-logging-1.1.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-activation_1.1_spec-1.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-annotation_1.0_spec-1.1.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-javamail_1.4_spec-1.7.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-jaxws_2.2_spec-1.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-stax-api_1.0_spec-1.0.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-ws-metadata_2.0_spec-1.1.3.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/geronimo-ejb_3.0_spec-1.0.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/neethi-3.0.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/org.apache.servicemix.bundles.saaj-impl-1.3.18_1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-aop-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-asm-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-beans-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-context-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-core-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-expression-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/spring-web-3.0.6.RELEASE.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/stax2-api-3.1.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/woodstox-core-asl-4.1.1.jar</classPath><classPath>D:/Java_library/apache-cxf-2.5.2/lib/wsdl4j-1.6.2.jar</classPath>

解决方案

解决方案二:
请高手帮忙看看上边的问题,联系电话13910697541

时间: 2024-07-30 14:48:40

WebSphere 8.5中CXF2.5.2+Spring3.0的配置问题的相关文章

WebSphere Application Server 中现代化的基于 Java 的批处理(五)

保护作业调度程序 简介 IBM WebSphere Application Server V8.5 和更高版本为基于 Java 的批处理应用程序提供了一个实现平台.与丰富的编程模型和众多复杂特性相结合,比如跳过记录处理.并行处理.重试步骤处理.COBOL 支持以及与企业调度程序的集成,它还提供了企业级质量,即: 可用性 可恢复性 可伸缩性和性能 安全性. 对于批处理程序的执行,作业调度程序接受作业提交并确定在何处运行它们.作为管理作业的工作的一部分,作业调度程序将作业信息持久保存在一个外部作业数

在WebSphere Portlet Factory中调用Web Service

通过 WebSphere Portlet Factory(WPF),开发者非常方便实现 Web Service 和 Portlets 的通信.开发者无需花费大量的时间去学习 SOAP,WSDL,XML schema(xsd) 等 Web Service 技术,使用 WPF 即可开发出健壮.功能强大的 Web Service 和实现对各种风格的 Web Service 的调用.WPF 隐藏了 Web Service 的内部实现细节,通过 WPF 的丰富的构建器自动生成 Web Service 和实

如何在IBM WebSphere Application Server中使用各种JPA Provider

引言 使用持久化架构能够使数据库事务处理变得更加容易.Java 持久化架构(Java Persistence Architecture)是一个非常不错持久化选择,通过使用 JPA,您可以不再需要使用复杂的 SQL 查询,不必担心性能问题,以及其它一些潜在的编程错误等.有很多的 JPA Persistence Provider 可供应用程序开发者来选择,如 WebSphere JPA,OpenJPA 和 Hibernate 等等.WebSphere Application Server 支持配置使

监视WebSphere Portal环境中的性能

帮助您了解监视和度量 WebSphere Portal 环境中的性能问题的一些基础的指南 要优化 WebSphere Portal 环境以实现最佳性能,您需要知道哪些方面需要优化.本文讨论的监视方法涵盖 WebSphere Portal 的几个重要方面.它们可以帮助您查看 WebSphere Portal 环境的真实行为,并最终确定瓶颈和潜在问题.本文旨在概述监视方法,而不是深入研究任何特定的方法.本文为大多数负责解决此类问题的人员提供了一个很好的起点.我们的目标是向您介绍足够多的方法,以便您能

WebSphere反向投资者:在WebSphere Application Server中修改主机名称并迁移概

WebSphere反向投资者:在WebSphere Application Server中修改主机名称并迁移概要文件 在每篇专栏文章中,"WebSphere 反向投资者" 将回答问题.提供指导和讨论与 WebSphere 产品使用相关的基础主题,经常会给出与流行的看法相悖的经过实践验证的建议. 改变的时机来了吗? 希腊哲学家赫拉克利特曾说过 "惟一不变的就是变化本身",并且这句话在过去 2500 年来都被证明是正确的,在某些情况下您很可能需要修改 WebSphere

在WebSphere Process Server中为新的查询要求设置自定义属性

简介 在您开发一个业务流程客户端程序时,您经常需要在一个流程实例内,通过某些业务数据标准来查询流程实例.活动和任务. 例如,您可能想要在流程实例中寻找与某个 ID 的客户相关的所有任务. 当您在 WebSphere Integration Developer(以下简称为 Integration Developer)设计流程时,可以通过为人工任务设置自定义属性来实现这个需求.然而,当流程投入使用后,如果新查询要求需要 新的自定义属性,那么这招就不灵了.您当然可以使用 WebSphere Proce

编码-spring3.0中出现no viable alternative at input &amp;amp;#39;^&amp;amp;#39; 异常

问题描述 spring3.0中出现no viable alternative at input '^' 异常 <?xml version="1.0" encoding="UTF-8"?> xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util=

各位大大,谁能帮我看下我这个spring3.0 和 mybatis整合出了什么问题呀,mybatis总是行不成功,完整项目我已经放在附件中了

问题描述 附件是我的项目,可以直接在eclipse中部署运行,用的mysql数据库,只需建一个test数据库就可以,建表语句在test.rar附件中,执行的service url是:http://localhost:8080/springTest/lyang/getAll.do每次一执行就报:java.lang.NullPointerExceptionat com.lyang.springTest.daoImpl.IPeopleDao.getAllPeople(IPeopleDao.java:1

使用WebSphere Application Server Feature Pack for Web 2.0创建基于Ajax的

使用WebSphere Application Server Feature Pack for Web 2.0创建基于Ajax的动态Web应用程序 简介 与 Web 2.0 相关的技术,比如 Asynchronous JavaScript XML (Ajax).Web 远程和 Web 消息传递等,在当今的 Web 应用程序中变得日益流行.与传统 Web 应用程序相比,基于 Ajax 的应用程序 可以提供更好的响应性和交互性.在那些并入了 Ajax 架构的 Web 应用程序中 ,用户不需要等待整个