Re: Out of Memory error - Tomcat 3.2.1

2001-07-30 Thread Dmitri Colebatch
Somik, Are there really more than 1000 threads? When I start tomcat I get about 35 threads... are you running a standardish configuration or have you changed things? When you say you've checked your servlets and none of them have threads that dont end - are you sure? maybe post one of your ser

How to make a database connection in a servlet ?

2001-07-30 Thread Andreas Horchler
Hi, I am running Apache 1.3.20, Tomcat 3.2.3 and JDK 1.3.1 from Sun on Windows NT and everything is working fine. Because these are my first experiences with a web server, I had a look at several samples delivered with Tomcat. But how will I be able to connect from a sevlet to an Oracle 8.1.6 data

Out of Memory error - Tomcat 3.2.1

2001-07-30 Thread Somik Raha
Hi,     Sorry for posting earlier in Rich Text.       I am using Tomcat 3.2.1 with Apache.     I find a strange phenomenon - whenever an http request is made, a tomcat thread is created. But when the servlet finishes, the thread is not destroyed. This results in a big problem - after some

Re: Out of Memory error - Tomcat 3.2.1

2001-07-30 Thread Somik Raha
> 1. You're posting a message in non-plain text format, which is in violation > of this list's rules (you did read the list's FAQ, didn't you?). Your > message is thus likely being ignored. Post in plain text as required and > someone will probably respond. Oops! Very sorry about that. Regards

error affecting all sessions

2001-07-30 Thread W. A. Sanchez
Whenever I get a certain error using one account, other accounts/sessions are also affected and I may need to restart the tomcat server. And sometimes when I do a restart, I still need to check if java threads still exist before starting it again. How do I fix this. thanks Get 250 color busin

RE: Out of Memory error - Tomcat 3.2.1

2001-07-30 Thread
1. You're posting a message in non-plain text format, which is in violation of this list's rules (you did read the list's FAQ, didn't you?). Your message is thus likely being ignored. Post in plain text as required and someone will probably respond. 2. Your original message was posted 4 hours a

Re: Out of Memory error - Tomcat 3.2.1

2001-07-30 Thread Somik Raha
Wondering if anyone has any idea about this issue. Would appreciate a reply..   Yours, Somik - Original Message - From: Somik Raha To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 11:17 AM Subject: Out of Memory error - Tomcat 3.2.1 Hi,     I am using To

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 i managed to get it going with the dashes in tag name, but not in the attribute name... any ideas please? andrei _

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 o

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: 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

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: co

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

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: 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 _

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, 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 >>> functi

Out of Memory error - Tomcat 3.2.1

2001-07-30 Thread Somik Raha
Hi,     I am using Tomcat 3.2.1 with Apache.     I find a strange phenomenon - whenever an http request is made, a tomcat thread is created. But when the servlet finishes, the thread is not destroyed. This results in a big problem - after sometime, an OutOfMemory exception is thrown  - with

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: 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 e

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

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

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: 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 requi

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 PROTECTED

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 _0002ffantasyFootball

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 a

Re: Setting JVM Memory configuration

2001-07-30 Thread Toru Watanabe
> 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

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 http://mikal.org/in

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 more

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 Coo

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

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

2001-07-30 Thread Srinivas Reddy
+1

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: 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

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 served

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 i

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 pm,

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: 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

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

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: 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 HTM

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: Tomc

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 i

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 c

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 T

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, ex

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

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 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/2

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 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: 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

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 as

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 do

Security questions

2001-07-30 Thread Dave Finch
Hi,   What is the default password for the admin context? where can I find documentation on implementing security with tomcat?   Thanks,   Dave Finch

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 > declara

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]> w

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 UR

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.

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 this

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 d

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: SSL required to access this page Ugh. I looked at the source code (3.2.2 of Tomcat) and notice that if no 403 error-code handler is registered, it defaults to

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 3:

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 ide

RE: LDAPRealm & JNDIReam for Tomcat 3.2 and 4.0 beta 1 is available

2001-07-30 Thread Bragg, Casey
Title: LDAPRealm & JNDIReam for Tomcat 3.2 and 4.0 beta 1 is available Hey Alex :   I've got a question about your JNDIRealm stuff...   I'm using your SimpleRoleMapper to get started, but I can't get it to work.  I can't find in your code where a distinguished name (dn) is linked to roles.

Re: How to handle this.

2001-07-30 Thread Mike Alba
See this link http://www.javascript-page.com/onunload.html I just found that by doing a normal google search. In the future cant you do this rather then wasting an email when it takes less than a minute to find it? - Original Message - From: "Wang, Jianming" <[EMAIL PROTECTED]> To: <[EMA

RE: How to handle this.

2001-07-30 Thread Wang, Jianming
Do you know how? -Original Message- From: Tsinwah Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: Re: How to handle this. Yo ucan use javaScript to do that. "Wang, Jianming" wrote: > Hi everybody, > > I have an web application and

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Andrew Inggs
Nance, Michael wrote: > I don't have a /buy at all it is just a Virtual Name In this case maybe it would help if you explained your directory layout. Also I think you might be looking at the web.xml in the TOMCAT_HOME/conf directory, e.g., on my machine C:\jakarta-tomcat-3.2.2\conf\web.xml but

Re: Creating object for the application

2001-07-30 Thread Craig R. McClanahan
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 declaration with "application" scope. > Alexis > Craig McClanahan > "Craig R. M

Re: How to handle this.

2001-07-30 Thread Tsinwah Lee
Yo ucan use javaScript to do that. "Wang, Jianming" wrote: > Hi everybody, > > I have an web application and I want to handle the event of user's clicking > on the Back button. Does anybody know how to do it? Thanks in advance. > > JW.

RE: Preventing System.exit(0)

2001-07-30 Thread Randy Layman
As an interesting (but mostly unrelated) tidbit, javadoc calls System.exit. This caused some problems for the Ant developers. Randy > -Original Message- > From: Nils O. Selåsdal [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 30, 2001 2:16 PM > To: [EMAIL PROTECTED] > S

How to handle this.

2001-07-30 Thread Wang, Jianming
Hi everybody, I have an web application and I want to handle the event of user's clicking on the Back button. Does anybody know how to do it? Thanks in advance. JW.

Re: Creating object for the application

2001-07-30 Thread Alexis Alarcón Barra
ok ... i've done already that, but how can get the object on a jsp page to manipulate it? Alexis "Craig R. McClanahan" wrote: > On Mon, 30 Jul 2001, Alexis Alarcón Barra wrote: > > > Hi, > > anyone knows how to create an object from the startup of the server and > > make it available for the ap

Re: Creating object for the application

2001-07-30 Thread Alexis Alarcón Barra
ok ... i've done already that, but how can get the object from a jsp page to manipulate it? Alexis "Craig R. McClanahan" wrote: > On Mon, 30 Jul 2001, Alexis Alarcón Barra wrote: > > > Hi, > > anyone knows how to create an object from the startup of the server and > > make it available for the

mod_jk.log file sample

2001-07-30 Thread Tsinwah Lee
Hi, can anyone send me some sample of the mod_jk.log file? (Just a few lines is ok) I want to see if our mod_jk.log file is normal, since most of the other log files contains date/time values (e.g., Apache's access_log, access_log, JServ's mod_jserv.log, all of them contain the date/time values

Is there a way to get the Doc Root

2001-07-30 Thread Randy Paries
Title: RE: what is this number -2147483646 Hello,   This may be more of a JSP or Servlet question, but I am sure someone in this group would know the answer   I have an Web application /Myapp and I have a bunch of jsps in an admin directory. I am going to distribute this in a generic war fi

Re: Creating object for the application

2001-07-30 Thread Craig R. McClanahan
On Mon, 30 Jul 2001, Alexis Alarcón Barra wrote: > Hi, > anyone knows how to create an object from the startup of the server and > make it available for the application. I don't want to call a servlet to > get it from a JSP page. Is there another way? > In any servlet container that implements

Re: *** HELP *** mySQL connectivity problems

2001-07-30 Thread Craig R. McClanahan
On Mon, 30 Jul 2001, SIMONIN Alexandre wrote: > Hi, > > I'm running mySQL 2.0.4 and Tomcat 4.0 on Cobalt/Linux. > Are you running Tomcat 4 with a security manager (i.e. "$CATALINA_HOME/bin/catalina.sh start -security")? That seems likely, given the fact that you're gatting a security manager

Re: Preventing System.exit(0)

2001-07-30 Thread Nils O. Selåsdal
On Monday 30 July 2001 04:33 pm, you wrote: > At 06:24 AM 7/30/2001, you wrote: > >Is it possible to configure Tomcat to avoid shutdown > >in case the jsp page contains the code: > > > ><% System.exit(0); %> > > Java SERVER pages are server-side code. Why is having > a system object issue an exit

problem with mod_jk

2001-07-30 Thread Tsinwah Lee
Hi, my admin has config Apache to work with Tomcat, she said using Apache + Tomcat together, the jsp/servlets will load faster, but the static pages will "hesitate" for a fraction of a second and then the pages got load up. Also, the size of the log file for mod_jk has increased to 3MB by just

Upgrade to Tomcat DECREASES Performance?

2001-07-30 Thread Dwight Powell
OK, let's see how good you folks are: I work for a large national not-for profit membership organization. We've got a large database application that we serve to our members from a small group of servers out of our national office. About a week ago, we upgraded our servers, moving from Apache J

Re: Preventing System.exit(0)

2001-07-30 Thread Pier P. Fumagalli
Henrik Skafsgaard Larsen at [EMAIL PROTECTED] wrote: > Is it possible to configure Tomcat to avoid shutdown > in case the jsp page contains the code: > > <% System.exit(0); %> Yep... Run it in a sandboxed environment with a Security Manager... Pier

Creating object for the application

2001-07-30 Thread Alexis Alarcón Barra
Hi, anyone knows how to create an object from the startup of the server and make it available for the application. I don't want to call a servlet to get it from a JSP page. Is there another way? Alexis _ Do You Yahoo!? Get your free @ya

RE: Customize Url Rewriting + QUESTION

2001-07-30 Thread Loïc Lefèvre
Okay, let's speak ;) here is my mod_jk.conf: ## # TOMCAT mod_jk.so MODULE CONFIGURATION FILE # ## JkWorkersFile /usr/local/tomcat/jakarta-tomcat-3.2.3/conf/workers.properties JkLogFile /usr/local/tomcat/log/

Help: HttpFilterProc Problem...

2001-07-30 Thread Felix Guerrero
Hi, It seems that apache is redirecting the request to Tomcat. However, here is the output of the isapi.log file. Any pointers on what might be wrong with my configuration?. I have not made any changes to the default configuration of Tomcat. Thanks. Felix. [jk_isapi_plugin.c (408)]: HttpFi

Re: Sharing a local setup of Tomcat?

2001-07-30 Thread Jim Seach
If your organization is using WINS, you should be able to just use http://xxx99x999:8080/ from another computer on your LAN. If not, or if you want connectivity from outside your LAN (if allowed by your firewall), then run winipcfg to find out your ip address, then replace the xxx99x999 with your

Re: Sharing a local setup of Tomcat?

2001-07-30 Thread Richard Draucker
Tomcat pages are accessed via tcp/ip. So, for example, if your machine ip is 192.168.0.42 then others would open a browser and type: http://192.168.0.42/index.html to get the index page. If your network can translate the network names of local machines and your machine name is "joesbox" then:

RE: Customize Url Rewriting + QUESTION

2001-07-30 Thread Ashish Bajpai
HI! Loïc I am also using the 3.2.3 version, I think i should have a look at the 4.0 version also. I think the approach that you are taking to handle the rewriting is a good one, though i have got a question on that how do you get to know that you have encountered a url, let me rephrase it. Like y

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Nance, Michael
I don't have a /buy at all it is just a Virtual Name -Original Message- From: Hewko, Doug [mailto:[EMAIL PROTECTED]] Sent: Monday, July 30, 2001 8:49 AM To: '[EMAIL PROTECTED]' Subject: RE: Help!! Apache won't redirect to tomcat Hi! Just curious. Should the 'buy' directory be under web

RE: Customize Url Rewriting + QUESTION

2001-07-30 Thread Loïc Lefèvre
Yes you can, I'm developping a URLRewriter servlet because of the problemSSS I encounter using mod_rewrite alone :( I Load it on startup and manage myself the url rewriting by using response.sendRedirect or myMainApplicatioSerlvet.doGet(request,response) + some simple rules ;) Using servlet alias

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Andrew Inggs
Nance, Michael wrote: > One other thing I DO NOT have a /buy dir under webapps See below. [...] > requesting either http://localhost:8080/buy/MLBEventInfo or > http://localhost/buy/MLBEventInfo > gives me the same result I get a 404 /buy/MLBEventInfo not found > > This is from servlet.xml

Re: Preventing System.exit(0)

2001-07-30 Thread Tim O'Neil
At 08:54 AM 7/30/2001, you wrote: >Imagine if someone who is authorized to publish JSP's on your site >invadvertently included the following in their JSP: Well, I think I asked that question. As far as I'm concerned allowing users to run jsps on your server is black box code.

Re: Very OT for a lot of you put just asking.

2001-07-30 Thread Charles Williams
Not really what I was looking for but funny. I may start a list of one-liner linux jokes. hehe. That would be a kick. chuck - Original Message - From: "Tim O'Neil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 5:54 PM Subject: Re: Very OT for a lot of you put

RE: Customize Url Rewriting

2001-07-30 Thread Ashish Bajpai
Thanks I will try it. In the mean while is it essential for me to use apache ? can i do something by only using Tomcat. thanks ashish Loïc Lefèvre

Re: Preventing System.exit(0)

2001-07-30 Thread David Cassidy (Programmer)
Title: Re: Preventing System.exit(0) RTFM. Security managers... http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat-security.html Why use a SecurityManager? The Java SecurityManager is what allows a web browser to run an applet in its own sandbox to prevent untrusted code fr

Re: Very OT for a lot of you put just asking.

2001-07-30 Thread Tim O'Neil
At 04:36 AM 7/30/2001, you wrote: >OK, sorry if you feel this is WAY OT. > >I am wanting to compile a list of the best one-liner Linux commands out >there. So all you admins and users out there feel free to send me a copy of >your best one-liner commands with a brief explanation as to what they >

RE: Customize Url Rewriting

2001-07-30 Thread Loïc Lefèvre
The answer is YES, using mod_rewrite apache module. Add it to your or in mod_jk.conf if you don't use Virtual Host. example: RewriteEngine on RewriteLog /usr/local/tomcat/logs/rewrite.log RewriteLogLevel 9 RewriteCond %{REQUEST_URI} ^/(.*) [NC] RewriteRule ^/(.*) /index.jsp?$1 [PT] ;-) -

Help: Initializing Tomcat's Redirector

2001-07-30 Thread Felix Guerrero
Hi, I have unsuccessfully tried to install Tomcat/IIS. The Apache can make the connection to Tomcat, but Tomcat does not seem to be able to send the contents back to Apache. I have checked every single line the conf folder of Tomcat. The line below is looking for a dll that is nowhere to be fo

RE: Help!! Apache won't redirect to tomcat

2001-07-30 Thread Hewko, Doug
Hi! Just curious. Should the 'buy' directory be under webapps or root? Being new to Tomcat, I played around. When I had my 'buy' directory under 'webapps', I got a 404. But my page loaded when I placed my 'buy' under 'root'. -Original Message- From: Nance, Michael [mailto:[EMAIL PROTECT

  1   2   >