OK,
<transportReceiver name="https"
class="org.apache.axis2.transport.http.AxisServletListener">
<parameter name="port">8096</parameter>
</transportReceiver>
Here you declare that https as a transportReceiver name is used in
conjunction with a class understanding http but maybe not https. I think
all it does is listening now on port 8096 for a http protocol but gets a
https offered and does not understand it. Maybe you have a
class="org.apache.axis2.transport.https.AxisServletListener". Or is
there an explanation where this discrepancy comes from?
Josef
Von: Matta, Geethamadhurima [mailto:[email protected]]
Gesendet: Donnerstag, 9. Juni 2011 18:46
An: '[email protected]'
Betreff: 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:[email protected]]
Sent: 09 June 2011 17:42
To: [email protected]
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:[email protected]]
Gesendet: Donnerstag, 9. Juni 2011 16:23
An: '[email protected]'
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:[email protected]]
Sent: 09 June 2011 10:33
To: [email protected]
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:[email protected]]
Gesendet: Mittwoch, 8. Juni 2011 19:29
An: '[email protected]'
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