Hi all,

This problem has cropped up a couple of times on this list.

Do you think we should add it to the Gotchas section of the wiki?

just my 2 cents. :)

        /j.

Flemming Boller wrote:
> I am glad to help you :-)
> 
> On 11/27/06, *Nino Wael* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     I take the part about error pages back! Seems to be working. What a
>     glorious day J
> 
>      
> 
>     ------------------------------------------------------------------------
> 
>     *From:* [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]> [mailto:
>     [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>] *On Behalf Of
>     *Nino Wael
>     *Sent:* 27. november 2006 14:58
> 
>     *To:* wicket-user@lists.sourceforge.net
>     <mailto:wicket-user@lists.sourceforge.net>
>     *Subject:* Re: [Wicket-user] Too many open files
> 
>      
> 
>     Yeah, its in DEPLOYMENT mode… NO it wasn't L We changed it on the
>     way because, our "NICE" error pages aren't shown in DEPLOYMENT mode.
> 
>      
> 
>     THANKS, this fixes our trouble with too many files open(at least on
>     my local machine, haven't tested it on the server yet)!
> 
>      
> 
>     Althought now, our Error pages aren't show. However that's not for
>     this thread.
> 
>      
> 
>      
> 
>     THANKS AGAIN.
> 
>      
> 
>     Regards Nino
> 
>      
> 
>     ------------------------------------------------------------------------
> 
>     *From:* [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]> [mailto:
>     [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>] *On Behalf Of
>     *Flemming Boller
>     *Sent:* 27. november 2006 14:12
>     * To:* wicket-user@lists.sourceforge.net
>     <mailto:wicket-user@lists.sourceforge.net>
>     *Subject: * Re: [Wicket-user] Too many open files
> 
>      
> 
>     Hi Nino
> 
>      
> 
>     I also have this "feature" with open files, but found in a earlier
>     post that it could be fixed with putting Wicket into PRODUCTION
>     configuration. Either in web.xml or in the code.
> 
>      
> 
>     Have you tried this?
> 
>      
> 
>      
> 
>     /Flemming
> 
>      
> 
>     On 11/27/06, *Nino Wael* < [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Ok, that helps a bit. But where in server.xml should I write the lines?
> 
>      
> 
>     Should I add a specific context for my wicket application eg like:
> 
>      
> 
>     <Context path="/wicketAPP" docBase="wicketAPP" debug="0"
>     antiResourceLocking="1" antiJarLocking="1" />
> 
>      
> 
>     And if I take it from my web.xml as stated below:
> 
>      
> 
>     <Context path="/viewer" docBase="viewer" debug="0"
>     antiResourceLocking="1" antiJarLocking="1" />
> 
>      
> 
>      
> 
>     Or are there a general switch?
> 
>      
> 
>      
> 
>     Regards Nino
> 
>      
> 
>     ------------------------------------------------------------------------
> 
>     *From:* [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]> [mailto:
>     [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>] *On Behalf Of
>     *Johan Compagner
>     *Sent:* 27. november 2006 12:24
>     * To:* wicket-user@lists.sourceforge.net
>     <mailto:wicket-user@lists.sourceforge.net>
>     * Subject:* Re: [Wicket-user] Too many open files
> 
>      
> 
>     that is the web.xml
>     you should configure it in the server.xml (see the url i sent in
>     that information about the server.xml configuration)
> 
>     On 11/27/06, *Nino Wael *< [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     Hi Johan or others able to answer.
> 
>      
> 
>     How do I encorporate this, into the web.xml, where should I place it
>     in the below xml? Sorry for such a novice question..
> 
>      
> 
>      
> 
>     <? xml version = "1.0" encoding = "UTF-8" ?>
> 
>     <! DOCTYPE web-app
> 
>           PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> 
>           "http://java.sun.com/dtd/web-app_2_3.dtd"; >
> 
>      
> 
>     < web-app >
> 
>                <!-- Context parameter that specifies the local SAS
>     Foundation Services metadata source properties file. -->
> 
>                < context-param >
> 
>                           < param-name > local.sas.foundation.services
>     </ param-name >
> 
>                           < param-value >
>     /conf/sas_metadata_source_omr_testsrv.properties </ param-value >
> 
>                </ context-param >
> 
>      
> 
>                <!-- Declare ServletContextListener to deploy and destroy
>     local SAS Foundation Services -->
> 
>                < listener >
> 
>                           < listener-class >
>     
> com.sas.jobindsats.businesslogic.biplatform.FoundationServicesContextListener
>     </ listener-class >
> 
>                </ listener >
> 
>      
> 
>                <!--F� lgende klasse h� ndterer at der bliver etableret
>     en SessionContext for brugeren, n� r de kontakter webapplikationen -->
> 
>                < listener >
> 
>                           < listener-class >
>     com.sas.jobindsats.businesslogic.JobindsatsBruger </ listener-class >
> 
>                </ listener >
> 
>                <!--f� lgende er en versions information Servlet -->
> 
>                < servlet >
> 
>                           < servlet-name > VersionInfo </ servlet-name >
> 
>                           < servlet-class >
>     wicket.protocol.http.WicketServlet </ servlet-class >
> 
>                           < init-param >
> 
>                                      < param-name > applicationClassName
>     </ param-name >
> 
>                                      < param-value >
>     com.sas.jobindsats.ui.version.info.VersionInfoApplication </
>     param-value >
> 
>                           </ init-param >
> 
>                           < load-on-startup > 1 </ load-on-startup >
> 
>                </ servlet >
> 
>                <!--f� lgende er selve jobindsats applikationen -->
> 
>                < servlet >
> 
>                           < servlet-name > ViewerComponentServlet </
>     servlet-name >
> 
>                           < servlet-class >
>     wicket.protocol.http.WicketServlet </ servlet-class >
> 
>                           < init-param >
> 
>                                      < param-name > applicationClassName
>     </ param-name >
> 
>                                      < param-value >
>     com.sas.jobindsats.ui.ViewerApplication </ param-value >
> 
>                           </ init-param >
> 
>                           < init-param >
> 
>                                      < param-name > useDB </ param-name >
> 
>                                      < param-value > false </ param-value >
> 
>                           </ init-param >
> 
>                           < init-param >
> 
>                                      < param-name > useNiceErrorPage </
>     param-name >
> 
>                                      < param-value > false </ param-value >
> 
>                          
> 
>     ...
> 
>     [Message clipped]  
>     -------------------------------------------------------------------------
> 
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys - and earn cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> 
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
> 
>      
> 
> 
>     -------------------------------------------------------------------------
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys - and earn cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> 
>     _______________________________________________
>     Wicket-user mailing list
>     Wicket-user@lists.sourceforge.net
>     <mailto:Wicket-user@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/wicket-user
>     <https://lists.sourceforge.net/lists/listinfo/wicket-user>
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to