Re: uploading 1 GB files using FTP from my website

2001-05-26 Thread Steve Ruby
If you want to do it with an HTML form, then that isn't ftp, that is a multi-part mime encoded form post. I wouldn't do that with a 1 gig file if I were you. It isn't as robust as FTP and the mime-encoding will add size to thie file and time to the upload. But if you want to try all you need is

Re: java database

2001-05-10 Thread Steve Ruby
> Kevin Fonner wrote: > > Do any good 100% pure java databases exist? Open Source java > databases? sorry forgot the url for hypersonicSQL http://sourceforge.net/projects/hsql/

Re: java database

2001-05-10 Thread Steve Ruby
> Kevin Fonner wrote: > > Do any good 100% pure java databases exist? Open Source java > databases? never used it but I believe it is being packaged with the current turbine TDKS, says it is beta, don't know a thing about its "good"ness

Re: Why does Internet Explorer think it is offline?

2001-05-07 Thread Steve Ruby
"RODGERS,RICK (HP-Cupertino,ex3)" wrote: > > I am using tomcat with IE and am having problems with it. > Every time I start IE and try and access a Java Server Page or > servlet through "lolcalhost:8080/examples/jsp" the browser first complains > that the system is not connected to a network. I t

Re: What's up with all the different Tomcats?

2001-05-04 Thread Steve Ruby
Hunter Hillegas wrote: > > Okay... What's the story with the different versions... > > 3.2.1 is the current release and 3.2.2 is a beta of a maintenance... > > But what's the deal with 3.3 AND 4.0? > > I know 4.0 is based on Servlet 2.3, but what else? > > Hunter 3.2.2 is to be the next sta

Re: TOMCAT and ORACLE

2001-05-01 Thread Steve Ruby
Are you using the JDBCRealm stuff or just using Oracle via JDBC from your servlets? If the later is true then you don't need to do anything special in web.xml or server.xml. Just make sure that your oracle jdbc driver is somewhere Tomcat will see it (in your /WEB-INF/lib or in the tomcat lib d

Re: Turn off JSP file date checking

2001-04-30 Thread Steve Ruby
Christian Hargraves wrote: > > Hi all, > > I asked this earlier, but no one replied. Is there a way to turn off > the jsp file modified date check everytime the file is served? I know that > if you can > turn this off, it speeds things up a lot. Please Help.. I'm desperate. > > Christia

Re: Tomcat install on Cobalt.

2001-04-27 Thread Steve Ruby
"Charles Williams (CEO)" wrote: > > 1. Download the zip/tar.gz/whatever file from > > http://jakarta.apache.org/downloads/binindex.html. > > 2. Unzip the file into some directory (say foo). This should create a new > > subdirectory named "tomcat". > > 3. Change directory to "tomcat" and set a new

Re: WHY http://servername:8080/myapp/index.htm?

2001-04-27 Thread Steve Ruby
Pedro Henrique Ponchio wrote: > > Hello, > > I need to know how to set up my Tomcat or Apache to understand that > "myapp" is a jsp application without the need to put the port number in > the adress bar, because when I try to access it without the "8080", it > fails ... (looks like the apache i

Re: Tomcat/IIS 5 /examples solution?

2001-04-26 Thread Steve Ruby
If it works as you described then you have it all working (yes the response to port 8080 is tomcat standalone working, you can turn off responses to port 8080 in server.xml if you wish). The reason you have to start Tomcat is beause the isapi redirector only redirects requests to tomcat over the

Re: are flat files served by Tomcat when forwarded?

2001-04-26 Thread Steve Ruby
> Daniel Yawitz wrote: > > When Tomcat is integrated w/Apache, what happens when a JSP/servlet forwards a >request to a static file (HTML page, > image,...)? Who serves it, Tomcat or Apache? > > ex: > String newloc = "images/biscuit.jpg"; > getServletContext().getRequestDispatcher(newloc).forw

Re: ADMIN PASSWORD

2001-04-25 Thread Steve Ruby
Ramos Miguel-FMR068c wrote: > > I tested those 3 user/pass and no one worked :( > > -Original Message----- > From: Steve Ruby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 25, 2001 9:26 AM > To: [EMAIL PROTECTED] > Subject: Re: ADMIN PASSWORD > > Admin

Re: ADMIN PASSWORD

2001-04-25 Thread Steve Ruby
Admin Passwsord is in $TOMCAT_HOME/conf/tomcat-users.xml

Re: an option for servletrunner

2001-04-24 Thread Steve Ruby
chang su wrote: > > Hi, > > I'm using JSDK2.0. I want to find an option for > servletrunner when running a servlet using > servletrunner. I'm trying to ignore JIT warning > message during running time. I need use Sun JAXP1,1 > which is a XML parser and transformer in my coding. > Some warning me

Re: Running JServ + Tomcat on the same machine.

2001-04-19 Thread Steve Ruby
Just make sure that your workers.properties defined workers for tomcat on a different port than for Jserv... ie something other than 8007 for Tomcat there should be no problems running both on the same machine even with the same instance of Apache on the front. Rui Oliveira wrote: > > Hello, >

Re: Editing tomcat.reg

2001-04-19 Thread Steve Ruby
there are registry entries for integrating tomcat with IIS, but they are well documented here: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.html Benoît Jacquemont wrote: > > Since Tomcat is a Java application, it doesn't use the proprietary > configuration registe

Re: Tomcat3.2+Redhat 7.0+glibc-2.x.x+jdk1.x == stable??

2001-04-09 Thread Steve Ruby
I've had no problem with IBM JDK 1.3.0 on redhat 6.1 with glibc 2.1.3 kernel 2.2.12 I posted some tests a while back with multi threaded (multi machine) load testing, I had some problems with tomcat 4 at the time but I 3.2 was fine. I'm currently setting up a redhat 7 machine glibc 2.2 IBM 1.3.0

Re: NT Service Bug Still in JDK 1.3.1

2001-03-27 Thread Steve Ruby
> Mark Quinsland wrote: > > Anyone running Tomcat as a service in NT knows that whenever a user logs out of NT, >the tomcat service jk_nt_service.exe stops > running as well. This worked under JDK 1.2 but not under JDK 1.3. After months of >denial, Sun announced that it would be > fixed in JD

Re: Problem consulting database

2001-03-23 Thread Steve Ruby
João Folha wrote: > > Hi there. > > In my very simple web application where i consult a ms access database db.mdb. >Somehow a new file is created db.ldb. > Why this happen can i control that? > > jfolha That is just microsofts external lock file so other programs accessing the file do so in

Re: Why iam building the tomcat source...RE: Guys i want 2 mins of your time...

2001-03-22 Thread Steve Ruby
"Patil, Anand" wrote: > > The apache version i have is apache_1.3.19 > The tomcat version 3.2.1-src > The ant 1.3 > The jsse1.0.2 > The jaxp-1.1 > > The JDK is J2SDK-1_3_1-beta-linux > > Linux 7.0 redhat, kernel 2.4.2 > > As some one sugested i use bin. version of tomcat instead > of building

Re: Change path of the jakarta-tomcat on Windows NT

2001-03-20 Thread Steve Ruby
Georges Boutros wrote: > > Hello Everyone, > i have another question about the same subject > > i could access my jsp pages in http://localhost/examples/jsp/myFolder (No > Problem) > > i could access my servlet in http://localhost/examples/servlet (No Problem) > > but if i want to access a

Re: Help on how to set the idle session timeout

2001-03-20 Thread Steve Ruby
Connie Chan wrote: > > Hi, > > I know that we can set the session timeout in web.xml. But it specifies > how long the user can have valid session no matter the user keeps > sending the requests. Correct? If so, how about the idle session > timeout? By meaning that, if the user does not send

Re: TOMCAT + APACHE + WINNT = PAIN

2001-03-20 Thread Steve Ruby
Miles Poindexter wrote: > > Tomcat + Apache + RedHat Linux = 5 minute painless install and configure :^) > (Mac OS X was 5 minutes too . . .) > hee hee . . . . > > - miles ^ I'm not sure how that helps answer his question? If you don't have something constructive to say why don

Re: Excel to XML

2001-03-16 Thread Steve Ruby
You can make an ODBC connection to excel, but you would have to change the DSN for every file and you would have to have some idea what thefile looked like (columns) before hand. If I were you I would write another excel document and use some VBA to open up a requested Excel and save it as HTM

Re: Adding new servlets?

2001-03-13 Thread Steve Ruby
text. If I add a > new context do I have to start tomcat again for it to start serving it? > > --Ganesh > > -Original Message- > From: Steve Ruby [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 13, 2001 2:04 PM > To: [EMAIL PROTECTED] > Subject: Re: Adding ne

Re: Adding new servlets?

2001-03-13 Thread Steve Ruby
Sankaranarayanan Ganapathy wrote: > > Do we have to reload tomcat, everytime we add a new webapp? > > Is it possible to add a webapp to a running tomcat? > > Thanx > Ganesh It will reload itself it you make sure server.xml has reloadable="true" in the servlet context definition, this should b

Re: Simple SQL Statement.....

2001-03-12 Thread Steve Ruby
Mick Sullivan wrote: > > Hi, > Does anyone know why this statement WILL ADD a value to a record (Price)in a > database named parkingPrice: > Statement statement = connection.createStatement(); > String query = "INSERT INTO parkingPrice(" + > " Price " + > ") VALUES ('" +

Re: help with error message in 4.0

2001-03-07 Thread Steve Ruby
According to the DTD login-config goes after security-constraint John de la Garza wrote: > > I added my web app in the webapps dir and now I get this message... > - > > Starting service Tomcat-Standalone > Apache Tomcat/4.0-b1 > PARSE err

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Steve Ruby
"Brett W . McCoy" wrote: > > On 2001.03.05 12:36 Manish Shahdadpuri wrote: > > > I am a new Tomcat user. As far as I understand, tomcat is also a web > > server in itself. Is it possible to use tomcat alone as a web server > > without using any other WebServer e.g Apache etc. > > Only if you a

Re: Tomcat usability as a WebServer?

2001-03-05 Thread Steve Ruby
Manish Shahdadpuri wrote: > > I am a new Tomcat user. As far as I understand, tomcat is also a web > server in itself. Is it possible to use tomcat alone as a web server > without using any other WebServer e.g Apache etc. Yes... It just isn't recommended for high volume sites, as well as the fa

Re: trouble in starting tomcat

2001-03-01 Thread Steve Ruby
It depends on what database you are using... I'll assumie it is a) access (you should get a different DB) b) sql server (merrant and others make JDBC drivers, search te web there are a few options for sql server). Adilakshmi Lingam wrote: > > I've upgraded my jdk to 1.3.0_02. tomcat crashing p

Re: download file that is stored in a database

2001-02-25 Thread Steve Ruby
Mon-Quen Huang wrote: > > I have a file stored in the backend Oracle database > and has JSP communicating with the database in JDBC. > I would like to allow user to click on a hyperlink and > then download the file which is stored in the > database. > Is this possible? If so, what are the step

Re: Macintosh and Java

2001-02-25 Thread Steve Ruby
You should be able to use IE or netscape, this is server side java so it doesn't matter if your browser supports it or not. Did you try the servlet examples? if MRJ is just a runtime then there is no compiler in it and your computer won't compile the JSP pages, try the servlets. they are alrea

Re: Hi, Using Tomcat for the first time:

2001-02-22 Thread Steve Ruby
I believe that the threads setting refers only to the number of threads serving requests.. There are various other threads already running from the Tomcat core that you don't have control over.. Andrew Stewart wrote: > > Thanks for the reply: > > However I tried adding it into the server.xml

Re: mod_vhost_alias.c

2001-02-15 Thread Steve Ruby
Mel Martinez wrote: > > I realize this is an apache question, but... > > could someone give me a link to a download site for > mod_vhost_alias.c ? I can compile src if necessary > for solaris and linux, but I need a precompiled binary > for NT. > > Everytime I try to search the internet for >

Re: Automatic startup works, shutdown does not

2001-02-15 Thread Steve Ruby
Neil Aggarwal wrote: > > Hello: > > I am running Tomcat 3.2.1 on RedHat Linux 7.0. > I am trying to get tomcat to automatically start and stop when I reboot > my server. > > My server is not local, so I am looking thru /var/log/messages. > > I seeing messages for when tomcat starts up: > > Fe

Re: IIS& Tomcat. Why?

2001-02-14 Thread Steve Ruby
Any then for a REAL answer... If you had a box that had existing IIS applications running and you wanted to add servlets (and jsp if you really want a new nightmare). You could tie the two together.. Or if you have a high-access site and you need the performance for static pages and HTML you ma

Re: IE Caching

2001-02-09 Thread Steve Ruby
Bernard Durfee wrote: > > All, > I've tried every solution that I can think of to prevent IE from > caching content. I've placed every 'no-cache' meta tag and response > element known to man, but IE 5.5 still caches content. > Does Tomcat 3.2.1 effect the response header when sending the respon

Re: getting started with Tomcat?

2001-02-09 Thread Steve Ruby
> "Alexandr L. Pazin" wrote: > > Hello!!! > > Could anybody help me, Please! > > I have Windows 98 on my PC. > I have downloaded TOMCAT Version 3.1.1. > I have put all tomcat files ( bin, conf, doc, lib, src, webapps) to > the C:\foo\tomcat directory. > I have installed JDK 1.2 into C:\JAVA. >

Session Timeout Config in Catalina

2001-02-07 Thread Steve Ruby
Under Tomcat4 my web.xml which contains (for an individual webapp) 480 at the end throws: org.xml.sax.SAXParseException: Element "web-app" does not allow "session-config" here. Where does it go?? The exact same web.xml file works under 3.2.1

Re: Speeding up database accesses

2001-02-05 Thread Steve Ruby
For one reason you are going to have a connection dedicated to that session even if it isn't using it, so you will have one connection per session when you really only need one connection per use which is likely to be MUCH smaller, especially considering the session doesn't die until session-tim

Re: performance

2001-02-02 Thread Steve Ruby
Geoff Lane wrote: > > I think it's only for Linux (and AIX) - good reason to switch. :) > More info is available at: http://www.alphaworks.ibm.com/tech > > Todd Carmichael wrote: > > > > Running Windows 2000 Advanced Server with Sun JDK 1.3 and hotspot. > > > > Anyone know where can I find the

Re: performance

2001-02-02 Thread Steve Ruby
head when the server is idle. While you're > running your test, keep an eye on your network bandwidth usage and cpu > utilization. Its possible that you might be saturating the network (are the > responses very large?) or that you are only using one of your 4 processors > (

Re: performance

2001-02-02 Thread Steve Ruby
Steve Ruby wrote: > > Stefan Langer wrote: > > > > I'm following this performance issue with great interest and I was wondering: > > > > was the testing for the performance of tomcat based on a single instance of tomcat >running? > > Did you use loa

Re: How to unpack .WAR file?

2001-02-02 Thread Steve Ruby
[EMAIL PROTECTED] wrote: > > I download the sample servlets program for Tomcat from java tutorial website. > But it is a > tut-bookstore-tomcat.war, a .war file. > > How can I unpack this war file and take a look of source code? > > Thanks, > Peter just use jar, jar xf filename.war ---

Re: performance

2001-02-02 Thread Steve Ruby
Stefan Langer wrote: > > I'm following this performance issue with great interest and I was wondering: > > was the testing for the performance of tomcat based on a single instance of tomcat >running? > Did you use loadbalancing? > > In short I would greatly appreciate more information of the o

Re: performance

2001-02-01 Thread Steve Ruby
That math didn't really work with JMeter anyway... even if you did have 20 threads with 1ms delay, you don't get 20,000 request/sec. Jmeter starts up 20 threads which each make a GET request to the server but each thread only makes another request after it receives an answer then it waits 1ms or

Re: Where is mod_jk.so for linux?

2001-01-30 Thread Steve Ruby
Ritwick Dhar wrote: > > The binary of mod_jk seems to have been removed from the site. I had no > problems compiling it using apxs, but that may have been because I compiled > Apache from scratch. > > Send me mail directly if you want me to send you my copy. > > Rit > > -Original Message--

Re: Help On running Tomcat

2001-01-30 Thread Steve Ruby
sushil wrote: > > Dear List, > > I am trying to run tomcat stand alone on an NT platform. I am trying to run > the server on a different ip from that of the host i.e we need to be able to > run tomcat not from the localhost address but from an allocated ip address. > > What cahnges do i need to

Re: Start IIS

2001-01-26 Thread Steve Ruby
> Angelo Brunoro wrote: > > Is possible to start-restart IIS from a remote machine? > > Thanks > Angelo If the remote machine is NT server then under the administrative tools there is "Server Manager" which can view/start/stop services on another machine. If the remote machine is NT workstati

Re: Actually RE: Tomcat processes... (to Christoph Rooms)

2001-01-24 Thread Steve Ruby
Christoph Rooms wrote: > > Hi, > > So I putted -Xmx24m in after the java command in tomcat.sh > > What I see he now uses 50M. Anybody knows why ? > > greetz, Christoph You can only configure the heap size for java, you can't limit the total memory requirements of the JVM... Limiting the hea

Re: A good free IDE for developping for Tomcat

2001-01-24 Thread Steve Ruby
> Hi, > > I'm running Tomcat on linux. From the moment I start up Tomcat, I see 51 > processes and these processes takes up 142 MB of memory. Is this normal ? > > greetz, Christoph > Those are native threads and not processes, as such you cannot add the memory required by each togehter, the

Re: database question

2001-01-23 Thread Steve Ruby
> -Original Message- > From: Richard Diaz [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 23, 2001 3:22 PM > To: [EMAIL PROTECTED] > Subject: database question > > I have an access database created with relationships and some data. > > Are there tools to read an access database and

Re: tomcat lisence

2001-01-23 Thread Steve Ruby
yes.. read the license... you can get it and do pretty much anything you want with it, the main concerns of the license are only apply if you plan to re-distribute it. Of course I'm not giving you legal advice.. but that is the interpretation I'm familiar with. "C. Jason Benedict" wrote: >

Re: How can i call my servlet ?

2001-01-22 Thread Steve Ruby
> "M. Amin" wrote: > > Hi all, > i have a small question > I created a servlet class in a pakage com.servlet and i stored it in > the ROOT directory inside WEB-INF directory as > com/servlet/myservlet.class with web.xml file and it works fine when i > call it with URL http:8080//servlet/com.

Re: How to detect Tomcat running on linux?/.

2001-01-11 Thread Steve Ruby
ps auxw | grep java that result will probably have 'tomcat.home' in it, so if you use the 'w' switch you can probably do ps auxw | grep tomcat blueless wrote: > > I would like to know how to get tomcat process running... > > ' ps -ef | grep tomcat ' does not work fine... > > How can I do it

Re: JSP vs Servlets...

2000-12-20 Thread Steve Ruby
Rui Oliveira wrote: > > Hello, > > can someone tell me which one is best: JSP or Servlets? > > Is there a reason (beside implementatio reasons) to choose one instead > of the other? > > Thx in advance > Rui There are many reasons why you would want ot use Servlets for business logic and some

Re: Windows Tomcat DOS Console Error View

2000-12-20 Thread Steve Ruby
z z wrote: > > I get errors and messages on TOMCAT DOS CONSOLE. > It's only 25 line max console and can't scroll up. > I know I can extend to 50 lines in property but it doesn't work on spot. > How can I extend it to 50 lines? Or is there anyway better to see entire > scrolled up lines? Please in

Re: database connection problem when run nt service

2000-12-19 Thread Steve Ruby
Make sure the DSN you are trying to get to is a System DSN and not a User DSN, tomcat will run as a different user when run as a service unless you specify otherwise. User DSN can only be seen by the user it was created by. H Deng wrote: > > Thanks for the tip. It does not seem to be related

Re: multipart requests and file uploads problems on the Apache c onnection

2000-12-08 Thread Steve Ruby
I agree, works fine for me, make sure you are trying to read the non-file parameters with the multipart reader and not just with the method from Tomcat.. Once the user sends the mime post the whole thing is mime not just the file... > Chris Halverson wrote: > > NT4.0, Solaris 2.6 and Solaris 2

Re: File upload...

2000-11-27 Thread Steve Ruby
The response will be multipart mime format you will most likely want some utils to parts the multipart format, this one works well for me: http://www.servlets.com/resources/com.oreilly.servlet/index.html you'll then do something like this: // parse the content and put the file in default direc

Re: Why tomcat NT service get killed when the user log off

2000-11-19 Thread Steve Ruby
This problem ONLY happens on 1.3 Sherman Mohler wrote: > > You say this is a problem with Java 1.3. Will Java 1.2 work correctly ? I am > about to install and start testing TomCat, and was about to use 1.3 ... > > Regards, > > -- Sherman Mohler > > Nacho wrote: > > > Brett can you contribute

Re: I can shutdown Tomcat

2000-11-07 Thread Steve Ruby
Mauricio Nuñez wrote: > > Thanks for your attention: > > I can't shutdown one of my sites, running Tomcat. I can shutdown others 3 > sites, but this not. > What alternative i have? > Any comment,tip, tool is wellcome. > > thanks in advance > > Mauricio Nuñez the shutdown uses the port indicat