[
https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796179#action_12796179
]
Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------
The WAR files are extracted in special folders of the server installation when
the application is deployed on the server. While deploying the application the
files located in the WEB-INF/classes folder of the WAR file are deployed as a
new wl_nnn.jar file in the WEB-INF/lib direcory of the extracted aplication and
the classes directory is left empty.
In my example applictaion I get many open file handles on Garfield.png located
in the images folder and exactly the same number of open handles on
basicStyles.css located in the Styles folder when hitting the test button.
To rule out the fact that all classes from the WEB-INF/classes path are packed
in a new jar file I have stopped the server and extracted all classes back into
the classes folder and deleted the wl_nnn.jar file. But this didn't change
anything ...
> Images and stylesheets leave open file handles
> ----------------------------------------------
>
> Key: WICKET-2567
> URL: https://issues.apache.org/jira/browse/WICKET-2567
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.3
> Environment: The problem exists on IBM WebSphere 6.1.0.19 running on
> Windows 2003 Server
> Reporter: Peter Diefenthäler
> Assignee: Igor Vaynberg
> Priority: Critical
> Fix For: 1.4.4
>
> Attachments: FhTest.war, Open File Handles on WebShpere for Wicket
> Application.jpg
>
>
> Running Wicket applications on IBM WebSphere and Oracle BEA application
> server result in a huge amount of open file handles for images and
> stylesheets. Our customer has up to 700 open file handles up to 50 file
> handles on the same stylesheet or image.
> The stylesheets are directly referenced in the HTML files:
> <html>
> <head>
> <title>PTS/A&R Login</title>
> <link rel="stylesheet" type="text/css" href="styles/basicStyles.css" />
> or
> <html>
> <wicket:head>
> <link rel="stylesheet" type="text/css"
> href="styles/genericMaint.css">
> </wicket:head>
> <body>
> <wicket:extend>
> <div wicket:id="genDetail"/>
> </wicket:extend>
> </body>
> </html>
> Sometimes the images are referenced within the stylesheets:
> .mainLogo {
> position: relative;
> top: 0px;
> left: 0px;
> width: 188px;
> height: 35px;
> background-image: url(../images/AARLogo.png);
> }
> But in most cases we use the images directly in the HTML code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.