求助weblogic11g安装部署牛人,CXF 部署到weblogic11g安装部署 11g 报Qname 错误

求助weblogic牛人,CXF 部署到weblogic 11g 报Qname 错误 _ 天津十八层信息港
求助weblogic牛人,CXF 部署到weblogic 11g 报Qname 错误
要学会自己搜索...这句是关键java.lang.NoSuchMethodException: Unknown p缉龚光夹叱蝗癸伟含连roperty 'portName'这是错误行at jsp_servlet._jsp._webservice.__webserviceconfigurationportcomponents._jspService(__webserviceconfigurationportcomponents.java:287)
JDK版本问题:1。网上有很多相关资料。这个问题很棘手。楼主自己也提到非常怀疑是数据源配置那块儿的问题.1自带的JDK版本是1。2,即使楼主的项目是用JDK1?如果楼主用的JDK版本比1.4吗.4。我主要提醒楼主的是要注意log4j的配置问题、Spring与Weblogic的冲突问题,一般来说。3,部署到Weblogic10上JDK方面也不会出什么问题,那么楼主的项目是用什么版本的JDK开发的呢.1.4高.5开发的,Weblogic8。其实,因为Weblogic10自带的JDK版本是1。楼主用的是Weblogic8,那我建议楼主安装Weblogic10,但是具体是什么问题也说不清楚,Tomcat项目移植到Weblogic上出现的问题无怪乎这三大类问题.6,祝楼主好运、数据源配置的问题。最有可能的问题是。希望对楼主有所帮助?也是1Tomcat项目移植到Weblogic上时
要学会自己搜索... 这句是关键java.lang.NoSuchMethodException: Unknown property 'portName' 这是错误行at jsp_servlet._jsp._webservice.__webserviceconfigurationportcomponents._jspService(__webserviceconfigurationportcomponents.java...
Tomcat项目移植到Weblogic上时。 最有可能的问题是: 1、JDK版本问题。楼主用的是Weblogic8.1,Weblogic8.1自带的JDK版本是1.4,那么楼主的项目是用什么版本的JDK开发的呢?也是1.4吗?如果楼主用的JDK版本比1.4高,那我建议楼主安装Weblogic10...
服务实例化的时候报错了,多贴些日志出来吧
你看看你的web.xml里定义的servlet abc路径指定有没有问题。 如果没问题,看看你的abc.xml里标签是否符合套用的DTD文件。
如题我用CXF做的webservice设置了数字证书双向认证后,客户端调用报异常 可能是声明的接口类和请求的接口类不一致了还有这个错误提示明确的指出错误 可能,zlrQEw
可能出现问题的地方太多了 可能是由于JDK不同的版本 引起jar包冲突 什么的
如题我用CXF做的webservice设置了数字证书双向认证后,客户端调用报异常 可能是声明的接口类和请求的接口类不一致了还有这个错误提示明确的指出错误 可能,zlrQEw
如题我用CXF做的webservice设置了数字证书双向认证后,客户端调用报异常 可能是声明的接口类和请求的接口类不一致了还有这个错误提示明确的指出错误 可能,zlrQEw
需要更加详细的错误日志才能判断。。。weblogic版本不一样可能会引发类似问题,比如Weblogic 11g或者12c等,都需要适当的配置。
我尝试去掉了那部分内容,就留下了cxf的核心包,然后启动成功了
返回主页:
本文网址:/view-.htmlRe: Facing error on Weblogic 11g with Apache CXF |u sing POST IN REST |Need help
cxf-dev mailing list archives
Message view
Sergey Beryozkin &sberyoz...@&
Re: Facing error on Weblogic 11g with Apache CXF |u sing POST IN REST |Need help
On 03/09/12 11:11, himanshu wrote:
& Hi everyone,
& We are facing a a issue in weblogic with Apche CXF,(Have been looking for a
& solution since long)
& We are using weblogic 11g(OCCAS) on linux machine.
& Its in cluster ,application gets deployed through the admin server on
& engines.
& We are using APACHE CXF for the REST based request processing in the
& application.
& The issue which we are facing is :
& If we stop and then start the deployed application from the console, It
& shows active on the Page.Now if we hit the REST web service using REST
& client it gives 500 -internal server error.
& But only the POST REST requests are giving this error however the GET
& requests works fine.But if we wait for some time(ranging from 15 sec to 12
& min) the POST request also start responding successfully.
& The application is deployed in a cluster ,we have noted this issue on the
& Envoirnments where the admin-server is on another machine and the engines
& are on differnet machines.Its works fine on the ENV where the both the admin
& server and engine are on the same machine.
& We have enabled the CXF logging as well but have not been able to notice any
& exception/error in the logs.
I honestly do not think it is anything do to with POST, it appears that
the actual service endpoint has not been initialized after a restart, in
cases when the admin server is not collocated.
I'd try to isolate the issue somehow but I'm afraid I've nothing to
suggest :-), it's a complex case...
Cheers, Sergey
& I tried one thing which worked was I packaged the CXF.jar into the EAR
& itself( instead of domain/lib) and set prefer-web-inf-classes Element.Then
& the application started behaving perfectly fine.This seems that the classes
& with POST functionality are taking time to load.
& Anyone who has experienced it before or have an ifdea how CXF library will
& be loaded in this scenario.
& This is very urgent if someone can give pointers.
& Exception trace is :
01:54:44,812 WARN [org.apache.cxf.phase.PhaseInterceptorChain]
& Application has thrown exception, unwinding now
& org.apache.cxf.interceptor.Fault: argument type mismatch while invoking
& public com.nsn.see.application.callerid.Registration
& com.nsn.see.application.callerid.CallerIdService.registration(com.nsn.see.application.callerid.Register)
& with params [com.nsn.see.application.callerid.Register@1d03015d].
& org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:159)
& org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:133)
& at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
& at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
& org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
& at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
& at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
& at java.util.concurrent.FutureTask.run(FutureTask.java:138)
& org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
& org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
& org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
& org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:109)
& org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)
& org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:394)
& org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:133)
& org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
& org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
& org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
& at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
& org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
& weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
& weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
& weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
& weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
& weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3692)
& weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3656)
& weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
& at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
& weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
& weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
& weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1451)
& at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
& at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
& Caused by: java.lang.IllegalArgumentException: argument type mismatch
& at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
& sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
& sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
& at java.lang.reflect.Method.invoke(Method.java:597)
& org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
& org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
& at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:130)
& at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:82)
& org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
& at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
& at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
& at java.util.concurrent.FutureTask.run(FutureTask.java:139)
& org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:38)
& org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
& org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
& org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:109)
& org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:100)
& org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:394)
& org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:133)
& org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
& org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:180)
& org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:104)
& at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
& org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
& weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
& weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
& weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
& weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
& … 9 more
& I can share the detailed logs if required as well.
& Thanks in advance.
& We are sending a small XML file with 2 string values through REST.Actually
& we didn’t suspected the param As:
The application starts working after some time.
The issue comes up only when the admin server and engines are on
& different machines.
& SO by this its seems that the server is not able to initialize the CXF
& properly.
& View this message in context: http://cxf.547215./Facing-error-on-Weblogic-11g-with-Apache-CXF-u-sing-POST-IN-REST-Need-help-tp5713466.html
& Sent from the cxf-issues mailing list archive .
Sergey Beryozkin
Talend Community Coders
(inline, 8-Bit, 8662 bytes)将项目从Tomcat迁到WebLogic 11g的问题 - tomcat-weblogic - ITkeyowrd
将项目从Tomcat迁到WebLogic 11g的问题
推荐:一、org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is defined 解决:将web.xml中 &context-p
玩Tomcat好多年了,从来没接触分配WebLogic,现在有项目需要使用WebLogic 11g,结果开发好的项目扔上去后出现各种各样的鸟问题。花了整整一周时间才把问题扫清,很悲催,推荐:最近的项目使用MyEclipse开发,Web应用服务器由Tomcat6转换为使用weblogic10环境。
WebLogic10安装,配置好用户domain。
启动测试web应用服务没有问题赶紧备忘一下。
1、Servlet 规范使用2.5,不能使用3.0
2、Spring配置文件不能使用通配符,有多个配置文件必须分成多个来写。(web.xml中contextConfigLocation的配置)
3、Struts2 Convention插件的配置要添加以下两项:
&constant name=&struts.convention.action.fileProtocols& value=&jar,zip& /&
&constant name=&struts.convention.action.includeJars& value=&.*?/_wl_cls_gen.*?jar(!/)?& /&
4、在源码的根路径添加一个名为“META-INF”的目录,里面随便添加一个文件。
5、使用CXF时,注意web.xml的开头部分只能如下,去除xmlns:xsi、xsi:schemaLocation等声明。
&web-app xmlns=&/xml/ns/javaee&&
6、使用CXF时,删除以下包:
jaxb-impl-*.jar
xml-apis-*.jar
## serializer-*.jar
## xalan-*.jar
推荐:第1个问题: 异常描述:VALIDATION PROBLEMS WERE FOUND problem: cvc-enumeration-valid: string value '3.0' is not a valid enumeration value for web-app-v
玩Tomcat好多年了,从来没接触分配WebLogic,现在有项目需要使用WebLogic 11g,结果开发好的项目扔上去后出现各种各样的鸟问题。花了整整一周时间才把问题扫清,很悲催, 赶紧备忘一下。 1、Ser
相关阅读排行
相关内容推荐
请激活账号
为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。
您的注册邮箱:
如果您没有收到激活邮件,请注意检查垃圾箱。&>&&>&开发技术&>&Web开发&>&Weblogic92+CXF+XDoclet+Spring轻松搞定webservice 例子
Weblogic92+CXF+XDoclet+Spring轻松搞定webservice 例子
上传大小:5.57MB
Weblogic92+CXF+XDoclet+Spring轻松搞定webservice 例子
综合评分:4(28位用户评分)
所需积分:
下载个数:358
审核通过送C币
H5小游戏完整源码
创建者:mililin1007
EasyUI后台主题UI皮肤框架
创建者:djcbpl
Bootstrap 实战项目【视频教程】
创建者:f_feng3
{%username%}回复{%com_username%}{%time%}\
/*点击出现回复框*/
$(".respond_btn").on("click", function (e) {
$(this).parents(".rightLi").children(".respond_box").show();
e.stopPropagation();
$(".cancel_res").on("click", function (e) {
$(this).parents(".res_b").siblings(".res_area").val("");
$(this).parents(".respond_box").hide();
e.stopPropagation();
/*删除评论*/
$(".del_comment_c").on("click", function (e) {
var id = $(e.target).attr("id");
$.getJSON('/index.php/comment/do_invalid/' + id,
function (data) {
if (data.succ == 1) {
$(e.target).parents(".conLi").remove();
alert(data.msg);
$(".res_btn").click(function (e) {
var q = $("#form1").serializeArray();
console.log(q);
var res_area_r = $.trim($(".res_area_r").val());
if (res_area_r == '') {
$(".res_text").css({color: "red"});
$.post("/index.php/comment/do_comment_reply/", q,
function (data) {
if (data.succ == 1) {
var $target,
evt = e || window.
$target = $(evt.target || evt.srcElement);
var $dd = $target.parents('dd');
var $wrapReply = $dd.find('.respond_box');
console.log($wrapReply);
var mess = $(".res_area_r").val();
var str = str.replace(/{%header%}/g, data.header)
.replace(/{%href%}/g, 'http://' + window.location.host + '/user/' + data.username)
.replace(/{%username%}/g, data.username)
.replace(/{%com_username%}/g, _username)
.replace(/{%time%}/g, data.time)
.replace(/{%id%}/g, data.id)
.replace(/{%mess%}/g, mess);
$dd.after(str);
$(".respond_box").hide();
$(".res_area_r").val("");
$(".res_area").val("");
$wrapReply.hide();
alert(data.msg);
}, "json");
/*删除回复*/
$(".rightLi").on("click",'.del_comment_r', function (e) {
var id = $(e.target).attr("id");
$.getJSON('/index.php/comment/do_comment_del/' + id,
function (data) {
if (data.succ == 1) {
$(e.target).parent().parent().parent().parent().parent().remove();
$(e.target).parents('.res_list').remove()
alert(data.msg);
//填充回复
function KeyP(v) {
$(".res_area_r").val($.trim($(".res_area").val()));
评论共有5条
weblogic9本身有bug,cxf不兼容,怎么配都不行,weblogic10就没问题
不是WEBLOGIC92么?怎么运行啊。
weblogic9本身有bug,cxf不兼容,怎么配都不行,weblogic10就没问题
weblogic9本身有bug,cxf不兼容,怎么配都不行,weblogic10就没问题
weblogic9本身有bug,cxf不兼容,怎么配都不行,weblogic10就没问题
上传者其他资源上传者专辑
尚琦环保儿童炫彩刮画(安卓版)
尚琦环保儿童炫彩刮画(电脑版)
避免Flex RSL重复load 提高module加载性能的swc
flexmojos modulefiles支持通配符文件集
flex Portal in weblogic portal 9.2 例子
开发技术热门标签
VIP会员动态
前端开发重难点
17年软考最新真题及解析
物联网全栈开发专题
二十大技术领域优质资源
spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip
CSDN&vip年卡&4000万程序员的必选
Weblogic92+CXF+XDoclet+Spring轻松搞定webservice 例子
会员到期时间:剩余下载个数:
积分不足!
资源所需积分
当前拥有积分
您可以选择
程序员的必选
绿色安全资源
资源所需积分
当前拥有积分
VIP年卡全年1200个资源免积分下载
你当前的下载分为234。
你还不是VIP会员
开通VIP会员权限,免积分下载
你下载资源过于频繁,请输入验证码
你下载资源过于频繁,请输入验证码
您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:!
若举报审核通过,可奖励20下载分
被举报人:
举报的资源分:
请选择类型
资源无法下载
资源无法使用
标题与实际内容不符
含有危害国家安全内容
含有反动色情等内容
含广告内容
版权问题,侵犯个人或公司的版权
*详细原因:

我要回帖

更多关于 weblogic11g安装部署 的文章

 

随机推荐