RE: Is 3.1 a production ready release?

2000-11-14 Thread Kitching Simon
Hi, No, 3.1 is not production quality - I know, I tried :-( However, 3.2 is due out in a matter of a week or two. I am using 3.2beta6 for a small-medium volume business-to-business web site, and it is ok. Not the fastest webserver in the world, but adequate, open-source, free,

Re[2]: Is 3.1 a production ready release?

2000-11-14 Thread Sandor Spruit
Simon On Tuesday, November 14, 2000, 10:18:50 AM, you wrote: Kitching Hi, Kitching No, 3.1 is not production quality - I know, I tried :-( Kitching However, 3.2 is due out in a matter of a week or two. Kitching I am using 3.2beta6 for a small-medium volume Kitching business-to-business web

AW: How many sessions are open?

2000-11-14 Thread Till Gartner
Sounds interesting. Unfortunately I missed the thread about HttpSessionBindingListener. Any tip where to find some info about it? -- Till. -Ursprüngliche Nachricht- Von: Samuel Yuen [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 9. November 2000 15:21 An: [EMAIL PROTECTED] Betreff:

RE: How many sessions are open?

2000-11-14 Thread Lacerda, Wellington (AFIS)
On the Servlet API javadocs. Wellington Silva UN/FAO -Original Message- From: Till Gartner [mailto:[EMAIL PROTECTED]] Sent: 14 November 2000 11:11 To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: AW: How many sessions are open? Sounds interesting. Unfortunately I missed the

Re: servlets problem is still there

2000-11-14 Thread Dominique BATARD
Did you try http://localhost:8004/servlet/hi ? Dom - Original Message - From: Rasika To: [EMAIL PROTECTED] Sent: Tuesday, November 14, 2000 7:41 AM Subject: servlets problem is still there Hello,I have installed TOMCAT with Apache. I followed

Re: downloading Word doc

2000-11-14 Thread Laurens Pit
Can someone get this to the developers? Thanks. After some more research I do believe there's a bug in Tomcat somewhere. I hosted my simple servlet in Allaire's JRun on Windows 2000, and it works fine. Also when I host the servlet in Netscape's IPlanet it works fine. See the code of the servlet

Integrating servlet output into JSP

2000-11-14 Thread carnell
I am currently migrating two projects that we have, both in Servlets into JSP. Rather than rewriting everything into Model 2/with JSP architecture, is it possible for me to write a JSP page that includes the output of the Servlet(which make use of out.println a lot etc). I could simply remove

Sessions don't work without cookies since 3.2beta6

2000-11-14 Thread Stubenrauch,Andreas
Hi Folks any comments are welcome: If Cookies are turned off in a browser the session-management by url-rewriting does not work. This bug was introduced by 3.2 beta6 and is still around in beta7 Just turn cookies off and try any of the session-examples in the tomcat-distribution Regards,

RE: [BUG] OutputStream is already being used for this request

2000-11-14 Thread Wyn Easton
Maybe you already knew this, but "out" is an implicit object in a JSP. You probably need a response.setContentType() or the page directive that doe the same thing to set your output stream for binary data. --- kramer [EMAIL PROTECTED] wrote: I am getting this while using

Please Look - 3.2 beta 7 problem - RequestDispatcher include()

2000-11-14 Thread Wyn Easton
Are you not suppose to mix URL access with a RequestDispatcher? Thanks. Also, in 3.2 beta 6 I could do an include() then a forward(). Now in 3.2 beta 7 I get an illegalState error on the forward() because of an open outputstream. I'm not opening an output stream. The include() must be doing it.

Re: Integrating servlet output into JSP

2000-11-14 Thread Wyn Easton
This may be over simplifying your problem, but have you looked at the RequestDispather include() method? It allows you to use the output of another servlet/JSP in the current servlet/JSP. --- carnell [EMAIL PROTECTED] wrote: I am currently migrating two projects that we have, both in Servlets

Re: Tomcat Logging

2000-11-14 Thread Drasko Kokic
Hi there, I wonder if there is any more information available on this subject. I am looking into configuring the Tomcat 3.1 logger so that the log file DOES NOT get overwritten on restart and also to get some timestamps genereted automatically. What else is available in Tomcat 3.1 ??? TIA

mod_jk help

2000-11-14 Thread Alistair Hopkins
Title: I'm having some trouble getting apache to find a worker.I have the connector in server.xml, and can see that port 8009 is open using netstat:tcp 0 0 *:8009 *:* LISTENI have workers.properties

RE: Please Look - 3.2 beta 7 problem - RequestDispatcher include()

2000-11-14 Thread Kitching Simon
-Original Message- From: Wyn Easton [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 12:24 PM To: [EMAIL PROTECTED] Subject: Please Look - 3.2 beta 7 problem - RequestDispatcher include() Are you not suppose to mix URL access with a RequestDispatcher? Thanks.

Re: Integrating servlet output into JSP

2000-11-14 Thread carnell
If in my JSP page, say bookholiday.jsp, I would like to include output from bookholidayshow servlet... bookholiday.jsp: html include body/various menus and stuff % RequestDispatcher.include(request, resource); % /body /html bookholidayshow.java(class/servlet) doGet(...) { out.println...

Running batch files when using as a NT service

2000-11-14 Thread David Oxley
Are there any issues with running batch files that call external programs when Tomcat is set up as an NT service. I have a problem that when using the startup.bat my COBOL routine gets kicked off fine, but when Tomcat is a service the COBOL returns an error code and never executes. I have a

Tomcat 3.2b7

2000-11-14 Thread Horst Fiedler
Hello, Binary download crashes when attempting to access admin's "view all contexts" jsp. Failure is Nullpointerexception in ContextAdmin where getAttribute() returns null: public void init(HttpServletRequest request) { FacadeManager facadeM=(FacadeManager)request.getAttribute(

RE: Please Look - 3.2 beta 7 problem - RequestDispatcher inclu de()

2000-11-14 Thread Wyn Easton
Fair enough. I did notice the addition of: // NOTE: This *must* be done before the include flag is set for // this request! response.flushBuffer(); in RequestDispatcherImpl.java. That is probably the change that made my include - forward stop working. I guess it is OK by

Problem with directory listing when running tomcat as NT service

2000-11-14 Thread Ole E. Nielsen
Hi tonmcat users, Im not able to get a directory listing when running tomcat as NT service, when the docBase is outside of the tomcat directory. This does not work properly when I run tomcat as a NT service. Context path=/food docBase=c:/food/build/food debug=9 reloadable=true

Re: Integrating servlet output into JSP

2000-11-14 Thread carnell
Thanks, I've tried the code, the JSP produces my layout/menus and stuff, but theres no output from the servlet. getRequestDispatcher appears to work correctly as rd is not null, but nothing seems to be included. I have tried both the bookholidayshow, and /servlet/bookholidayshow. The servlet

RE: New user question...

2000-11-14 Thread Reynshteyn, Leonid
The directive is a custom tag that Tomcat does not recognize, I think. tag_test.jsp is a JSP file I mentioned below. It's not in C:, but in C:/jakarta-tomcat/webapps/Root I assume that I am not configuring it right and it can't recognize the custom tags and gives me this error. Here are the

Security Constraints

2000-11-14 Thread Brian Charlton
Hi I'm new to Apache/Tomcat so expect a obvious question. I'm currently designing a multi-tier internet application based upon J2EE blueprints. To implement security in J2EE Web Tier the normal approach is to denote Web Resources (JSPs, Servlets etc) as protected (e.g. form-based

JSP pages stuck in cache? wont recompile...

2000-11-14 Thread Marty McKeever
Friends, All of a sudden it seems, whenever i make changes to a JSP and commit them to CVS, they aren't being recompiled on the next request (the old version is still being served). To get the new page, i have to manually delete the cache and then restart tomcat. There are other developers

RE: Using Jasper for template processing?

2000-11-14 Thread Jaroslav Gergic
--- CPC Livelink Admin [EMAIL PROTECTED] wrote: the servlets except in a web environment. But, being able to do what JG wants can be useful - for instance, to periodically dump a formatted report to a static file, so that daily reports are available and can be processed during system off

Re: Integrating servlet output into JSP

2000-11-14 Thread Wyn Easton
Hmm... I know that if I'm in the doPost() of a servlet and I include() another servlet the included servlet's doPost() method will be called. I'm not sure which method in the servlet is called when you do the include from a JSP to a servlet. Maybe you could put a System.out.println() in the

long file names when compiling *.jsp files

2000-11-14 Thread Ari Volcoff
We receive this message when trying to run a jsp file Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: D:\jdk1.3\jakarta-tomcat\work\localhost_8080%2FRio\_0005f_0005f\Online\Templ

will pay money for tomcat install

2000-11-14 Thread Adam Kling
If you can install tomcat with virtual hosts on a RH linux 6.1 box, then I will pay you money. I have no more hair to pull out.. please msg on icq: 48465297 or email: [EMAIL PROTECTED] THanks - Adam Kling CEO, MyBizHosting http://www.MyBizHosting.com P.S.

RE: Please Look - 3.2 beta 7 problem - RequestDispatcher inclu de()

2000-11-14 Thread Kitching Simon
-Original Message- From: Wyn Easton [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 2:47 PM To: [EMAIL PROTECTED] Subject: RE: Please Look - 3.2 beta 7 problem - RequestDispatcher inclu de() Fair enough. I did notice the addition of: // NOTE: This

Re: will pay money for tomcat install

2000-11-14 Thread Rachel Greenham
On Tuesday 14 November 2000 16:51, you wrote: If you can install tomcat with virtual hosts on a RH linux 6.1 box, then I will pay you money. I have no more hair to pull out.. If you haven't already, use Tomcat 3.2 - it has support for virtual hosting which Tomcat 3.1 did not. Not properly at

RE: Using Jasper for template processing?

2000-11-14 Thread CPC Livelink Admin
How about using stock Jasper, and then applying an XSL transformation to the HTML output to clean out the HTML specific code. Seems like extra work, but would you would not need to modify the Jasper code itself. Regards, Paul -Original Message- From: Jaroslav Gergic [mailto:[EMAIL

Re: New user question...

2000-11-14 Thread Pierre Delisle
There is a typo in your first line. %@ raglib uri="/test.tld" prefix="leo" % ^ taglib -- Pierre "Reynshteyn, Leonid" wrote: The directive is a custom tag that Tomcat does not recognize, I think. tag_test.jsp is a JSP file I mentioned below. It's not in C:, but in

Installation with PWS on NT 4.0 with sp4,5

2000-11-14 Thread chris lynch
I had to put the isapi_redirect.dll in the c:\winnt\system32\inetsrv\ directory for it to be recognized. Also it might be worth mentioning thay you do not want your TOMCAT_HOME to have the ending slash ie d:\tomcat not d:\tomcat\. For java_home the ending slash seems to be fine.

Re: New user question...

2000-11-14 Thread Kurt Bernhard Pruenner
"Reynshteyn, Leonid" wrote: Here are the contents of the JSP file: - %@ raglib uri="/test.tld" prefix="leo" % ^ Not that I've used this before, but isn't that supposed to spell "taglib"? -- Kurt Pruenner - Haendelstrasse 17, 4020 Linz, Austria | Briareos at Olymp BBS:

RE: Installation with PWS on NT 4.0 with sp4,5

2000-11-14 Thread Mark Franz
You can put the .dll in any directory you want, as long as the registry reflects the path correctly and the virtual directory is set correctly also. If you use a trailing \ in either the TOMCAT_HOME or the JAVA_HOME it will be recognized in the variable as a \\, look at the environment slash in

Re: long file names when compiling *.jsp files

2000-11-14 Thread Pierre Delisle
By searching the archive at http://archives.real-time.com/rte-tomcat/ [see "READ THIS First! Mailing-list archive and good tips" posted periodically on this list] you will find: http://archives2.real-time.com/pipermail/tomcat-users/2000-August/008481.html that gives the details about long

File-Name-Spaces

2000-11-14 Thread Craig May
Hi, I can't seem to get a file of the server if it's name contains spaces. Is there a work-around for this? Regards, Craig May Enth Dimension http://www.enthdimension.com.au

[REPOST] Windows SMB paths in server.xml please?

2000-11-14 Thread Rogério Meneguelli Gatto
Hello, I've noticed a difference in behaviour in Tomcat 3.1, 3.2b7, and 4.0m4 regarding Windows SMB paths, like this one: Context path="/ctx" docBase="\\machine\share\path"/ I included this same element (paths are altered here for security) on all three server.xml. Tomcat 3.1 and 4.0m4

tomcat 3.2b5 - worker not found?

2000-11-14 Thread Day, Evan
Platform: Redhat 7.0, OpenSSL 0.9.6, Apache 1.3.14 w/ mm 1.1.3 and mod_ssl 2.7.1, tomcat 3.2b5 Vanilla configurations from fresh builds. Apache works fine on its own in both HTTP and HTTPS. Tomcat works find standalone. When I turn on mod_jk in apache to run servlets from the apache server, it

RE: JSP pages stuck in cache? wont recompile...

2000-11-14 Thread Sean Blaes
I am having the same problem. The pages have the autoflush attribute set and the server.xml file says to refresh pages when they are changed... -Original Message- From: Marty McKeever [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14, 2000 9:27 AM To: [EMAIL PROTECTED] Subject: JSP

Java.exe application error using Tomcat

2000-11-14 Thread Alex Carrillo
Hi, I am using Apache SOAP 2.0 with Tomcat 3.1. I built a Java client that sends a DOM element, and receives a DOM element also. This works fine, but my Tomcat server stops running on each call and displays the following error: Java.exe - application error - The instruction at "0x77f6coe6"

JSP Always compile

2000-11-14 Thread John Sokel
Need help with my JSPs compiling over and over again. I run the JSP examples that come with tomcat, and when you load the page the first time the JSP compiles and takes a little while to load. Every time after that, it loads the class from the work folder and it is much faster. However,

Re: writing jsp output to a file

2000-11-14 Thread Stefan Woithe
Joe Laffey wrote: On Mon, 13 Nov 2000, John Ellis wrote: All you need to do is create a virtual browser: URL pageYouWant = new URL(completeRequestString); InputStream in = pageYouWant.openStream(); // burn off the header from in, then write the rest to a file... This will all

Re: user authentication

2000-11-14 Thread Michelle
Thanx much for the quick response ... may I inquire further please? : For our system, we're managing it all through sessions. When the person logs : in, their login information is checked against a database object. If it : matches, they're logged in. Otherwise, they're asked to provide a

Re: File-Name-Spaces

2000-11-14 Thread dynacomconsulting
Hi, U must encode the filenames.EncodeUrl etc functions will support.Pl check Bye, Ravi Dynacom --- Craig May [EMAIL PROTECTED] wrote: Hi, I can't seem to get a file of the server if it's name contains spaces. Is there a work-around for this? Regards, Craig May Enth Dimension

Re: difficulty in running servlets

2000-11-14 Thread dynacomconsulting
Hi, 1. Pl add servlet mapping tag.Like below - servlet-mapping servlet-namehi/servlet-name url-pattern/hi/url-pattern /servlet-mapping 2. Check out for the server root and port number . 3. Check for the classpath of hi.class Good luck, Ravi Dynacom --- Rasika [EMAIL PROTECTED] wrote:

Re: servlets problem is still there

2000-11-14 Thread dynacomconsulting
I feel U must check your classpath for the servlet. --- Rasika [EMAIL PROTECTED] wrote: Hello, I have installed TOMCAT with Apache. I followed your user guide and then tomcat faqs to install tomcat. Now I am able to run .jsp files using both tomcat as well as Apache. I can also run sample

Testing docs/suggestions? (GTest.java - test/Golden)

2000-11-14 Thread Mike La Budde
I'm trying to utilize the gtest xml tag in my ant build file to automate testing (ala the test demo app). 1) Is there any documentation on using gtest? 2) I'd like to process POSTs w/ some test data filled in, any tips on how to use the "content" attribute? 3) Any

Starting Tomcat at bootup.

2000-11-14 Thread Tony Mueller
Hi, Im running RedHat 6.2 and Tomcat 3.1. I would like to have Tomcat automatically start up at boot time. Does anyone have a way to do this? Thanks in advance! Tony Mueller

Re: Starting Tomcat at bootup.

2000-11-14 Thread David Knaack
From: "Tony Mueller" [EMAIL PROTECTED] Im running RedHat 6.2 and Tomcat 3.1. I would like to have Tomcat automatically start up at boot time. Does anyone have a way to do this? Depends a little on your installation. If you just need to issue a startup.sh command, you can just append the

Re: writing jsp output to a file

2000-11-14 Thread Vinny
try this: %@ page import="java.io.*" % % FileWriter tempFile = new FileWriter("/tmp/gold.txt",false); String data = "To be or not to be"; PrintWriter toFile = new PrintWriter(tempFile); toFile.println(data); toFile.close(); % this writes "To be or not to be" into /tmp/gold.txt on a unix

RE: Starting Tomcat at bootup.

2000-11-14 Thread Tony Mueller
Thanks to all! This works like a charm. Note: I needed to add - export JAVA_HOME=/usr/local/jdk1.2.2 to the script since the tomcat.sh could not find my java. Hope this helps others Tony -Original Message- From: Mike La Budde [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 14,

help needed

2000-11-14 Thread Gan Keng Hoon
hi team, i started developing a web-based email system few weeks back. everything was just fine untill someday last week, this error began to happen on some of the links. The links point to some jsp files which run well before. And they were not modified at all when the error happened.

using multiple redirector in IIS

2000-11-14 Thread sherman
Jens et. al, I have seen several requests/attempts to figure out how to have more than one redirector hooking TomCat to IIS. I also need this, as I need to run some servlets inside SSL (credit cards), and others just normal http (for performance). Jens, did you ever have an opportunity to write

Re: Tomcat 3.1 crashes when closing ODBC connection

2000-11-14 Thread Julio Serje (@canada.com)
Hany, I run a little site in an NT with using the ODBC-JDBC bridge (andTomcat 3.1...)and everything works fine. Can you be more specific? - What set of ODBC:JDBC drivers are you using (Use the one that comes with JDK1.3...).. - To what type of database are you connecting If you can send a

Tomcat 3.1 NES 4.0 (iPlanet) help needed

2000-11-14 Thread G Michael Sawka
Hi, We've been trying to set up Tomcat 3.1 on our Win2k box, which is running Netscape Enterprise Server 4.0. We followed the directions online at the Jakarta website, but have been completely unsuccessful in getting the redirector to work. There are no errors when the redirector is loaded,

RE: [BUG] OutputStream is already being used for this request

2000-11-14 Thread kramer
I know that out is an implicit object in a JSP. I did set the contenttype to image/jpeg or similar, but what I track the issue to is that JSP does not like grabbing the output stream twice. I have already written the servlet and get no problem, it just too bad to need to do this just for three

RE: Tomcat 3.1 NES 4.0 (iPlanet) help needed

2000-11-14 Thread Randy Cox
-Original Message- From: G Michael Sawka [mailto:[EMAIL PROTECTED]] We've been trying to set up Tomcat 3.1 on our Win2k box, which is running Netscape Enterprise Server 4.0. We followed the directions online at the Jakarta website, but have been completely unsuccessful in getting

RE: question about RequestDispatcher.forward() in tomcat

2000-11-14 Thread Kedar Choudary
Following code will do the job - import javax.servlet.*; import javax.servlet.http.*; import java.io.*; import java.util.*; public class Controller extends HttpServlet { public void service(ServletRequest req, ServletResponse res) throws ServletException,

tomcat4.0m4 java.net.SocketException

2000-11-14 Thread Juergen Baumann
I have installed tomcat4.0 Milestone 4 on my w2000 pc. The examples do run fine, however I get the following exception everytime I run one of the examples. Here is what I have added in startup.bat and shutdown.bat: set CATALINA_HOME=C:\Java\tom4.0m4 With tomcact4.0 Milestone 1 or tomcat3.2 beta