[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly
Hello! I am having exactly the same problem. My sessions are timing out as expected when testing on WinXP but not in production on Suse Linux 9. /Erik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942773#3942773 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942773 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP 2.x and Cache vs cmp2.x jdbc2 pm
Hello! I am using Jboss 4.0.3 and MySql. I am using CMP2.0 för all databaseaccess. My application is 99.9% reading. Very litle writing. Previously I have used a container configuration like the one below. container-configurations container-configuration extends= Standard CMP 2.x EntityBean container-nameCMP 2.x and Cache/container-name commit-optionA/commit-option insert-after-ejb-post-createtrue/insert-after-ejb-post-create call-ejb-store-on-cleanfalse/call-ejb-store-on-clean /container-configuration /container-configurations I have found out that the standard configuration is cmp2.x jdbc2 pm. My question is which configuration gives the best performance? JBoss is the only application accessing the database. /Erik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3939725#3939725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939725 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - java.net.SocketException during heavy load
Hello! I am using jboss 4.0.3. Sometimes I am receiving a ClientAbortException, ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error This is when I am executing the following code: private void downLoadFile(HttpServletResponse response, byte[] b){ try{ response.setContentLength(b.length); OutputStream out = response.getOutputStream(); out.write(b, 0, b.length); out.flush(); out.close(); }catch(Exception e){ System.out.println(exception + e); } } I use this code to return for example images. I have not been able to find out why it fails but I think that it is during heavy load. If I perform stresstests I can trigger it. Is there some configurationparameter that can be changed? When I trigger this problem when surfing to my site the retreiving of the image gets the browser to hang. If I then perform a reload it loads again. /Erik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3901493#3901493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901493 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: IndexOutOfBoundException with jsp:include chain
Hello! Now I have found the cause of my problem. It is nothing with jsp:include-chains. The problem is caused by a url containing an argument with a ; in it. This jsp:include succeeds jsp:include page=test.jsp?p=something flush=false / but this one fails jsp:include page=test.jsp?p=something; flush=false / Isnt it allowed to have ; in the parameterstring? /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868358#3868358 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868358 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: IndexOutOfBoundException with jsp:include chain
Hello! This is the stacktrace that is printed out. /Erik 2005-02-28 18:10:49,039 ERROR [org.jboss.web.localhost.Engine] StandardContext[]Error during mapping java.lang.StringIndexOutOfBoundsException: String index out of range: -48 at java.lang.String.getChars(String.java:724) at org.apache.tomcat.util.buf.CharChunk.append(CharChunk.java:353) at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:432) at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:196) at org.apache.catalina.core.ApplicationHttpRequest.getRequestDispatcher(ApplicationHttpRequest.java:298) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:964) at org.apache.jsp._121_jsp._jspService(_121_jsp.java:211) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510) at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) at com.joodit.page.misc.joodit_jsp._jspService(joodit_jsp.java:188) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.joodit.jsp.filters.StatisticsFilter.doFilter(StatisticsFilter.java:33) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.joodit.jsp.filters.ErrorFilter.doFilter(ErrorFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(Unknown Source) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(Unknown Source) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Unknown Source) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at
[JBoss-user] [HTTPD, Servlets JSP] - Re: IndexOutOfBoundException with jsp:include chain
Hello! After a bit more digging I have downloaded Jboss 4.01. The problem still remains usion the Tomcat bundled. But after downloading Jetty 5.1.2 for Jboss 4.0. The problem disapears. My conclution is therefor that it must be something in Tomcat that causes the error. But I can not find out what. Somebody that can? /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868256#3868256 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868256 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - IndexOutOfBoundException with jsp:include chain
Hello! I am running Jboss, both 3.2.5 with jetty and 3.26 with tomcat. In some of my jsp pages I have a chain of jsp:include, i.e one jsp does include on another jsp that does include on yet another jsp. This works fine in 3.2.5 with jetty but fails in 3.2.6 with tomcat. In tomcat I am receiving an IndexOutOfBoundsException at the jsp:include row. I do jsp:include with flush=false. If I change it to flush=true it gets a little better, the page is rendered a bit further but it still generates a IndexOutOfBoundsException. Why am I receiving this exception in tomcat and not in jetty? What shall I do to fix this? /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867879#3867879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867879 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Differences between 3.2.6 and 4.0
Hello! I am currently using jboss 3.2.6 and I am thinking of changeing to 4.0. Before I do that I wonder if there are any performance or stability changes between jboss 3.2.6 and jboss 4.0? As I have understood it 4.0 is very much newly written code. New code tends to be not so very optimized and stable in the beginning. /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863041#3863041 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863041 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Port redirect for specific virtual host
Hello! I have understood that what I whant to do can be don with Apache in front of Tomcat, using rewriteengine and som rewriterule. But could it be done without Apache? I really dont think that I need Apache because 99.9% of the requests to my server can be handled by Jboss/Tomcat direct and the last small 0.1% needes to be forwarded to some other internal webserver. My question is: Can Tomcat handle rewriteurl/rewritecond by itself, or the same functionallity at least? /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855549#3855549 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855549 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Port redirect for specific virtual host
Hello! I am using jboss 3.2.6 on a Linux computer. I have several websites deployed using virtual host. Tomcat is running with port 80 exposed. Now I would like to install a seperate non java webserver on the same machine. Is it possible to configure Tomcat or Linux to serve one specific virtual host and redirect it to for example port 90 on the other webserver? I would like the user to believe that the application is running on port 80 but it is actually running on port 90. /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3854795#3854795 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854795 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Multiple Virtualhosts - Multiple classfiles?
Hello! I have just migrated to Jboss 3.2.6 and Tomcat from previously been using 3.2.4 with Jetty. My ear file contains one warfile. In jboss-web.xml I define more than one virtual host, for example www.domain1.com and www.domain2.com. Everything works fine except that in the work directory there is two directories created, www.domain1.com and www.domain2.com. In each directory a copy of the jsp-java-class files is created. No big deal but why does it have to be multiple instances of the classfiles, one for each domain, they will never be different? When using Jetty I did not recieve those multiple classfiles. When having multivple virtual hosts I am also receiving a lot of startup printouts, something about Registration is already done - stop. What is that? Can it be avoided or is it just how it shall be? /Erik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851683#3851683 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851683 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user