yrift / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
0 stars 0 forks source link

jWebSocket can not be started without JWEBSOCKET_HOME being set. #155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I use the library from 4. December ‎2011 the application starts fine, 
however due to WebSocket draft issues it does not work in Google Chrome: 
2012-01-21 12:39:33,581 ERROR - EngineUtils: Error in Handshake: Draft #'13' 
not supported.

So, I downloaded the latest version but then all of a sudden I get this error: 
jWebSocket can not be started without JWEBSOCKET_HOME being set.

Any chance we could have things working as they did before?

jWebSocket can not be started without JWEBSOCKET_HOME being set.
21.01.2012 12:35:50 org.apache.catalina.core.StandardContext listenerStart
SCHWERWIEGEND: Exception sending context initialized event to listener instance 
of class cope.kvizolino.web.context.ContextListener
java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at java.util.Properties.setProperty(Properties.java:143)
    at java.lang.System.setProperty(System.java:729)
    at org.jwebsocket.factory.JWebSocketFactory.setProperties(JWebSocketFactory.java:81)
    at org.jwebsocket.factory.JWebSocketFactory.start(JWebSocketFactory.java:130)
    at org.jwebsocket.factory.JWebSocketFactory.start(JWebSocketFactory.java:100)
    at cope.kvizolino.web.context.ContextListener.contextInitialized(ContextListener.java:19)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)

Original issue reported on code.google.com by stojadin...@gmail.com on 21 Jan 2012 at 11:41