0 0

cxf与jboss项目中,webservice服务端启动,控制台提示一个ERROR信息5

ERROR [STDERR] 2010-7-29 11:19:36 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
信息: Creating Service {http://biz/}HelloBizImplService from class biz.HelloBiz
ERROR [STDERR] 2010-7-29 11:19:38 org.apache.cxf.endpoint.ServerImpl initDestination
信息: Setting the server's publish address to be /hello信息: Setting the server's publish address to be /hello


如此,打印出了ERROR,但是运行调用webservice都正常,而且在tomcat下不会打印这个ERROR,只是在JBoss下会,如何解决。

环境:cxf-2.2.9, spring-2.5.6, jboss-4.2.3,beans配置如下:
<import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

	<jaxws:server id="hellows" serviceClass="biz.HelloBiz" address="/hello">
		<jaxws:serviceBean>
			<bean id="helloBiz" class="biz.HelloBizImpl"></bean>
		</jaxws:serviceBean>
	</jaxws:server>

	<!-- 另一种配置
		<bean id="jaxWsServiceFactoryBean" class="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean">
		<property name="wrapped" value="true" />
		<property name="dataBinding" ref="aegisBean" />
		</bean>
		
		<bean id="aegisBean" class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
		
		<jaxws:endpoint id="hellows" implementor="biz.HelloBizImpl" address="/hello">
		<jaxws:serviceFactory>
		<ref bean="jaxWsServiceFactoryBean" />
		</jaxws:serviceFactory>
		</jaxws:endpoint>
	-->


恳请指教!!!
2010年7月29日 11:22
目前还没有答案

相关推荐

Global site tag (gtag.js) - Google Analytics