0 Replies Latest reply on Dec 22, 2014 3:54 AM by viji2807

    JBOSS 4.2.2 configurations to support spring restful webservice

    viji2807

      Hi,

       

      I have a Spring based restful web service in my application. My application runs on JBOSS 4.2.2, secured https port 8443. When i hosted the web service on same application, i am able to invoke the webservice with http port 8080 but not on https 8443. Can some one help me in knowing the root cause of this issue. This is the 1st web service which i am hosting on my server. Do we any configurations in service.xml or port bindings for web services.

       

       

      <Connector port="8080" address="${jboss.bind.address}"   

               maxThreads="250" maxHttpHeaderSize="8192"

               emptySessionPath="true" protocol="HTTP/1.1"

               enableLookups="false" redirectPort="8443" acceptCount="100"

               connectionTimeout="20000" disableUploadTimeout="true" />

       

       

          <!-- Define a SSL HTTP/1.1 Connector on port 8443

               This connector uses the JSSE configuration, when using APR, the

               connector should be using the OpenSSL style configuration

               described in the APR documentation -->

        <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

        maxThreads="150" scheme="https" secure="true"

        clientAuth="false"

        strategy="ms" address="${jboss.bind.address}"

        keystoreFile="${jboss.server.home.dir}/conf/server.keystore"

        keystorePass="prbman"

        truststoreFile="${jboss.server.home.dir}/conf/server.keystore"

        truststorePass="prbman"

        sslProtocol="TLS"/>

       

       

          <!-- Define an AJP 1.3 Connector on port 8009 -->

          <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"

               emptySessionPath="true" enableLookups="false" redirectPort="8443" />

       

      Your help is appreciated.

       

       

      Thanks in Advance,

      Vijaya