I have a GWT app that has been running fine over HTTP. I now want to
restrict it to using HTTPS. I've modified the web.xml file as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//
EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd";>

    <web-app>

      <filter>
        <filter-name>guiceFilter</filter-name>
        <filter-class>com.google.inject.servlet.GuiceFilter</filter-
class>
      </filter>

      <filter-mapping>
        <filter-name>guiceFilter</filter-name>
        <url-pattern>/*</url-pattern>
      </filter-mapping>

      <listener>
        <listener-class>com.orci.vicads.server.AppConfigListener</
listener-class>
      </listener>

      <welcome-file-list>
        <welcome-file>AlarmClips.html</welcome-file>
      </welcome-file-list>

      <security-constraint>
        <web-resource-collection>
            <web-resource-name>securedapp</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
      </security-constraint>

    </web-app>

I am running inside of JBoss AS5. When JBoss tries to startup the app
I get the following error:

    ERROR org.apache.catalina.core.ContainerBase.[jboss.web].
[localhost].[/ORCI-GWT-V5MilestoneAlarmClips-1.0]  Error configuring
application listener of class com.orci.vicads.server.AppConfigListener
    java.lang.ClassNotFoundException:
com.orci.vicads.server.AppConfigListener

However, when I remove the security-constraint, the app starts up
normally. Am I doing something wrong?
Thanks, David

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to