Hi Charitha,
So, does it mean that i cannot use SSL on Standalone AXIS?
-Ajay
On Fri, 07 Dec 2007 20:16:21 +0530, Charitha Kankanamge
<[EMAIL PROTECTED]> wrote:
> Ajay,
> This is a bug in axis2-1.3. I reported a JIRA some time back.
> https://issues.apache.org/jira/browse/AXIS2-3309
>
> regards
> Charitha
>
> Ajay Kumar Gour wrote:
>
>> Hello All,
>>
>> To enable the SSL support in Axis2 1.3, i have uncommented the
>>
>> <transportReceiver name="https"
>> class="org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener"> and
>> <transportSender name="https"
>> class="org.apache.axis2.transport.nhttp.HttpCoreNIOSSLSender">
elements.
>>
>> But when restart the server, iam getting following error -
>>
>> [FATAL] [SimpleAxisServer] Shutting down. Error starting
>> SimpleAxisServer
>> java.lang.NullPointerException
>> at
>> org.apache.axis2.transport.nhttp.HttpCoreNIOSSLSender.getSSLContext(
HttpCoreNIOSSLSender.java:81)
>> at
>> org.apache.axis2.transport.nhttp.HttpCoreNIOSender.init(
HttpCoreNIOSender.java:96)
>> at
>>
org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(
ConfigurationContextFactory.java:270)
>> at
>> org.apache.axis2.context.ConfigurationContextFactory.init(
ConfigurationContextFactory.java:201)
>> at
>>
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:76)
>> at
>>
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem
(ConfigurationContextFactory.java:180)
>> at
>> org.apache.axis2.transport.SimpleAxis2Server.<init>(
SimpleAxis2Server.java:50)
>> at
>> org.apache.axis2.transport.SimpleAxis2Server.main(
SimpleAxis2Server.java:101)
>> [SimpleAxisServer] Shutting down. Error starting SimpleAxisServer
>>
>> Does anybody has any idea why is it happening?
>>
>> Thanks,
>> -Ajay
>>
>>
>> On Mon, 26 Nov 2007 10:55:28 +0530, Upul Godage <[EMAIL PROTECTED]>
>> wrote:
>>
>>> No. what I meant was, if there is a requirement for you to stay with
>>> 1.2, then using a transport receiver built for another version would
>>> be not stable obviously.
>>> You can try 1.3 altogether.
>>>
>>> Upul
>>>
>>>
>>> On Nov 26, 2007 10:46 AM, Ajay Kumar Gour <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>>
>>>> Thanks again for prompt reply.
>>>>
>>>> SSL implementation will be stable if i try to use Axis2 1.3, is
that
>>>> right?
>>>>
>>>> -Ajay
>>>>
>>>>
>>>> On Mon, 26 Nov 2007 10:38:07 +0530, Upul Godage
<[EMAIL PROTECTED]>
>>>>
>>>> wrote:
>>>>
>>>> > Seems there was no https transport receiver in 1.2. Though there
>>>> is one
>>>> > in 1.3
>>>> >
>>>> > One thing you can try is using the 1.3 transport receiver in 1.2.
>>>> But
>>>> > because transport receivers are bundled in the kernal.jar file in
>>>> > Axis2 you won't be able to do that.
>>>> >
>>>> > Apache Synapse has the transports in a separate jar. You can
>>>> download
>>>> > Synapse, add transports.jar to 1.2 lib directory and add the
https
>>>> > transport receiver entry to 1.2 axis2.xml as given in the Synapse
>>>> > axis2.xml. What you are doing is using the https transport
receiver
>>>> > that comes with Synapse in Axis2. Again, there is a possibility
>>>> that
>>>> > this may not work as Synapse works with Axis2 1.3 now. Also you
can
>>>> > try with Synapse 1.0, nhttp.jar and it's axis2.xml entry. But
note
>>>> > that all these experiments are unstable.
>>>> >
>>>> > Upul
>>>> >
>>>> >
>>>> > On Nov 26, 2007 9:31 AM, Ajay Kumar Gour <[EMAIL PROTECTED]>
>>>> wrote:
>>>> >> Hi Upul,
>>>> >>
>>>> >> Thank you for the reply. Iam using Axis2 1.2 version. I had gone
>>>> through
>>>> >> the axis2.xml, before sending out the mail to axis users but i
>>>> couldn't
>>>> >> found anything.
>>>> >>
>>>> >> Do you have idea how we can do it in Axis2 1.2?
>>>> >>
>>>> >> Thanks,
>>>> >> -Ajay
>>>> >>
>>>> >>
>>>> >> On Fri, 23 Nov 2007 21:29:23 +0530, Upul Godage
>>>> <[EMAIL PROTECTED]>
>>>> >> wrote:
>>>> >>
>>>> >>
>>>> >> > Hi,
>>>> >> >
>>>> >> > In axis2 1.3, axis2.xml there is a ssl listener and sender
>>>> commented
>>>> >> > out. You can uncomment it. That is how it is supposed to
>>>> work. But
>>>> >> > keystores are missing in the distribution i think. So you will
>>>> have to
>>>> >> > provide the keystore files and try
>>>> >> >
>>>> >> > Upul
>>>> >> >
>>>> >> > On Nov 23, 2007 6:34 PM, Ajay Kumar Gour
<[EMAIL PROTECTED]
>
>>>> >> wrote:
>>>> >> >> Hello All,
>>>> >> >>
>>>> >> >> I was googling for help about using SSL with Axis2 and i have
>>>> got
>>>> >> this
>>>> >> >> link
>>>> >> >>
>>>>
"http://www.mail-archive.com/axis-user@ws.apache.org/msg19269.html".
>>>> >> >> This tells how to make Axis2 client use SSL.
>>>> >> >>
>>>> >> >> If Axis2 is deployed in Web Server or App Server e.g. on
Tomcat
>>>> or
>>>> >> JBoss
>>>> >> >> then we need to use server specific configuration to enable
SSL.
>>>> >> Please
>>>> >> >> correct me if iam rong somewhere.
>>>> >> >>
>>>> >> >> But, how to configure SSL on standalone Axis2?
>>>> >> >>
>>>> >> >> Thanks,
>>>> >> >> -Ajay
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>>
---------------------------------------------------------------------
>>>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >> >>
>>>> >> >>
>>>> >> >
>>>> >> >
>>>>
---------------------------------------------------------------------
>>>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >> >
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>>
---------------------------------------------------------------------
>>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >>
>>>> >>
>>>> >
>>>> >
>>>>
---------------------------------------------------------------------
>>>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>>> >
>>>>
>>>>
>>>>
>>>>
---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]