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/10 10:52:30 UTC

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

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
            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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2567.
-----------------------------------

    Resolution: Invalid
      Assignee: Igor Vaynberg

urls to such resources are not served by wicket, but by the servlet container directly. your problem is most likely there.

if you look at the url and it doesnt look like /resources/<some class name>/resource-name.ext then it is not served by wicket and wicket does not touch it. your problem may be websphere or bea.

> 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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796557#action_12796557 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

When the application server starts its garbage collection, the open file handles vanish. The application doesn't fail but we had to adjust some memory parameters for the server. Our application will get more users in the future so we're not lucky with this leaks ...

> 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: Johan Compagner
>             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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776365#action_12776365 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

The URL returning the stylesheet is http://20.49.215.17:9080/PtsAarWeb/styles/basicStyles.css and for images http://20.49.215.17:9080/PtsAarWeb/images/AARLogo.png

Anyway - how does Wicket process following code fragment?

<html> 
<wicket:head> 
<link rel="stylesheet" type="text/css" href="styles/genericMaint.css"> 
</wicket:head> 
<body> 

As I understand Wicket will sure open the HTML file and will compose the panels and other fragments to the complete page. In my application every HTML page is located in WEB-INF/classes according to the Wicket recommendations. So for rendering the complete page i suppose Wicket will sure open also the linked ressources ...

> 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: 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&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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796588#action_12796588 ] 

Johan Compagner commented on WICKET-2567:
-----------------------------------------

what happens in that test app
if you use the wicket filter (dont use the servlet thats pretty much deprecated)  and also mount the filter on /app instead of root?

> 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: Johan Compagner
>             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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796153#action_12796153 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

The attached WAR file can be deployed on any application server. In general it is a ZIP archive with the complete deployment structure.

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


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776371#action_12776371 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

By the way - we also use tables with alternate colored rows. So Wicket has to open the tables.css file to get the appropriate styles for odd and even rows ...

> 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: 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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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


I'm sorry, but I'm really clueless - I don't know how to avoid these open file handles in WebSphere and Oracle Weblogic. 
I have stripped down the problem to a litte "Hello World" like application for testing the issue.
With Apache Tomcat the problem doesn't exist. I've tested the latest Oracle Weblogic release with JDK 1.6 and also IBM WebSphere 6.1 with JDK 1.5 - both server show new open file handles each time I press the test button in the application.
I will attach the fhtest.war file to this issue.
Thanks, Peter


> 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: 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&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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776351#action_12776351 ] 

Igor Vaynberg commented on WICKET-2567:
---------------------------------------

unless the resources that are causing the file leak are inside WEB-INF/classes wicket is not serving them and is therefore not responsible for any handle leaks. what is the exact url to the css file? eg the url that if you put into the browser will return the css itself???

> 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: 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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776337#action_12776337 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

The application is started with

http://20.49.215.17:9080/PtsAarWeb/?x=3xQuVuj-t6mq8TNcrGH5Lo5T8b2V2qU4deYo8mUTA3wceSBXfLZhwA

The login screen references a style sheet with some background images (see the code fragments above). The resources are located parallel to the WEB-INF directory inside the WAR file.


> 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: 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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776330#action_12776330 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

I have checked our JSF applications for open file handles but they don't show any. So the problem first rose with the new Wicket 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
>
>         Attachments: 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&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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796216#action_12796216 ] 

Johan Compagner commented on WICKET-2567:
-----------------------------------------

So you get a open file handle on a Garfield.png what is really just a file on the filesystem. So not packed in an archive what so ever?
thats weird.


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


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796575#action_12796575 ] 

Igor Vaynberg commented on WICKET-2567:
---------------------------------------

if something is cleaned up by the garbage collector its not really a leak is it? may be a weirdness of the ibm jre.

> 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: Johan Compagner
>             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&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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-2567:
----------------------------------

    Priority: Major  (was: Critical)

> 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: Johan Compagner
>             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&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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796235#action_12796235 ] 

Igor Vaynberg commented on WICKET-2567:
---------------------------------------

does this actually cause the app to fail at some point? or does the os eventually start recycling the file handles?

> 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: Johan Compagner
>             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&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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796137#action_12796137 ] 

Johan Compagner commented on WICKET-2567:
-----------------------------------------

are the .ear file or the .war file extracted (are they dirs) or are they really the zipped/jarred files?

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


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796168#action_12796168 ] 

Johan Compagner commented on WICKET-2567:
-----------------------------------------

yes i get that
But when you deploy it, will it extract the war/ear file or will it serve right out of the war?
If it is the last, look if you can say that it should extract it.

If i remember correctly weblogic had its own jar/zip url connection. so then we cant do what we do know to close the connection (or dont open it) as much as possible.

So where does the file that you see file handles on come from? And what kind of url connection will open it?


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


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776379#action_12776379 ] 

Igor Vaynberg commented on WICKET-2567:
---------------------------------------

i dont think so.in order for this problem to occur the resource has to be served by wicket, but the urls you have pointed out are not served by wicket, so wicket is in no way involved in opening any file handles to that file or streaming contents.

however, there is nothing stopping you from building the latest snapshot and trying your app with it. there is a chance i am wrong about this.

> 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: 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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776374#action_12776374 ] 

Igor Vaynberg commented on WICKET-2567:
---------------------------------------

again, irrelevant. wicket does not "open css files to get the classes", the browser does this.

> 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: 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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: FhTest.war

Little "hello world" like application wich causes many open file handles on Oracle Weblogic and IBM WebSphere servers.

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


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ 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&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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-2567:
-------------------------------------

    Assignee: Johan Compagner  (was: Igor Vaynberg)

> 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: Johan Compagner
>            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&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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2567.
-----------------------------------

    Resolution: Invalid

i dont see any open file handles to html files in your screenshot...

the only thing that wicket:head does is put the content inside it into the head element of the page. the urls to css and images you pasted are not server by wicket but by the servlet container.

the html files are loaded only once and then cached, so those would not leak file handles.


> 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: 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&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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Compagner closed WICKET-2567.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4.4)
                   1.5-M1
                   1.4.6

> 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: Johan Compagner
>             Fix For: 1.4.6, 1.5-M1
>
>         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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776378#action_12776378 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

Sorry for beeing tenacious of this behaviour, because as I stated I didn't recognise this on my JSF applications.
So I promise - one last question on this:
Can there be any relation to the JIRA ticket https://issues.apache.org/jira/browse/WICKET-2534 ?
Thanks for your patience, Peter

> 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: 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&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.


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

Posted by "Ilja Pavkovic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796583#action_12796583 ] 

Ilja Pavkovic commented on WICKET-2567:
---------------------------------------

from my live production introspection experiences: 
- if you have about 60 concurrent users your garbage collector will be called multiple times a minute.
- if you have a memory problem the garbage collector will be called every second :) (e.g. a query that pushes a million rows into memory but only 10 are shown on the screen)

Therefore I think you can ignore this problem.

Don't try to pre-optimize, it is - in nearly all scenarios - a waste of time.

some reading about this: 
http://orionl.blogspot.com/2008/11/scalability-is-war-and-dont-pre.html


> 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: Johan Compagner
>             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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: Open File Handles on WebShpere for Wicket Application.jpg

> 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: 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&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.


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

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776333#action_12776333 ] 

Igor Vaynberg commented on WICKET-2567:
---------------------------------------

what is the exact url of the resource that is causing the leak as seen in the browser's source?


> 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: 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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796578#action_12796578 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

As I stated above we have 700 open file handles in production this time. If the system will be used by more users in the next months we don't know, how often the garbage collector has to do its job. This is alos a performance risk, because our application is not the only one on this server and garbage collection affects all other apps also.
Second point is that we have this problem on IBM WebSphere and on Oracle Weblogic Servers. Its not only a weirdness of the IBM JRE but I think its a weirdness of the big application servers which use proprietary mechanisms to achieve better scalability and performance.
Unfortunately our big customers use IBM and Oracle servers, so we have to solve this problem ...

> 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: Johan Compagner
>             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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796631#action_12796631 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

I have tested my example with your snapshot of 1.4 and the servlet configuration and it works fine - no open file handles any more!
Thank you very very much for your passionate support. Now we can start developing more applications with this excellent framework.

> 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: Johan Compagner
>             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&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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796602#action_12796602 ] 

Johan Compagner commented on WICKET-2567:
-----------------------------------------

in the example you use a servlet not the filter (thats commented out)

If you use a filter do you have the same problems?

i just committed a fix to WicketSerlvet (should be in the snapshots soon) but when using a WicketFilter you shouldnt have those problems. only the servlet would have that problem.

You could test with the filter on /* as url mapping but also with /app as url mapping (i guess you have to tweak a bit your html files then, but this is just for testing

IF you use the filter and you use a /app url mapping then everything that isn in /images dir will not be touched AT all my wicket. I want to know if you then also have that same problem
Because then it is really out of wicket scope

Even if you use /* als url pattern then also the wicket filter should pass it to the next filter/chain, so it shouldnt touch it also
So please test it if you can in the 3 modes

1> wicket servlet
2> wicket filter /*
3> wicket filter /app

> 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: Johan Compagner
>             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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796595#action_12796595 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

I don't know, how to mount the filter other than root. In my test application I use following filter setting:
<filter>
	<filter-name>FhAppl</filter-name>
	<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
	<init-param>
		<param-name>applicationClassName</param-name>
		<param-value>wicket.test.fh.application.FhAppl</param-value>
	</init-param>
  </filter>
  <filter-mapping>
	<filter-name>FhAppl</filter-name>
	<url-pattern>/*</url-pattern>
  </filter-mapping>

The Application is started like http://localhost:8036/FhTest

> 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: Johan Compagner
>             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&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.


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

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796611#action_12796611 ] 

Johan Compagner commented on WICKET-2567:
-----------------------------------------

tseee. still no filters?? how old is that already... 
Its just plain weird how long some hang on to such old tech

But if you can test the snapshot of 1.4 that is just finished building:

http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.4-SNAPSHOT/ 

> 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: Johan Compagner
>             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&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.


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

Posted by "Peter Diefenthäler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796603#action_12796603 ] 

Peter Diefenthäler commented on WICKET-2567:
--------------------------------------------

I have tested the wicket filter /* and there are no file handles any more !!! 
Thank you very much - this will help me a lot with my current production issue on Weblogic.

But I think I need the Servlet variant for a short time because IBM WebSphere doesn't support filter in my environment.

> 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: Johan Compagner
>             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&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.