users@grizzly.java.net

Re: Grizzly Webserver SSL Port not configurable

From: Sabyasachi Biswas <sabyforjava_at_gmail.com>
Date: Mon, 23 Aug 2010 13:31:32 +0200

Hi Alexey,

I checked , the problem is there in the version 1.9.19 also.

Regards,
Sabyasachi.


On 8/23/10, Oleksiy Stashok <Oleksiy.Stashok_at_sun.com> wrote:
>
> Hi Sabyasachi,
>
> can I ask you to switch to the latest Grizzly 1.9.19 release and check if
> the issue is still there?
>
> Thanks.
>
> WBR,
> Alexey.
>
>
> On Aug 23, 2010, at 11:28 , Sabyasachi Biswas wrote:
>
> Hi,
>>
>> We have a problem when using the grizzly webserver on a port other than
>> default https port , when we start the server on port 443, it runs fine but
>> when the server is set to a port other than 443, the server starts up , but
>> client's calling the server gets a Connection Refused error.
>>
>> We are using Grizzly Framework 1.9.18-k.
>>
>> Please advice.
>>
>> The server code snippet looks like this:
>>
>> GrizzlyWebServer grizzlyWebServer=new
>> GrizzlyWebServer(1443,WEB_APP_ROOT,true);
>> SSLConfig sslConfig=new SSLConfig();
>> //SSL Config is set correctly here.
>> sslConfig.validateConfiguration();
>> grizzlyWebServer.setSSLConfig(sslConfig);
>> //server settings
>> grizzlyWebServer.setCoreThreads(CORE_THREADS);
>> grizzlyWebServer.setMaxThreads(MAX_THREADS);
>>
>> Statistics statistics=grizzlyWebServer.getStatistics();
>> statistics.startGatheringStatistics();
>>
>> //adapter settings
>> SOAPMessageAdapter adapter=new SOAPMessageAdapter(WEB_APP_ROOT);
>> adapter.setHandleStaticResources(true);
>> grizzlyWebServer.addGrizzlyAdapter(adapter,new String[]{"/esbgateway"});
>>
>> grizzlyWebServer.start();
>>
>>
>> Regards,
>> Sabyasachi.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>