RE: How to increase the stack memory for tomcat ?
If I want to increase the memory size of each process or session, how can I do for Tomcat only or Apache+Tomcat? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Really? The stack, no the heap? You're sure? Why? Try -Xss a parameter into your java command line. Yoav Shapira Millennium ChemInformatics -Original Message- From: Surendra Kumar [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 8:52 AM To: Tomcat Users List Subject: How to increase the stack memory for tomcat ? Hi All I want to increase the stack size allocated to my tomcat process. Is there any configuration file where i can change this ? Besides is there any way i can configure the stack size for per Web applications ? I am using Tomcat version 3.3.1 Thanks for any help/pointers. -Surendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Pls help me on config of the memory problem
Hi, How to set the maximum number of threads or clients that the server can deal with simultonously? Running java bean takes much memory, so I want to control the number of users who can run it at the same time. I use Apache2, Tomcat4.1 and mod-Jk2 under win2k. Thx, Minger __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP's in other directories
You use JK2 as the connector between Apache and Tomcat? If so, you can map your jsp in the workers2.properties. Still I have a question: how can you set the main directory of your page files and call Tomcat to deal with jsp files under your main directory? --- Erik Price [EMAIL PROTECTED] wrote: Nicholas J Campbell wrote: Hi, I have a question, I want to be able to access JSP pages that are outside of the web-inf directory setup by tomcat I do not know how to do it, obviously. I have Apache 2 installed and use that at my main server and then am running tomcat for the purposes of Servlets and JSPs and I want to know what I have to do to make myself be able to access a jsp page that is in a directory like c:\site You should generally be able to refer to resources in your site by using a path relative to the context. For instance, I have the following site structure: /MyApp index.jsp main.jsp others.jsp /WEB-INF /classes /com /ptc /myapp SomeClass.class OtherClass.class /server SomeServlet.class OtherServlet.class /lib somejar.jar To access one of my JSPs from another JSP, I just use a relative path in the HTML part of the JSP. To forward to one of my JSPs from a servlet, I use the following line of code: String TARGET_JSP = /main.jsp; javax.servlet.ServletContext sc = this.getServletContext(); javax.servlet.RequestDispatcher rd = sc.getRequestDispatcher(TARGET_JSP); rd.forward(); That's one way to do it, even though the servlet is in /MyApp/WEB-INF/classes and the JSP is in /MyApp. Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to configure number of sessions, threads or connections of the server?
Hi, I met a problem on my server's configuration. On my website, the user can simulate the manufacturing systme (java bean) online. If I run the simulation offline (with the JBuilder), it's no problem to run for the real time from year 1990 to now. When I put it online, it can only run for short time (from 1/1/2002 to now), and I got some error for the long running time simulation. So I think it the memory problem. Therefor, I want to set the number of threads or connections the server can server simultanously. But I tried and failed. If you know something on it or you think it's not the memory problem, please help me. I use Apache2 and Tomcat4.1 (as the service to deal with jsp files) under windows2000; In fact I once only used Tomcat and the same problem. You can test it: 1.http://shan.bu.edu/CRCD to sign in with zcm as username and password; 2.click first button reset simulation to set the beginning time of simulation; 3.click the last button start simulation to run simulation. Thanks, Minger __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Help: Simple example to use tomcat 4.1.12 / Apache 1.3 and mo d_jk ??
Hi, John Is there any HOWTO for win2k? Similar to that for RH? For my setup and configure of Apache, Tomcat and JK2 on win2k, it seems that Apache and Tomcat can work well seperately. But it cannot work to open jsp file with Apache to acivate Tomcat to deal with. And I got the message on the Tomcat window: APR not loaded, disabling jni component:java.io.ioexception: no jkjni in java.library.path. Can you help me? Thanks lots, Minger --- Turner, John [EMAIL PROTECTED] wrote: I don't think you can get any simpler than this: http://www.johnturner.com/howto The version numbers are irrelevant...the procedures are the same. Newer versions of Tomcat use one connector class to handle multiple protocols. That class is called CoyoteConnector and it talks JK, JK2, and HTTP (and I think HTTPS as well). Older versions of Tomcat used a class called Ajp13Connector to talk JK. If you are using JK, you can use either CoyoteConnector (enabled by default) or Ajp13Connector. If you are using JK2, you have to use CoyoteConnector. In your files, you are using JK commands (JkMount) with a JK2 module, that won't work. Check my HOWTO, if you have problems, post back to the list. Also, flagging messages as urgent or high importance isn't very polite, and will probably cause more people to ignore your post than to read it and answer itwe're all very, very busy, and your important issue isn't any more important than those of anyone else. John -Original Message- From: Rob Cartier [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:11 PM To: [EMAIL PROTECTED] Subject: Help: Simple example to use tomcat 4.1.12 / Apache 1.3 and mod_jk ?? Importance: High I having looking for a very simple howto on how to get on RH 7.2 Tomcat 4.1.12 Apache 1.3 Mod_jk or mod_jk2 working together possibly using the /examples that are included with tomcat as a test bed. I am confused on how to configure tomcat. I see Coyote/AJP13 and ajp13 in the server.xml file but I am unsure which one to use. There is also a discussion of jk2.properties file but that one is all commented out and there seems to be no clear example of what needs to be done in the server.xml and jk2.properties if anything that needs to be adjusted. On the Apache side I have tried both mod_jk and mod_jk2 but the examples in the how to are either for mod_jk.so or mod_jk2.so cant tell . It is very fustrating. Does anyone have a very simple docs I can follow == Here are some of my files I added this to my httpd.conf in the beginning LoadModule jk2_module modules/mod_jk2.so ADDModule mod_jk2.c -- at the bottom I added so that it would at least start LoadModule jk2_module libexec/mod_jk2.so AddModule mod_jk2.c IfModule mod_jk2.c Jk2WorkersFile /etc/httpd/conf/workers.properties JkLogFile /var/log/httpd/mod_jk2.log JkLogLevel info JkLogStampFormat (%a %b %d %H:%M:%S %Y) JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat %w %V %T JkMount /examples/servlet/* worker1 JkMount /examples/*.jsp worker1 /IfModule my worker2.properties file # Define 1 real worker using ajp13worker.list=worker1 # Set properties for worker1 (ajp13)worker.worker1.type=ajp13 worker.list=worker1 worker.worker1.host=localhost worker.worker1.port=8009 worker.worker1.lbfactor=50 worker.worker1.cachesize=10 worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1 worker.worker1.socket_timeout=300 What I wind up is protocol errors in my catalina.out file Ajp13Connector active threads=6 java.lang.ThreadGroup[name=Ajp13Connector[8009],maxpri=10] Thread[Ajp13Connector[8009],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][0],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][1],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][2],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][3],5,Ajp13Connector[8009]] Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]] === BAD packet 256 In: : [B@958bf9 4/843 01 00 03 47 00 00 00 00 00 00 00 00 00 00 00 00 | ...G 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:
Apache,Tomcat and JK configuration problem
Hi, When I finished the configuration of Apache http 2.0.4, Tomcat 4.1.12 LE and mod_jk2-2.0.4, I got the information: org.apache.jk.server.JkMain start APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path org.apache.jk.server.JkMain start Jk running ID=0 time=0/40 config=C:\Tomcat\conf\jk2.properties. I did anything as some suggestions getten from this mail list. I don't know why APR cannot be loaded. So it cannot deal with jsp file with Tomcat. Anyone help me? It took me at leat two weeks to try solving this problem. Thanks very much, CMing __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)
Can it work on Win2k? Thanks, --- Luc Santeramo [EMAIL PROTECTED] wrote: Hi, there is a way to limit memory use by tomcat just specify it in your CATALINA_OPTS env var here is mine CATALINA_OPTS=-server -Xmx220m -Xms220m -Dfile.encoding=UTF-8 these are jvm parameter I think Xmx is the max mem to use and Xms is the min hope this helps Luc At 11:03 13/12/2002 +0100, Marco Bucciarelli wrote: Hi, I have also this problem/doubt: how to limit the number of threads opened by Tomcat? I tried to change a lot of settings in server.xml but nothing influenced that number. I have always 46 new java processes opened by Tomcat. I did this test (Linux RedHat 7.0, Tomcat 4.1.12, Apache 1.3.12, Sun JDK 1.4.1_01): - reboot the machine, with tomcat service disabled at startup - the free command gives me 221.196Kb of memory free (Total 256Mk) - start tomcat - I found 46 new java processes - the top command says that every process uses 56Mb of RAM - the free command now gives me 44.436Kb free All this without accessing to Apache or Tomcat, only before and after the start of Tomcat! Of course I do not have a memory usage of 46*56Mb, but I do not have only 56Mb of RAM used by Tomcat (after the start I have only 44Mb of memory free, before the start I had 220Mb free). What is happening? Bye, Marco. From: Galbayar Subject: Re: Tomcat using VERY LARGE Memory (URGENT!) Date: Tue, 12 Mar 2002 10:26:21 +0800 it is top result and every java process using 59M RAM i'm use mod_jk integrated Tomcat with Apache and Tomcat top result is : 110 processes: 109 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 2.3% user, 1.9% system, 0.0% nice, 95.6% idle Mem: 1028860K av, 938924K used, 89936K free, 116K shrd, 139628K buff Swap: 1020116K av, 0K used, 1020116K free 680228K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 17862 root 15 0 1092 1092 836 R 1.7 0.1 0:00 top 17293 root 13 0 28176 59M 9576 S 1.5 2.7 0:01 java 17272 root 10 0 28176 59M 9576 S 0.1 2.7 0:02 java and see MEM usage total RAM is 1028860K 938924K used, 89936K free - Original Message - From: Filip Hanik [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 12, 2002 10:14 Subject: RE: Tomcat using VERY LARGE Memory (URGENT!) what you are seeing is that ps or top lists one process for each thread in Tomcat. your tomcat is running 59M all together Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 6:04 PM To: Tomcat Users List Subject: Tomcat using VERY LARGE Memory (URGENT!) Hello all Here is part of top output. Is it usual that java processes eat all of memory? ? At now there are 50 java processes started that running tomcat and each of them uses 59M memory. There is running apache server with tomcat 4 and mysql. OS is Redhat7.2 x86 . JDK 1.4 is installed. how to solve this problem? 106 processes: 105 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 0.3% user, 3.4% system, 0.0% nice, 96.1% idle Mem: 1028860K av, 1022352K used, 6508K free, 116K shrd, 129004K buff wap: 1020116K av, 0K used, 1020116K free 762320K cached 3201 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java 3202 root 8 0 60692 59M 28164 S 0.0 5.8 0:00 java 3203 root 9 0 60692 59M 28164 S 0.0 5.8 0:35 java 3204 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java 3205 root 9 0 60692 59M 28164 S 0.0 5.8 0:01 java 3206 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java 3207 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java 3208 root 9 0 60692 59M 28164 S 0.0 5.8 0:00 java 3209 root 9 0 60692 59M 28164 S 0.0 5.8 0:03 java -- To unsubscribe: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands: mailto:tomcat-user- [EMAIL PROTECTED] Troubles with the list: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands: mailto:tomcat-user- [EMAIL PROTECTED] Troubles with the list: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] === message truncated === __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How to set JVM memory size?
Hi, I have a question to seek for your help. How do I set the JVM memory size? I use Apache Tomcat4.1.16 and J2SDK1.3. Now it seems that I have a problem of not enough memory to implement the java bean. I want to set JVM memory with writing some commands to some file. So Tomcat can activate J2SDK with set memory size. How to do that? Thanks in advance, Ming __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: How to set JVM memory size?
) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:431) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:537) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:484) Do you have any suggestion? Ming --- Jeremy Joslin [EMAIL PROTECTED] wrote: It's important to realize that this is setting the size of the Java heap within the JVM (which sounds like what you're looking for) and not the actual size of the JVM itself. Also note that you're not always going to get the best performance out of your app by using a large heap size because while it decreases the frequency of GC's the time each GC takes is going to increase (more to collect). So, and I know I'm not the first to say this, play around with the different settings until you find the one that suits your app. Jeremy -Original Message- From: Brandon Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 10:27 AM To: Tomcat Users List Subject: RE: How to set JVM memory size? Set an environment variable called JAVA_OPTS and set your max and min to whatever you want like this... -Xmx512m -Xms256m Brandon -Original Message- From: Ming Zhao [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:49 AM To: [EMAIL PROTECTED] Subject: How to set JVM memory size? Hi, I have a question to seek for your help. How do I set the JVM memory size? I use Apache Tomcat4.1.16 and J2SDK1.3. Now it seems that I have a problem of not enough memory to implement the java bean. I want to set JVM memory with writing some commands to some file. So Tomcat can activate J2SDK with set memory size. How to do that? Thanks in advance, Ming __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Error on Java Bean running
I use Tomcat 4.1.16 as the server. And when I run java bean and got an error. It's a manufacturing-system simulation java bean. On the website, click one button to run the simulation. I can set the beginning simulation time (e.t.,from 01/01/2000 to current clicking time). It can work well for short running period of time, but error for early beginning time (e.t., 1/1/1998). And if set the beginning time earlier, the server shutdowns. But I run the similar simulation model offline (with JBuiler 6) with longer running period of time (from 1/1/1990 to current time). And it works well and no such errors. Can you help me figure out the problem? Is it possible that there is some problem for memory allocation? The error is as below: HTTP Status 500 - ---type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:431) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:537) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:484) root cause javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533) at org.apache.jsp.simul_jsp._jspService(simul_jsp.java:317) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at
StackOverflowError when running java bean
Hi there, I met a problem when running java bean online. Please take a look and give some advice. It's a manufacturing-system simulation java bean. On the website, click one button to run the simulation. I can set the beginning simulation time (e.t., from 01/01/2000 to current clicking time). It can work well for short running period of time, but error for early beginning time (e.t., 1/1/1998). The error is: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception javax.servlet.ServletException at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:457) at org.apache.jsp.simul$jsp._jspService(simul$jsp.java:424) at java.lang.Thread.run(Thread.java:484) root cause java.lang.StackOverflowError at java.io.ObjectOutputStream$HandleTable.findWireOffset(ObjectOutputStream.jav a:2344). And if set the beginning time earlier, the server shutdowns. But I run the similar simulation model offline (with JBuiler 6) with longer running period of time (from 1/1/1990 to current time). And it works well and no such errors. Can you help me figure out the problem? Is it possible that there is some bug for Tomcat 4.0.1? Thanks, Minger __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]