Quantcast
Channel: SCN : Popular Discussions - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 1318

Web Sockets - Using the Http11NioProtocol Connector for the embedded Tomcat

$
0
0

I'm still working on getting Atmosphere to work to be able to use web sockets.

 

I've solved my OSGI-related problems but I've got some new errors:

 

2012 11 01 18:28:45#+00#INFO#System.out##anonymous#http-bio-8041-exec-9##atosbeta#websockets281#web#null#null#18:28:45.626 [http-bio-8041-exec-9] WARN o.atmosphere.cpr.AtmosphereFramework - Failed using comet support: org.atmosphere.container.Tomcat7AsyncSupportWithWebSocket, error: Tomcat failed to detect this is a Comet application because context.xml is missing or the Http11NioProtocol Connector is not enabled.|

2012 11 01 18:28:45#+00#INFO#System.out##anonymous#http-bio-8041-exec-9##atosbeta#websockets281#web#null#null#If that's not the case, you can also remove META-INF/context.xml and WEB-INF/lib/atmosphere-compat-tomcat.jar Is the Nio or Apr Connector enabled?|

2012 11 01 18:28:45#+00#INFO#System.out##anonymous#http-bio-8041-exec-9##atosbeta#websockets281#web#null#null#18:28:45.630 [http-bio-8041-exec-9] WARN o.atmosphere.cpr.AtmosphereFramework - Using org.atmosphere.container.Tomcat7BIOSupportWithWebSocket|

 

Due to the fact that NW Cloud supports Servlet 3, I don't have to deal to with the context.xml file

 

Usually you enable Http11NioProtocol Connector in Tomcat via the server.xml.   CloudBees has a similar problem

 

How would this work on NW Cloud?

 

D.


Viewing all articles
Browse latest Browse all 1318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>