Hi,

Yes. AFAIK you only need to run with jdk 7 for websocket support. I imagine
you don't only use the websocket features within. Better try it out and
verify..

thanks,


On Sun, Jul 6, 2014 at 10:55 PM, Mohanadarshan Vivekanandalingam <
[email protected]> wrote:

> Hi Kasun,
>
> I believe you have some idea about our usecase. Can you please point any
> references  which uses web socket feature of the Tomcat server (if any).
> This will help Dilini to get some idea and start working on that..
>
> Thanks,
> Mohan
>
>
>
> On Fri, Jul 4, 2014 at 10:05 PM, Sriskandarajah Suhothayan <[email protected]>
> wrote:
>
>> Thats good we'll verify that.
>>
>> Suho
>>
>>
>> On Fri, Jul 4, 2014 at 5:19 PM, Kasun Gajasinghe <[email protected]> wrote:
>>
>>>
>>> AFAIK, you do not need JDK 1.7 to compile websocket based webapps.
>>>
>>>
>>> On Fri, Jul 4, 2014 at 4:21 PM, Sriskandarajah Suhothayan <[email protected]
>>> > wrote:
>>>
>>>> At runtime that will help. But this is not possible when compiling and
>>>> releasing the product :(
>>>>
>>>> Suho
>>>>
>>>>
>>>> On Fri, Jul 4, 2014 at 4:17 PM, Kasun Gajasinghe <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> How Tomcat Websocket works is that if the JDK version is less than 7,
>>>>> it disables Websocket feature and the container starts up. It prints a
>>>>> warning log pointing out that user is not running in JDK 7. You might want
>>>>> to follow the same procedure.
>>>>>
>>>>> Regards,
>>>>> KasunG
>>>>>
>>>>>
>>>>> On Fri, Jul 4, 2014 at 3:32 PM, Sriskandarajah Suhothayan <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Yes, thats an issue.
>>>>>> Because of this we wont be able to build the full platform in one
>>>>>> java version.
>>>>>>
>>>>>> So what will be the recommended approach here ?
>>>>>>
>>>>>> Regards
>>>>>> Suho
>>>>>>
>>>>>>
>>>>>> On Fri, Jul 4, 2014 at 3:26 PM, Sagara Gunathunga <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 4, 2014 at 3:07 PM, Sriskandarajah Suhothayan <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Our idea is to use Tomcat this is jetty is just a quick PoC we did
>>>>>>>> for CEP. But even to use Tomcat Web sockets we have to have to build 
>>>>>>>> using
>>>>>>>> Java 7[1].
>>>>>>>> So anyway we have to move to Java 7 to build the CEP repo so that
>>>>>>>> it can compile the WebSocket servlet
>>>>>>>>
>>>>>>>> What is our plan on moving the build to Java 7?
>>>>>>>>
>>>>>>>
>>>>>>> You can configure Jenkins job to run with Java 7 easily, I don't
>>>>>>> remember whether we have installed Java7 on Jenkins but we can easily
>>>>>>> install and configure CEP job to run with Java7.   BTW this means Java7
>>>>>>> will be a mandatory to run CEP ?
>>>>>>>
>>>>>>>
>>>>>>> Thanks !
>>>>>>>
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Suho
>>>>>>>>
>>>>>>>> [1]http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jul 4, 2014 at 3:06 PM, Afkham Azeez <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> +1. Don't unnecessarily bring in Jetty.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jul 4, 2014 at 2:49 PM, Sagara Gunathunga <[email protected]
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 4, 2014 at 2:40 PM, Mohanadarshan Vivekanandalingam <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi All,
>>>>>>>>>>>
>>>>>>>>>>> Are we planning to do $subject.. ?
>>>>>>>>>>> In CEP, we have developed an adptor which supports for
>>>>>>>>>>> websocket. Here we are using latest jetty version which only 
>>>>>>>>>>> supports Java
>>>>>>>>>>> 1.7 according to [1]..  But since we have configured jenkins only 
>>>>>>>>>>> with java
>>>>>>>>>>> 1.6, this components is getting failed. Is it possible to configure 
>>>>>>>>>>> Java
>>>>>>>>>>> 1.7 for CEP related repo or do we have any other option on this ?
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Can you please explain why you want to bring another WS container
>>>>>>>>>> to the platform ?  We already have Tomcat as the WS container and if 
>>>>>>>>>> you
>>>>>>>>>> bring Jetty  CEP will ship two WS containers IMO this is not correct.
>>>>>>>>>> Further you use JSR 356 based annotations to implement WS 
>>>>>>>>>> applications
>>>>>>>>>> which means applications are independent from underline WS container.
>>>>>>>>>>
>>>>>>>>>> Thanks !
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> [1]
>>>>>>>>>>> http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html#d0e75
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Mohan
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *V. Mohanadarshan*
>>>>>>>>>>> *Software Engineer,*
>>>>>>>>>>> *Data Technologies Team,*
>>>>>>>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>>>>>>>>> *lean.enterprise.middleware.*
>>>>>>>>>>>
>>>>>>>>>>> email: [email protected]
>>>>>>>>>>> phone:(+94) 771117673
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Sagara Gunathunga
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>>>>>>>>> V.P Apache Web Services;    http://ws.apache.org/
>>>>>>>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>>>>>>>> Blog ;  http://ssagara.blogspot.com
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Afkham Azeez*
>>>>>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>>>>>> * <http://www.apache.org/>*
>>>>>>>>> *email: **[email protected]* <[email protected]>
>>>>>>>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>>>>>>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>>>>>>>> *twitter: **http://twitter.com/afkham_azeez*
>>>>>>>>> <http://twitter.com/afkham_azeez>
>>>>>>>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>>>>>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>>>>>>
>>>>>>>>> *Lean . Enterprise . Middleware*
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> *S. Suhothayan*
>>>>>>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>>>>>>>  *WSO2 Inc. *http://wso2.com
>>>>>>>> * <http://wso2.com/>*
>>>>>>>> lean . enterprise . middleware
>>>>>>>>
>>>>>>>>
>>>>>>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>>>>>>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/> 
>>>>>>>> twitter:
>>>>>>>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | 
>>>>>>>> linked-in:
>>>>>>>> http://lk.linkedin.com/in/suhothayan 
>>>>>>>> <http://lk.linkedin.com/in/suhothayan>*
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Sagara Gunathunga
>>>>>>>
>>>>>>> Senior Technical Lead; WSO2, Inc.;  http://wso2.com
>>>>>>> V.P Apache Web Services;    http://ws.apache.org/
>>>>>>> Linkedin; http://www.linkedin.com/in/ssagara
>>>>>>> Blog ;  http://ssagara.blogspot.com
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *S. Suhothayan*
>>>>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>>>>>  *WSO2 Inc. *http://wso2.com
>>>>>> * <http://wso2.com/>*
>>>>>> lean . enterprise . middleware
>>>>>>
>>>>>>
>>>>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>>>>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/> 
>>>>>> twitter:
>>>>>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | 
>>>>>> linked-in:
>>>>>> http://lk.linkedin.com/in/suhothayan 
>>>>>> <http://lk.linkedin.com/in/suhothayan>*
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>>>> email: kasung AT spamfree wso2.com
>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>>>> blog: http://kasunbg.org
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *S. Suhothayan*
>>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>>>  *WSO2 Inc. *http://wso2.com
>>>> * <http://wso2.com/>*
>>>> lean . enterprise . middleware
>>>>
>>>>
>>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/> twitter:
>>>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>>>> http://lk.linkedin.com/in/suhothayan 
>>>> <http://lk.linkedin.com/in/suhothayan>*
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>>
>>>
>>>
>>
>>
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>  *WSO2 Inc. *http://wso2.com
>> * <http://wso2.com/>*
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/> twitter:
>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: [email protected]
> phone:(+94) 771117673
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: [email protected] <[email protected]>
mobile: +94 (0)71 56 91 321
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to