Skip to main content

Re: GFv4, WebSockets sample app

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
rlubke
Offline
Joined: 2003-08-21

Kristian,

Not sure how often the Tyrus developers check this list. You may wish
to contact them directly on their lists [1].

[1] https://tyrus.java.net/mailing.html

Kristian Rink wrote:
> Folks;
>
> not sure whether it's Glassfish or just me: Downloaded the
> NetBeans+GFv4 bundle. Followed Aruns pretty good write-up / chat
> tutorial [1]. Built. Deployed. Outcome: It's "not working". Not much
> more. App deploys, but I neither see any evidence that WebSocket
> support is there, nor does the chat application work. It mainly ends up
> with a "can't connect to ws://localhost:8080/...".
>
> Found this command...
>
> [...]
> asadmin set
> configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.websockets-support-enabled=true
>
> Command set executed successfully
> [...]
>
>
> ... somewhere on the 'net, which seems to successfully do "something"
> yet it doesn't change much about the result.
>
> Is there anything I should know about that? Anything I can do to at
> least track down what's happening here?
>
> TIA and all the best,
> Kristian
>
>
> [1]https://blogs.oracle.com/arungupta/entry/websocket_applications_using_java_jsr

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pavel_bucek
Offline
Joined: 2008-10-24

Hi Kristian,

this blog post uses deprecated API, so it just cannot work.

please see http://tyrus.java.net for more details (there is up-to-date
user guide) and/or check our samples bundle [1].

As Ryan already wrote, you will get faster responses if you'll use
users@tyrus.java.net.

Regards,
Pavel

[1]
http://search.maven.org/remotecontent?filepath=org/glassfish/tyrus/bundl...

On 6/17/13 11:08 AM, Kristian Rink wrote:
> Folks;
>
> not sure whether it's Glassfish or just me: Downloaded the
> NetBeans+GFv4 bundle. Followed Aruns pretty good write-up / chat
> tutorial [1]. Built. Deployed. Outcome: It's "not working". Not much
> more. App deploys, but I neither see any evidence that WebSocket
> support is there, nor does the chat application work. It mainly ends up
> with a "can't connect to ws://localhost:8080/...".
>
> Found this command...
>
> [...]
> asadmin set
> configs.config.server-config.network-config.protocols.protocol.http-listener-1.http.websockets-support-enabled=true
>
> Command set executed successfully
> [...]
>
>
> ... somewhere on the 'net, which seems to successfully do "something"
> yet it doesn't change much about the result.
>
> Is there anything I should know about that? Anything I can do to at
> least track down what's happening here?
>
> TIA and all the best,
> Kristian
>
>
> [1]https://blogs.oracle.com/arungupta/entry/websocket_applications_using_java_jsr
>
>