You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Diefenthäler (JIRA)" <ji...@apache.org> on 2009/11/11 07:59:39 UTC

[jira] Reopened: (WICKET-2567) Images and stylesheets leave open file handles

     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Diefenthäler reopened WICKET-2567:
----------------------------------------


Hallo Igor,
the file handles are left open on each rendering cycle of the Wicket page. This is obvious because each resource referenced in the HTML File or by the Java part of the page leaves a new open file handle if the page is rendered. Refreshing the page in the browser results in open file handles for the complete set of stylesheets and images referenced by the page. See the attached image showing the file handles after 4 refreshments of the welcome page of our application. 


> 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
>
>
> 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&amp;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.