Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 819113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:15:23+00:00 2026-05-15T02:15:23+00:00

I was running the petclinic example that was created with spring roo, also I

  • 0

I was running the petclinic example that was created with spring roo, also I test booking-mvc example that comes whit spring webflow 2.0.9 and the same happens, this is when I reload the main page many times.

If I remove the lines from both examples there is no error.

< spring:theme code="styleSheet" var="theme_css"/>
            <spring:url value="/${theme_css}" var="theme_css_url"/>


            <spring:url value="/resources/dojo/dojo.js" var="dojo_url"/>
            <spring:url value="/resources/dijit/themes/tundra/tundra.css" var="tundra_url"/>
            <spring:url value="/resources/spring/Spring.js" var="spring_url"/>
            <spring:url value="/resources/spring/Spring-Dojo.js" var="spring_dojo_url"/>
            <spring:url value="/static/images/favicon.ico" var="favicon" />
            <link rel="stylesheet" type="text/css" media="screen" href="${theme_css_url}"><!-- //required for FF3 and Opera --></link>
            <link rel="stylesheet" type="text/css" href="${tundra_url}"><!-- //required for FF3 and Opera --></link>
            <link rel="SHORTCUT ICON" href="${favicon}" />


            <script src="${dojo_url}" type="text/javascript" ><!-- //required for FF3 and Opera --></script>
            <script src="${spring_url}" type="text/javascript"><!-- //required for FF3 and Opera --></script>
            <script src="${spring_dojo_url}" type="text/javascript"><!-- //required for FF3 and Opera --></script>
            <script language="JavaScript" type="text/javascript">dojo.require("dojo.parser");</script>

So I can deduce that this is something related with this servlet

   <servlet>
        <servlet-name>Resource Servlet</servlet-name>
        <servlet-class>org.springframework.js.resource.ResourceServlet</servlet-class>
    </servlet>


    <!--
                Map all /resources requests to the Resource Servlet for handling
        -->
    <servlet-mapping>
        <servlet-name>Resource Servlet</servlet-name>
        <url-pattern>/resources/*</url-pattern>
    </servlet-mapping>

Running the example injetty 6.1.10, tomcat 1.6, in fedora 12 with java 1.6.20, make errors. but in aix and websphere no errors, and tomcat 1.6 and windows no errors, I think that this is something related with linux.

STACKTRACE
    2010-05-21 12:53:07.733::WARN:  Nested in org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.tiles.impl.CannotRenderException: ServletException including path '/WEB-INF/layouts/default.jspx'.:
        org.apache.tiles.impl.CannotRenderException: ServletException including path '/WEB-INF/layouts/default.jspx'.
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:691)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:643)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:626)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:322)
         at org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:100)
         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1060)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:798)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
         at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
         at org.mortbay.jetty.servlet.Dispatcher.error(Dispatcher.java:135)
         at org.mortbay.jetty.servlet.ErrorPageErrorHandler.handle(ErrorPageErrorHandler.java:121)
         at org.mortbay.jetty.Response.sendError(Response.java:274)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:429)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:324)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
         at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
        Caused by: org.apache.tiles.util.TilesIOException: ServletException including path '/WEB-INF/layouts/default.jspx'.
         at org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:232)
         at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:243)
         at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:222)
         at org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
         at org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:103)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:669)
         at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:689)
         ... 38 more
        Caused by: java.io.FileNotFoundException: /home/tsalazar/Workspace/test/roo_clinic/src/main/webapp/WEB-INF/web.xml (Too many open files)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
         at java.net.URL.openStream(URL.java:1010)
         at org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:114)
         at org.apache.jasper.compiler.JspConfig.init(JspConfig.java:295)
         at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:360)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:141)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
         at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:285)
         at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
         at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:241)
         ... 43 more
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:15:24+00:00Added an answer on May 15, 2026 at 2:15 am

    You can use lsof to find out what files are open and what process has them open.

    You can increase the number of files that can be open, but that depends on your OS.

    The Spring forum has a on this here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have my Spring MVC & Spring Security up and running as suggested by
Running JBoss 4.2.3.GA and trying to deploy a WAR that is using Spring/Hibernate/JPA. I'm
running git instaweb in my repository opens a page that says 403 Forbidden -
Running into a problem where on certain servers we get an error that the
Running ipconfig /all shows a Teredo Tunneling Pseudo-Interface. What is that? Does this have
Running IIS5 (yes, really). I'd like to remove the eTag http header that IIS
running on windows 7, 32bit home pro I created a very simple few line
Running a rails site right now using SQLite3. About once every 500 requests or
Running FxCop on my code, I get this warning: Microsoft.Maintainability : 'FooBar.ctor is coupled
Running OS X Leopard an MacBook Pro from Jan. 2008. I used to run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.