First of all, you should really consider upgrading to more recent
versions. As far as I can see from the second server logs, the
application server is binding http connector to port 8180, so that might
be related to your issue.
Please also consider reading some documentation on running Apache CXF
applications on JBoss AS 7 / WildFly at
http://cxf.apache.org/docs/application-server-specific-configuration-guide.html
(follow links there).
Cheers
Alessio
On 23/09/13 20:22, RomeoUA wrote:
Hi All,
I'm having some problems with CXF on Jboss.
CXF version: 2.3.1
Jboss version: 5.1.0.GA
There are two servers: one on windows, second on linux, as far as I can see,
they are configured the same (maybe there are some differences).
There is one ear-file, which published my web service in this line:
*Endpoint.publish("http://localhost:8590/notifyflexmwsender/CallbackPort",
notifyImpl);*
when this line is executed on the windows jboss server, in the logs I get
the following:
/16:52:32,323 INFO [ReflectionServiceFactoryBean] Creating Service
{http://apache.org/callback}CallbackService from class
rxtp.flexmwsender.webservice.MWSenderNotifyPortType
16:52:32,679 INFO [ServerImpl] Setting the server's publish address to be
http://localhost:8590/notifyflexmwsender/CallbackPort
16:52:32,795 INFO [log] jetty-7.2.0.v20101020
16:52:33,437 INFO [log] Started SelectChannelConnector@localhost:8590/
After that the webservice is working well.
but when I run it on the linux jboss server, in the logs I see the
following:
/16:19:35,755 INFO [WSDLFilePublisher] (http-0.0.0.0-8180-11) WSDL
published to:
file:/server/sm/jboss-5.1.0.GA/server/all/data/wsdl/http-jaxws-en
dpoint-api/notifyflexmwsender/CallbackService4759959207994283377.wsdl
16:19:35,757 INFO [DefaultEndpointRegistry] (http-0.0.0.0-8180-11)
register:
jboss.ws:context=notifyflexmwsender,endpoint=jaxws-dynamic-endpoint
16:19:35,769 INFO [TomcatDeployment] (http-0.0.0.0-8180-11) deploy,
ctxPath=/notifyflexmwsender
16:19:35,785 WARNING [config] (http-0.0.0.0-8180-11) Unable to process
deployment descriptor for context '/notifyflexmwsender'
16:19:35,785 INFO [config] (http-0.0.0.0-8180-11) Initializing Mojarra
(1.2_13-b01-FCS) for context '/notifyflexmwsender'/
There are no exceptions, but I can't connect to port 8590, it is closed.
I understand that the problem may be in the binding. But I can not solve it.
Thank you in advance for your help.
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-publish-on-Jboss-5-1-0-GA-tp5734386.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Alessio Soldano
Web Service Lead, JBoss