On Oct 10, 9:34 am, Bright <open2m...@gmail.com> wrote:
> bug信息:
>
> http://www.mail-archive.com/cxf-iss...@incubator.apache.org/msg04006.html
>
> https://issues.apache.org/jira/browse/CXF-986
> >https://issues.apache.org/jira/browse/CXF-986- Hide quoted text -
>
> - Show quoted text -
> >https://issues.apache.org/jira/browse/CXF-986- 隐藏被引用文字 -
>
> - 显示引用的文字 -
> > > - 显示引用的文字 -- 隐藏被引用文字 -
>
> - 显示引用的文字 -
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:soap="http://cxf.apache.org/bindings/soap"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
<jaxws:endpoint id="soaptest"
implementor="soaptest.server.MessageProvider"
address="/">
</jaxws:endpoint>
</beans>
It's so simple.
On 10月10日, 上午10时52分, Bright <open2m...@gmail.com> wrote:
Willem
On 10月10日, 上午11时00分, Bright <open2m...@gmail.com> wrote:
> My cxf-servlet.xml is following:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
> Licensed to the Apache Software Foundation (ASF) under one
> or more contributor license agreements. See the NOTICE file
> distributed with this work for additional information
> regarding copyright ownership. The ASF licenses this file
> to you under the Apache License, Version 2.0 (the
> "License"); you may not use this file except in compliance
> with the License. You may obtain a copy of the License at
>
> http://www.apache.org/licenses/LICENSE-2.0
>
> Unless required by applicable law or agreed to in writing,
> software distributed under the License is distributed on an
> "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> KIND, either express or implied. See the License for the
> specific language governing permissions and limitations
> under the License.
> -->
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:jaxws="http://cxf.apache.org/jaxws"
> xmlns:soap="http://cxf.apache.org/bindings/soap"
This is my code fragment:
public class MessageProvider implements Provider<StreamSource>
{
JAXBContext jc;
Unmarshaller unmarshaller;
Marshaller marshaller;
public MessageProvider() {
//Complete
}
public StreamSource invoke(StreamSource request) {
StreamSource response = null;
RequestType requestType = null;
try
{
.........................
........................
}
Error message of Tomcat log:
Oct 8, 2007 4:32:40 AM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not parse the XML stream.
at
org.apache.cxf.databinding.source.NodeDataReader.read(NodeDataReader.java:
72)
at
org.apache.cxf.databinding.source.NodeDataReader.read(NodeDataReader.java:
45)
at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor
$PostDispatchSOAPHandlerInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:
205)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:
207)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:
73)
at
org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:
79)
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:
235)
at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:
140)
at org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:
278)
at org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:
256)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
869)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
80)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Cached file was deleted,
java.io.FileNotFoundException: D:\apache-tomcat-5.5.17\temp
\att54081tmp (The system cannot find the file specified)
at
org.apache.cxf.io.CachedOutputStream.getInputStream(CachedOutputStream.java:
283)
at
org.apache.cxf.databinding.source.NodeDataReader.read(NodeDataReader.java:
70)
... 25 more
Oct 8, 2007 4:32:41 AM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not parse the XML stream.
at
org.apache.cxf.databinding.source.NodeDataReader.read(NodeDataReader.java:
72)
at
org.apache.cxf.databinding.source.NodeDataReader.read(NodeDataReader.java:
45)
at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor
$PostDispatchSOAPHandlerInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:
205)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:
207)
at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:
73)
at
org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:
79)
at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:
235)
at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:
140)
at org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:
278)
at org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:
256)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
869)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
80)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.io.IOException: Cached file was deleted,
java.io.FileNotFoundException: D:\apache-tomcat-5.5.17\temp
\att54082tmp (The system cannot find the file specified)
at
org.apache.cxf.io.CachedOutputStream.getInputStream(CachedOutputStream.java:
283)
at
org.apache.cxf.databinding.source.NodeDataReader.read(NodeDataReader.java:
70)
... 25 more
===================================================================
On 10月10日, 上午11时04分, Bright <open2m...@gmail.com> wrote:
姜宁 (Willem)
------------------
http://willem.bokeland.com/
On 10月10日, 下午3时55分, willem <willem.ji...@gmail.com> wrote:
> I just checked the stack trace. We just fixed the issue you faced at
> the end of last month.
> The latest 2.0.3 snapshot[1] contains this fix.
> Please download it and let me know if it fixes you problem.
>
> [1]http://people.apache.org/repo/m2-snapshot-repository/org/apache/cxf/a...
My program has been working well while I use 2.0.3 snapshot[1]
version.
Thank you. you are a nice man.
You can try it by downloading the latest 2.0.3 snapshot.
Willem.
> ...
>
> 阅读更多
Willem
On 10月11日, 下午4时16分, SkyTiger <darktemplars...@gmail.com> wrote:
> Xfire是否也有类似的BUG?