Another option not related to java would be to install apache/nginx and
use it as reverse proxy from SSL port to axis listening on local interface.
On 14/06/11 10:14, Matta, Geethamadhurima wrote:
Hi,
Can anyone help on the below. I am using stand-alone Axis2 server.
Need it on https.
------------------------------------------------------------------------
*From:* Matta, Geethamadhurima [ICG-IT]
*Sent:* 09 June 2011 17:46
*To:* 'java-user@axis.apache.org'
*Subject:* RE: Axis2 server on Https
I am running Axis2 standalone server. As you can see in axis2server.sh
, we are using "org.apache.axis2.transport.SimpleAxis2Server" for Axis2/J
Using version Axis2 1.5.4.
------------------------------------------------------------------------
*From:* Stadelmann Josef [mailto:josef.stadelm...@axa-winterthur.ch]
*Sent:* 09 June 2011 17:42
*To:* java-user@axis.apache.org
*Subject:* AW: Axis2 server on Https
Then you might be so kind and you say me how you run axis2/j stand
alone without any AS; do you?
While this is possible for axis2/C (the simple server) I have never
used such a thing as a simple server for axis2/J.
Please explain me a bit more about your environment and I try to help
on Thusday next week.
Josef
*Von:*Matta, Geethamadhurima [mailto:geethamadhurima.ma...@citi.com]
*Gesendet:* Donnerstag, 9. Juni 2011 16:23
*An:* 'java-user@axis.apache.org'
*Betreff:* RE: Axis2 server on Https
Thanks Josef for your reply.
I am not using tomcat or any other servlet container. Just Axis2.
I cannot use tomcat for now.
Is there any alternative?
------------------------------------------------------------------------
*From:*Stadelmann Josef [mailto:josef.stadelm...@axa-winterthur.ch]
*Sent:* 09 June 2011 10:33
*To:* java-user@axis.apache.org
*Subject:* AW: Axis2 server on Https
Remember axis2 is a LARGE SERVLET
And SERVLETS run in a SERVLET CONTAINER established by APPLICATION SERVERS
Hence did you configure your APPLICATION SERVER to have an SSL port
for https request setup using i.e. Tomcats server.xml
Josef
*Von:*Matta, Geethamadhurima [mailto:geethamadhurima.ma...@citi.com]
*Gesendet:* Mittwoch, 8. Juni 2011 19:29
*An:* 'java-user@axis.apache.org'
*Betreff:* Axis2 server on Https
Hi,
I am unable to start Axis2 server on https.
I changed the axis2.xml (transportReceiver) to https as below.
--------------------------------------------
<transportReceiver name="https"
class="org.apache.axis2.transport.http.AxisServletListener">
<parameter name="port">8096</parameter>
</transportReceiver>
--------------------------------------------
This is the axis2server.sh containing:
java $* -Xms512m -Xmx512m -XX:-HeapDumpOnOutOfMemoryError
-XX:-PrintGCDetails -Xcheck:jni
-Djava.library.path="$SRVROOT/CdsJniCpp:$SRVROOT/CdsCore" -classpath
"$AXIS2_CLASSPATH" org.apache.axis2.transport.SimpleAxis2Server -repo
"$AXIS2_ROOT"/repository -conf "$AXIS2_ROOT"/conf/axis2.xml
I get the below error:
Initializing the service context
[INFO] [SimpleAxisServer] Started
[SimpleAxisServer] Started
***********Destroying the service context
The server is not starting up.
Can you please help.
Regards,
Geeta