在 tomcat 容器中可以正常发布axis2的webservice,但是更换为weblogic之后就报No services found in this location,这是因为程序没有找到WEB-INF/services/...下的services.xml所致,在加载services.xml配置在web.xml中,配置如下 <servlet>
<servlet>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
<!-- <init-param>
<param-name>axis2.repository.path</param-name>
<param-value>
/WEB-INF
</param-value>
</init-param> -->
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
即使指定/WEB-INF 还是不行,<param-value>的值必须是D:\axis2tomcat\apache-tomcat-6.0.35\webapps\wt\WEB-INF 物理路径,但是由于我所处的环境为weblogic的集群环境,所以配置这种方法不可行。
那么 <init-param> 节点注释掉,让程序为默认,然后在部署发布项目的时候 weblogic不是以war形式或jar形式发布,而是以目录形式发布,然后启动项目即可加载到WEB-INF下的services.xml
附录:weblogic目录形式发布项目,进入控制台-锁定并编辑-安装,/weblogic/Oracle/Middleware/wlserver_10.3/common/templates/applications 把程序以文件夹的方式上传到此处,点击下一步下一步即可
相关推荐
Location-Based Services
The paper presents modern personal services and new trends observed in evolution of wireless services. The article covers voice and data transmission services offered in ...and described in this paper.
In Mobile Location Services, leading mobile application consultant Andrew Jagoe presents the first end-to-end solutions guide to building and deploying location-based services and applications....
Java.Web.Services.in.Nutshell.rarJava.Web.Services.in.Nutshell.rarJava.Web.Services.in.Nutshell.rar
Creating Location Services for the Wireless Web.pdf LOCATION BASE SERVICE 的非常著名入门书籍
Amazon Web Services in Action introduces you to computing, storing, and networking in the AWS cloud. You'll start with a broad overview of AWS and learn how to spin-up servers manually and from the ...
在centos下安装oracle数据库后启动监听时遇到的问题的解决方法。
this new edition also offers three new chapters covering the latest additions to the AWS platform: serverless infrastructure automation with AWS Lambda, sharing data volumes between machines with EFS,...
Amazon.Web.Services.in.Action.2015.9.pdf
Java Web Services In A Nutshell June 2003
play service location 单独模块,用于谷歌定位开发,aar 文件需要使用 Android Studio 作为编译工具使用,eclipse 开发者无须下载。
The authors provide an overview of the services that can be realized with multicast in third-generation networks, describe the mechanisms required to support these services and highlight the ...
Location-Based_Services, can have great impact on economic
Location-Based Services Handbook Applications, Technologies, and Security
高清彩版 Manning.Amazon.Web.Services.in.Action.2nd.Edition.2018.9
Integration Services in SQL Server 2005
Amazon Web Services in Action introduces you to computing, storing and networking in the AWS cloud. You'll start with a broad overview of AWS and learn how to spin up servers manually and from the ...
Telecom Services Delivery in a SOA
Oracle Solaris 11.2 Managing Service Location Protocol Services in Oracle Solaris 11.2-62
Oracle Solaris 11.1 Managing Service Location Protocol Services in Oracle Solaris11.1-68