2 Replies Latest reply on Dec 21, 2006 2:41 AM by ybenigot

    Problem setting webservice port with jboss 4.0.5

    ybenigot

      I am using jboss-4.0.5GA to create a web service, server config default.

      I find out than while everything goes fine until the server runs on
      its default port 8080, setting the port in jbossweb-tomcat55.sar\server.xml
      to a value different of 8080 breaks the service.

      It seems that the webService always listen on port 8080.

      -> There are numerous posts about this topic, suggesting to change jboss-beans.xml under jbossws.sar, but I have none of these files.

      I have a jbossws14.sar directory. Trying to set webServicePort attribute
      in \jbossws14.sar\META-INF\jboss-service.xml only create an exception at server startup.

      Where should I look ?

        • 1. Re: Problem setting webservice port with jboss 4.0.5
          evantill

          under jbossws14.sar you should have jbossws.beans
          2 possibilities :
          1) jbossws.beans is a file : In this case first unzip it in a directory with the same name (it is just a jar file)
          2) jbossws.beans is a directory :nothing special to be done

          Now you have to edit jbossws.beans/META-INF/jboss-beans.xml
          where you can change the port settings

          Hope this will help

          • 2. Re: Problem setting webservice port with jboss 4.0.5
            ybenigot

            It works, thanks

            I have default\deploy\jbossws14.sar\jbossws.beans which is a file

            I rename the file and unzip it under
            default\deploy\jbossws14.sar\jbossws.beans (which is now a directory)

            and I find the relevant file as
            default\deploy\jbossws14.sar\jbossws.beans\META-INF\jboss-beans.xml


            Only I couldn't figure out that a 2Kb files could be an archive. I wonder why it was zipped.