• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

How to speed up AXIS2 HTTPS/SSL connection?

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
We have implemented a SOAP Web Services server and client using Java 1.6, Apache Axis 2 v1.3 and Tomcat 6. We have also implemented a client in C# and .NET. The http connection using Java is slower than .NET but still acceptable. The https/SSL connection using Java client is much slower than .NET and about 100 times slower than http (non-SLL) connection which is not acceptable!.

I'm wondering if there are ways to improve the https performance and whether there are configurable parameters in AXIS server or client which can improve https speed in Java clients. (e.g. less strong encryption in SSL).

We even replaced the Tomcat Java SSL library with native C library but it didn't help that much!

Based on the SSL logs, apparently axis uses shared SSL sessions, but still each SAOP operation takes more than 4 seconds.

Note that I don't specifically create HTTPS/SSL connections in my code. I use the AXIS2 libraries and the Java classes generated from the WSDL file using wsdl2java.

I'd appreciate your help.

Thanks
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jim,
I am using the same configuration as you are, using a java client SSL/HTTPS connection. When I use HTTPS connection I need to open a browser with a https url "https://localhost:8443/mytest/Services". If I don't I got a null pointer exception. Is there any initialization I need to do in Axis2 or in Tomcat to overcome this?
Appreciate any help.

Steve
 
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic