apache loses mime-type header

2001-07-30 Thread Maureen Fisher
Has anyone seen this? The setup is apache 1.3.14 and tomcat 3.2.1 on AIX. The servlet correctly sets the header and with tomcat set up to accept HTTP requests, everything displays fine. However, if we access the same servlet through apache's port, it gets displayed as text/plain instead. Any

RE: How to handle this.

2001-07-30 Thread Bartosz Adamczyk (LMC)
The unload event doesn't only occur when the user clicks on the back button. What if he closes the window. Instead of bashing people when you give bad advice, how about you check your own advice. -Original Message- From: Mike Alba [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001

Possible ill-advised default handling of 403

2001-07-30 Thread Hood, Earl
I just noticed that if I set a 403 error status in a servlet, Tomcat automatically adds the following HTML body with the error: h1SSL required to access this page/H1 Ugh. I looked at the source code (3.2.2 of Tomcat) and notice that if no 403 error-code handler is registered, it

AW: Sharing a local setup of Tomcat?

2001-07-30 Thread Ralph Einfeldt
Depends on the configuration of your network (ask your sysadmin). The simplest way is to use the ip address of your pc. ipconfig -all (On windows) ifconfig -a (On linux) If your network is setup in a common way, one of these should work: http://xxx99x999 http://xxx99x999.your-domain (The

explanation of the container with apache

2001-07-30 Thread Grobe, Gary
I'm looking to know how someone would explain how the servlet container interacts with the web server. Things like, what exactly is a container, how requests are forwared to the container, how the connections are made, the overhead, namespacing, etc... Or even point me to a few refs about

Running Tomcat stanalone without the port number?

2001-07-30 Thread Tsinwah Lee
Hi, when running Tomcat standalone, the URL will contain the port number, e.g.: www.hostname.com:8080/myApplication/index.jsp. Does anybody know how to get rid of the port number when running the Tomcat in standalone mode? Thank you very much in advance. T.

Re: Running Tomcat stanalone without the port number?

2001-07-30 Thread Jim Seach
If there is not another application listening on port 80 on that machine, you can change the port value for the connector in server.xml from 8080 to 80. That way, the user won't have to type in the port. Jim --- Tsinwah Lee [EMAIL PROTECTED] wrote: Hi, when running Tomcat standalone, the URL

Re: Running Tomcat stanalone without the port number?

2001-07-30 Thread Tsinwah Lee
Thanks, Jim. T. Jim Seach wrote: If there is not another application listening on port 80 on that machine, you can change the port value for the connector in server.xml from 8080 to 80. That way, the user won't have to type in the port. Jim --- Tsinwah Lee [EMAIL PROTECTED] wrote:

Re: Creating object for the application

2001-07-30 Thread Alexis Alarcón Barra
Thanks Craig!! It worked !! Alexis Craig R. McClanahan wrote: On Mon, 30 Jul 2001, Alexis Alarcón Barra wrote: ok ... i've done already that, but how can get the object from a jsp page to manipulate it? If you create a servlet context attribute, then it's just a jsp:useBean

RE: Security questions

2001-07-30 Thread William Kaufman
What is the default password for the admin context? It's in tomcat/conf/tomcat-users.xml . where can I find documentation on implementing security with tomcat? Start with the servlet specification at http://java.sun.com/products/servlet/ . You could also look at JDBCRealm (sources and

Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Chad Wray
Are there any advantages running Tomcat with Apache versus running Tomcat standalone and listening on port 80. I am running only *.jsp files on my webserver. Thanks in advance. -- Chad Wray __ Do You Yahoo!? Make international calls for as low

RE: Security questions

2001-07-30 Thread Dave Finch
Thanks very much. -Original Message- From: William Kaufman [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 5:00 PM To: '[EMAIL PROTECTED]' Subject: RE: Security questions What is the default password for the admin context? It's in tomcat/conf/tomcat-users.xml . where can I

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Ashish Bajpai
Tomcat is a jsp/servlet container wheras the Apache is a full fledged web server. It is always good to have a robust webserver as the front door to your site. thanks ashish

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Tim O'Neil
At 02:04 PM 7/30/2001, you wrote: Are there any advantages running Tomcat with Apache versus running Tomcat standalone and listening on port 80. I am running only *.jsp files on my webserver. Added security if you use Apache.

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Srinivas Reddy
Also there is an increase in performance for static files like .html and static images. -srini - Original Message - From: Tim O'Neil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 30, 2001 2:27 PM Subject: Re: Tomcat standalone vs Tomcat w/ Apache At 02:04 PM 7/30/2001,

Re: HTML in Messages and politeness (Was: Re: jdbc odbc bridgeon linux)

2001-07-30 Thread German Alvarado
[X] +1 - Plain Text only. Strip HTML on the mailing list. That would be nice, German

Re: tomcat shutdowning

2001-07-30 Thread Mykola A. Nickishov
sekhar k [EMAIL PROTECTED] writes: Hi all, I am using Apache and tomcat with SunSolaries. When i start my webserver remotly using telnet both are running well. But when i dissconnect the telnet Tomcat is getting shutdowning. but apache is running. What will be the problem. Please

Invalid class file format

2001-07-30 Thread Ogievetsky, Nikita
Hello all, I would greatly appreciate your help. This is the message I am getting from Tomcat: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format: D:\xml\Rdfquery\lib\rdfquery.jar(org/desire/rudolf/query/DownloadUrls.class) , wrong version: 46,

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Dan Bachelder
tomcat doesn't support apache mods yet does it? - Original Message - From: Chad Wray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 30, 2001 5:04 PM Subject: Tomcat standalone vs Tomcat w/ Apache Are there any advantages running Tomcat with Apache versus running Tomcat

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Tsinwah Lee
What? using Apache with Tomcat will increase the performance for static pages? Well, my admin told me the opposite, she said the browser hesitated for a fraction of a second and then the static pages got load up when using Apache + Tomcat. So she wanted to use Tomcat standalone instead. So how

Does Load balancing block requests? Help

2001-07-30 Thread Gopalakrishnan, Arvind
Iam working on solaris 2.6, Tomcat 3.2.1 and Apache 1.3.9 with mod_jk I have 5 servlets running and they are load balanced by a load balancing servlet. All the servlets are identical and run on the same machine and use the same class files. Each of my requests takes 10 seconds to process. If

RE: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Curtis Dougherty
Apache caches the pages... The initial load into cache will take a fraction of a second longer but from that point on it will zip right through. :-) -Original Message- From: Tsinwah Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 5:00 PM To: [EMAIL PROTECTED] Subject: Re:

Re: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbc bridge on linux)

2001-07-30 Thread David Smith
On Sunday 29 July 2001 10:42 am, you wrote: [snip...] One thing I can ask to you guys is, do you want me to strip HTML out of your messages and reject emails only with HTML content type? Plenary vote open until 11:59 PM GMT of Monday 07/30/2001. [ X] +1 - Plain Text only. Strip HTML on

new tomcat user

2001-07-30 Thread Bryan Rood
Hello, I must get tomcat working with Solaris 7 and apache 1.3.12, do I have to compile tomcat 3.2.3 from scratch, or do binaries exist for SUN Solaris? I searched the website and only found binaries for linux, netware and win32, can someone help? thanks, Bryan [EMAIL PROTECTED] www.contivo.com

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Richard Draucker
The following is a cut'n paste from tomcat/doc/uguide/tomcat_ug.html. If you have tomcat installed, look for this doc and provide this text to your sys admin. Setting Tomcat to Cooperate with the Apache Web Server Tomcat is not as fast as Apache when it comes to static pages. Tomcat is not

Re: new tomcat user

2001-07-30 Thread Richard Draucker
Its java... no binaries. Just untar it on any java enabled box. On Monday 30 July 2001 06:17 pm, you wrote: Hello, I must get tomcat working with Solaris 7 and apache 1.3.12, do I have to compile tomcat 3.2.3 from scratch, or do binaries exist for SUN Solaris? I searched the website and

RE: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Chad Wray
Will Apache cache jsp pages also or only html and images. I don't have any standalone html pages (except my simple index.html) otherwise every file requested is of type *.jsp. Thanks for all the replies so far. -- Chad --- Curtis Dougherty [EMAIL PROTECTED] wrote: Apache caches the pages...

Re: How to handle this.

2001-07-30 Thread Richard Draucker
I think IE gives you access to the back button, but most browsers don't. There are javascript methods you can use with the new event model, but they won't work on older browsers. In short, writing a catch for the back button can't be handled consistently. On Monday 30 July 2001 03:11

RE: Invalid class file format

2001-07-30 Thread Ogievetsky, Nikita
never mind. the error disappeared when I switched from tomcat 3.2.3 to 4.0 b6 --Nikita. -Original Message- From: Ogievetsky, Nikita Sent: Monday, July 30, 2001 5:37 PM To: '[EMAIL PROTECTED]' Subject: Invalid class file format Hello all, I would greatly appreciate your help. This

Setting JVM Memory configuration

2001-07-30 Thread Srinivas Reddy
hi , my tomcat runs out of memory soon after 3-4 hrs of running(depends on no of users accessing it). As almost 5-10 users are accessing it at a time. I have 120 JSPs and 180 JAVA classes in defferent packages. I increased JVM memory something like this in tomcat.bat file it

Re: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbcbridge on linux)

2001-07-30 Thread Pier P. Fumagalli
Pier P. Fumagalli at [EMAIL PROTECTED] wrote: [ ] +1 - Plain Text only. Strip HTML on the mailing list. [ ] 0 - I don't give a damn shit. [ ] -1 - You mad? I love HTML in messages and want to keep using it. We got more than 20 +1s, a couple of 0s, and no -1. So I asked root to modify the

RE: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbc bridge on linux)

2001-07-30 Thread Nael Mohammad
+1 for plain text -Original Message- From: Pier P. Fumagalli [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 4:37 PM To: [EMAIL PROTECTED] Subject: Re: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbc bridge on linux) Pier P. Fumagalli at [EMAIL PROTECTED] wrote:

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Craig R. McClanahan
On Mon, 30 Jul 2001, Richard Draucker wrote: The following is a cut'n paste from tomcat/doc/uguide/tomcat_ug.html. If you have tomcat installed, look for this doc and provide this text to your sys admin. Setting Tomcat to Cooperate with the Apache Web Server Tomcat is not as fast as

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Pier P. Fumagalli
Craig R. McClanahan at [EMAIL PROTECTED] wrote: On Mon, 30 Jul 2001, Richard Draucker wrote: The following is a cut'n paste from tomcat/doc/uguide/tomcat_ug.html. If you have tomcat installed, look for this doc and provide this text to your sys admin. Setting Tomcat to Cooperate with

RE: Setting JVM Memory configuration

2001-07-30 Thread Eoin Woods
Firstly, running out of memory after a predictable period of running (rather than because of peak loading) suggests a memory leak. These are possible in Java if you hold onto object references accidentally once you're done with them (or libraries you call do so). If this is the case, adding

Re: Upgrade to Tomcat DECREASES Performance?

2001-07-30 Thread Jeff Kilbride
Good enough to have answered this question several times. Have you checked the archives? http://mikal.org/interests/java/tomcat/archive/view?mesg=35371 http://mikal.org/interests/java/tomcat/archive/view?mesg=33145 http://mikal.org/interests/java/tomcat/archive/view?mesg=30821

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Dmitri Colebatch
Pier, On Tue, 31 Jul 2001, Pier P. Fumagalli wrote: Well, to be completely honest, and being the author of 2 out of 3 apache connectors to Tomcat, I am a _BIG_ fan of using Tomcat in stand-alone mode. Unless you don't specifically require some of the Apache functionalities, run it stand

connecting to mysql database

2001-07-30 Thread Chad Wray
I am trying to access a mysql database on a linux box. I am getting the following error: javax.servlet.ServletException: Unable to load class org.gjt.mm.mysql.Driver at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459) at

RE: JSP pages cannot be viewed

2001-07-30 Thread Utech - Han Lim
I think I'm already set the classpath to point to the servlet.jar as you can see it obviously from my environment setting. Any else suggestion? I still cannot view the .jsp pages, and got stuck with it:( Thanks. regards, Han Lin -Original Message- From: AN Sathe [mailto:[EMAIL

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Pier P. Fumagalli
Dmitri Colebatch at [EMAIL PROTECTED] wrote: Pier, On Tue, 31 Jul 2001, Pier P. Fumagalli wrote: Well, to be completely honest, and being the author of 2 out of 3 apache connectors to Tomcat, I am a _BIG_ fan of using Tomcat in stand-alone mode. Unless you don't specifically require some

Re: connecting to mysql database

2001-07-30 Thread Howler D. Wolfe
Chad Wray wrote: I am trying to access a mysql database on a linux box. I am getting the following error: javax.servlet.ServletException: Unable to load class org.gjt.mm.mysql.Driver at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:459)

RE: connecting to mysql database

2001-07-30 Thread Artigas, Ricardo Y.
Did you include the mysql driver (the jar file) to your classpath? -Original Message- From: Chad Wray [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 9:22 AM To: [EMAIL PROTECTED] Subject: connecting to mysql database I am trying to access a mysql database on a linux

Re: connecting to mysql database

2001-07-30 Thread Richard Draucker
Or drop the mysql jar into the WEB-INF/lib directory On Monday 30 July 2001 09:43 pm, you wrote: Did you include the mysql driver (the jar file) to your classpath? -Original Message- From: Chad Wray [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 9:22 AM To:

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Tim O'Neil
At 05:19 PM 7/30/2001, you wrote: Of course, there are many non-performance-related reasons you might be required to use Apache in conjunction with Tomcat (if you need the other functionality that it provides). But, if you don't, you owe it to yourself to see if Tomcat stand-alone runs fast

Re: Tomcat standalone vs Tomcat w/ Apache

2001-07-30 Thread Craig R. McClanahan
On Mon, 30 Jul 2001, Tim O'Neil wrote: At 05:19 PM 7/30/2001, you wrote: Of course, there are many non-performance-related reasons you might be required to use Apache in conjunction with Tomcat (if you need the other functionality that it provides). But, if you don't, you owe it to

Re: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbc bridge on linux)

2001-07-30 Thread Frans
+1 from me.. no HTML email. - Original Message - From: Srinivas Reddy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 6:56 AM Subject: Re: VOTE: HTML in Messages and politeness (Was: Re: jdbc odbc bridge on linux) +1

Tomcat 4.05b - recompile required for SSL?

2001-07-30 Thread Mike
I downloaded the 4.05b binaries, and I'm trying to get SSL to work. Is a recompile required?

RE: connecting to mysql database

2001-07-30 Thread Chad Wray
Yes - I actually put the jar file in the src directory under tomcat and added it to my classpath. I will double check it tomorrow by echoing my classpath. I am setting my classpath in my .bashrc file - does tomcat.sh overwrite the classpath? Or should I add the jar file to the classpath in the

RE: connecting to mysql database

2001-07-30 Thread Artigas, Ricardo Y.
hi, chad. place the jar file in the lib directory and the place path to the jar file in the classpath setting for tomcat to see it. hth. -Original Message- From: Chad Wray [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 11:28 AM To: [EMAIL PROTECTED] Subject: RE:

RE: connecting to mysql database

2001-07-30 Thread Chad Wray
Thanks - I just looked at my setup for Windows 98 and realized that I did put the jar file in the lib directory of my jdk. I guess I should of looked at my Windows machine while setting up my Linux server. Thanks again for all the responses. -- Chad --- Artigas, Ricardo Y. [EMAIL PROTECTED]

Offer to sell Mini-vacuum cleaner

2001-07-30 Thread
Our company specializes in dealing in Electric sport series products. Quality first, competitive offer Best service is the aim of our all staff . If you are looking for any product, please don't hesitate to contact with us or visit our web site. http://gafucom.ebigchina.com If our mail

Re: Tomcat 4.05b - recompile required for SSL?

2001-07-30 Thread Craig R. McClanahan
On 30 Jul 2001, Mike wrote: I downloaded the 4.05b binaries, and I'm trying to get SSL to work. Is a recompile required? No ... following the instructions in the comments inside conf/server.xml is required, though. Also, you should really download beta 6 instead -- a boatload of bugs

dash in attribute name

2001-07-30 Thread Andrei Rusakou
hi there does anyone have a piece of code that makes Tomcat (i'm running 3.2.3) work with custom tags that contain dash in the attribute names? eg tag:client-desc first-name=test client /tag:client i managed to get it going with the dashes in tag name, but not in the attribute name... any

<    1   2