tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Urisman <igor.uris...@gmail.com>
Subject Re: 8.0.0 Problems With javax.websocket.*
Date Tue, 06 Aug 2013 20:28:26 GMT
Martin,
I can't because the mailing list will strip the attachment.  Please suggest
a way to submit a case.
-Igor.


On Tue, Aug 6, 2013 at 12:21 PM, Martin Grigorov <mgrigorov@apache.org>wrote:

> Hi Igor,
>
> Send this message to Tomcat's users mailing list.
>
>
> On Tue, Aug 6, 2013 at 9:05 PM, Igor Urisman <igor.urisman@gmail.com>wrote:
>
>> Martin,
>>
>> I've attached a simple WSPILOT webapp where I attempted to use both
>> programmatic and annotational server endpoints. It's very simple and
>> reduced to just a few lines of code on client and server, so I hope it'll
>> be easy to follow.
>>
>> SERVER code consists of two small classes:
>> 1. Annotational configures annotation configured endpoint at /ant.  Ready
>> to use.
>> 2. Programmatic is a programmatically configured endpoint at /pgm.
>> Requires boostrappinig.
>>
>> CLIENT:
>> 1. When you hit the app, index.jsp is tri.
>> 2. Java scriplet bootstraps the programmatic endpoint at /pgm.
>> 3. Inline JavaScript attempts to connect to connect to the above
>> endpoints.
>>
>> PROBLEM:
>> 1. I am able to connect to the annotational endpoint, but ws.send (line
>> 47) is never received on the server.
>> 2. I am even able to connect to the programmatic standpoint.  If you
>> comment out lines 39 thru 47, you'll get a 404 on line 50.
>>
>> The attachment is an Eclipse project.   To build, go to /build and run
>> ant with no target.  It will build, package as WAR and deploy to directory
>> defined by the tomcat.home property in the build.properties file.  Note
>> that the app will be deployed as ROOT.war, and run on the "/" context
>> path.
>>
>> Thanks in advance!
>> -Igor.
>>
>> On Mon, Aug 5, 2013 at 10:52 PM, Martin Grigorov <mgrigorov@apache.org>wrote:
>>
>>> Hi,
>>>
>>>
>>> On Tue, Aug 6, 2013 at 1:03 AM, Igor Urisman <igor.urisman@gmail.com>
>>> wrote:
>>>
>>> > Dear all,
>>> > I am running into snags with the new JEE7 compliant implementation of
>>> > Websockets in 8.0.0-RC1.  What's the right way to pass on the test
>>> cases?
>>> > -Igor.
>>> >
>>>
>>> Can you give more details what problems you have ?
>>>
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message