Changing Port 8080 to 80

2001-03-16 Thread Boon Yeo
Anyone knows what the consequences are if I were to change from port 8080 to the default port 80? -B

security

2001-03-16 Thread Heijns, P.J.B.
Hi, Can anyone tell me how I set the security rights for tomcat? I want that no users can download my JSP pages. Now all users can see en download my jsp pages. If they type the url for example http://127.0.0.1/myweb/ they see al the JSP pages and they can download them. Can you set the security

RE: Changing Port 8080 to 80

2001-03-16 Thread Heijns, P.J.B.
Then you can only access your pages on port 80, that's the default browser port. If you set the port to 80 you can access your page without typing a port number. If you use port 8080 u must type your url:8080, because otherwise the browser doesn't know that on port 8080 a tomcat server is

ODP: security

2001-03-16 Thread Herchel Wojciech
please refer to a http://localhost:8080/examples/jsp/security and examples context's web.xml file. vVolf -Oryginalna wiadomooe- Od: Heijns, P.J.B. [mailto:[EMAIL PROTECTED]] Wysano: 16 marca 2001 09:43 Do: [EMAIL PROTECTED] Temat: security Hi, Can anyone tell me how I set

expire

2001-03-16 Thread Heijns, P.J.B.
Hi, Does anyone know how I can expire a JSP page? I want that if you leave the JSP page it immediately expires, so that the users can't use the back button in there browser to go to the previous page. Thank u, Pieter Heijms

AW: Decoding form parameters

2001-03-16 Thread Alan Stenhouse
just use the opposite: URLDecoder.decode(param)... HTH Alan Hi, from a form I have to pass parameters containing special HTML characters thus I encode the values like below: % out.println("VALUE=\"" + URLEncoder.encode(value) + "\""); % That works fine but how

RE: expire

2001-03-16 Thread Alistair Hopkins
response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache"); response.setHeader("Expires","Tue, 01 Jan 1980 1:00:00 GMT"); covers various browsers and os's and the like, but it still seems to get cached, particularly in

Re: AW: Decoding form parameters

2001-03-16 Thread Zsolt Koppany
Hi Alan, thank you for the idea, I just forgot to mention that I cannot use jdk-1.2 stuff and URLDecoder.decode() is part of jdk-1.2. Zsolt Alan Stenhouse wrote: just use the opposite: URLDecoder.decode(param)... HTH Alan Hi, from a form I have to pass parameters containing

Re:3.2.1 commercial applications

2001-03-16 Thread Tomasz.Sucharzewski
We are using Tomcat + Apache as web enviroment in ING Bank in Poland. Tomasz Sucharzewski Reply Separator Subject:3.2.1 commercial applications Author: [EMAIL PROTECTED] Date: 01-03-15 15:09 Hi. Is there a list somewhere of Companies that use

Tomcat 3.3 - PID file

2001-03-16 Thread Naik Uresh
In Tomcat 3.3 (milestone 1 - unix) where exactly do you specify the location that tomcat should place its PID file? Thanks, Uresh Naik Capital Markets Company Tel +44 207 367 1161 Mobile 07970 618 690 Fax +44 207 367 1024 e-mail mailto:[EMAIL PROTECTED] web

RE: expire

2001-03-16 Thread Heijns, P.J.B.
I tried, but it doesn't work. If I push the back button in my browser, the page isn't expired or correctly resfreshed. So I see the same previous page where I was before. I used IE, in netscape it works correctly. Grtz Pieter -Original Message- From: Alistair Hopkins [mailto:[EMAIL

RE: expire

2001-03-16 Thread Alistair Hopkins
i warned you about ie... it will prevent it from being reloaded from saved history, however. i never solved it and i tried very hard. keep me informed :-) -Original Message- From: Heijns, P.J.B. [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 10:00 AM To: '[EMAIL PROTECTED]'

AW: expire

2001-03-16 Thread Thomas Bezdicek
Hi, as I found somewhere in the No-ledgebase of microsoft i found a document describing exactly that kind of problem. The problem is that IE is using a 64 kb internal cache which is not affected by any pragma's, expires or cache-controls. the solution microsoft offered (which is no solution in

RE: Changing Port 8080 to 80

2001-03-16 Thread Tal Dayan
If you are talking about Tomcat Standalone mode, you will also have to run is as 'root' (on Unix/Linux) which may be a security issue. If you run it with Apache, Apache is smart enough to switch from 'root' to whatever you specify. Tal -Original Message- From: Boon Yeo [mailto:[EMAIL

Re: Cache problem with IE

2001-03-16 Thread josé placide
OUF !!! The config win2k + Tomcat3.2 + Jbuilder 4 in tomcat 3.2 folder's there is some examples how show how to do ! it's ugly,but it work! Merci a tous,merci thomas From SessionExample.java : out.println("html"); out.println("body bgcolor=\"white\""); out.println("head"); String title =

RE: expire

2001-03-16 Thread Randy Layman
The only way that I have found to do this is to use some JavaScript to force the page to reload itself when the back button is pressed (use a combination of onLoad and onUnload event handlers - be careful, if you mess it up you will create an infinite reload loop). Randy

CLASPATH Order

2001-03-16 Thread Denny Chambers
Does anyone know if there is an option in Tomcat that would allow me to specify if I want my projects classpath (/WEB-INF/lib;/WEB-INF/classes) loaded before Tomcat's classpath? Thanks, -- Denny Chambers Linux Java Engineer Connex, Inc Voice: 770-455-7653 Fax: 770-455-7325

JDBC Connections

2001-03-16 Thread Raffaele CarlĂ 
Can anyone help me? I have: - SCO UnixWare 7.1.1 - Informix Online 9.20 and JDBC 2.0 - JDK 1.2.2 - Tomcat 3.2.1 When a make a JDBC connection to the DBMS with a JavaBean (scope=session) and i close the browser, the connection remain up and it will go down only after several hours. How can i do to

RE: CLASPATH Order

2001-03-16 Thread Aksel Schmidt
I've read that this is done in tomcat 4.0, but not possible in 3.2? -Original Message- From: Denny Chambers [mailto:[EMAIL PROTECTED]] Sent: 16. marts 2001 14:22 To: [EMAIL PROTECTED] Subject: CLASPATH Order Does anyone know if there is an option in Tomcat that would allow me to

application deployement with Apache/Tomcat

2001-03-16 Thread Thomas Klein
Hi all, I need help ! I have installed an Apache /Tomcat web server and need to deploy an existing application. But I failed to make this application work... Here is my system configuration : - WindowsNT4 - Apache 3.1.14 - Tomcat 3.2.1 - mod_jk and ajp13 Everything (I mean all Servlet/JSP

apj12 problems

2001-03-16 Thread Aleksander Pivk
Hi, I set up an Apache Web server v1.3.14 and ApacheJServ v1.1.2. on WIN2000 Professional platform. Web server works OK, but I have encountered some problems with Apache JServ. JServ starts automatically without any problems, but if I want to run a servlet, a get an Internal Server Error

RE: application deployement with Apache/Tomcat

2001-03-16 Thread Aksel Schmidt
did you add a context to tomcats server.xml? -Original Message- From: Thomas Klein [mailto:[EMAIL PROTECTED]] Sent: 16. marts 2001 14:28 To: Tomcat User List Subject: application deployement with Apache/Tomcat Hi all, I need help ! I have installed an Apache /Tomcat web server and

RE: JDBC Connections

2001-03-16 Thread Christopher Kirk
Your problem is that your session object (holding the connection) is not being notified when the session is dropped. nb, when a user closes a browser is not when the session will be dropped. You'll have to add i) a time out to the session (say 10 minutes?) and ii) give the user a logout button

isapi_redirect.dll problem

2001-03-16 Thread H.F.N. den Boer
Hi, In attempts to integrate Tomcat 3.2.1 with IIS we have a obstinate problem with loading this dll. It continues refusing to load... (red arrow instead of green one) The system is; Windows2000 5.00.2195 Internet Information Server 5.0 Error in the Win2000, event viewer, system log: The

escape() Problem...

2001-03-16 Thread Martin Ko
Hi, all. I wrote a jsp page which send request by QUERYSTRING with a parameter containing international characters, and which get the parameter. I'm working with apache as a web server and tomcat as a jsp engine. And, with Netscape browser, I encode the string by escape function (javascript)

JDBC driver for oracle

2001-03-16 Thread Jack Li
Hi, Where can I have a free JDBC driver for oracle? Thanks, Jack

Re: Directory Browsing in tomcat

2001-03-16 Thread Harish Gundecha
hi , Can u please tell me how did you manage to stop directory listing in Apache !!! Thanks in advance Kind regards Harish Gundecha Systems Administrator Email: [EMAIL PROTECTED] Versaware Technologies (India) Pvt. Ltd. Phone : +91-20-6136028 Extn: 331 - Original Message - From:

Re: JDBC driver for oracle

2001-03-16 Thread Gavin_Panella
technet.oracle.com - you'll need to register, but it's free. "Jack Li" [EMAIL PROTECTED] on 16/03/2001 14:10:52 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: Gavin Panella/VMC) Subject: JDBC driver for oracle Hi, Where can I have a free JDBC driver for

RE: JDBC driver for oracle

2001-03-16 Thread Bryant, William
You can get the JDBC drivers from Oracle.com. Select download, then choose 'JDBC drivers' from teh drop down list. You will need a free oracle technet login. ... Mike -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 9:11 AM To: [EMAIL

Re: JDBC driver for oracle

2001-03-16 Thread Peter Hrastnik
http://www.oracle.com You have to subscribe to Oracle Technology Network (that's free) before you can download it. Bye, Peter. Jack Li wrote: Hi, Where can I have a free JDBC driver for oracle? Thanks, Jack -- Mag. Peter Hrastnik tele.ring Telekom Service GmbH A-1030 Wien,

Load balancing using external kit, max lbfactor ??

2001-03-16 Thread Steve Quail
We have two hosts, each has an Apache and a Tomcat for resilience, access to the hosts is not direct but via a load-balancer box. This external load-balancer is able to stick users to particular hosts. I want to configure mod_jk on the two hosts so they know

Re: Cache problem with IE -- IE setup

2001-03-16 Thread Tagunov Anthony
A wild guess: there may be some problem with the caching setup of the IE you're using for testing. There are several options available, maybe yours is _ALWAYS_ to cache. On Fri, 16 Mar 2001 09:00:55 +0100, Zsolt Koppany wrote: Hi Randy, thank you for your answer. I tried everything proposed in

Re: Directory Browsing in tomcat

2001-03-16 Thread Andreas Leitel
You can simply add the Options -Indexes parameter in the VirtualHost node. To make you we site not only present some default "403 Forbidde" message, you can also define the ErrorDocument to provide - which could again point to your Root document. VirtualHost 192.168.100.100 ServerName

RE: JDBC driver for oracle

2001-03-16 Thread Jack Li
Thanks to Gavin Panella, William Brynat and Peter Hrastnik for the quick reply. Jack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 9:14 AM To: [EMAIL PROTECTED] Subject: Re: JDBC driver for oracle technet.oracle.com - you'll need

RE: escape() Problem...

2001-03-16 Thread Wouter Boers
Hi, Don't rely in JavaScript. Use java.net.URLDecoder.encode(), and java.net.URLEncoder.decode() before you push the parameters to the browser. Wouter -Original Message- From: Martin Ko [mailto:[EMAIL PROTECTED]] Sent: 16 March 2001 14:52 To: [EMAIL PROTECTED] Subject: escape()

IE caching again (was: expire_

2001-03-16 Thread Tagunov Anthony
Well, there's already been an extensive discussion on this in the list just the last days all day long. Arrived to nothing. (only you may try to issue response.setHeader("Cache-Control","no-cache"); response.setHeader("Pragma","no-cache");

Re: Disable Directory Browsing in tomcat

2001-03-16 Thread Tagunov Anthony
On Fri, 16 Mar 2001 19:44:33 +0530, Harish Gundecha wrote: hi , Can u please tell me how did you manage to stop directory listing in Apache !!! in your server.xml file change the appropriate StaticInterceptor debug="0" listings="true" / to StaticInterceptor debug="0"

RE: Linux-Tomcat-ThreadPool NullpointerException

2001-03-16 Thread Lucero, Frank J
Bill, I'm doing about the same thing. I'm running the following: apache 1.3.19 Tomcat 3.2.1 IBMJava2-SDK-1.3-5.0.i386.rpm classes12.zip (from Oracle) I am using LoadRunner with a 100 simulated users accessing 9 Oracle JSPs. I'm running this 100 times. It fails about 8 out of 10 times. What i

Tomcat question about Cocoon

2001-03-16 Thread Martin Mauri
Hi users: How can I configure Cocoon to work with Tomcat-Apache configuration? I mean, in which .conf file do I have to place the Cocoon reference? thanks in advance. Lic. Martin O. MauriProfesion + Auge A.F.J.PParana 666 - Cap. Federal[EMAIL PROTECTED]www.profesi.com.ar

RE: jk_ajp13_worker.c error connecting to the tomcat process

2001-03-16 Thread Lucero, Frank J
I tried running tomcat directly, but that also failed in about the same spot. I'm running the following: apache 1.3.19 Tomcat 3.2.1 IBMJava2-SDK-1.3-5.0.i386.rpm classes12.zip (from Oracle) Oracle 8.1.7 for Linux Linux Redhat 7.0 2.4 kernel at this point, not sure the load balancing will

Re: 404 jsp file not found

2001-03-16 Thread Shun-Luoi Fong
I posted this yesterday but got no replies. So here it is again. If anyone can help me I would really appreciate it. Thanks, Luoi Shun-Luoi Daniel Fong wrote: I'm new to tomcat and have been struggling with this problem for a while. If anyone can help me I would really appreciate it. I

RE: Please help!!: Inconsistent Response already committed excepti on

2001-03-16 Thread Tim Hengst
Jeff, Thanks for responding. You write: " Just curious.. why would setting the content length affect the buffer size? Aren't you thinking of response.setBufferSize(int $1)? I changed my code to utilize response.setBufferSize(int). Nothing changed - still the code works in two directories but

RE: jk_ajp13_worker.c error connecting to the tomcat process

2001-03-16 Thread GOMEZ Henri
I tried running tomcat directly, but that also failed in about the same spot. I'm running the following: apache 1.3.19 Tomcat 3.2.1 IBMJava2-SDK-1.3-5.0.i386.rpm classes12.zip (from Oracle) Oracle 8.1.7 for Linux Linux Redhat 7.0 2.4 kernel If the load is just too important for one Tomcat, use

Re: CLASPATH Order

2001-03-16 Thread Arnaud Vandyck
Denny Chambers wrote: Does anyone know if there is an option in Tomcat that would allow me to specify if I want my projects classpath (/WEB-INF/lib;/WEB-INF/classes) loaded before Tomcat's classpath? Change the $TOMCAT_HOME/bin/tomcat.sh script... or I did not understand the question... --

RE: 404 jsp file not found

2001-03-16 Thread CAJIGA,JAVIER (Non-HP-USA,ex1)
Shun-Luoi, I am new with Tomcat as well and am having the same issue. Hopefully somebody can help us. -Original Message- From: Shun-Luoi Fong [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 10:15 AM To: [EMAIL PROTECTED] Subject: Re: 404 jsp file not found I posted this

Re: Tomcat question about Cocoon

2001-03-16 Thread Arnaud Vandyck
Martin Mauri wrote: Hi users: How can I configure Cocoon to work with Tomcat-Apache configuration? I mean, in which .conf file do I have to place the Cocoon reference? make a webapps/cocoon directory, then a webapps/cocoon/WEB-INF and then modify your webapps/cocoon/WEB-INF/web.xml file.

Windows NT (or 2000 Server) and tomcat....error 304

2001-03-16 Thread Elizabeth Riley
I'm installing tomcat for the first time. When I try to pull up a page that resides on the server, I get a 304 error and the page displays as source (or like a WORD doc would display in a browser). Tomcat doesn't seem to be converting the JSP to a servlet and compiling the servlet... Please,

Excel to XML

2001-03-16 Thread Wang, Jianming
Hi, everybody. Does any one know how to convert MS Excel file to XML file using Java? Thanks Jianming Wang

tomcat as a stand alone server

2001-03-16 Thread Batsheva Raviv
Hello, I am new to tomcat. and I just wonder if tomcat can be a stand alone web server, of it should only run with apache or IIS, Thanks, Batsheva

Re: MYSQL CONNECTION CLASS

2001-03-16 Thread Christian Rauh
Fala Guilherme, Can someone who uses TOMCAT send me a sample class that conects to the database? I have made one that initializes de driver to connect and returns the connection, so it is very slow. What kind of solution do you have? O esquema este mesmo, faz a conexo com o banco de dados e

RE: Tomcat + Oracle EJB's

2001-03-16 Thread Neil Harvey
Yes. The only way I can get it to work is to copy all my jars (aurora_client.jar, vbjapp.jar vbjorb.jar + my ELB class jars) into tomcat/lib. Not the best solution! At 01:22 PM 3/15/01 -0600, you wrote: are you importing oracle.aurora.jndi.sess_iiop.ServiceCtx ??? -Original Message-

Re: CLASPATH Order

2001-03-16 Thread Denny Chambers
I don't want to hard code classpaths in my tomcat.sh. It would be nice if I could specify this option as part of my web.xml file or atlease part of the context for my app. When I WAR up the application and deploy it I don't want the client recieving it to have to hack up his/her configuration

Re: Problem with mod_jk (resolved)

2001-03-16 Thread Philippe Lecler
Philippe Lecler wrote: Hello, I installed tomcat 3.2.1 on solaris 2.5.1, it's OK. I compiled mod_jk with gcc-2.8.1, but when I trie to restart apache 1.3.19 I have the following message : Cannot load /soft/apache/libexec/mod_jk.so into server: ld.so.1: /soft/apache/bin/httpd:

RE: tomcat as a stand alone server

2001-03-16 Thread Naik Uresh
Can be stand alone. -Original Message- From: Batsheva Raviv [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 4:17 PM To: [EMAIL PROTECTED] Subject: tomcat as a stand alone server Hello, I am new to tomcat. and I just wonder if tomcat can be a stand alone web server, of it should

Redirecting IIS to TomCat server

2001-03-16 Thread christophe deniard
hi, we use IIS 5.0 and tomcat 3.0 on a windows 2000 pro. computer We try to use isapi_redirect.dll of Tomcat for tunelling IIS to the TomCat server through a specific port 80. we use the redirection with a get command and all works well. When we try to use the Post method. Unfortunately the

Re: CLASPATH Order

2001-03-16 Thread Arnaud Vandyck
Denny Chambers wrote: I don't want to hard code classpaths in my tomcat.sh. It would be nice if I could specify this option as part of my web.xml file or atlease part of the context for my app. When I WAR up the application and deploy it I don't want the client recieving it to have to hack

Re: tomcat as a stand alone server

2001-03-16 Thread Arnaud Vandyck
Batsheva Raviv wrote: Hello, I am new to tomcat. and I just wonder if tomcat can be a stand alone web server, of it should only run with apache or IIS, Yes it can, but you'll don't have support for php, perl, asp, ... (am I wrong?) and it's not so -robust- as Apache. You can modify the

RE: Excel to XML

2001-03-16 Thread Michael Wentzel
Jianming Wang If you're talking strictly data you could make an odbc connection and suck out the data that way. If you're talking about the whole ball of wax(formatting, precision, data, etc.) you are probably going to need to right some native(c++) code and use the M$ components to

[T4+Apache1.3+mod_webapp.so] Syntaxe error

2001-03-16 Thread Arnaud Vandyck
Hello everybody, I compiled Tomcat4.0-b1-src without problem on Debian2.2r2 with ibm-jdk1.3 (but the CVS release of today -2001/03/16- did not work I think because of a problem with crimson.jar, but maybe it's my fault! :( ). Well, Tomcat-Standalone works fine and now, I want Apache and Tomcat

Re: tomcat as a stand alone server

2001-03-16 Thread Brian Tol
Batsheva Raviv wrote: Hello, I am new to tomcat. and I just wonder if tomcat can be a stand alone web server, of it should only run with apache or IIS, It comes with a Web server built-in, so you can run it stand alone. Thanks, Brian

RE: CLASPATH Order

2001-03-16 Thread Ignacio J. Ortega
You can use Tomcat 3.3 too, it's right now is next M2 release, and it's pretty solid.., nd solves enterely your problems, because 3.3 has a separated classloader for Container classes..., and 4.0 Beta implements separated classloaders for internal classes and a workaround for the Webapps to use

RE: first day with tomcat

2001-03-16 Thread Dianne Cree
http://localhost or your computer name. -Original Message- From: Azhar Khan [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 5:20 PM To: [EMAIL PROTECTED] Subject: re: first day with tomcat I have installed tomcat on my machine. And i run the startup.bat file when I wan't to

Howto force servlet destroy() in Tomcat

2001-03-16 Thread Paolo Sommaruga
Hi, I need a way to force the destroy() of one servlet, inside the servlet itself, or to force the download of the servlet from the container. At the moment I do something like Thread current = Thread.currentThread(); current.destroy(); but I don't like this to much. There is

RE: How do we add a context to Tomcat? and what is one...

2001-03-16 Thread Dianne Cree
I'm using IIS with Tomcat. I see in the "How To" guide it shows how to add one to the ISAPI redirector, and then it cruely admits that he/she won't be talking about adding the context to Tomcat. Don't we HAVE to do that to add another context? Why would that be left out of the instructions?

RE: Excel to XML

2001-03-16 Thread tnist
IBM alphaWorks, http://www.alphaworks.ibm.com/, has a suite of JavaBeans called ExcelAccessor that will let you access and modify Excel worksheets. The URL for the download page is rather cryptic, so just do a search from the alphaWorks home page to find it if the below url does not work.

RE: Windows 2000 and Tomcat

2001-03-16 Thread Alejandro
Hi Try in the other computer which is on the same network typing: "http://IPNUMBER/examples/jsp/index.html", where IPNUMBER is the ip of the computer where tomcat is running. If it doesn't work type: "IPNUMBER:8080" in place of "IPNUMBER" - Original Message - From: Elizabeth Riley

Re: 404 jsp file not found

2001-03-16 Thread Bob Kerstetter
On 3/16/01 9:15 AM, "Shun-Luoi Fong" [EMAIL PROTECTED] wrote: I created a jsp file and put it in my public_html directory. Then when I typed the address into the browser, http://agent.eng.uiowa.edu/~sdfong/rubyfong/gamezone/testex.jsp I get a 404 error with the following message: Not

welcome-file problem

2001-03-16 Thread Martin Mauri
Hi users! I've configured my web.xml file with the tag: welcome-file-list welcome-fileworksheet.html/welcome-file/welcome-file-list and it worked nice while using Tomcat as a standalone server, but when I installed Tomcat to work with Apache, the welcome file isn't showed at all, I only

RE: Redirecting IIS to TomCat server

2001-03-16 Thread Dianne Cree
hi, we use IIS 5.0 and tomcat 3.0 on a windows 2000 pro. computer We try to use isapi_redirect.dll of Tomcat for tunelling IIS to the TomCat server through a specific port 80. we use the redirection with a get command and all works well. When we try to use the Post method. Unfortunately the

RE: Linux-Tomcat-ThreadPool NullpointerException

2001-03-16 Thread Bill Graham
Frank, Thanks for the reply. I'm going to start tryiong to debug Tomcat and see what this NullPointer is. Let me know if you get anywhere and I'll do the same. One thing I've read about and experienced was bad performance with IBM's vm on Linux w/ Tomcat. You might want to try Sun's vm and see

Re: System out and System err

2001-03-16 Thread Craig R. McClanahan
On Thu, 15 Mar 2001, Jeff Finley wrote: Where are the outputs for these going in Tomcat 4.01beta? I cannot find them in any logs! Please help, need it to debug a servlet. Check the file "catalina.out" in your logs directory. Jeff Finley No Technologies Inc. Just Doing it because, NY

JDBCRealm reconnect problems?

2001-03-16 Thread Vladimir Grishchenko
Has anyone experienced JDBCReconnect problems??? Looks like mysql db connection times out and JDBCRealm cannot reopen it for some reason. Actually it tries to reopen it and somehow is able to authenticate a user, but then dies completely... Any ideas what can be wrong? This is the

RE: tomcat as a stand alone server

2001-03-16 Thread Randy Layman
My client is currently in acceptance testing with a Tomcat installation. Their system is a Dell PowerEdge 6300 with 4 400MHz processors and lots of RAM and disk space. They are running WinNT 4.0 SP6a and SQL Server 7.0 and IIS 4.0. We configured IIS so that all of our resources are

Re: Linux-Tomcat-ThreadPool NullpointerException

2001-03-16 Thread William Au
I saw exactly the same thing when I ran a load test on tomcat 3.2.1 wth jdk 1.2.2_07. What's your Tomcat max_thread set to? I changed it to 10 and the problem went away. But I am not happy with the performance with only 10 threads. Bill Bill Graham wrote: I'm just getting started with

RE: Excel to XML

2001-03-16 Thread Wang, Jianming
Do you think I can odbc connection to Excel file? I am not using MS Access but using MS Excel. My project is to automatically convert all downloaded Excel files into XML using Java. I can not find any tool for this. -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]]

Re[2]: ClassCastException :(

2001-03-16 Thread Andrey Myatlyuk
Hello Bo, Thank you for very helpful sample. I decided to use jsp instead of servlets. Several reasons: 1. My ClassCastException situation is eliminated. Although I don't understand why. 2. I use JSP for presentation("view") layer - so any web-designer can change presentation of data. 3. I use

Re: 404 jsp file not found

2001-03-16 Thread Shun-Luoi Daniel Fong
Bob, it does have something in it, shown below: html head titleJSP Example/title /head body % String visitor = request.getParameter("name"); if (visitor == null) visitor = "World"; % Hello, %= visitor %! /body /html My understanding though is that even if the .jsp file had only HTML

Re: welcome-file problem

2001-03-16 Thread Milt Epstein
On Fri, 16 Mar 2001, Martin Mauri wrote: Hi users! I've configured my web.xml file with the tag: welcome-file-list welcome-fileworksheet.html/welcome-file /welcome-file-list and it worked nice while using Tomcat as a standalone server, but when I installed Tomcat to work with

jsp

2001-03-16 Thread JeremyRayYoo
Hi, I know how to execute and setup the configure files to execute servlets but can anyone tell the steps involved in executing a JSP scripts Is it the same as executing a servlet???

potential bug

2001-03-16 Thread JeremyRayYoo
Can anyone confirm a problem I have encountered withe Tomcat. Lets say that I write a servlet called Test.java and put it in the classes directory in the Web-Inf directory, and I decide to change it a little later. So I recompile the servlet and produce a new class file. And have in mind the

RE: JDBCRealm reconnect problems?

2001-03-16 Thread Ignacio J. Ortega
This is a know bug ( consult bugzilla ) , solved for 3.2.2, 3.3 4.0 some time ago.. but i dont think anybody has tested it, please try 3.2.2 Latest Beta I think it's solved there.. Saludos , Ignacio J. Ortega -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

web.xml

2001-03-16 Thread JeremyRayYoo
I want to know, whenever you want any servlets to run do you have to put an entry in the web.xml file? Can you run a servlet without putting an entry in there. Lets say I write a servlet called "Test1.java" that uses the 'RequestDispatcher's methods "forward()" or "include()". And lets say

[OT] RE: Linux-Tomcat-ThreadPool NullpointerException

2001-03-16 Thread Tagunov Anthony
On Fri, 16 Mar 2001 09:44:46 -0800 (PST), Bill Graham wrote: Frank, Thanks for the reply. I'm going to start tryiong to debug Tomcat and see what this NullPointer is. Let me know if you get anywhere and I'll do the same. One thing I've read about and experienced was bad performance with IBM's

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

RE: Excel to XML

2001-03-16 Thread Randy Layman
Whenever you install MS Office on a computer, an Excel ODBC Driver is also installed. You can then access the Excel file as a Database. Your table name is the name of the Sheet (Sheet1$, Sheet2$, etc are the default names, but the user can rename them) and your column names are the

Running servlets in a stand alone

2001-03-16 Thread Jeff Finley
Ok, this is the second machine! I FINALLY go servlets to run on a win98 machine with tomcat 4.01 beta now I'm trying to do the same thing, tomcat 4.01 beta standalone and I cannot get the stupid HelloWorld servlet to output to the browser! It appears to run, no log messages saying exceptions, no

Re: jsp

2001-03-16 Thread Jeff Finley
Well it appears that the .jsp is automagic if you use the recommended directory structure and a simple web.xml file. I got .jsp to run no problem, now I can't get /servlet to run AT ALL! BTW, I use ANT to do the build and management. - Original Message - From:[EMAIL PROTECTED]

Re: potential bug

2001-03-16 Thread Tagunov Anthony
On Fri, 16 Mar 2001 15:53:38 EST, [EMAIL PROTECTED] wrote: Can anyone confirm a problem I have encountered withe Tomcat. Lets say that I write a servlet called Test.java and put it in the classes directory in the Web-Inf directory, and I decide to change it a little later. So I recompile the

Re: [OT] RE: Linux-Tomcat-ThreadPool NullpointerException

2001-03-16 Thread Tagunov Anthony
On Sat, 17 Mar 2001 00:05:43 +0300, Tagunov Anthony wrote: Only don't run in Hotspot mode. Run it in -classic mode. Because due to some bug in hotspot compiler the JVM crashes with tomcat. It's a recognized Sun's bug and funny enough, all the bug reports on that are about Tomcat -- a rich

Error when shutdown tomcat

2001-03-16 Thread Tang, Jinan
Hi, When I run the shutdown.bat I got the following errors: ... Is the error comes from the configuration or a bug in the tomcat? Thanks. J. Tang

Diff between servlet api ver 2.1 and 2.2

2001-03-16 Thread Sankaranarayanan Ganapathy
Can somebody tell me what the difference. I have code that worked under jswdk servlet api 2.1, now I need to move to tomcat 3.2.1 which supports servelt api 2.2. Thanx Ganesh

Re: System out and System err

2001-03-16 Thread Ben Galbraith
I spent some time fooling with logs before I realized that if you override: Servlet.init(ServletConfig config) you must call this somewhere in your new init() method: super.init(config) otherwise the servlet container's logs don't get turned on.

Re: Diff between servlet api ver 2.1 and 2.2

2001-03-16 Thread Milt Epstein
On Fri, 16 Mar 2001, Sankaranarayanan Ganapathy wrote: Can somebody tell me what the difference. I have code that worked under jswdk servlet api 2.1, now I need to move to tomcat 3.2.1 which supports servelt api 2.2. Check out:

Re: System out and System err

2001-03-16 Thread Craig R. McClanahan
On Fri, 16 Mar 2001, Ben Galbraith wrote: I spent some time fooling with logs before I realized that if you override: Servlet.init(ServletConfig config) you must call this somewhere in your new init() method: super.init(config) otherwise the servlet container's logs don't get

security issues with stand alone tomcat

2001-03-16 Thread Batsheva Raviv
What are the security issues with stand alone Tomcat. Batsheva

JSP file line number

2001-03-16 Thread Sankar Kondur
when a compilation or exception occurs, tomcat doesn't say on which line number of the JSP file the error occurred. JRun does it. is there some way we can configure tomcat to show the line number in the JSP file instead of the java file. thanks, SK

wrapper.properties

2001-03-16 Thread Alcantara, Armin
Title: wrapper.properties Im having problem when the path for the wrapper.java_home contains spaces. Do you have a solution for this problem? Regards, Armin Alcantara

running jsp

2001-03-16 Thread JeremyRayYoo
Can anyone tell me if the steps involved running a jsp script is the same as running a servlet. And if it is different can anyone tell me the differences.

RE: web.xml

2001-03-16 Thread James Carroll
I -think- that you don't have to create all of the servlet servlet-name Test1 /servlet-name servlet-class Test1 /servlet-class /servlet There is an Invoker servlet that you associate with the path for the servlets... and

RE: 3.2.1 commercial applications

2001-03-16 Thread Tsalolikhin, Aleksey
InsureSuite is using Tomcat 3.2.1 and it's been just great in terms of stability (and OK in terms of speed - I'm definitely looking forward to the improved HTTP Connector in Tomcat 4). http://www.insuresuite.com/ Yours, Aleksey Tsalolikhin UNIX System Administrator InsureSuite, Inc.

  1   2   >