[GLASSFISH-19859] 4.0 SDK: Unable to compile Websocket Samples Created: 13/Mar/13  Updated: 27/Mar/13  Resolved: 27/Mar/13

Status: Resolved
Project: glassfish
Component/s: web_socket
Affects Version/s: 4.0_b79
Fix Version/s: 4.0_b80_EE7MS6

Type: Bug Priority: Critical
Reporter: Alex Pineda Assignee: dannycoward
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Installed java_ee_sdk-7-b79-jdk7-linux-x64.sh*, on OEL6 machine, using Maven version 3.0.5. Configured Maven environment as noted in http://aseng-wiki.us.oracle.com/asengwiki/display/GlassFish/BG+Development+Environment+Guide



 Description   

Seeing the following error when executing "mvn install" in each of the Samples folders for auction sample, draw sample, echo sample. For example the error below is for the "echo" sample, but the same error is seen on all 3 samples.

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[42,22] error: cannot find symbol
[ERROR] symbol: class WebSocketMessage
location: package javax.websocket
/home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[43,29] error: cannot find symbol
[ERROR] symbol: class DefaultServerConfiguration
location: package javax.websocket.server
/home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[44,29] error: cannot find symbol
[ERROR] symbol: class WebSocketEndpoint
location: package javax.websocket.server
/home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[51,1] error: cannot find symbol
[ERROR] symbol: class WebSocketEndpoint
/home/agpineda/workspace/glassfish4/samples/websocket/echo/src/main/java/org.glassfish.samples.websocket.echo/EchoEndpoint.java:[67,5] error: cannot find symbol
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.108s
[INFO] Finished at: Wed Mar 13 08:48:18 PDT 2013
[INFO] Final Memory: 12M/212M



 Comments   
Comment by Alex Pineda [ 20/Mar/13 ]

Issue is resolved with javaee_sdk build 80. Verified fix. Please update the bug accordingly.

Generated at Sun Apr 26 20:02:41 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.