You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Veithen <an...@gmail.com> on 2011/06/14 20:34:20 UTC

Re: Axis2 server on Https

The stand-alone Axis2 server doesn't support HTTPS. It is only
supported when using the servlet transport, i.e. inside an application
server.

Andreas

On Tue, Jun 14, 2011 at 00:14, Matta, Geethamadhurima
<ge...@citi.com> 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.stadelmann@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.matta@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.stadelmann@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.matta@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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org