Skip to main content

Source code revision

svn

summary: Fix for issue 13286 ("Not able to enable WebSocket support in GF embedded (via Maven Plugin)")
revision: 42539
author: bhavanishankar
date: 2010-11-07 16:57:38 UTC (6 years)
message: Fix for issue 13286 ("Not able to enable WebSocket support in GF embedded (via Maven Plugin)")

Fix details:

1. Include grizzly-http-servet, websockets, and comet in glassfish-embedded-web and glassfish-embedded-all.jar (adds about 116K).

2. Map http port to http-listener-1, so that plugin users can use admin mojo and run a 'set' command to enable websockets on http-listener-1.

3. Add an embedded test to to deploy websockets application and test it using maven plugin (chat application is copied from its original place https://grizzly.dev.java.net/source/browse/grizzly/trunk/code/samples/websockets/chat/)

Change Path Actions
M trunk/v3/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/ConfiguratorImpl.java
M trunk/v3/extras/embedded/all/pom.xml
M trunk/v3/extras/embedded/web/pom.xml
M trunk/v3/tests/embedded/maven-plugin/pom.xml
A trunk/v3/tests/embedded/maven-plugin/websockets
A trunk/v3/tests/embedded/maven-plugin/websockets/pom.xml
A trunk/v3/tests/embedded/maven-plugin/websockets/src
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets/ChatApplication.java
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets/ChatWebSocket.java
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/com/sun/grizzly/samples/websockets/WebSocketsServlet.java
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/java/test
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/META-INF
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/META-INF/context.xml
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/WEB-INF
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/WEB-INF/sun-web.xml
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/WEB-INF/web.xml
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/images
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/images/body-background.png
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/images/header-background.png
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/images/main-background.png
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/index.html
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/index.jsp
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/application.js
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/behaviour.js
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/moo.fx.js
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/moo.fx.pack.js
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/javascripts/prototype.js
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/stylesheets
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/stylesheets/default.css
A trunk/v3/tests/embedded/maven-plugin/websockets/src/main/webapp/test.html
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test/java
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test/java/org
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test/java/org/glassfish
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test/java/org/glassfish/tests
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test/java/org/glassfish/tests/standalonewar
A trunk/v3/tests/embedded/maven-plugin/websockets/src/test/java/org/glassfish/tests/standalonewar/WebTest.java
 
 
Close
loading
Please Confirm
Close