Running WebSocket TCK on TomEE

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Running WebSocket TCK on TomEE

Jean-Louis MONTEIRO
Hi all,

Did anyone already try to run WebSocket TCK on TomEE?
I can't figure out how to run this thing and how it works.

Any pointers or thoughts would be appreciated.

I can run locally with
./runtests --web tomee-plume
com.sun.ts.tests.websocket.ee.javax.websocket.clientendpoint.WSClient

It seems to fail with a NullPointerException

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Cesar Hernandez
I can give it a try,
Does your setup is the one described in: https://github.com/apache/tomee-tck
 ?

El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
[hidden email]>) escribió:

> Hi all,
>
> Did anyone already try to run WebSocket TCK on TomEE?
> I can't figure out how to run this thing and how it works.
>
> Any pointers or thoughts would be appreciated.
>
> I can run locally with
> ./runtests --web tomee-plume
> com.sun.ts.tests.websocket.ee.javax.websocket.clientendpoint.WSClient
>
> It seems to fail with a NullPointerException
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>


--
Atentamente:
César Hernández.
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Jean-Louis MONTEIRO
yes correct
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Aug 13, 2019 at 4:40 PM Cesar Hernandez <[hidden email]>
wrote:

> I can give it a try,
> Does your setup is the one described in:
> https://github.com/apache/tomee-tck
>  ?
>
> El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
> [hidden email]>) escribió:
>
> > Hi all,
> >
> > Did anyone already try to run WebSocket TCK on TomEE?
> > I can't figure out how to run this thing and how it works.
> >
> > Any pointers or thoughts would be appreciated.
> >
> > I can run locally with
> > ./runtests --web tomee-plume
> > com.sun.ts.tests.websocket.ee.javax.websocket.clientendpoint.WSClient
> >
> > It seems to fail with a NullPointerException
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
>
>
> --
> Atentamente:
> César Hernández.
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Jean-Louis MONTEIRO
Looks like ContainerProvider.getWebSocketProvider fails, but I am not able
yet to find where that is configured and how it works
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Aug 13, 2019 at 4:43 PM Jean-Louis Monteiro <
[hidden email]> wrote:

> yes correct
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Aug 13, 2019 at 4:40 PM Cesar Hernandez <[hidden email]>
> wrote:
>
>> I can give it a try,
>> Does your setup is the one described in:
>> https://github.com/apache/tomee-tck
>>  ?
>>
>> El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
>> [hidden email]>) escribió:
>>
>> > Hi all,
>> >
>> > Did anyone already try to run WebSocket TCK on TomEE?
>> > I can't figure out how to run this thing and how it works.
>> >
>> > Any pointers or thoughts would be appreciated.
>> >
>> > I can run locally with
>> > ./runtests --web tomee-plume
>> > com.sun.ts.tests.websocket.ee.javax.websocket.clientendpoint.WSClient
>> >
>> > It seems to fail with a NullPointerException
>> >
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>>
>>
>> --
>> Atentamente:
>> César Hernández.
>>
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Cesar Hernandez
Hi,

Are you building locally the TCK?

If yes, can you please share your environment variables, the ones from the
tomee-tck [1] diddn't work no my side (my bash_profile section [2])
the glassfish.zip url is no longer valid:

--2019-08-13 11:53:06--
https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
Resolving jenkins.eclipse.org (jenkins.eclipse.org)... 198.41.30.195
Connecting to jenkins.eclipse.org (jenkins.eclipse.org)|198.41.30.195|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2019-08-13 11:53:07 ERROR 404: Not Found.

If no, can you please share the URL you are using to download the TCK.

On either cases, I'm looking forward to updating our current readme so more
people can help.

[1] https://github.com/apache/tomee-tck
[2]
##BUILD JAKARTA TCK
export WORKSPACE=/Users/cesar/git/jakartaee-tck
export GF_BUNDLE_URL=
https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
export GF_HOME=$WORKSPACE
export ANT_HOME=/Users/cesar/tck/apache-ant-1.10.6
export JAVA_HOME=/Users/cesar/.sdkman/candidates/java/current
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin/:$PATH

El mar., 13 ago. 2019 a las 10:10, Jean-Louis Monteiro (<
[hidden email]>) escribió:

> Looks like ContainerProvider.getWebSocketProvider fails, but I am not able
> yet to find where that is configured and how it works
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Aug 13, 2019 at 4:43 PM Jean-Louis Monteiro <
> [hidden email]> wrote:
>
> > yes correct
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Aug 13, 2019 at 4:40 PM Cesar Hernandez <[hidden email]>
> > wrote:
> >
> >> I can give it a try,
> >> Does your setup is the one described in:
> >> https://github.com/apache/tomee-tck
> >>  ?
> >>
> >> El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
> >> [hidden email]>) escribió:
> >>
> >> > Hi all,
> >> >
> >> > Did anyone already try to run WebSocket TCK on TomEE?
> >> > I can't figure out how to run this thing and how it works.
> >> >
> >> > Any pointers or thoughts would be appreciated.
> >> >
> >> > I can run locally with
> >> > ./runtests --web tomee-plume
> >> > com.sun.ts.tests.websocket.ee.javax.websocket.clientendpoint.WSClient
> >> >
> >> > It seems to fail with a NullPointerException
> >> >
> >> > --
> >> > Jean-Louis Monteiro
> >> > http://twitter.com/jlouismonteiro
> >> > http://www.tomitribe.com
> >> >
> >>
> >>
> >> --
> >> Atentamente:
> >> César Hernández.
> >>
> >
>


--
Atentamente:
César Hernández.
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Jean-Louis MONTEIRO
yeah, I had the same issue with Glassfish
I went a bit up in the hierarchy and picked up one from
https://jenkins.eclipse.org/glassfish/job/glassfish/
I pulled from one build of master



--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Aug 13, 2019 at 8:01 PM Cesar Hernandez <[hidden email]>
wrote:

> Hi,
>
> Are you building locally the TCK?
>
> If yes, can you please share your environment variables, the ones from the
> tomee-tck [1] diddn't work no my side (my bash_profile section [2])
> the glassfish.zip url is no longer valid:
>
> --2019-08-13 11:53:06--
>
> https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
> Resolving jenkins.eclipse.org (jenkins.eclipse.org)... 198.41.30.195
> Connecting to jenkins.eclipse.org (jenkins.eclipse.org
> )|198.41.30.195|:443...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2019-08-13 11:53:07 ERROR 404: Not Found.
>
> If no, can you please share the URL you are using to download the TCK.
>
> On either cases, I'm looking forward to updating our current readme so more
> people can help.
>
> [1] https://github.com/apache/tomee-tck
> [2]
> ##BUILD JAKARTA TCK
> export WORKSPACE=/Users/cesar/git/jakartaee-tck
> export GF_BUNDLE_URL=
>
> https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
> export GF_HOME=$WORKSPACE
> export ANT_HOME=/Users/cesar/tck/apache-ant-1.10.6
> export JAVA_HOME=/Users/cesar/.sdkman/candidates/java/current
> export PATH=$JAVA_HOME/bin:$ANT_HOME/bin/:$PATH
>
> El mar., 13 ago. 2019 a las 10:10, Jean-Louis Monteiro (<
> [hidden email]>) escribió:
>
> > Looks like ContainerProvider.getWebSocketProvider fails, but I am not
> able
> > yet to find where that is configured and how it works
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Aug 13, 2019 at 4:43 PM Jean-Louis Monteiro <
> > [hidden email]> wrote:
> >
> > > yes correct
> > > --
> > > Jean-Louis Monteiro
> > > http://twitter.com/jlouismonteiro
> > > http://www.tomitribe.com
> > >
> > >
> > > On Tue, Aug 13, 2019 at 4:40 PM Cesar Hernandez <[hidden email]>
> > > wrote:
> > >
> > >> I can give it a try,
> > >> Does your setup is the one described in:
> > >> https://github.com/apache/tomee-tck
> > >>  ?
> > >>
> > >> El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
> > >> [hidden email]>) escribió:
> > >>
> > >> > Hi all,
> > >> >
> > >> > Did anyone already try to run WebSocket TCK on TomEE?
> > >> > I can't figure out how to run this thing and how it works.
> > >> >
> > >> > Any pointers or thoughts would be appreciated.
> > >> >
> > >> > I can run locally with
> > >> > ./runtests --web tomee-plume
> > >> > com.sun.ts.tests.websocket.ee
> .javax.websocket.clientendpoint.WSClient
> > >> >
> > >> > It seems to fail with a NullPointerException
> > >> >
> > >> > --
> > >> > Jean-Louis Monteiro
> > >> > http://twitter.com/jlouismonteiro
> > >> > http://www.tomitribe.com
> > >> >
> > >>
> > >>
> > >> --
> > >> Atentamente:
> > >> César Hernández.
> > >>
> > >
> >
>
>
> --
> Atentamente:
> César Hernández.
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Jean-Louis MONTEIRO
should work with
https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/59/artifact/bundles/glassfish.zip

--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Tue, Aug 13, 2019 at 8:04 PM Jean-Louis Monteiro <
[hidden email]> wrote:

> yeah, I had the same issue with Glassfish
> I went a bit up in the hierarchy and picked up one from
> https://jenkins.eclipse.org/glassfish/job/glassfish/
> I pulled from one build of master
>
>
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Aug 13, 2019 at 8:01 PM Cesar Hernandez <[hidden email]>
> wrote:
>
>> Hi,
>>
>> Are you building locally the TCK?
>>
>> If yes, can you please share your environment variables, the ones from the
>> tomee-tck [1] diddn't work no my side (my bash_profile section [2])
>> the glassfish.zip url is no longer valid:
>>
>> --2019-08-13 11:53:06--
>>
>> https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
>> Resolving jenkins.eclipse.org (jenkins.eclipse.org)... 198.41.30.195
>> Connecting to jenkins.eclipse.org (jenkins.eclipse.org
>> )|198.41.30.195|:443...
>> connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2019-08-13 11:53:07 ERROR 404: Not Found.
>>
>> If no, can you please share the URL you are using to download the TCK.
>>
>> On either cases, I'm looking forward to updating our current readme so
>> more
>> people can help.
>>
>> [1] https://github.com/apache/tomee-tck
>> [2]
>> ##BUILD JAKARTA TCK
>> export WORKSPACE=/Users/cesar/git/jakartaee-tck
>> export GF_BUNDLE_URL=
>>
>> https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
>> export GF_HOME=$WORKSPACE
>> export ANT_HOME=/Users/cesar/tck/apache-ant-1.10.6
>> export JAVA_HOME=/Users/cesar/.sdkman/candidates/java/current
>> export PATH=$JAVA_HOME/bin:$ANT_HOME/bin/:$PATH
>>
>> El mar., 13 ago. 2019 a las 10:10, Jean-Louis Monteiro (<
>> [hidden email]>) escribió:
>>
>> > Looks like ContainerProvider.getWebSocketProvider fails, but I am not
>> able
>> > yet to find where that is configured and how it works
>> > --
>> > Jean-Louis Monteiro
>> > http://twitter.com/jlouismonteiro
>> > http://www.tomitribe.com
>> >
>> >
>> > On Tue, Aug 13, 2019 at 4:43 PM Jean-Louis Monteiro <
>> > [hidden email]> wrote:
>> >
>> > > yes correct
>> > > --
>> > > Jean-Louis Monteiro
>> > > http://twitter.com/jlouismonteiro
>> > > http://www.tomitribe.com
>> > >
>> > >
>> > > On Tue, Aug 13, 2019 at 4:40 PM Cesar Hernandez <[hidden email]
>> >
>> > > wrote:
>> > >
>> > >> I can give it a try,
>> > >> Does your setup is the one described in:
>> > >> https://github.com/apache/tomee-tck
>> > >>  ?
>> > >>
>> > >> El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
>> > >> [hidden email]>) escribió:
>> > >>
>> > >> > Hi all,
>> > >> >
>> > >> > Did anyone already try to run WebSocket TCK on TomEE?
>> > >> > I can't figure out how to run this thing and how it works.
>> > >> >
>> > >> > Any pointers or thoughts would be appreciated.
>> > >> >
>> > >> > I can run locally with
>> > >> > ./runtests --web tomee-plume
>> > >> > com.sun.ts.tests.websocket.ee
>> .javax.websocket.clientendpoint.WSClient
>> > >> >
>> > >> > It seems to fail with a NullPointerException
>> > >> >
>> > >> > --
>> > >> > Jean-Louis Monteiro
>> > >> > http://twitter.com/jlouismonteiro
>> > >> > http://www.tomitribe.com
>> > >> >
>> > >>
>> > >>
>> > >> --
>> > >> Atentamente:
>> > >> César Hernández.
>> > >>
>> > >
>> >
>>
>>
>> --
>> Atentamente:
>> César Hernández.
>>
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: Running WebSocket TCK on TomEE

Cesar Hernandez
Thank you,
I updated the GF_BUNDLE_URL  with the value you shared and now TCK is
building.

I also opened this PR to reflect this recommendation in the README:
https://github.com/apache/tomee-tck/pull/11

El mar., 13 ago. 2019 a las 12:05, Jean-Louis Monteiro (<
[hidden email]>) escribió:

> should work with
>
> https://jenkins.eclipse.org/glassfish/job/glassfish/job/master/59/artifact/bundles/glassfish.zip
>
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Tue, Aug 13, 2019 at 8:04 PM Jean-Louis Monteiro <
> [hidden email]> wrote:
>
> > yeah, I had the same issue with Glassfish
> > I went a bit up in the hierarchy and picked up one from
> > https://jenkins.eclipse.org/glassfish/job/glassfish/
> > I pulled from one build of master
> >
> >
> >
> > --
> > Jean-Louis Monteiro
> > http://twitter.com/jlouismonteiro
> > http://www.tomitribe.com
> >
> >
> > On Tue, Aug 13, 2019 at 8:01 PM Cesar Hernandez <[hidden email]>
> > wrote:
> >
> >> Hi,
> >>
> >> Are you building locally the TCK?
> >>
> >> If yes, can you please share your environment variables, the ones from
> the
> >> tomee-tck [1] diddn't work no my side (my bash_profile section [2])
> >> the glassfish.zip url is no longer valid:
> >>
> >> --2019-08-13 11:53:06--
> >>
> >>
> https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
> >> Resolving jenkins.eclipse.org (jenkins.eclipse.org)... 198.41.30.195
> >> Connecting to jenkins.eclipse.org (jenkins.eclipse.org
> >> )|198.41.30.195|:443...
> >> connected.
> >> HTTP request sent, awaiting response... 404 Not Found
> >> 2019-08-13 11:53:07 ERROR 404: Not Found.
> >>
> >> If no, can you please share the URL you are using to download the TCK.
> >>
> >> On either cases, I'm looking forward to updating our current readme so
> >> more
> >> people can help.
> >>
> >> [1] https://github.com/apache/tomee-tck
> >> [2]
> >> ##BUILD JAKARTA TCK
> >> export WORKSPACE=/Users/cesar/git/jakartaee-tck
> >> export GF_BUNDLE_URL=
> >>
> >>
> https://jenkins.eclipse.org/glassfish/job/glassfish/job/EE4J_8/85/artifact/bundles/glassfish.zip
> >> export GF_HOME=$WORKSPACE
> >> export ANT_HOME=/Users/cesar/tck/apache-ant-1.10.6
> >> export JAVA_HOME=/Users/cesar/.sdkman/candidates/java/current
> >> export PATH=$JAVA_HOME/bin:$ANT_HOME/bin/:$PATH
> >>
> >> El mar., 13 ago. 2019 a las 10:10, Jean-Louis Monteiro (<
> >> [hidden email]>) escribió:
> >>
> >> > Looks like ContainerProvider.getWebSocketProvider fails, but I am not
> >> able
> >> > yet to find where that is configured and how it works
> >> > --
> >> > Jean-Louis Monteiro
> >> > http://twitter.com/jlouismonteiro
> >> > http://www.tomitribe.com
> >> >
> >> >
> >> > On Tue, Aug 13, 2019 at 4:43 PM Jean-Louis Monteiro <
> >> > [hidden email]> wrote:
> >> >
> >> > > yes correct
> >> > > --
> >> > > Jean-Louis Monteiro
> >> > > http://twitter.com/jlouismonteiro
> >> > > http://www.tomitribe.com
> >> > >
> >> > >
> >> > > On Tue, Aug 13, 2019 at 4:40 PM Cesar Hernandez <
> [hidden email]
> >> >
> >> > > wrote:
> >> > >
> >> > >> I can give it a try,
> >> > >> Does your setup is the one described in:
> >> > >> https://github.com/apache/tomee-tck
> >> > >>  ?
> >> > >>
> >> > >> El mar., 13 ago. 2019 a las 7:34, Jean-Louis Monteiro (<
> >> > >> [hidden email]>) escribió:
> >> > >>
> >> > >> > Hi all,
> >> > >> >
> >> > >> > Did anyone already try to run WebSocket TCK on TomEE?
> >> > >> > I can't figure out how to run this thing and how it works.
> >> > >> >
> >> > >> > Any pointers or thoughts would be appreciated.
> >> > >> >
> >> > >> > I can run locally with
> >> > >> > ./runtests --web tomee-plume
> >> > >> > com.sun.ts.tests.websocket.ee
> >> .javax.websocket.clientendpoint.WSClient
> >> > >> >
> >> > >> > It seems to fail with a NullPointerException
> >> > >> >
> >> > >> > --
> >> > >> > Jean-Louis Monteiro
> >> > >> > http://twitter.com/jlouismonteiro
> >> > >> > http://www.tomitribe.com
> >> > >> >
> >> > >>
> >> > >>
> >> > >> --
> >> > >> Atentamente:
> >> > >> César Hernández.
> >> > >>
> >> > >
> >> >
> >>
> >>
> >> --
> >> Atentamente:
> >> César Hernández.
> >>
> >
>


--
Atentamente:
César Hernández.