RE: Help tomcat problem with memory
If that's a typical snapshop of the system load you havn't any of this problems: - Memory usage As others have pointed out, you have plenty of memory (Compared to the need of 2 instances of tomcat with 80 to 130MB each) - CPU Usage Both CPU's are idle at over 80 percent. (They are mainly doing nothing) The load also indicates that the system is mainly doing nothing. What may have: - An application that sits on thread or database locks and is waiting for them to be released (maybe even a deadlock) - Some external problem: - dns lookups don't work each request is delayed until a dns lookup timeout occurs. (Disable dnslookups) - obscure routing to a database server each request to the database is routed on strange paths to be answered. (Have seen configurations where the request where routed over the internet to reach a lokal database) - Maybe IO Problems The iostate is not shown in the top output. (This problem is very unlikely, as this would also influence the load numbers) You have to find out what is causing the performance degration. You might find following tools usefull to do that: OS related tools: - vmstat - iostat - netstat - strace java related tools: - OptimizeIt - JProbe - HPJmeter http://www.hp.com/products1/unix/java/hpjmeter/ - enablic verbose gc in the vm - Try to trim down the smallest example webapp that exposes the problem. Try to find out where the time is used. (Measure the time between a request in the apache accesslog and the corresponding call of the servlet) if the time is spnt in the servlet/jsp include additional log statements to find out where in the servlet the problem is caused) If that doesn't help post the example to the list. - Debugger It's not in the scope of this list to go in more detail for this tools. But maybe some links may help you to get a start: http://www-106.ibm.com/developerworks/library/i-tuning/?dwzone=ibm http://www.linuxdevcenter.com/lpt/a/272 BTW: JAVA_OPST is misspelled (should be JAVA_OPTS) 40m is a quite low value for the memory setting. -Original Message- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 7:02 PM To: Tomcat Users List Subject: Re: Help tomcat problem with memory Importance: High Hi this the statemens that i posted in the catalina.sh file JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME CATALINA_HOME=/usr/local/tomcat1 ; export CATALINA_HOME JAVA_OPST=-server -Xms30m -Xmx40m -Dfile.encoding=ISO-8859-1 CATALINA_OPTS=-Xms30m -Xmx40m This the output of the top command and both tomcats has been installed in the same server 1:22pm up 21 days, 5:36, 6 users, load average: 0.17, 0.23, 0.28 220 processes: 218 sleeping, 2 running, 0 zombie, 0 stopped CPU0 states: 9.5% user, 4.0% system, 0.0% nice, 85.5% idle CPU1 states: 7.4% user, 8.5% system, 0.4% nice, 83.3% idle Mem: 1030580K av, 1019220K used, 11360K free, 0K shrd, 92348K buff Swap: 2096376K av, 58748K used, 2037628K free 706776K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 23447 root 25 0 86252 84M 18864 S 0.0 8.3 0:02 java 23461 root 15 0 86252 84M 18864 S 0.0 8.3 0:00 java 23462 root 15 0 86252 84M 18864 S 0.0 8.3 0:03 java 23463 root 15 0 86252 84M 18864 S 0.0 8.3 0:00 java 23464 root 15 0 86252 84M 18864 S 0.0 8.3 0:00 java 23474 root 15 0 86252 84M 18864 S 0.5 8.3 0:03 java 23475 root 20 0 86252 84M 18864 S 0.0 8.3 0:00 java 23476 root 20 0 86252 84M 18864 S 0.0 8.3 0:00 java Ralph Einfeldt wrote: To what value did you set -Xms, -Xmm ? Can you post the statement that sets the values ? (Have seen to much typos in the past) How much memory has your box ? What says the cpu load ? Can you post the head of the top output hat shows the overall memory usage ? Are both tomcat instances on the same server ? Unless you have less than ~150 MB RAM I wouldn't expect that the memory usage is the problem if each tomcat has it's own server, if they share the same server the box would need rougly 300 MB (Depending on how much memory is used by other processes) Remember that all threads of the same vm share their memory. -Original Message- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 6:07 PM To: Tomcat Users List Subject: Re: Help tomcat problem with memory Importance: High Yes i've configured the Tomcat environment -Xms, -Xmm but i think it doesn't work, because it's consume the server memory until 145 Mb per process i need to limit the number of java proccess and the memory that they consume on my Linux Red Hat 7.3 server thanks a lot fabian Ralph Einfeldt wrote:
RE: Limit size of catalina.out ?
It sends the System.err and System.out to the context logger, instead of catalina.out. dave On Fri, 2004-02-27 at 18:08, Norris Shelton wrote: I searched the internet for it, but could not get a clear definition for it. Does it ignore System.out and System.err from the context? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Is there any particular reason why this was never set-up to rotate like the other logs? It's not a catalina Logger, it's just the trap for System.out/System.err. one good way to get it to rotate is to add swallowOutput=true to your Context definition. Of course, patches/enhancements are always welcome as well. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Appriss, Inc. ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton __ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools - 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]
RE: Limit size of catalina.out ?
Wendy, I set the swallowOutput to true on one of my contexts, and now most of my logging is going to the automatically rotated context log files. the only thing showing up in my catalina.out is the startup and shutdown messages. So if you do this it may eliminate your need to deal with catalina.out. info is here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html search for swallowOutput. And Yoav, thank you, very much. dave the snip of my server.xml: Host name=100.0.0.1 aliaswww.domain.com/alias Context path= docBase=/web/sites/donkey reloadable=true swallowOutput=true / Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=donkey_log. suffix=.txt timestamp=true/ /Host On Fri, 2004-02-27 at 18:28, Wendy Smoak wrote: From: Shapira, Yoav [mailto:[EMAIL PROTECTED] It's not a catalina Logger, it's just the trap for System.out/System.err. one good way to get it to rotate is to add swallowOutput=true to your Context definition. Of course, patches/enhancements are always welcome as well. Thanks for that, it will save me some research when this comes back up on my things to do list! Every month on maintenance weekend I stop Tomcat, rename catalina.out and restart Tomcat. A bit of a pain, but I don't like the file getting too big. At least now I know it isn't currently possible. This would be a great enhancement. Would someone who is familiar with the Tomcat code take a moment to describe how you think it could be done? Or just point in the general direction of the code that would need to be changed. Getting started is the hardest part, and I'm not familiar enough with Tomcat to know where to look. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Lost the Administrator function
I access Tomcat by http://localhost:8080 I then go to Tomcat Administration. I sign in with the user name and password I set at the installation of Tomcat. (Windows 2000 Server SP3) On the left side I select anything. Say users under User Definition. HTTP Status 503 - Servlet action is currently unavailable type Status report message Servlet action is currently unavailable description The requested service (Servlet action is currently unavailable) is not currently available. Apache Tomcat/4.1.29 What's wrong? The server seems to be working well in all other respects. Thanks. -- George Hester __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Lost the Administrator function
On 02/28/2004 04:24 PM George Hester wrote: I access Tomcat by http://localhost:8080 I then go to Tomcat Administration. I sign in with the user name and password I set at the installation of Tomcat. (Windows 2000 Server SP3) On the left side I select anything. Say users under User Definition. HTTP Status 503 - Servlet action is currently unavailable Check on the admin app installation. Make sure the files are there under $TOMCAT/server/webapps/admin. Basically just unpack them from the original tomcat download again. Or perhaps you have installed an app with the context name 'admin' that overrides it? Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Lost the Administrator function
Jeeze I may have. Who knows. I installed swipe and the admiin function of that don't work either. Yes the files are there. They been there since the day I installed Tomcat. In fact I can login but I cannot logout. When I try to logout I get the same 503 error. All I can do is login. After that nothing works. It's got to be some packages that I installed from the Jakarta project for this worked fine prior to installing some packages and examples. I actually don't do anything in the Apache Group folder other then war installs. Maybe I can look within files in Apache Group and see what I can see. Maybe there would be some entry in some file that if there would imply what you said about some app with a context name admin that is overiding something? I thout context name was what shows in the document manager at http://localhost/manager/html and the only thing I have in there that has the word admin in it is /admin which is the Adminstrator thing that has gone south. Is there a way to pull out a spanking new service.xml from the Tomcat Installation? Get the source? -- George Hester __ Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 02/28/2004 04:24 PM George Hester wrote: I access Tomcat by http://localhost:8080 I then go to Tomcat Administration. I sign in with the user name and password I set at the installation of Tomcat. (Windows 2000 Server SP3) On the left side I select anything. Say users under User Definition. HTTP Status 503 - Servlet action is currently unavailable Check on the admin app installation. Make sure the files are there under $TOMCAT/server/webapps/admin. Basically just unpack them from the original tomcat download again. Or perhaps you have installed an app with the context name 'admin' that overrides it? Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Lost the Administrator function
You got to have admin.xml in the webapps directory (or your APPBASE) Are you talking about server.xml? I've forgotten how to use tomcat4. tomcat5 is slightly different in several ways. Server.xml won't affect the admin app. On 02/28/2004 06:15 PM George Hester wrote: Jeeze I may have. Who knows. I installed swipe and the admiin function of that don't work either. Yes the files are there. They been there since the day I installed Tomcat. In fact I can login but I cannot logout. When I try to logout I get the same 503 error. All I can do is login. After that nothing works. It's got to be some packages that I installed from the Jakarta project for this worked fine prior to installing some packages and examples. I actually don't do anything in the Apache Group folder other then war installs. Maybe I can look within files in Apache Group and see what I can see. Maybe there would be some entry in some file that if there would imply what you said about some app with a context name admin that is overiding something? I thout context name was what shows in the document manager at http://localhost/manager/html and the only thing I have in there that has the word admin in it is /admin which is the Adminstrator thing that has gone south. Is there a way to pull out a spanking new service.xml from the Tomcat Installation? Get the source? -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem compiling jsp's
I have tomcat running but it is suddenly not compiling at all (even a simple JSP page) It serves the tomcat homepage but won't compile any new jsp's any ideas? the error I get is type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:587) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav a:177) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 96) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) root cause java.lang.NullPointerException org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClas sLoader.java:1793) Mike. -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++ G e+ h++ r+++ y+++ --END GEEK CODE BLOCK-- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Limit size of catalina.out ?
David Evans wrote: Wendy, I set the swallowOutput to true on one of my contexts, and now most of my logging is going to the automatically rotated context log files. the only thing showing up in my catalina.out is the startup and shutdown messages. So if you do this it may eliminate your need to deal with catalina.out. info is here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html search for swallowOutput. And Yoav, thank you, very much. dave the snip of my server.xml: Host name=100.0.0.1 aliaswww.domain.com/alias Context path= docBase=/web/sites/donkey reloadable=true swallowOutput=true / Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=donkey_log. suffix=.txt timestamp=true/ /Host You can also use (in 5.0.x) DefaultContext swallowOutput=true /, although of course you won't have one log per context. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem compiling jsp's
Found the problem :-) I had accidentally removed the WEB-INF and web.xml file. putting a copy back and it all sprang into life - nice to know that it is important though Mike. -Original Message- From: Michael Forster [mailto:[EMAIL PROTECTED] Sent: 28 February 2004 17:49 To: Tomcat-User Subject: Problem compiling jsp's I have tomcat running but it is suddenly not compiling at all (even a simple JSP page) It serves the tomcat homepage but won't compile any new jsp's any ideas? the error I get is type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext .java:587) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletW rapper.jav a:177) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrap per.java:2 96) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) root cause java.lang.NullPointerException org.apache.catalina.loader.WebappClassLoader.findResourceInternal( WebappClas sLoader.java:1793) Mike. -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++ G e+ h++ r+++ y+++ --END GEEK CODE BLOCK-- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.596 / Virus Database: 379 - Release Date: 26/02/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: occasional ArrayIndexOutOfBoundsException in MsgAjp on linux
Could I see the rest of the request dump (the part after the 'snip')? Jim Hopp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings- We're running Apache 2.0.48, JK 1.2.5, and Tomcat 4.1.29, java java version 1.4.2 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) on Linux 2.4.20 with glibc 2.3.2 in a production environment. We're not using the LD_ASSUME_KERNEL export since we're not running glibc 2.2. Two or three times a day, I'll see this exception in the Tomcat log: Feb 13, 2004 12:43:00 PM org.apache.jk.common.HandlerRequest invoke SEVERE: Error decoding request java.lang.ArrayIndexOutOfBoundsException: 11968 at org.apache.jk.common.MsgAjp.getInt(MsgAjp.java:233) at org.apache.jk.common.MsgAjp.getBytes(MsgAjp.java:257) at org.apache.jk.common.HandlerRequest.decodeHeaders(HandlerRequest.java:676) at org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:512) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:365) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:666) at java.lang.Thread.run(Thread.java:534) 12 34 05 17 02 02 00 08 48 54 54 50 2f 31 2e 31 | .4..HTTP/1.1 00 00 15 2f 69 6d 61 67 65 73 2f 72 65 6c 5f 74 | .../images/rel_t 61 73 6b 73 2e 67 69 66 00 00 0b 36 37 2e 31 36 | asks.gif...67.16 snip In the jk log I'll see [Fri Feb 13 12:43:00 2004] [jk_ajp_common.c (738)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. err=-104 [Fri Feb 13 12:43:00 2004] [jk_ajp_common.c (738)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. err=-1 [Fri Feb 13 12:43:00 2004] [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0 [Fri Feb 13 12:43:00 2004] [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0 The Apache child process then becomes unresponsive, and Apache starts another child process to service requests. The first child process immediately sucks up all of a CPU (we're running on a four-CPU box), and doesn't die until we restart Apache. Tomcat keeps going. The user simply hits refreshs their page, and this time the request goes through. Other than this, everything works great. I cannot find any mention of this error in Bugzilla or thru Google. Here's my workers.properties, and jk conf files: workers.properties: worker.list=ui, mrkt worker.ui.type=ajp13 worker.ui.host=127.0.0.1 worker.ui.port=8019 worker.ui.cachesize=10 worker.ui.cache_timeout=600 worker.ui.connect_timeout=500 worker.ui.prepost_timeout=500 worker.mrkt.type=ajp13 worker.mrkt.host=127.0.0.1 worker.mrkt.port=8029 worker.mrkt.cachesize=10 worker.mrkt.cache_timeout=600 worker.mrkt.connect_timeout=500 worker.mrkt.prepost_timeout=500 jk1.conf: (gets included in a vhost section): JkOptions -ForwardKeySize -ForwardDirectories -ForwardURICompat +ForwardURICompatUnparsed # note that the last JkLogFile set applies to all vhosts, not just this one. JkLogFile /var/log/httpd/jk-ui.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] # JkRequestLogFormat set the request format #JkRequestLogFormat %w %V %T JkRequestLogFormat %V %U %w %s %b %T JkMount /* ui jk2.conf (included in another vhost): JkOptions -ForwardKeySize -ForwardDirectories -ForwardURICompat +ForwardURICompatUnparsed # note that the last JkLogFile set applies to all vhosts, not just this one. JkLogFile /var/log/httpd/jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] # JkRequestLogFormat set the request format #JkRequestLogFormat %w %V %T JkRequestLogFormat %V %U %w %s %b %T JkMount /demoRegistration/mail.servlet mrkt JkMount /demoRegistration/ping.servlet mrkt JkMount /freeQBTrial/mail.servlet mrkt JkMount /freeQBTrial/ping.servlet mrkt JkMount /talkToUs/mail.servlet mrkt JkMount /talkToUs/ping.servlet mrkt JkMount /buyIt/mail.servlet mrkt JkMount /buyIt/ping.servlet mrkt JkMount /qbupload/qbupload.servlet mrkt JkMount /qbupload/ping.servlet mrkt I'd be grateful for any ideas/comments/things to try. -Jim Hopp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat to Resin port?
How difficult is it to port a .war running in Tomcat to make it work in Resin? My code (jsp/servlet) is pretty standard J2EE stuff (also struts, jstl, etc), so I guess it would only be things like the datasources and other config items? __ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat session/load capacity?
How many simulataneous sessions can Tomcat handle and is it configurable? Would a Tomcat server be able to handle a website with 10,000 - 15,000 hits per day on a standard linux server? MySQL underneath. __ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat session/load capacity?
it depends on the amount of memory you have and how much memory is in each session yes - but I have no idea what standard is and where the database lives and how complex the pages are -Tim Riaan Oberholzer wrote: How many simulataneous sessions can Tomcat handle and is it configurable? Would a Tomcat server be able to handle a website with 10,000 - 15,000 hits per day on a standard linux server? MySQL underneath. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat session/load capacity?
Will Tomcat automatically detect if there is no more memeory for sessions, or do I have to configure it somehow? I'm planning on using a Tomcat hosting service, so I have no control on the system setup or usage... they claim the servers never run at more than 20% capacity, which does sound to make it safe. Its really tough to determine if they will meet my requirements its actually more difficult to predict what my requirements will be! --- Tim Funk [EMAIL PROTECTED] wrote: it depends on the amount of memory you have and how much memory is in each session yes - but I have no idea what standard is and where the database lives and how complex the pages are -Tim Riaan Oberholzer wrote: How many simulataneous sessions can Tomcat handle and is it configurable? Would a Tomcat server be able to handle a website with 10,000 - 15,000 hits per day on a standard linux server? MySQL underneath. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ok the \admin user\password?
I downloaded the 4.1.29 Tomcat as a zip. I unzipped and fired Tomcat up. I chose Administrator from the splash page. I was asked for a user name and password. I tried user tomcat and pass tomcat.. Denied. What should I use here? The tomcat-users.xml seems not to be right for if it was I believe user tomcat and password tomcat should have worked. Thanks. -- George Hester __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP Error
I'm trying to deploy a simple JSP(2.0) page with JSTL(1.1) core tags using Tomcat 5.0.19. The project was build using eclipse(2.1.2) and builds and deploys without errors. Any help resolving this problem would be appreciated. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: javax/servlet/jsp/tagext/TagExtraInfo org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) root cause java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo java.lang.ClassLoader.defineClass0(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:537) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1677) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:900) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1350) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230) org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:453) org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:291) org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:205) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) org.apache.jasper.compiler.Parser.parse(Parser.java:171) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:258) org.apache.jasper.compiler.ParserController.parse(ParserController.java:139) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) note The full stack trace of the root cause is available in the Tomcat logs. Apache Tomcat/5.0.19 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Lost the Administrator function
This is the error: org.apache.jasper.JasperException: Cannot find ActionMappings or ActionFormBeans collection -- George Hester __ Adam Hardy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] You got to have admin.xml in the webapps directory (or your APPBASE) Are you talking about server.xml? I've forgotten how to use tomcat4. tomcat5 is slightly different in several ways. Server.xml won't affect the admin app. On 02/28/2004 06:15 PM George Hester wrote: Jeeze I may have. Who knows. I installed swipe and the admiin function of that don't work either. Yes the files are there. They been there since the day I installed Tomcat. In fact I can login but I cannot logout. When I try to logout I get the same 503 error. All I can do is login. After that nothing works. It's got to be some packages that I installed from the Jakarta project for this worked fine prior to installing some packages and examples. I actually don't do anything in the Apache Group folder other then war installs. Maybe I can look within files in Apache Group and see what I can see. Maybe there would be some entry in some file that if there would imply what you said about some app with a context name admin that is overiding something? I thout context name was what shows in the document manager at http://localhost/manager/html and the only thing I have in there that has the word admin in it is /admin which is the Adminstrator thing that has gone south. Is there a way to pull out a spanking new service.xml from the Tomcat Installation? Get the source? -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: occasional ArrayIndexOutOfBoundsException in MsgAjp on linux
Sure - Here's a complete request dump. Feb 14, 2004 9:22:11 AM org.apache.jk.common.HandlerRequest invoke SEVERE: Error decoding request java.lang.ArrayIndexOutOfBoundsException: 29062 at org.apache.jk.common.MsgAjp.getInt(MsgAjp.java:233) at org.apache.jk.common.MsgAjp.getBytes(MsgAjp.java:257) at org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:502) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:365) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666) at java.lang.Thread.run(Thread.java:534) 12 34 02 dd 02 02 00 08 48 54 54 50 2f 31 2e 31 | .4.?HTTP/1.1 00 02 02 00 11 00 08 48 54 54 50 2f 31 2e 31 00 | ...HTTP/1.1. 69 6d 67 2e 75 69 00 00 00 00 00 00 00 00 00 00 | img.ui.. 00 00 00 0b 00 23 2f 70 75 62 6c 69 63 2f 69 6d | .#/public/im 61 67 ff ff 2f 70 72 6f 76 69 64 65 64 5f 62 79 | ag??/provided_by 5f 6c 6f 67 6f 2e 67 69 66 00 00 00 00 00 00 00 | _logo.gif... 00 00 00 00 00 00 00 00 00 12 75 31 2e 6e 65 74 | ..u1.net 79 6f 75 72 77 6f 72 6b 2e 63 6f 6d 00 01 bb 00 | yourwork.com..?. 00 01 37 2e 31 36 39 2e 32 2e 33 35 00 00 ff ff | ..7.169.2.35..?? 00 00 00 12 75 31 2e 6e 65 74 79 6f 75 72 77 6f | u1.netyourwo 72 6b 2e 63 6f 6d 00 01 bb 01 00 03 2a 2f 2a 00 | rk.com..?...*/*. a0 01 00 03 2a 2f 2a 00 a0 0d a0 0d 00 25 00 25 | ?...*/*.?.?..%.% 68 74 74 70 73 3a 2f 2f 75 31 2e 6e 65 74 79 6f | https://u1.netyo 75 72 77 6f 72 6b 2e 63 6f 6d 2f 73 74 61 72 74 | urwork.com/start 2f 70 6c 65 63 00 00 00 00 00 00 00 00 00 00 00 | /plec... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 a0 04 a0 04 | ?.?. 00 05 65 6e 2d 75 73 00 73 00 00 00 00 00 00 00 | ..en-us.s... a0 03 00 00 00 0d 00 0d 67 7a 69 70 2c 20 64 65 | ?...gzip, de 66 6c 61 74 65 00 00 00 00 00 00 00 00 00 00 00 | flate... 00 00 00 00 a0 0e a0 0e 00 58 00 58 4d 6f 7a 69 | ?.?..X.XMozi 6c 6c 61 2f 34 2e 30 20 28 63 6f 6d 70 61 74 69 | lla/4.0 (compati 62 6c 65 3b 20 4d 53 49 45 20 36 2e 30 3b 20 57 | ble; MSIE 6.0; W 69 6e 64 6f 77 73 20 4e 54 20 35 2e 31 3b 20 2e | indows NT 5.1; . 4e 45 54 20 43 4c 52 20 31 2e 30 2e 33 37 30 35 | NET CLR 1.0.3705 3b 20 2e 4e 45 54 20 43 4c 52 20 31 2e 31 2e 34 | ; .NET CLR 1.1.4 33 32 32 29 00 00 00 00 00 00 00 00 00 00 00 00 | 322) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0 0b | ..?. 00 00 00 12 00 12 75 31 2e 6e 65 74 79 6f 75 72 | ..u1.netyour 77 6f 72 6b 2e 63 6f 6d 00 00 00 00 00 00 00 00 | work.com 00 00 00 00 00 00 00 00 00 00 00 00 a0 06 a0 06 | ?.?. 00 0a 00 0a 4b 65 65 70 2d 41 6c 69 76 65 00 00 | Keep-Alive.. 00 00 00 00 00 00 00 00 00 00 a0 09 a0 09 00 2e | ..?.?... 00 2e 4a 53 45 53 53 49 4f 4e 49 44 3d 34 34 45 | ..JSESSIONID=44E 46 46 35 45 31 39 43 37 45 44 46 31 44 37 43 37 | FF5E19C7EDF1D7C7 34 38 36 41 43 38 42 41 42 31 45 33 31 2e 75 69 | 486AC8BAB1E31.ui 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | a0 08 00 01 30 00 05 ff 00 25 61 74 74 72 69 62 | ?...0..?.%attrib 75 74 65 3d 53 69 67 6e 6f 6e 5f 4c 6f 67 6f 26 | ute=Signon_Logo 63 75 73 74 6f 6d 65 72 49 64 3d 70 6c 65 63 00 | customerId=plec. ff | ? | | | | | | | | | | | | | | | | Bill Barker wrote: Could I see the rest of the request dump (the part after the 'snip')? Jim Hopp [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings- We're running Apache