1 Reply Latest reply on Aug 22, 2005 5:31 AM by guigui

    Jboss Filter exception

    guigui Newbie

      Hi everybody,
      I am trying to define a ssofilter using JBOSS 3.2.7, but I have the following exception at Jboss start :

      17:38:00,875 INFO [JBossCacheManager] init - init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
      17:38:00,875 ERROR [JBossCacheManager] init - JBossCacheService to Tomcat clustering not found
      17:38:00,890 ERROR [TomcatDeployer] performDeployInternal - Failed to setup clustering, clustering disabled
      17:38:01,140 ERROR [Engine] log - StandardContext[]Exception starting filter SsoFilter
      javax.servlet.ServletException: one of serverName or serviceUrl must be set.
      at edu.yale.its.tp.cas.client.filter.CASFilter.init(CASFilter.java:236)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308)
      at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79)


      I am using Xdoclet tags to define the servlet :

      @web.filter name="SsoFilter"
      display-name="Name for SsoFilter"
      description="sso interop"

      @web.filter-mapping url-pattern="/ssofilter"
      servlet-name="SsoFilter"

      An the result in my war web.xml is :


      <filter-name>SsoFilter</filter-name>
      <display-name>Name for SsoFilter</display-name>
      [CDATA[sso interop]]
      <filter-class>com.credm.tdx.servlets.SsoFilter</filter-class>


      <filter-mapping>
      <filter-name>SsoFilter</filter-name>
      <url-pattern>/ssofilter</url-pattern>
      </filter-mapping>

      Any idea ?

      Regards,
      Guigui