Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 29th, 2008, 02:25 AM
Registered User
 
Join Date: Sep 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem while using Ajax push in jsf

hi,
we r using tomcat6x. we r getting some errors in conectors in the Server.xml file,while we r implementing Ajax push in Jsf1.2 version.
we configured the sever.xml file like this

<Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtoc ol"
               connectionTimeout="20000"
               redirectPort="8443" />

we configured our web.xml file like this

<servlet>
        <servlet-name>Blocking Servlet</servlet-name>
        <servlet-class>
            com.icesoft.faces.webapp.xmlhttp.BlockingServlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>Tomcat Push Servlet</servlet-name>
        <servlet-class>
            com.icesoft.faces.webapp.http.servlet.TomcatPushSe rvlet
        </servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>



    <servlet-mapping>
        <servlet-name>Blocking Servlet</servlet-name>
        <url-pattern>*.iface</url-pattern>
    </servlet-mapping>

<servlet-mapping>
        <servlet-name>Tomcat Push Servlet</servlet-name>
        <url-pattern>*.iface</url-pattern>
    </servlet-mapping>

i am getting this error in the tomcat console is
ep 29, 2008 12:40:10 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
javax.servlet.ServletException: service() not supported by TomcatPushServlet. Configure the connector, replacing protocol="HTTP/1.1" with protocol="org.apache.coyote.http11.Http11NioProtoc ol"
    at com.icesoft.faces.webapp.http.servlet.TomcatPushSe rvlet.service(TomcatPushServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:302)
    at org.apache.jasper.runtime.PageContextImpl.doForwar d(PageContextImpl.java:696)
    at org.apache.jasper.runtime.PageContextImpl.forward( PageContextImpl.java:667)
    at org.apache.jsp.index_jsp._jspService(index_jsp.jav a:57)
    at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:342)
    at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:267)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11NioProcessor.proces s(Http11NioProcessor.java:880)
    at org.apache.coyote.http11.Http11NioProtocol$Http11C onnectionHandler.process(Http11NioProtocol.java:71 9)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProce ssor.run(NioEndpoint.java:2081)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
    at java.lang.Thread.run(Unknown Source)
can u please help me to come out of this problem

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using JSF in javascript sbkumar Javascript How-To 0 April 2nd, 2008 10:38 AM
trouble connecting to PostgreSQL with Tomcat /JSF raindogs Apache Tomcat 0 October 31st, 2006 01:31 PM
Whether JSF or Struts is better itzme_sharat Struts 3 February 21st, 2006 10:04 AM
JSF l1234567890 JSP Basics 0 October 3rd, 2005 09:34 PM
What about JSF ? bergeroy BOOK: Expert One-on-One J2EE Design and Development 1 April 8th, 2004 01:18 PM



All times are GMT -4. The time now is 03:21 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.