Re: Redhat and JVM Install?
Keddie, Robert wrote: Can someone help a noob out and tell me if there is any definitive guide of Somones experience installing a JRE/JVM on a Redhat Linux machine? Interestingly, I was just doing that this morning (RH ES3) :-) Since I don't care for RPMs, I downloaded the .bin version. So, 1: cd /tmp 2: ./jdk-1_5_0-linux-i586.bin 3: mv jdk1.5.0 /usr/local 4: {change any scripts or config files with JAVA_HOME, PATH, etc...} Not too bad :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat
Allen Beacon wrote: I´m guessing that I should use that inside the manager.xml not the tomcat-users.xml. Yeah. :-) And in case you've overlooked the "Server Configuration Reference" section of the docs, I've found these descriptions of the individual elements and attributes invaluable, e.g. the Context element: <http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html> HTH, best of luck, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat
Allen Beacon wrote: Do you know how to configure the tomcat manager page the one at /opt/jakarta/tomcat/webapps/ROOT> so nobody from the internet can access it but I could get to it, to upload servlets but only locally. I know that I can change the port but that´s not what I´m looking for. On the HTML manager page, there's a BIG LINK labeled "Manager Help"; the *first* thing addressed on that page is "Configuring Manager Application Access" ... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?
David Lee wrote: You mean phpservlet to read the php app config file or php files and then phpservlet to serve the php page? When you build (configure) php with --with-java=$JAVA_HOME (I think, it was a while ago I built this), you get a 'phpservlet.jar' created. Put that in $CATALINA_HOME/common/lib, add something like this to your catalina.sh startup script: LD_LIBRARY_PATH="/usr/local/php/lib/php/libphp4.so" :: and you're set. Oh, yeah, need to add mappings to your web.xml. Your calendar app were written using PHP? It's "phpicalendar" (I'm not the author). As I said, php does seem to work fine, but I have had it crash. The machine I was using to test with was woefully underpowered and under-memoried, though. I'll have to try it on something more robust and see what happens. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?
David Lee wrote: Has anyone run the php application on Tomcat?. I've tinkered with it -- using the phpservlet to run a calendar app. Works surprisingly well, but since you're hooking into native code, beware -- if (when!) it crashes, it takes the whole JVM with it :-) YMMV! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Refresh Problem
[EMAIL PROTECTED] wrote: These framesets have been put on by no-ip.com OR http://www.oneandone.co.uk (my DNS domain provider ) any suggestions Yes, 1/ don't post any more about this to the list, since it has nothing to do with Tomcat, and 2/ find a real hosting solution :-) Good luck! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Refresh Problem
[EMAIL PROTECTED] wrote: Can this be a problem ( can framesets be a problem in getting the home page again and again ) Sheesh. I never even thought of that, but yes, that's your problem. The markup below makes no sense, anyway -- two rows, one frame?? http://micsexport.servepics.com/"; SCROLLING="AUTO" NAME="bannerframe " NORESIZE> -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: refresh problem
[EMAIL PROTECTED] wrote: yes.the problem is the redirection and nothing else. read my first email again and click on export4u.co.uk and browse. ON the status bar , u can see the pages but on address bar... only http://www.export4u.co.uk Also, when u visit any section, u refresh on that page, u are redirected to home page. Yes, and -- I'll repeat -- this isn't a standard behavior. Please go to "contact us" and use your browser to display "Page Info" (in Moz/Firefox) or "Properties" (IE). What URL does that show? "http://www.export4u.co.uk/";, which is what will be loaded when the browser "refresh" button is clicked. If you *explicitly* load <http://www.export4u.co.uk/html/contact.html> and hit refresh -- surprise! that's what reloads. No problem. Hence my suggestion that your problem is in your server|web.xml :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can anyone help me/guide me?
[EMAIL PROTECTED] wrote: I am not using any servlets. this is just an HTML website. However, the web sever is TOMCAT. so i thought , might be some settings in server.xml and web.xml which can help me resolve this. I hope u understood my question. Well, I can't imagine any way that plain HTML files would *not* show up as the page URL in a default Tomcat install; they certainly do on any of my systems. Perhaps if you post your server.xml and web.xml files... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can anyone help me/guide me?
[EMAIL PROTECTED] wrote: now problem is: when u visit http://www.export4u.co.uk and u click on contact us section. If a user refreshes a page while he is on any section.. contact us, > about us ... and etc , the browser takes back the user to the home > page which is index page. (http://www.export4u.co.uk ) ... which is what shows in the browser address bar, regardless of the content being displayed. So of course a reload will just bring you back to the default page view. You'll need to provide a proper URL, e.g., at least something like "http://www.export4u.co.uk/contact";, instead of (apparently) just forwarding within your main servlet. Or keep track of the user's "real" page location as part of the session. Or something :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Response and file downloads
Frank W. Zammetti wrote: It *is* possible that Mozilla now supports iFrames, I haven't kept up with it's development. Dude, you need to get out more :-) IFRAME is part of the HTML 4.0 spec: <http://www.w3.org/TR/html4/present/frames.html#edef-IFRAME> Old news. It works fine in Moz, Opera, Konqueror... I'm not sure about the object tag idea... I've never seen it used that way but that certainly doesn't mean it won't work. My understanding is that it embeds content in a page that is recognized by one plug-in or another... I suspect it wouldn't help in this case, but I could be wrong. And you can use OBJECT to include anything -- text files, HTML files, images, whatever; if it's a "browser-native" format, it'll just be displayed. Something like this: :: will include the page referenced as "data". Now, if there is a way that I don't know about to target a layer, that could do the trick. Still, the most reliable solution for the problem at hand is probably the META refresh... FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
5.0.28 DefaultServlet Content-Type
I have a Filter that sets the Content-Type for *.jsp and *.html based on the Accept header (so either application/xhtml+xml or text/html is returned). It works fine on 4.1.30 but I can't get it to work for *.jsp on 5.0.28. The DefaultServlet source *seems* to be hardwired to use text/html as the Content-Type. Is that true? If so, should it be? :-) Obviously there must be a default Content-Type, but shouldn't a "default" implementation *not* override a value already set in the Response? Apologies if I've overlooked the obvious! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is Catalina.out?
Sng Wee Jim wrote: Correct me if I am wrong, Catalina.out is only created when tomcat is running on unix. OK, you're corrected :-) I see catalina.out created on W2K as well as Mac OS X, Linux... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OFF TOPIC-Starting a servlet
phil campaigne wrote: I want to start my application from a start servlet called by the submit button and action tag in an html page. When I press the submit button the url uncludes parameters such as, StartServlet?=&Run=START which my servlet is not expecting. Is there a way to start my servlet from an html button that does not pass the parameters? Sure -- don't use a form in the first place; use a regular link. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Undefined hosts being directed to localhost
Robert Hunt wrote: Okay, I should have remembered about the defaultHost attr of the node. (duh Rob!) However, I'd like to redirect/stop spurious requests that have nothing to do with my hosts; I've gotten a couple requests with "www.yahoo.com" as the requested host. Anyone already got a (or cleverly configured an existing) class to do so? ? If a request for "www.yahoo.com" is really being sent to your IP address, either someone's using a bad nameserver or it's some kind of attempted exploit. Is your concern related to the latter? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Undefined hosts being directed to localhost
Robert Hunt wrote: On Tomcat 5.0.25; I've got a few nodes defined in server.xml: So then, why does a request for host "www.xyz.com" get routed to localhost? Why wouldn't the request get kicked with like a 404 status? If the name resolution for 'www.xyz.com' points to your system and there's no explicit host by that name defined, the request goes to the default host, usually defined as: HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Setting no-cache headers for javascript
Antony Paul wrote: I used JSP. How to use filter ? 1) read Chapter 6 of the Servlet spec, and 2) look at the examples included with Tomcat -- there's several Filters there for dissection :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] Setting no-cache headers for javascript
Antony Paul wrote: How to add no-cache header to a javascript file which is set in the html as
Re: Tomcat 4 and Tomcat 5 on same machine?
Rhino wrote: 1. If it is possible to have an instance of Tomcat 4.1.x on the same Linux Mandrake server as an instance of Tomcat 5.x? 2. How to set things up so that both instances run as services but are independent from one another, i.e. each can be started/stopped separately from the other and potentially use a different Java JDK. Sure, just 1) configure the two versions to use different ports and/or host names/IP addresses, and 2) make two versions of the startup script (/etc/rc.d/init.d/tomcat, on my RH system at least) with the appropriate CATALINA_HOME and JAVA_HOME values. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Security of Servlets
Rhino wrote: /* others having responded to the first issue(s), I'll just confine myself to this one :-) */ is anyone aware of a wiki that runs as a servlet, preferably open source? You might look at JSPWiki -- <http://www.jspwiki.org/> FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to start tomcat server
Suresh Akula wrote: I am trying to run my tomcat server but am not able to do. I am struggling on this for past 2 days. Earlier you said: I actually installed tomcat onto folder named C:\softwares\tomcat\jakarta-tomcat-5.0.27 In this folder i have > all bin, common and other folders. But while i am setting class path it is taking lot of place so i > moved all the folders from above folder structure and into > C:\Tomcat and i think that should be OK. .."think that should be OK"? I think that's probably the root of your problem. Suggestion: delete all the Tomcat stuff you can find and reinstall from scratch, preferably from a tar file, but at the least install directly into C:\tomcat. Don't move *anything*. *Do* remove all the classpath settings you made. You don't need them if CATALINA_HOME and JAVA_HOME are set correctly. Then try -- again -- running *catalina.bat run* from a cmd window and see what happens. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to start tomcat server
Suresh Akula wrote: > CATALINA_HOME and JAVA_HOME and also included all the jars available in > C:\Tomcat\Common\lib folder in the classpath. But when i go to command > prompt C:\Tomcat\bin and execute startup.bat a black window comes up and > disappears but my server never starts.On the command window where i > executed > startup there appears 4 lines as follows > Using CATALINA_BASE: C:\Tomca > Using CATALINA_HOME: C:\Tomca > Using CATALINA_TMPDIR: C:\Tomca > Using JAVA_HOME: C:\Java > but am not able to start the server No, it's started, it just ended prematurely. :-) So it appears that the JAVA_HOME and CATALINA_HOME are probably set properly; what you need to do is use `.\bin\catalina.bat run` in a command (cmd.exe) window to start the server so that that window doesn't disappear on exit along with the error messages that will *tell you what's wrong*. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cannot find server
Brian Roberts wrote: Yep I tried 'catalina.bat run' at the bin directory of tomcat and the reply was. " 'catalina.bat' not recognized as an internal or external command, operable program or batch file" Then your path doesn't include the current directory. Try either ".\catalina.bat run" (in the bin directory) or, having checked that your CATALINA_HOME environment variable's set properly, you can try "%CATALINA_HOME%\bin\catalina.bat run" which should work from any directory. I think version 5 is a lot different from version 4. I've tried to install both version without success My development desktop runs Windows 2000, and I've got 4.1.30 *and* 5.0.28 running simultaneously right now, so... BTW, did you install from an .exe? If so, I'd recommend uninstalling that, and re-installing from a tar/zip version (in a directory with no spaces in the path names). That's what I do with each new release and it *always* "just works"... HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cannot find server
Brian Roberts wrote: QM thanks for your reply the URL is http://127.0.0.1:8080/ . The set up wizard for tomcat server version 5 set up the software. I didn't make any adjustments to the settings. How can I check the DNS etc. as you suggested? I did try a google on that but it was difficult to find something I could try. How can I check that the tomcat server is working and is on port 8080? I think you just did, and it's not :-) If that URL entered into your browser is getting no response, then you can confirm it by using `telnet localhost 8080` to see if you get a server prompt back. I'm pretty sure you won't... When I click on A, forget all that wizard nonsense, matey[*1]; open a cmd window (presuming you're on Windows). Change dirs to the bin subdirectory of the directory where tomcat's installed; try to start the server in the foreground using the command "catalina.bat run" and use that output to determine what's (not) happening. [1] in honor of International Talk Like A Pirate Day :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: valid XHTML 1.1, Tomcat, text/xml, and @!&* IE
Garret Wilson wrote: I was *just* about to check into filters (or go insane, one or the other). Thanks for the example. Note, however, that you're example doesn't enumerate *all* the accept headers, which means it won't work if a browser decides to sent each accept string as a separate header. True -- is that legal? I just looked at RFC2616 and it doesn't seem to be explicitly specified, so... I know I've never seen a UA do that but if it's possible, Murphy will make it happen at the worst possible time :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: valid XHTML 1.1, Tomcat, text/xml, and @!&* IE
Garret Wilson wrote: Oh, this is just a nightmare. Using JavaServer Faces, here are the options: 1. Just add a JSP directive: 2. Add a script to check for what the browser accepts: 3. Use a Filter -- here's a quick example, you may need to tweak it for your particular situation -- import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public class Accept implements Filter { private FilterConfig config = null; private String htmlContentType = "text/html"; private String xhtmlContentType = "application/xhtml+xml"; public void init(FilterConfig config) throws ServletException { this.config = config; } public void destroy() { config = null; } public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { String thisContentType = ""; if (request instanceof HttpServletRequest) { String AcceptHeader = ((HttpServletRequest)request).getHeader("Accept").toString(); if ( AcceptHeader.matches(".*application/xhtml\\+xml.*") ) { thisContentType = xhtmlContentType; } else { thisContentType = htmlContentType; } } response.setContentType(thisContentType); chain.doFilter(request, response); } } HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat fine within the LAN, but invisible from without
Lee Hoffner wrote: 1) does host/dig/nslookup resolve 'www.mydomain.com' to your address? I don't have a DNS server here, just a /etc/hosts file. www.mydomain.com is listed in the hosts file at 192.168.1.5 nslookup finds www.mydomain.com at the public IP provided by my ISP. So this is broken; what OS are you running? First you need to have nslookup return your local address; do you have an /etc/nsswitch.conf file or equivalent? Configure your system to look at /etc/hosts for name resolution, and then try doing a simple `ping\telnet\ssh` to my.domain.com. Until you can do that, don't even worry about Tomcat. :-) Shorewall No idea what that is. Is it running on the server with Tomcat? Or on a router/gateway machine? Or??? But you need to fix your "inside" access first... HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat fine within the LAN, but invisible from without
Lee Hoffner wrote: I've untarred and setup Tomcat 4.1.30 on my server and can get to index.jsp just fine on my web server's 192.168.x.x:8080 address, but I get a timeout error if I try to browse to www.mydomain.com:8080. Sounds like a basic networking problem -- 1) does host/dig/nslookup resolve 'www.mydomain.com' to your address? 2) if you're really trying this from "outside" your LAN, what's the firewall/routing setup? (hint: try it from "inside" first!) HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSTL 1.1 / Tomcat 4.1.30
Julian wrote: How about JSTL 1.0? I've followed several sets of instructions and Tomcat 4.1.30 just doesn't like it. I've been trying for two days. Uh, "just doesn't like it" isn't of much use in helping fix your problem. And yes, you certainly can use JSTL 1.0 with TC 4.1.30. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL in tomcat standalone with virtual hosts
RJ wrote: OK, I've done some more searching I think you're making this harder than it needs to be... I read one post in the archives that said to create a new connector for each IP, but that doesn't work (at least using the Administration tool -- it only allows one connector on 443). So don't use the Administration tool :-) -- use the text editor of your choice, create the Connector definitions, and you're done. I assure you it works -- that's how my server's configured: two IP addresses, two Connectors, two certs, both using port 443. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fwd: Tomcat + ssl problems
Lloyd Hopper wrote: I am re-submitting this mail as I have had absolutely no response as of yet - is there really no one that has come across this before? I haven't (and I'm running Tomcat/SSL), but... Firstly, the keytool will not work properly when generating a new key. right off the bat, that tells me it's not a Tomcat problem, it's a basic JVM install problem of some kind. Keytool should work; until you fix that, you're stuck. Are you on a current JVM? That's where I'd be looking, at least... FWIW, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java.net.ConnectException: Connection refused
Shilpa Nalgonda wrote: I am using Tomcat4.0, mysql 4.0.18 , on Linux environment. And i am unable to connect to mysql db. underlying exception: 'java.net.ConnectException: Connection refused'. Can you connect manually (try telnet) to localhost port 3306? I'd bet not, in which case you'll need to add a rule to your iptables configuration... Of course, that's also assuming that mysqld is actually running :-) HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat4 won't start
Matt Buffington wrote: have upgraded all my software recently (including Tomcat4), and after following ALL of the suggestions of Canto, I cannot get Tomcat4 to start (whether using the startup.bat file or manually starting through the Manager. I get an error message that tells me Windows cannot start Tomcat4, and this may be a Windows error, and I should see the administrator. I get no log files to check. Try to start it using `%CATALINA_HOME%\bin\catalina.bat run` in a cmd window so you can see the error message(s)... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat too slow in Windows 2000 server
Dola Woolfe wrote: How much slower is it? I'm wondering if it's the same issue that I was talking about in the "Nagging DNS problem". I'm getting 30 second delays, 30 seconds certainly sounds like a network timeout -- have you confirmed that enableLookups="false" in the Connector definitions in server.xml? And nothing else is trying to resolve names? If not, may I suggest you get Ethereal installed and /watch/ the activity on the wire while this problem is occurring? HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how I can to see the output in tomcat from windows 2000
Alberto Marino wrote: Yes, I have files like "localhost_log.2004-07-24.txt" but this files > don´t show java output. For example, when you have in your code > "System.out.println(.)" I don´t know where must see for the > output. In linux I know that there are a file like catalina.out > that show this output but in Windows 2000 I dont´t know. I'm running TC (4.1.30 ATM) on Windows 2000 and a 'catalina.out' is created in the standard logs directory. Note: it's *not* created if you use `catalina.bat run` rather than ` start`, in which case your System.out is to that window... I suspect you've got a typo in your config somewhere. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using SSL with different domains on one server
Ivan Jouikov wrote: I have 1 server with multiple IPs. As far as I know, Digital sertificates work per IP per domain. So, how can I configure to make it so that Whenever user requests www.dom1.com <http://www.dom1.com/>, it forwards him to a certain IP (that can be done through my DNS ), and then a specific certificate is used? You specify a Connector for each IP; within that Connector you have your Factory with the appropriate keystoreFile specified. HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Change to Port 80
Ryan McCain wrote: Thanks for the response. Thats what I thought it was, and when I changed it previously, my browser just hangs and says "Waiting for connection" Any ideas? Use `$CATALINA_HOME/bin/catalina.{sh,bat} run` to start up and watch the console; one of the first few messages should be like 2004-06-30 15:58:10.631 INFO org.apache.coyote.http11.Http11Protocol - Initializing Coyote HTTP/1.1 on port 80 If not, well, depends on what *does* scroll by... :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Change to Port 80
Ryan McCain wrote: How do I configure Tomcat to run on port 80 as opposed to 8080? I changed a few parameters in the xml config file, but nothing seemed to have took. The element contains a "port" attribute. Shouldn't be hard to grep '8080' in server.xml and change it :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat -> MySQL = No suitable driver ERROR
David Smith wrote: I was recommending you take the ... stuff you put in {TOMCAT_HOME}/webapps/DBTest/WEB-INF/DBTest.xml and put that in {TOMCAT_HOME}/webapps/DBTest/WEB-INF/web.xml. Yes, and in addition -- Here is what my web.xml looks like now: http://java.sun.com/dtd/web-app_2_3.dtd";> http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"; version="2.4"> MySQL Test App ?! You've got a 2.3 DOCTYPE and a 2.4 schema reference in the same file, which is /seriously/ wrong. :-) You want one or the other. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: startup error
Mendo, Anthony J. wrote: Now I am getting different errors: the variable value when opening the window is: Variable Name: %CATALINA_HOME% Variable Value: C:\tomcat this is what displays... C:\>%CATALINA_HOME% 'C:\tomcat\bin\' is not recognized as an internal or external command, operable program or batch file. Something's not matching up above; either you have CATALINA_HOME set to C:\tomcat or C:\tomcat\bin -- which is it? It should be the former... so if I try this... C:\>%CATALINA_HOME%startup The CATALINA_HOME environment variable is not defined correctly This environment variable is needed to run this program What you'd enter, once your environment's correct, is C:> %CATALINA_HOME%\bin\startup.bat or C:> %CATALINA_HOME%\bin\catalina.bat run if you want to watch the messages in that window... But mind the "\"s :-) I am running on a windows machine. Yeah, got it -- what *version* of Windows? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: startup error
Mendo, Anthony J. wrote: thanks but no joy. I had that. ? So you open a command window and enter C:> echo %CATALINA_HOME% and get what? What version of Win* are you running? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat starting up?
Reid Peryam wrote: The goal is to connect to an IP address in order to download a file. Dude, are you still on this snipe hunt? Like I said before I can't connect in IE and was told that I need to > use Tomcat to get it. The person who told you this is watching you on a hidden camera right now, channeling the spirit of Allen Funt, laughing hysterically. :-) Tomcat is *not* a tool to download files... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I run servlets on the root directory of localhost?
Jarl Skogsholm wrote: The paths in my servlet are relative. I didn't see any 404 entries in my logs. Is that a different debug level? The standard Web logs from AccessLogValve -- if you haven't yet configured one, it'd probably be a good idea :-) But you can tell the effective URL of the image with `View Source` in your browser, as well. If I try to access an image directly it still brings up my servlet. If you enter the URL of an image within your webapp, it brings up your servlet? What's the servlet-mapping in web.xml?? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do I run servlets on the root directory of localhost?
Jarl Skogsholm wrote: What happens if you just enter: http://localhost:8080/ It runs my servlet except without images, .css, .js files. Sounds like the paths in your servlet are wrong; are they relative or absolute? What do the 404 entries in your logs say? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Works! RE: 2nd inquiry: how to - programmatically - authenticate oneself as Tomcat manager?
Jerry Miernik wrote: This works! How did you come to know that? Is there a doc I should have read to know? Well, strictly speaking, if you read the doc you'll know that's not a legal URL :-) RFC 1738: Uniform Resource Locators (URL) shows the format: 3.1. Common Internet Scheme Syntax While the syntax for the rest of the URL may vary depending on the particular scheme selected, URL schemes that involve the direct use of an IP-based protocol to a specified host on the Internet use a common syntax for the scheme-specific data: //:@:/ *BUT* (see last sentence) 3.3. HTTP The HTTP URL scheme is used to designate Internet resources accessible using HTTP (HyperText Transfer Protocol). The HTTP protocol is specified elsewhere. This specification only describes the syntax of HTTP URLs. An HTTP URL takes the form: http://:/? where and are as described in Section 3.1. If : is omitted, the port defaults to 80. No user name or password is allowed. Which is not to say that it won't, in some circumstances, "work"... FWIW! That's not true. You can do: http://username:[EMAIL PROTECTED]/ so: URL tomcatMgr = new URL("http://manager:[EMAIL PROTECTED]:8080/manager/undeploy?path=/any"); -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help: remotely accessing CATALINA_HOME
javac javac wrote: via telnet (SSL is secure version?) SSH is "Secure Shell", but > can i login to a remote server > to do this stuff from the command line? sure. :-) However, if you're just getting started, you might find it better to just install Tomcat on your desktop system where you can experiment more conveniently... FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat logging and the referer
RJ wrote: I'm using the combined log format, and it seems to be OK, except that on the first hit on my site (to the static index.html page) the referer field is always "-". Subsequent hits from pages within the site show the correct referer, but my main interest is that initial one. Anybody have any thoughts on how I can get that to show? I'm not seeing any problem with this, on TC4.1.29. Are you sure the blank referers are *not* users just typing the URL (or bots)? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Importing chain certificate with keytool causes "keytool error: java.lang.Exception: Input not an X.509 certificate"
Ben Monnahan wrote: I'm following the instructions for installing a certificate from a CA found here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html Everything went fine until the step where you import the chain cert. I entered this command: keytool -import -v -alias root -keystore .keystore -trustcacerts \ -file amon-chain.cer I just installed my first "real" cert (from Thawte) on my Tomcat 4.1.29 installation, and feeling uncertainty due in part to having accidentally stomped on my keystore between request generation and receipt :-) asked Thawte why their install instructions differed from the Tomcat doc. As in, theirs (Thawte's) said you don't need the "chain" cert at all. And apparently they're right :-) I just imported the PKCS7-format cert they gave me, including the -trustcacerts flag, and tickety-boo and Bob's y'r uncle. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with JSP -> no data returned
Ondrej Sváb wrote: In fact, I have not installed servlets examples but my servlets run well. So I do not think that it is CLASSPATH problem. That is also potential solution for this moment, that is "re"write all JSP what I need into servlets :) (I have already started.) That's not a solution, it's a workaround, and an unfortunate one at that :-) (Markup in servlets? yuck!) So I am really very wondering where is the problem. Have you now (after your inquiry :)) any idea? Nope -- none whatsoever. If your JSP scriptlet code wasn't being evaluated, you'd see it returned as raw code; if it's failing to return any output due to throwing an exception, you should see a message in the console or server logs, assuming the context has logging enabled and a non-zero debug level... I can't imagine how an out-of-the-box installation could *not* just work; do you have another system you could try installing on for comparison? /* the last sentence indicating we have now reached the * grasping-at-straws portion of the exercise :-) */ -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with JSP -> no data returned
Ondrej Sváb wrote: No examples work (No JSP runs). During debuging no errors appear. There are not any errors in the logs. What OS are you running this on, and what JDK? Windows NT, JDK 1.4.2_02 I was guessing you didn't actually *have* a JDK installed :-) though it could still be a classpath problem, I suppose... Do you have an explicitly set CLASSPATH? OK, and one more question -- the JSP examples don't work, but do the servlet examples? And can you manually compile one of those? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with JSP -> no data returned
Ondrej Sváb wrote: No examples work (No JSP runs). During debuging no errors appear. There are not any errors in the logs. What OS are you running this on, and what JDK? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with JSP -> no data returned
Ondrej Sváb wrote: Any JSP page returns no data. Any idea? Do the examples work? Is the context in question reloadable? And have debug set higher than 0? Have you looked at your logs, or run Tomcat with the console open to see if errors are being logged? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Include file?
Steven Garrett wrote: ok, so I put this into my server.xml underneath the last entry ?! Uh, that's not even close to what I sent :-) ]> That goes right *before* the tag at the top of your server.xml file... &virtualhosts; The above line can then follow your other block. HTH! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Include file?
Steven Garrett wrote: ok, since I know nothing about adding xml entites to the server.xml, I'm sure there has to be examples out there. I'll take a look and hopefully I'll be able to come back with something. Uh, there's an example in the Ant FAQ that was (somewhat obliquely) pointed to yesterday; adapted, you just need something like: ]> &vhosts; The only difference I found from the Ant example was that it needed the full path or produced a FileNotFoundException. No big deal... Tested in W2K/TC4 and OSX/TC5. FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DefaultServlet character encoding
Yansheng Lin wrote: You can use a filter Yuck. I was afraid that was going to be the best answer; seems really brain-dead that this isn't just configurable on at least a context (if not url-pattern) basis. Oh, well! btw, are you interested in joining an open-source project that's japanese related? I need help:). see http://j2e-translate.sourceforge.net Sounds interesting, but my knowledge of Japanese would fit into a Kirin bottle cap :-) But I will ask my client for this project if they're interested in contributing; if so, will get back to you off-list. Thanks much, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Os X
Andrew Robinson wrote: It was working...I had to restart the machine and now I can't get to the tomcat mainpage that was loading...the one with the links...nothing comesup when I go to the server at the port # I was using...I restarted tomcat but I don't know what else to do Everything below still applies -- either Tomcat started and failed, or it's running but the Context in question has failed. What's the console and/or error log output show? I'd suggest you stop Tomcat and restart using 5: start tomcat by `./bin/catalina.sh run` Leave that window open and watch the output as you try to access the start page. Also, examine your log files for error messages. 6: point your browser to http://localhost:8080/ If that doesn't identify the problem, make sure that you can (1) ping 'localhost' and (2) telnet to localhost port 8080 and get a server prompt. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Os X
Andrew Robinson wrote: It seems to run but I get an error page when I go to the server at port 8080 ERROR The requested URL could not be retrieved I'd suggest you stop Tomcat and restart using 5: start tomcat by `./bin/catalina.sh run` Leave that window open and watch the output as you try to access the start page. Also, examine your log files for error messages. 6: point your browser to http://localhost:8080/ If that doesn't identify the problem, make sure that you can (1) ping 'localhost' and (2) telnet to localhost port 8080 and get a server prompt. -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Os X
Andrew Robinson wrote: I tried to do the build Why? If you're just getting started with this, I'd recommend that you install a binary version to get a feel for the installation, configuration, app deployment, etc. Once you're comfortable with that you can move on to installing from source if desired... FWIW! -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Os X
Andrew Robinson wrote: I'm new to this list...Has anyone sucessfully installed tomcat on an OS X machine, I can't seem to get it to work. Yes. It would probably be more useful if you specified what exactly you did and what exact problem you're having, eh? -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DefaultServlet character encoding
Mark Thomas wrote: > Tomcat ignores META tags (for good reasons I won't go in to). Use <%@ page > pagEncoding="..." %>. ...which doesn't work for static HTML pages, where I'm having the problem... Allistair Crossley wrote: or specify -Dfile.encoding=UTF or whatever in your tomcat startup ..which I have, and which has made no difference, as I stated in the original mail... Matt Woodings wrote: > if your tomcat is a NT Service, this needs to go in the registry ..which, as the *first line* of the original post says, it's not ("RedHat" != "NT")... Three up, three down -- anyone else care to try next inning? C'mon, swing for the fence... :-) -Original Message- Subject: DefaultServlet character encoding Config: Tomcat 4.1.29 -- Sun Java 1.4.2_01-b06 -- RedHat ES Problem: static HTML pages meta-tagged to use Shift_JIS are sent as ISO-8859-1. All the googling I've done turns up the suggestion to start Tomcat with -Dfile.encoding=UTF-8 in either JAVA_OPTS or CATALINA_OPTS to make UTF-8 the default. I've tried both, neither made a difference. To baffle me more, my two (unfortunately) divergent dev environments Tomcat 4.1.27 -- Sun Java 1.4.2_01-b06 -- W2k Tomcat 5.0.19 -- Sun Java 1.4.1_01-69.1 -- OSX.2.8 serve a sample Shift_JIS page just fine "out of the box"... -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DefaultServlet character encoding
Config: Tomcat 4.1.29 -- Sun Java 1.4.2_01-b06 -- RedHat ES Problem: static HTML pages meta-tagged to use Shift_JIS are sent as ISO-8859-1. All the googling I've done turns up the suggestion to start Tomcat with -Dfile.encoding=UTF-8 in either JAVA_OPTS or CATALINA_OPTS to make UTF-8 the default. I've tried both, neither made a difference. To baffle me more, my two (unfortunately) divergent dev environments Tomcat 4.1.27 -- Sun Java 1.4.2_01-b06 -- W2k Tomcat 5.0.19 -- Sun Java 1.4.1_01-69.1 -- OSX.2.8 serve a sample Shift_JIS page just fine "out of the box"... All suggestions gratefully accepted :-) -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: When to use two tomcat instances
kathee wrote: Is there a way, using the server.xml files to tell the instances to listen on the same port, but on different NICs?? See the sections: <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#standard_contexts> and http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html#context_addcust :: for Virtual Host setup examples... Note: I haven't used this, since I front-end with Apache and let it handle multiple IP addresses, so I can't vouch for the accuracy! HTH, -- Hassan Schroeder - [EMAIL PROTECTED] Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com dream. code. -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>