0 Replies Latest reply on Sep 24, 2013 8:01 AM by Roman Radchenko

    CXF publish on Jboss 5.1.0.GA

    Roman Radchenko Newbie

      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.