Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0, 2.0.0-EE-Beta1
-
Fix Version/s: EE-2.0.0.GA
-
Component/s: ICE-Components
-
Labels:None
-
Environment:WebLogic 10.3.4, ICEfaces 2
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
-
Hide
- Case9985Example.war
- 7.11 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ee-compat.jar 2.60 MB
- WEB-INF/lib/icefaces-ee.jar 200 kB
- WEB-INF/lib/icepush-ee.jar 238 kB
- WEB-INF/lib/jsf-api.jar 603 kB
- WEB-INF/lib/jsf-impl.jar 1.82 MB
- WEB-INF/lib/jstl.jar 20 kB
- WEB-INF/lib/jxl.jar 708 kB
- WEB-INF/web.xml 2 kB
- WEB-INF/weblogic.xml 0.2 kB
- css/style.css 0.0 kB
- css/style_ie7.css 0.0 kB
- css/style_ie8.css 0.0 kB
- welcomeICEfaces.xhtml 1 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Please set this up on WebLogic and I will connect to the server to test.
It may be possible to use <show-archived-real-path-enabled> on WebLogic:
http://download.oracle.com/docs/cd/E11035_01/wls100/issues/known_resolved.html
If you deploy a web app as an archive war file, then context.getRealPath() returns null. This behavior can lead to certain failures in cases where the web app is dependent on the path.
Solution:
Use the <show-archived-real-path-enabled> flag to specify that context.getRealPath() returns the path of the resource from the Server's internal webapp extraction directory for archived web applications. The flag can be configured in two ways:
At domain level in config.xml. For example:
<web-app-container>
<show-archived-real-path-enabled>true
</show-archived-real-path-enabled>
</web-app-container>
At the web app level in weblogic.xml. For example:
<container-descriptor>
<show-archived-real-path-enabled>true
</show-archived-real-path-enabled>
</container-descriptor>
The value of <show-archived-real-path-enabled> set in the web app has precedence over the value set at the domain level. The default value of this property is false.
Note that, if this path is used to dynamically copy some content to this directory location, the content will end up in the Server's internal web app extraction directory. When the web app is recompiled for any reason, the web app may be re-extracted and previously copied content will be lost.
Setting <show-archived-real-path-enabled>true</show-archived-real-path-enabled> in the weblogic.xml file resolved the issue for me.
We should add this to our EE WIki for WebLogic config. info.
If outputStyle is modified to use getResourceAsStream() rather than getRealPath() it should be possible for it to work on WebLogic without the configuration parameter.
Attached war file that is ready to be deployed on WebLogic.