I am trying to run the Chat Tutorial on spring-server with APR Connection. No matter what i do I keep getting the error below.
I put the native dll under System32 and I changed my connectors in tomcat server.xml.
<servlet>
<servlet-name>gravity</servlet-name>
<servlet-class>org.granite.gravity.tomcat.GravityTomcatServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>gravity</servlet-name>
<url-pattern>/gravityamf/*</url-pattern> <!--2-->
</servlet-mapping>
Dec 11, 2014 6:54:56 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [gravity] in context with path [/ChatServer] threw exception [Not in a valid Comet configuration (use an APR or NIO connector)] with root cause
javax.servlet.ServletException: Not in a valid Comet configuration (use an APR or NIO connector)
at org.granite.gravity.tomcat.AbstractCometProcessor.service(AbstractCometProcessor.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)