websphere6.0 deploy axis2 1.3

2010-03-26  来源:本站原创  分类:Java  人气:381 

Develop a good habit recording solution at any time a good memory as bad written, previously deployed in the WebSphere axis2 had spent the night and today the decision was made to write the record in this

WebSphere6 + axis2 1.3
Released when webservice service the following exception occurs

java.lang.NoSuchMethodError:   javax/wsdl/Operation.getExtensibilityElements()Ljava/util/List;   at   org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(WSDL11ToAxisServiceBuilder.java:1010)   at   org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(WSDL11ToAxisServiceBuilder.java:399)   at   org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:318)   at   org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:288)   at ...

Solution:
1
Quote

Apache Muse - Conflicting Version of WSDL4J in WebSphere Deployments

When deploying your Muse-based applications on IBM WebSphere Application Server (WAS) 6.0 or 6.1, you need to be aware that Muse relies on WSDL4J 1.6.1 while the server's core libraries include WSDL4J 1.4. If you install your application using the default class loading system, it will fail to start because the Muse framework depends on WSDL4J APIs that are only available in WSDL4J 1.5 and above. To work around this issue, you can configure the server to use the application's class loader before the container or system class loaders ; this will ensure that the WSDL4J classes that are in your application's / WEB-INF/lib directory will be loaded before those in $ WAS_HOME / lib.

If you are developing and deploying your application through IBM Rational Application Developer (RAD), you can make the required changes by setting the class loader mode to PARENT_LAST and the class loader policy to SINGLE.

If you are installing your application through the WAS admin console, select Enterprise Applications> Your Application> Class loading and update detection. You should then check the boxes labeled as follows:

* Classes loaded with application class loader first

* Single class loader for application

Making these changes should not affect your other (non-Muse) applications because, having no WSDL4J JAR files of their own, the server will continue up the chain of class loaders until the container's class loader discovers WSDL4J 1.4 in $ WAS_HOME / lib.

Is the first application of its own class library loading the last parent without loading the wsdl class that comes with WebSphere

2, change the label after the struts can not resolve anything thrown at this time of the application to delete this time inside the servlet.jar that comes with WebSphere

3, then this exception when thrown

RAD 6.0.1, DataSource ClassCastException

delete this jar package jdbc2_0-stdext.jar (hibernate zone), you can check this under the DataSource class in which the package are deleted useless

4 restart successfully posted ok

相关文章
  • websphere6.0 deploy axis2 1.3 2010-03-26

    Develop a good habit recording solution at any time a good memory as bad written, previously deployed in the WebSphere axis2 had spent the night and today the decision was made to write the record in this WebSphere6 + axis2 1.3 Released when webservi

  • zz-based Tomcat5.0 and Axis2 Web Service Application Development 2010-07-05

    Copyright: original works, allowing reproduced, reprinted, please be sure to hyperlink to the original source form of the article indicated, author information and this statement. Otherwise held liable. [I] http://zhangjunhd.51cto.com/113473/23690 [/

  • MyEclipse6.0 安装axis2插件, 调用加密的SAP webservice 2013-06-06

    首先鄙视一下自己,还在用myeclipse,竟然还是6.0版本,没办法,用习惯了,而且自己的开发机配置不高,装过一些别的IDE,发现用的都不是很流畅. 项目要用java调用sap的webservice接口,自己决定用axis2的wsdl2java根据wsdl文件生成java类然后调用接口.网上到处找资料,折腾了一天,终于把接口调通了.下面介绍一下安装调试的过程 首先参照的是这篇博文,资料和描述相当楚 http://blog.csdn.net/seven_zhao/article/details/

  • tomcat6.0 deploy birt report 2010-12-14

    1. To the official download birt-runtime-2_6_1.zip the operating environment; 2. Unzip the file, copy the following Web Viewer Example file to the tomcat server under webapps, you can modify the name birt; 3. The sql driver package into the \ apache-

  • WebSphere6 (jdk1.4) use struts2.0 2010-08-21

    First of all, WebSphere6.0 environment is JDK1.4, Servlet2.4, JSP2.0. WebSphere6.0 only supports the IBM native JDK1.4. So the new features on the JDK5 JDK1.4 be changed (if using Myeclipse development, need to set the compiler version 1.4 version).

  • encryption to achieve webservices axis2 and wss4j 2010-07-08

    Recently, the company should transfer the contents of encrypted web services use wss4j, then read the articles online post follow suit did not run through, so do the next changes are as follows: 1, wss4j Introduction Wss4j is apache development, stan

  • Eclipse Apache Axis2 integration 2010-05-02

    Reprinted from http://bldmickey.blog.sohu.com/59887565.html 2. Install Apache Axis2 Details, see "Apache Axis2 Installation" http://bldmickey.blog.sohu.com/56486087.html 3. Development Environment Description Software Version Eclipse SDK Version

  • WID6.0.1的安装配置信息 2012-03-09

    *** Date: 08-12-2 上午12:11 *** Platform Details: *** System properties: WAS_HOME=C:/Program Files/IBM/WebSphere/ID/6.0/runtimes/bi_v6/ awt.toolkit=sun.awt.windows.WToolkit com.ibm.CORBA.BootstrapHost=localhost com.ibm.CORBA.ConfigURL=file:C:/Program F

  • Eclipse Apache Axis2集成 2014-02-26

    Eclipse Apache Axis2集成 一. 安装Eclipse 详细见<Web Service Eclipse安装>文档,将在近期更新 二. 安装Apache Axis2 详细见<Apache Axis2安装> http://bldmickey.blog.sohu.com/56486087.html 三. 开发环境描述 软件 版本 Eclipse SDK Version 3.3.0 STP(SOA Tools Platform) 0.6.0 WST(Web Standard

  • axis2开发并调用webservice 2014-04-15

    本文将介绍如何使用Tomcat5.0和Apache Axis2开发.部署及测试一个简单的Web Service应用. 1.工作环境 Eclipse 3.1.2+Lomboz+jdk1.5+ apache-tomcat-5.0.18+AXIS2:1.0(war版本和bin版本) 在[url]http://ws.apache.org/axis2/download/1_0/download.cgi[/url]页面下,下载AXIS2的Binary Distribution url: [url]http:

  • portal of the SSO to develop documentation 2009-03-23

    Writing two days before to see the others, and feeling good on the turn over as a reference Portal portal in order to meet with the various subsystems of the demand for a unified sign, thus the use of CAS for SSO Single Sign-profile development. Deve

  • Transplantation liferay4.3.2 to WebSphere + oracle environment 2010-09-13

    Migration at the beginning before the need to prepare: 1. Websphere: must be 6.0 or later is supported Lifieray 4.3, because of the following websphere 6.0 does not support the XML version has been upgraded to xml 2.4 version of liferay 4.3. If you a

  • java project development experience of the three: spring of those thing 2010-10-27

    I believe spring has now become the preferred framework for j2ee development, but also by the majority of java developers love it ioc, aop and a variety of applications allows developers to extend benefits. It is not only a development framework, whi

  • WebSphere Application Server Diagnostics and Tuning 2011-08-22

    IBM WebSphere Application Server Diagnostics and Tuning (written in 2007, the original JavaEye essence posts) This is the sequel to the last article, also published in early 2007 JavaEye, was named the essence of software, and view nearly 40,000 time

  • DWR js undefined - Websphere running under the wrong page address 2010-06-05

    DWR1.0, jdk1.4, websphere6.0 environment dwr run in WebSphere conclusions: 1. Tomcat is weak inspection, when only a dwr.xml file And there is no <signatures> attribute dwr.xml time inside the dwr configuration in web.xml <init-param> <para

  • jquery load data timeout - WebSphere run page problem solving 2010-06-05

    Huan run under tomcat with jquery But in the time-out error websphere continually reported. Tested and found to have access to data in the background, and packaged into a json data, jQuery unsuccessful access to data jdk1.4, websphere6.0, jquery 1.3.

  • Frameworks. Application server corresponding development environment (JDK.Servlet.JSP) 2010-08-21

    The following is my experience in the current phase of the relevant servers and frameworks, incomplete, yet to be added! j2ee1.4 support is servlet2.4, jsp2.0, ejb2.1 j2ee1.5 support is servlet2.5, jsp2.1, ejb3.0 WebSphere5.1: JDK1.4, Servelet2.3, JS

  • Tomcat5.5 debugging process: Invalid chunk ignored warnings abnormal 2008-09-29

    Recent projects using Apache Tomcat/5.5.25 the following error message: Invalid chunk ignored, spare time testing a few (different version) application server, this clock is not the necessity to imagine the emergence of specific Web or application se

  • war包在Websphere下发布时文件缺失的问题 2014-07-31

    问题: 有一次,从eclipse里通过export导出的war包直接部署到Websphere下,安装过程都很顺利,但是class文件和jsp文件都没有被安装到XXXX_ear路径下,查了半天才发现,原来war包里混杂了eclipse以.#打头的一些项目文件,导致部署的时候文件缺失. 解决方案: 去掉那些项目文件就ok了. 来源:http://blog.sina.com.cn/s/blog_5491164b0100tu6p.html ________________________________

  • websphere6.1 configure message-driven bean2.0 (based on the publish / subscribe) Notes from 2010-03-29

    Recently the company has a demand, and receive other sectors of the MQ to send the request to send MQ sector is based on the pub / sub approach published. Subscribe to our department I am responsible for the development of MQ. Environment: websphere6