ICEfaces
  1. ICEfaces
  2. ICE-4977

Add support for specifying external path / absolute path to ICEfaces Resource API.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ice:dataExporter on WebLogic servers with archive deployments (.war).

      Description

      In order to support the ice:dataExporter component working correctly when used in an .war archive deployment in WebLogic servers (where there is no writable disk to generate the output file to) we need to enhance the Resource and Resource Registry APIs to facilitate the optional specification of a config. parameter to identify a file-system location for the files to be written to (possibly outside of the application context). In addition, another parameter is required to identify if the specified file location URL is an absolute path or not.

      This is very similar to two existing config. parameters that exist for the ice:inputFile component:

      "uploadDirectory" - Specific to the ice:inputFile component. Specifies the directory that uploaded files should be stored in. Works in conjunction with the uploadDirectoryAbsolute and uniqueFolder parameters. It can be set in the application's web.xml file, and can be overridden by the InputFile component's uploadDirectory property.
       
      "uploadDirectoryAbsolute" - Specific to the ice:inputFile component. Specifies whether the uploadDirectory parameter should be treated as a relative or absolute path. It can be set in the application's web.xml file, and can be overridden by the InputFile component's uploadDirectory property.


        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Specifying an absolute directory path is a valid workaround on WebLogic (or any app server) where it's possible to deploy archives unexploded.

          As some follow up information, I found the following link in the Oracle/BEA documentation:

          http://download.oracle.com/docs/cd/E12840_01/wls/docs103/deployment/deployunits.html#wp1049133

          The interesting part is in the section called "Using Exploded Archive Directories" where this is noted:

          "In this case, the modules that perform the I/O operations should have a physical filesystem directory in which to work; you cannot obtain a file when the application is deployed as an archive, as per the specification."

          Show
          Ken Fyten added a comment - Specifying an absolute directory path is a valid workaround on WebLogic (or any app server) where it's possible to deploy archives unexploded. As some follow up information, I found the following link in the Oracle/BEA documentation: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/deployment/deployunits.html#wp1049133 The interesting part is in the section called "Using Exploded Archive Directories" where this is noted: "In this case, the modules that perform the I/O operations should have a physical filesystem directory in which to work; you cannot obtain a file when the application is deployed as an archive, as per the specification."
          Hide
          Ken Fyten added a comment -

          Marking as Closed / Invalid as part of legacy ICEfaces 1.x, 2.x JIRA cleanup.

          Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

          If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          Show
          Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces 1.x, 2.x JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.

            People

            • Assignee:
              Unassigned
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: