Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3202

JBossWS does not reuse SSL sessions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • jbossws-native-3.1.2
    • jbossws-native
    • None
    • 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 -Djava.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 -Djava.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"
    • Medium

      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.

            ropalka Richard Opalka
            rhn-support-mus Mustafa Musaji
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: