今天有幸看到了一下天涯社区的一个错误页面,如下:
500 Servlet Exception
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:574)
at cn.tianya.common.database.CommonDAO.getFromCache(CommonDAO.java:92)
at cn.tianya.common.database.CommonDAO.get(CommonDAO.java:58)
at cn.tianya.focus.dao.TopicDAO.selectTopArticles(TopicDAO.java:39)
at _jsp._focus._index__jsp._jspService(focus/index.jsp:94)
at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
at com.caucho.jsp.Page.pageservice(Page.java:579)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:222)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
at java.lang.Thread.run(Thread.java:595)Resin-3.0.21 (built Thu, 10 Aug 2006 12:03:19 PDT)
发现天涯用的居然是jsp, 显然页面rewrite成html了。而且用了Resin-3.0.21,看起来jsp大型应用也不是weblogic的天下。
只是看不出数据库用的是什么,既然说不定用的也是开源产品。等有机会再瞧瞧吧