installing tomcat 5 on Linux
Hi What are the steps for installing tomcat 5 on Linux I have don ethese Installed JDK untared everything from the Tomcat5 installation file to a tomcat5 directory set the JAVA_HOME and CATALINA_HOME when i give the command sh $CATALINA_HOME/bin/startup.sh the following messages getting Using CATALINA_BASE: /var/tomcat5 Using CATALINA_HOME: /var/tomcat5 Using CATALINA_TMPDIR: /var/tomcat5/temp Using JAVA_HOME: /usr/java/j2sdk1.4.2_03 but http://siteaddress:8080 is not giving the homepage what could be the problem? How can I run tomcat as root? thanks in advance Prince - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5 installation
Hi What ar ethe steps for installing tomcat 5 on Linux I have don ethese Installed JDK untared everything from the Tomcat5 installation file to a tomcat5 directory set the JAVA_HOME and CATALINA_HOME when i give the command sh $CATALINA_HOME/bin/startup.sh the following messages getting Using CATALINA_BASE: /var/tomcat5 Using CATALINA_HOME: /var/tomcat5 Using CATALINA_TMPDIR: /var/tomcat5/temp Using JAVA_HOME: /usr/java/j2sdk1.4.2_03 but http://siteaddress:8080 is not giving the homepage what could be the problem thanks in advace Prince - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to run the tomcat as root
hi, How can we run the tomcat as root, where we can configure it thanks Prince - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
HOW CAN I USE THREADS IN TOMCAT
Hi, I need to send a mail automatically at 10 minutes interval. how can i do this? how can i activate threads in tomcat? regards Prince - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 01, 2003 1:00 PM Subject: Re: Opinions The recent port of the 3.3 variable-substitution to Tomcat 5 may very well solve your problems here :). The ports are supposed to move to commons-digester, so should be available in 4.1.30 as well. Francois JEANMOUGIN [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hu! It's in early developments or is it suitable for production ? It's ready for production. People are already using it in production with tomcat 5. Of course, I'm biased ;) Well, there is that beta flag in front of tomcat5 that tell me that your opinion is more than biased :). Of course, I saw a mail telling that the beta flag is related to specification instability (not code), anyway... It's a Developer, rather than Sysadmin, option. Chances are you won't need to worry about it as you'll use commons-daemon with tomcat, which already does the required jsvc invocation for you. Well, that does not help that much. I hope that there will be a configuration scheme that'll let easily define user/group/port and so on for the connectors. Just waiting for a sysadmin point of view :). Thanks, François. - 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]
Tomcat Threads
hi, how the threads can be activated on tomcat? regards Prince - Original Message - From: Lukas Bradley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 3:05 AM Subject: Re: HttpsURLConnection, Tomcat 4.1.27, and jsse.jar A good guess, and only if the JSSE functions REQUIRED 1.3. But I'm trying to access the JSSE classes included with 1.4. Lukas Yuriy Stul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] May be problem is that Tomcat 4.1.27 was compiled under Java 1.4... and JSSE under Java 1.3? Yuriy. - 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: Auto-Confirmation - Stopping
its easy for atleast this, just block mails with the particular subject and email id - Original Message - From: Kannan Sundararajan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 12:10 AM Subject: RE: Auto-Confirmation Stop this.. -Original Message- From: Quest Software [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 11:53 AM To: Tomcat Users List Subject: Auto-Confirmation Thank you for submitting your request to Quest Software Technical Support. We are unable to process your request because our records indicate that you are not registered for Technical Support. To register, logon to our Supportlink web site http://www.quest.com/support , and self-register from the web. Or, you can phone Quest at one of the numbers below to register. Once you have registered, you can submit your request within Supportlink, by email at [EMAIL PROTECTED], by phone at one of the numbers below. Please do not reply to this email. If this is an URGENT matter please contact Quest Technical Support via telephone at one of the numbers listed below. Thank you, Quest Software Technical Support www.quest.com/support Quest Software Technical Support - Canada 902.442.5700 Quest Software Technical Support - United Kingdom 44.1628.601007 Quest Software Technical Support - United States 949.754.8000 Original Message From: John Turner [mailto:[EMAIL PROTECTED] Sent: Fri, 22 Aug 2003 10:51:29 -0400 To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: 2 VirtualHosts same IP address and port on Tomcat not working For grins, I decided to setup an example. Here it is. The server has multiple virtual hosts. There are currently 6 working, this configuration describes how I added a seventh by copying a config from one of the other 6 and changing values as needed. The scenario: One Tomcat instance (4.1.12, yes I know its old but its an internal play server so not that important) Multi-virtual hosts, each one has its own appBase ($CATALINA_HOME/hostname). Each virtual host has a root context ($CATALINA_HOME/hostname/hostname). Apache 2, mod_jk.so. The goal: http://hostname/test.jsp works http://hostname/test.html works To setup the new virtual host, I did the following: - in server.xml, added: Host name=www.DOMAIN.com debug=1 appBase=DOMAIN unpackWARs=true autoDeploy=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=DOMAIN_com. suffix=.log timestamp=true/ Context path= docBase=DOMAIN debug=0 reloadable=true Logger className=org.apache.catalina.logger.FileLogger prefix=DOMAIN. suffix=.log timestamp=true / Resource name=mail/Session auth=Container type=javax.mail.Session/ ResourceParams name=mail/Session parameter namemail.smtp.host/name valuelocalhost/value /parameter /ResourceParams /Context /Host - created $CATALINA_HOME/DOMAIN, $CATALINA_HOME/DOMAIN/DOMAIN, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF/classes, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF/lib, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF/web.xml where $CATALINA_HOME = /usr/local/jakarta-tomcat-4.1.12 - chown -R tomcat:tomcat $CATALINA_HOME/DOMAIN - created $CATALINA_HOME/DOMAIN/DOMAIN/test.html and $CATALINA_HOME/DOMAIN/DOMAIN/test.jsp in Apache httpd.conf, added: VirtualHost * ServerName www.DOMAIN.com DocumentRoot /usr/local/jakarta-tomcat-4.1.12/DOMAIN/DOMAIN # Static files Alias / /usr/local/jakarta-tomcat-4.1.12/DOMAIN/DOMAIN Directory /usr/local/jakarta-tomcat-4.1.12/DOMAIN/DOMAIN Options Indexes FollowSymLinks DirectoryIndex index.jsp /Directory # Deny direct access to WEB-INF and META-INF # Location /WEB-INF/* AllowOverride None deny from all /Location Location /META-INF/* AllowOverride None deny from all /Location JkMount /* ajp13 /VirtualHost - stopped Tomcat. stopped Apache. Removed contents of $CATALINA_HOME/work/Standalone. Started Tomcat. Started Apache. - verified that http://www.DOMAIN.com/test.jsp and http://www.DOMAIN.com/test.html work, and that http://www.DOMAIN.com/WEB-INF/web.xml returns a 403. Wherever you see DOMAIN in the above, substitute the domain name that you want to use, or anything else, as long as you stay consistent. I decided to use a JkMount of /* only because that's what you said you wanted to do by having a servlet generate all content...I could have
JavaServer Faces
hi, does tomcat support JavaServer Faces? - Original Message - From: Prince [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 4:18 PM Subject: Re: Auto-Confirmation - Stopping its easy for atleast this, just block mails with the particular subject and email id - Original Message - From: Kannan Sundararajan [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Saturday, August 23, 2003 12:10 AM Subject: RE: Auto-Confirmation Stop this.. -Original Message- From: Quest Software [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 11:53 AM To: Tomcat Users List Subject: Auto-Confirmation Thank you for submitting your request to Quest Software Technical Support. We are unable to process your request because our records indicate that you are not registered for Technical Support. To register, logon to our Supportlink web site http://www.quest.com/support , and self-register from the web. Or, you can phone Quest at one of the numbers below to register. Once you have registered, you can submit your request within Supportlink, by email at [EMAIL PROTECTED], by phone at one of the numbers below. Please do not reply to this email. If this is an URGENT matter please contact Quest Technical Support via telephone at one of the numbers listed below. Thank you, Quest Software Technical Support www.quest.com/support Quest Software Technical Support - Canada 902.442.5700 Quest Software Technical Support - United Kingdom 44.1628.601007 Quest Software Technical Support - United States 949.754.8000 Original Message From: John Turner [mailto:[EMAIL PROTECTED] Sent: Fri, 22 Aug 2003 10:51:29 -0400 To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: 2 VirtualHosts same IP address and port on Tomcat not working For grins, I decided to setup an example. Here it is. The server has multiple virtual hosts. There are currently 6 working, this configuration describes how I added a seventh by copying a config from one of the other 6 and changing values as needed. The scenario: One Tomcat instance (4.1.12, yes I know its old but its an internal play server so not that important) Multi-virtual hosts, each one has its own appBase ($CATALINA_HOME/hostname). Each virtual host has a root context ($CATALINA_HOME/hostname/hostname). Apache 2, mod_jk.so. The goal: http://hostname/test.jsp works http://hostname/test.html works To setup the new virtual host, I did the following: - in server.xml, added: Host name=www.DOMAIN.com debug=1 appBase=DOMAIN unpackWARs=true autoDeploy=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=DOMAIN_com. suffix=.log timestamp=true/ Context path= docBase=DOMAIN debug=0 reloadable=true Logger className=org.apache.catalina.logger.FileLogger prefix=DOMAIN. suffix=.log timestamp=true / Resource name=mail/Session auth=Container type=javax.mail.Session/ ResourceParams name=mail/Session parameter namemail.smtp.host/name valuelocalhost/value /parameter /ResourceParams /Context /Host - created $CATALINA_HOME/DOMAIN, $CATALINA_HOME/DOMAIN/DOMAIN, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF/classes, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF/lib, $CATALINA_HOME/DOMAIN/DOMAIN/WEB-INF/web.xml where $CATALINA_HOME = /usr/local/jakarta-tomcat-4.1.12 - chown -R tomcat:tomcat $CATALINA_HOME/DOMAIN - created $CATALINA_HOME/DOMAIN/DOMAIN/test.html and $CATALINA_HOME/DOMAIN/DOMAIN/test.jsp in Apache httpd.conf, added: VirtualHost * ServerName www.DOMAIN.com DocumentRoot /usr/local/jakarta-tomcat-4.1.12/DOMAIN/DOMAIN # Static files Alias / /usr/local/jakarta-tomcat-4.1.12/DOMAIN/DOMAIN Directory /usr/local/jakarta-tomcat-4.1.12/DOMAIN/DOMAIN Options Indexes FollowSymLinks DirectoryIndex index.jsp /Directory # Deny direct access to WEB-INF and META-INF # Location /WEB-INF/* AllowOverride None deny from all /Location Location /META-INF/* AllowOverride None deny from all /Location JkMount /* ajp13 /VirtualHost - stopped Tomcat. stopped Apache. Removed contents of $CATALINA_HOME/work/Standalone. Started Tomcat. Started Apache. - verified that http://www.DOMAIN.com/test.jsp and http://www.DOMAIN.com
How to trigger events from tomcat?
hi, I am developing a web based appointment sheduler. the data is stored in xml format. i am using tomcat/jsp/servlet for example if i added a new appointment , the program will ask for a reminder time. I am giving 08/08/2003 10:30 so at 08/08/2003 10:30 an email should be sent to me saying that u have an appointment. how can i trigger for appointments. ie some method should be ther to check if the appointment time is due on each second. Can i put an infinite loop some how? thanks n regds Prince
Re: how to suppor 30000 concurrent users
hi Angus, from ur reply what i understand is, first I have to develop the application (with maximum tuning possible from scripting side) and the deploy it on a server and load test. then add the needed number of servers. have i got it right? what is an avarage no of maximum concurrent users (active sessions) for tomcat (just to get a general idea about the possible investment) does it depends on the scripting technology also? how is Microsoft technology is such case (heavy load) compared to tomcat? thanks and regards Prince - Original Message - From: Angus Mezick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 6:37 PM Subject: RE: how to suppor 3 concurrent users With that many users you are going to HAVE to cluster if for no other reason than to provide backup for system maintanence. As to how many, the answer is it depends on the hardware you are going to use and the types of load your webapp puts on the system. When you say 30k concurrent users do you mean 30k people clicking a link at the same time or 30k active sessions at a time? If you are going to have this many people clicking on the same time you should have the cash to do proper load testing to see how many people one of your servers can take, divide 30k by that number for the number of servers you have, multiply by 1.1 AT LEAST and round up to get 110% capacity so you should be able to swap out one server. This is BARE minimum. Don't forget about the wonderful world of DB backends and routers and all the fun stuff :) --Angus -Original Message- From: Heart Prince [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 8:57 AM To: [EMAIL PROTECTED] Subject: how to suppor 3 concurrent users howmany concurrent users does tomcat support? if i want to design a web application for 30,000 concurrent users, what is the step? clustering is related to this? how many servers i need if i am clustering _ Latest movie trailers. On your mobile. http://server1.msn.co.in/sp03/gprs/howcani_movie.asp With GPRS. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
is there a way to download a jsp file from server without executing it?
hi is there a way to download a .jsp file without executing it? ie i need the content od jsp file, not the result of that jsp file. same question goes with .cgi, .asp, .pl etc regds Prince - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 08, 2003 9:34 AM Subject: Re: Question about ssl and tomcat You need to set the redirectPort attribute on the Connector to point to Apache's SSL port. However, since this defaults to 443, I'm guessing that the real problem is that you don't have your JkMount statements defined in your SSL VirtualHost. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Greetings, I'm hosting a ssl site with mod_ssl on the apache server and I need to have it to connect to tomcat can't I change one of the connector lines in server.xml to redirect the port? Such as redirectPort- If this Connector is supporting non-SSL requests, and a request is received for which a matching security-constraint requires SSL transport, Catalina will automatically redirect the request to the port number specified here. You see my website works fine going through 8080 but when I try to get the https site to go through it - I get page can't be found or it displays code instead of working. Thanks, Bobbie Bobbie Atristain Internet Systems Administrator Media General, INC. 804.649.6156 - 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: how to suppor 30000 concurrent users
Hi Angus how difficult it is for making tomcat to support clustering , do we need to have additional tools? thanks Prince - Original Message - From: Angus Mezick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 7:41 PM Subject: RE: how to suppor 3 concurrent users Doesn't seem to have that much of an effect. I guess I should profile it though. I don't want to use session persistence because then I would need to use network session clustering. Session clustering is a requirement for my app. I figure using a DB instead of memory to store my sessions is better than sending 5 network connections to the other 5 of the 6 web servers with the session data that will only be valid to ONE of those servers. Before tomcat we were using Iplanet 4.1 and the cisco load balance we have SAID it could handle session affinity but it didn't seem to be able to. So we went with a DB solution which, to me, seems to be the more optimal solution. The DB also means I can have a MUCH larger number of active sessions using my servers because I don't have to worry about the sessions using all my memory. I just have to worry about DB disk space but I had have 2 or 3 terabytes of disk while only have 2 GB of memory. Seems to be an easy trade. --Angus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 9:40 AM To: Tomcat Users List Subject: RE: how to suppor 3 concurrent users Angus, doesnt using a shared jdbc based session manager slow the whole thing down a lot? Why dont you just use session persistence? Pete - 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]
how to suppor 30000 concurrent users
howmany concurrent users does tomcat support? if i want to design a web application for 30,000 concurrent users, what is the step? clustering is related to this? how many servers i need if i am clustering _ Latest movie trailers. On your mobile. http://server1.msn.co.in/sp03/gprs/howcani_movie.asp With GPRS. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: connection pooling - how to verify it's in use
I had a problem like this. I had an application that didn't use connection pooling and i was converting it over. In Windows is used the netstat command with the auto repeat option. It shows all of the active network connections and i watched the list et shorter as components where switched over. hope this helps At 09:32 AM 7/2/2003 -0500, you wrote: I have a question about connection pooling I can't seem to answer after reading the Tomcat FAQ or either JNDI HOW-TO. I'm using TC 4.1.24 and have followed all the instructions on setting up a connection pool thru Tomcat for an application (this one uses an EDBC driver) - and I can see how I can verify that it gets a connection to the database. But I'm not sure just how to tell that it's using a connection pool(I've been known to screw-up in reverse); is there some setting in server.xml that would allow me to see that the connections are using a pool? Thanks! -- Lynn Hollerman. - 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.491 / Virus Database: 290 - Release Date: 6/18/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Firebird|Tomcat java.sql.SQLException: Cannot load JDBC dri ver class 'null'
i major cause of null pointer exception / can't find driver sorts of issues that i have run in to a couple times is having more that one copy of the driver in the classpath. such as an older jar in WEB-INF/lib At 01:58 PM 5/27/2003 -0700, you wrote: Thank you Chong for your reply, Perhaps I need to clarify, I have downloaded the FirebirdSQL-1.0.0 (Jaybird) driver and am following the directions in the FAQ file, with modifications to the connection url for the fact that I am on a windows system. As far as the type 4 driver that is included (that you mentioned), I do not see any info other than release notes (which seem to indicate the driver I downloaded and installed are same as the one included) the information in the release are very general in nature and not help in the way of installation and testing. The Jaybird driver is the one I wish to use due to the connection pooling feature, I am following the information in the Tomcat jndi-datasource howto in the Tomcat docs, although as indicated in my previous email, I am having little luck. In addition, I want to confirm that I have placed all relevant .jars in the commom/lib directory. Again thank you for your previous response - any additional assistance will be very helpful. Thank you, Rob Chong Yu Meng wrote: Hello Rob ! I'm not sure if you are aware : the Firebird database comes with 2 JDBC flavors, a Type 4 JDBC driver (which is a separate download) and Interclient (which is really more of a JDBC mediation component). The configuration for Interclient is covered in this link : http://www.kpi.com.au/interbase/index.jsp while the configuration for the Type 4 JDBC driver is in the README file that comes with the driver download. Depending on which driver you use, the configuration is *very* different! If you are following the MySQL examples, you should use the Type 4 driver. Second, make sure that your JDBC driver is in your CLASSPATH and that Tomcat can see it. That is, either point to it explicitly in your CLASSPATH, or save the jar file into $TOMCAT_HOME/common/lib. HTH Regards, pascal chong Rob Casteen wrote: Hey guys, I am hoping I could get some help with this issue. The research I have done online reveals this error with several databases although I have yet to find a actionable answer nor anything firebird spoecific. I am attempting to connect Firebird to Tomcat based on the MYSQL example in the Tomcat Docs and through the datasource setup in the administration console. I have attempted to include all relevant data to show the activity on my server, including the log, the example code, and the relevant server.xml code. I appreciate all help that you can offer. Rob **Log java.sql.SQLException: Cannot load JDBC driver class 'null' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource .java:529) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja va:312) at foo.DBTest.init(DBTest.java:23) at org.apache.jsp.test_jsp._jspService(test_jsp.java:49) 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.ja va: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(Applica tionFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 80) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241 5) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i nvokeNext(StandardPipeline.java:641) at
(4)Interrupted system call: Error while opening the workers, jk will not work
unending woes trying to get tomcat 4.1.12-LE-jdk14 to apache 1.3.23 conection with jk (jdk1.4.1 and redhat 7.3) currently 1. installed mod_jk from the RPM 2. added Include /usr/tomcat/conf/auto/mod_jk.conf to the apache httpd.conf 3. edited the workers.properties in the Apache/conf dir 4. added to server.xml server ... ... Listener className=org.apache.ajp.tomcat4.config.ApacheConfig / ... and host .. ... Listener className=org.apache.ajp.tomcat4.config.ApacheConfig append=true forwardAll=false / ... getting the error (4)Interrupted system call: Error while opening the workers, jk will not work have tried check permissions on workers.properties copied working.properties to $TOMCAT_HOME/conf and generally don't have a lot of ideas about how to fix this help chris -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: problem..plz help me out
perhaps we could see a chunk of the log files. Does Tomcat log the receiving of the request, is there an exception, etc. -Original Message- From: puneet sachar [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 08, 2002 1:22 PM To: Xinji Gu Subject: problem..plz help me out Hi friends, this is my 4th mail regarding my single complain.. I have install the tomcat 4.0.3 and its doing fine as far .html files are concern but no .class and .jsp files are running on it I have asked 9-10 times abt same question again and again and I got nothing from u guys there Plz help meI really stuck .. With this mail Im sending my server.xml file and web.xml file which is in my virtualhost/WEB-INF/ I know it is very tough for u to go in these files and see for errors but plz..im in need badly and afater spending so much time here I some time feel like crying and Im in such a place and in such a part of India..where I cant get ant local computer guy with whom I can discuss ..plz do me a little favour Here are my problems 1) no .class and .jsp working only html is working 2) I have done all changes which were to made in server.xml)I have send the file also plz check it and tell me any mistake if u find) 3) Im getting 404 error ..no servlet found 4) And Im able to excess the .class file vis http://localhost:80/examples/servlet/abc.class But not by making my own virtual host aand not even the default root directory what i have is my own context named sachar and when i go .http://puneet:80/sachar/servlet/HelloworldServlet error -- 404 See friends ..if u can help me Ill be very grateful to u Puneet __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat multiple instances
hi, I am developing an application service provider site. different people can register there, and they will get their own homepage and data (sensitive data like credit card info etc). currently i have created different folders for each user and gave it names (DNS) like user1.mysite.com, user2.mysite.com etc. from that folders index page users will reach www.mysite.com:8080/login.jsp. (/var/tomcat4/web-apps/ROOT/login.jsp) now i want to customize the code for each user, so i am planning to use multiple instances of tomcat. what are the disadvantages of using multiple instances of tomcat? later if i want to move one user to another server will there be any problem (because i don't want to change the url for that user, ie that should be user1.mysite.com always.) and I need SSL also, how multiple instance of tomcat will effect SSl enabling of my site? thanx in advance Robert AndreaGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Multiple tomcat instances - disadvantages
hi, I am developing an application service provider site. different people can register there, and they will get their own homepage and data (sensitive data like credit card info etc). currently i have created different folders for each user and gave it names (DNS) like user1.mysite.com, user2.mysite.com etc. from that folders index page users will reach www.mysite.com:8080/login.jsp. (/var/tomcat4/web-apps/ROOT/login.jsp) now i want to customize the code for each user, so i am planning to use multiple instances of tomcat. what are the disadvantages of using multiple instances of tomcat? later if i want to move one user to another server will there be any problem (because i don't want to change the url for that user, ie that should be user1.mysite.com always.) and I need SSL also, how multiple instance of tomcat will effect SSl enabling of my site? thanx in advance Robert AndreaGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com
Deploying and Catalina Class Loader
Hello, I am writing an application that accesses the Catalina internals. I understand that the classes I need in the $CATALINA_HOME/server directory are not visible my web application. My application is actually working but I have a question regarding deployment. It is a simple application but classes are not centralized under my applications WEB-INF, so deployment is currently not as quick and clean as a typical web app. My classes currently reside under the following directories: $CATALINA_HOME/server/classes : servlet that accesses the org.apache.catalina classes and sets variables in my Beans $CATALINA_HOME/common/classes : my Beans $CATALINA_HOME/webapps/myApp : Jsp that accesses Beans Am I missing something ? Can I somehow centralise my classes ? Is the only solution writing a shell script to place each directory individually ? Any help or comments would be appreciated. Thank you, Marieka _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: How to rename manager?
You need to also change the Context path and docbase in $CATALINA_HOME/conf/server.xml HTH, Marieka From: Martin Erlandsson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: How to rename manager? Date: Mon, 22 Apr 2002 18:38:27 +0200 Hi List! Due to a name clash, I would like to rename the manager application. Can someone tell me how to do that? I tried just to rename the webapps/manager dir, but that wasn't enough. :-( Thanks, /Martin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]