Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#3
    • Fix Version/s: 1.7Beta1, 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Potentially any
    • Affects:
      Compatibility/Configuration

      Description

      The custom ICEfaces parser is throwing exceptions and logging them as SEVERE when it encounters a DTD that it expects to be cached. The cached versions are specified in our com.icesoft.jasper.Constants class:

          /**
           * Public Id and the Resource path (of the cached copy) of the DTDs for tag
           * library descriptors.
           */
          public static final String TAGLIB_DTD_PUBLIC_ID_11 =
                  "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN";
          public static final String TAGLIB_DTD_RESOURCE_PATH_11 =
                  "/com/icesoft/jasper/web-jsptaglibrary_1_1.dtd";
          public static final String TAGLIB_DTD_PUBLIC_ID_12 =
                  "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN";
          public static final String TAGLIB_DTD_RESOURCE_PATH_12 =
                  "/com/icesoft/jasper/web-jsptaglibrary_1_2.dtd";

          /**
           * Public Id and the Resource path (of the cached copy) of the DTDs for web
           * application deployment descriptors
           */
          public static final String WEBAPP_DTD_PUBLIC_ID_22 =
                  "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN";
          public static final String WEBAPP_DTD_RESOURCE_PATH_22 =
                  "/com/icesoft/jasper/web-app_2_2.dtd";
          public static final String WEBAPP_DTD_PUBLIC_ID_23 =
                  "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN";
          public static final String WEBAPP_DTD_RESOURCE_PATH_23 =
                  "/com/icesoft/jasper/web-app_2_3.dtd";

      This is done to help ICEfaces run when a network connection is not available (and it tries to get the DTD file). However, we are only including the latest versions in the icefaces.war. If we encounter a DTD for the older versions, the exception is logged as noted.

        Activity

        Hide
        Deryk Sinotte added a comment -

        I should also note that the problem doesn't seem to adversely effect the operation of the application.

        Show
        Deryk Sinotte added a comment - I should also note that the problem doesn't seem to adversely effect the operation of the application.
        Hide
        Deryk Sinotte added a comment -

        I've added in the two missing DTDs that we expect to be available. I no longer see the logging issues so marking as fixed.

        Show
        Deryk Sinotte added a comment - I've added in the two missing DTDs that we expect to be available. I no longer see the logging issues so marking as fixed.

          People

          • Assignee:
            Unassigned
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: