HI Youssef, I tried the old deprecated API but still cannot make websocket connection between browser and server(ofbiz embedded tomcat). Can you explain more how you do it?
another alternative would be deploy ofbiz to (outside)Tomcat, but I am stuck too. On Sun, Apr 20, 2014 at 6:37 PM, Youssef Khaye <[email protected]>wrote: > Hi > > yes, i hav successfully use websockets to send information to connected > when some event occures server side. > > in details, i used asterisk-java, to interact wieth an servisk server, and > used websockets to communicate with client browser, to whox coming calls > for examples. > > i used the old apache websocket api, which is deprecated. the new one > still difficle to make working within ofbiz, i faced sale issues as > jaccoppo. > > hope this help. > > > > Le 17/04/2014 12:48, MelonJaya a écrit : > > Hi all, >> >> I've been trying to utilize the websocket in current trunk of ofbiz. >> Make new component in hot-deploy, using the exact chat example from tomcat >> and include the Java class. It can be compiled and ant start run without >> any problem, but my browser console keeps telling me that ws connection >> cannot be made. >> >> I have read the discussion from Jacopo in Tomcat mailing list too, tried >> to >> add the listener in web.xml and still my browser cannot make ws connection >> to my ofbiz instance. >> >> Have you guys any experience on this issue? >> >> Thanks in advance! >> Johnson Chandra >> >> >
