Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 5.0.0
    • Fix Version/s: EAP_EWP 5.1.1
    • Component/s: Web Services
    • Labels:
      None
    • Environment:

      JBoss Enterprise Application Platform 5.x
      JBossWS 3.1.2

    • Steps to Reproduce:
      Hide

      Attached a zip which contains

      Deploy: helloWorld-ejb.jar

      helloWorld-ejb.jar.zip - the source for the code above

      mustafa-jbossws-remoting.zip - contains a Java Project from Eclipse with
      the client code

      Set JVM arguments so it uses the JBossWS classes instead of Sun JAXWS in
      JDK6
      -Djava.endorsed.dirs=/home/bmaxwell/applications/jboss/active/lib/endorsed/
      -Djavax.net.debug=all

      It also has a Server Runtime Library that is EAP 5.0 in it.

      $JBOSS_HOME/bin/run.conf - I added -Djavax.net.debug=all to it. I was
      testing with the default server profile.

      JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxPermSize=256m
      -Dorg.jboss.resolver.warning=true
      -Dsun.rmi.dgc.client.gcInterval=3600000
      -Dsun.rmi.dgc.server.gcInterval=3600000
      -Dsun.lang.ClassLoader.allowArraySyntax=true -Djavax.net.debug=all"

      Show
      Attached a zip which contains Deploy: helloWorld-ejb.jar helloWorld-ejb.jar.zip - the source for the code above mustafa-jbossws-remoting.zip - contains a Java Project from Eclipse with the client code Set JVM arguments so it uses the JBossWS classes instead of Sun JAXWS in JDK6 -Djava.endorsed.dirs=/home/bmaxwell/applications/jboss/active/lib/endorsed/ -Djavax.net.debug=all It also has a Server Runtime Library that is EAP 5.0 in it. $JBOSS_HOME/bin/run.conf - I added -Djavax.net.debug=all to it. I was testing with the default server profile. JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -Djavax.net.debug=all"
    • Estimated Difficulty:
      Medium
    • Release Notes Text:
      Hide
      JBossWS does not reuse an established SSL connection when sending multiple requests over SSL to JBoss Enterprise Application Platform. This means an SSL handshake occurs on every request. This issue has been fixed and the SSL handshake occurs once and is reused for every subsequent request, if a local WSDL is used.
      Show
      JBossWS does not reuse an established SSL connection when sending multiple requests over SSL to JBoss Enterprise Application Platform. This means an SSL handshake occurs on every request. This issue has been fixed and the SSL handshake occurs once and is reused for every subsequent request, if a local WSDL is used.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      When creating a web service client and sending multiple requests over SSL to JBoss EAP the client doesn't reuse the already established connection and instead a SSL handshake takes place on every request.

      SSL session id is shown in ssl debug log but this is different on every request. Using Sun JAXWS libraries (remove endorsed libraries) you can see the SSL connection session id being reused on every subsequent request being made.

      JBossWS should reuse the already established connection and not do the expensive SSL handshake on every request.

        Gliffy Diagrams

          Attachments

          1. example.zip
            2.03 MB
          2. JBPAPP-5826-logs.zip
            241 kB
          3. test-NetBeans.zip
            385 kB

            Issue Links

              Activity

                People

                • Assignee:
                  ozizka Ondrej Zizka
                  Reporter:
                  bmaxwell Brad Maxwell
                  Writer:
                  Rebecca Newton
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: