Re: UID for Tomcat and startup script

2002-07-18 Thread Craig R. McClanahan
On 17 Jul 2002, Mark Pelillo wrote: Date: 17 Jul 2002 19:38:43 -0500 From: Mark Pelillo [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: UID for Tomcat and startup script Who do most people run Tomcat as? Because I am

Re: ??? Tomcat Bug? -- Throws NullPointerException ???

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Tony LaPaso wrote: Date: Thu, 18 Jul 2002 00:38:51 -0500 From: Tony LaPaso [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: ??? Tomcat Bug? -- Throws NullPointerException ??? Actually, you are wrong

Re: Tomcat 4.0.4 Startup Bug?

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Gare, Tref wrote: Date: Thu, 18 Jul 2002 11:10:46 +1000 From: Gare, Tref [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: Tomcat 4.0.4 Startup Bug? Can anyone throw any light or give any debug advice

Re: Webalizer or other statistics over Tomcat?

2002-07-18 Thread Laura
Hi Saphira can you explain better your process? It migth be very interesting. How should you modify your server.xml? Thanks Laura - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 7:01 PM Subject: RE:

Taglib with Tomcat 3.3.1

2002-07-18 Thread Laurent Michenaud
Hi, I'm trying to use taglib with Tomcat 3.3.1 but i've got these errors : Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser will use a default ErrorHandler to print the first 10 errors. Please call the

Tag Iterate and jsp:include

2002-07-18 Thread @Basebeans.com
Subject: Tag Iterate and jsp:include From: Guido [EMAIL PROTECTED] === Hi all, i'm having the following error message with a jsp under Tomcat 4.0.1 : Illegal to flush within a custom tag. The code involved is : logic:iterate name=myBean id=my_id property=my_property type=

RE: Check Session is valid response.sendRedirect not working

2002-07-18 Thread Telesis Support - Bangalore
hi all, I have also encountered the same problem. I am using a login.jsp page, where the user has to enter his login id and password, then while submitting , it calls the servlet class to validate the login and then the servlet sends the response to a new jsp page. In the servlet, i am

RE: Tag Iterate and jsp:include

2002-07-18 Thread Barney Hamish
As the error message says it's illegal to perform a flush while you're in a custom tag. Try setting the flush attribute to false explicitly i.e.: jsp:include page=%=my_id.getJspName()% flush=false / It could be that flush has different default values for the development version and your

RE: Tag Iterate and jsp:include

2002-07-18 Thread Barney Hamish
Forgot to mention if that still doesn't work then you can stop using the custom tag for the loop and write java code to iterate over my_property. -Original Message- From: Jakarta Tomcat Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 11:10 AM To: [EMAIL PROTECTED]

Connect JSP and Mysql

2002-07-18 Thread Hai To Thanh
Hi, I get confuse when I try to connect JSP and Mysql. I use statement: %@page import=java.sql.*% % //Khai bao ket noi: Connection conn; Statement stm; ResultSet rs_matau; String sql_matau=; //Create connection: Class.forName(org.gjt.mm.mysql.Driver); conn =

Connect JSP and Mysql

2002-07-18 Thread Hai To Thanh
Hi, I get confuse when I try to connect JSP and Mysql. I use statement: %@page import=java.sql.*% % //Khai bao ket noi: Connection conn; Statement stm; ResultSet rs_matau; String sql_matau=; //Create connection: Class.forName(org.gjt.mm.mysql.Driver); conn =

AW: Connect JSP and Mysql

2002-07-18 Thread Power-Netz \(Schwarz\)
Hi, I get confuse when I try to connect JSP and Mysql. I use statement: %@page import=java.sql.*% % //Khai bao ket noi: Connection conn; Statement stm; ResultSet rs_matau; String sql_matau=; //Create connection: Class.forName(org.gjt.mm.mysql.Driver); conn =

jsp:forward encodeURL()

2002-07-18 Thread Power-Netz \(Schwarz\)
Hi, we found out that encodeURL() should not be used for URL for jsp:forward calls with TC 3.3.x . It just does not work. I think the forward takes filenames instead of URLs, right? Ok, just fine and clear because when the code gets to the forward the session is already set and the next

RE: Hide download file

2002-07-18 Thread Cox, Charlie
ok, I quickly pulled this out of a filter that I use for the same purpose. It may not compile, but should be very close. See the filter examples that come with tomcat for the complete filter and this is a sample of how to do what you want. also create a mapping in web.xml for your static

RE: apache + tomcat + mod_ssl

2002-07-18 Thread Turner, John
Are you really asking is how to setup tomcat to handle SSL? In any case: mod_ssl user manual (for the apache side): http://www.modssl.org/docs/2.8/ tomcat SSL HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html John Turner [EMAIL PROTECTED] -Original Message-

RE: email to cell phone

2002-07-18 Thread Jack Li
Thank you Rick, all I need is to send email to cell phones. Many people have replied very helpfully. The simple way is just sending emails like regular emails ([EMAIL PROTECTED]). Thank you and all the people who helped me. Jack Li -Original Message- From: Rick Fincher [mailto:[EMAIL

jar_cache files in /var/tmp using Tomcat

2002-07-18 Thread Agustin
I'm using Tomcat 4.01 on Solaris. There are some jar_cache.tmp files in /var/tmp that are getting written by Tomcat. Some of them are actually jarfiles. Does anyone know what these files are for? Thanks for any insight you can provide. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]

Help please Urgent..

2002-07-18 Thread sangita watve
hI! I HAVE A QUERY WHICH RETURNS RECORDS IN LAKHS . i am using xsql for this. i am getting error as Oracle XSQL Servlet Page Processor 9.0.1.1.0A (Production) XSQL-017: Unexpected Error Occurred java.lang.OutOfMemoryError if i give max-rows in xsql it displays set of records specified i

tomcat4.x supports Enterprise Java Beans or not

2002-07-18 Thread Gurunath G
Hi all, does anyone know if tomcat4.x supports Enterprise Java Beans. Any response would be much appreciated. I cannot see any mention of them in the tomcat specifications. Thanks, Gurunath.

Tomcat requesting password at start up

2002-07-18 Thread Scott and Michele
I posted and earlier message at this thread: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59606.html My problem was fixed and then I changed my etc/tomcat4/conf/tomcat4.conf file to include: TOMCAT_USER=myUser This seemed to work fine, and I chown on the files I thought I would

problems with the jakarta service created by jk_nt_service.exe

2002-07-18 Thread gisprogram
Hello, I am running IIS 5 with ESRI's ArcIMS and Tomcat 3.2.4. I have the servlet functioning according to the http://your name here/servlet/SnoopServlet convention. But the service that I create using jk_nt_service.exe did not function. I get the following error message from the

common/lib installation problems

2002-07-18 Thread Kirsten Sachwitz
Help!!! I have been trying for weeks to get tomcat to install but whatever I try I am getting the SAME error. To date I have downloaded and tried 3 versions (4.0.1, 4.0.3 and 4.0.4) tried this on 2 computer (both windows 98 operating systems) and have try un-installing and reinstalling it a

Possible problem: ajp13 on Tomcat 3.2.x - need help

2002-07-18 Thread Shinta Tjio
We are using Apache 1.3.26 and Tomcat 3.2.2. We've seen some clients to be hanging Apache on SSL read. The cause of this hang seems to be network/TCP/IP issue. The read will eventually times out. When it times out, here's where the problem starts. Tomcat seems to be grabbing some buffer that

RE: How to do stop-start fast?

2002-07-18 Thread Ignacio J. Ortega
Saludos , Ignacio J. Ortega -Mensaje original- De: Aleksi Kallio [mailto:[EMAIL PROTECTED]] Enviado el: 17 de julio de 2002 12:21 Para: [EMAIL PROTECTED] Asunto: How to do stop-start fast? I have a script that stops Tomcat (shutdown.sh), does stuff and then restarts it

HttpSessionBindingListener, HttpSessionListener : Session already invalidated

2002-07-18 Thread Nicolas Silberzahn
Bonjour, I want to do some cleanup when a session dies. I tried to use HttpSessionBindingListener and then HttpSessionListener In both case, my code is called AFTER the session had been invalidated: nothing can be done with the session anymore: it seems to be useless functionality Does anyone

RE: forwarding through j_security_check

2002-07-18 Thread James Krygowski
Hi Craig- I've come up with a solution that seems to work very well for my purposes. Unfortunately, my project's priority is to build on Jrun, but I'll need to adapt this solution to Tomcat in the near future. I post the description of my implemented solution just to get it out there for

RE: How to do stop-start fast?

2002-07-18 Thread Thies Edeling
The killall is a bit nasty but hey, I'm impatient :) Change the paths of course thies /usr/local/tomcat/bin cat restart.sh #!/bin/sh /usr/local/tomcat/bin/shutdown.sh killall java /usr/local/tomcat/bin/startup.sh sleep 2 /usr/local/apache/bin/apachectl restart -Original Message-

RE: problems with the jakarta service created by jk_nt_service.exe

2002-07-18 Thread Cox, Charlie
The errors look like it can't find the XML parser. Did you replace parser.jar with xerces or crimson? If so, you need to update your wrapper.properties path to point to the new jar files. Charlie -Original Message- From: gisprogram [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17,

Re: tomcat4.x supports Enterprise Java Beans or not

2002-07-18 Thread Joseph Savard
On 18 Jul 2002 at 10:58, Gurunath G wrote: Hi all, does anyone know if tomcat4.x supports Enterprise Java Beans. Any response Tomcat is a servlet container... JBOSS is an an EJB contianer http://www.jboss.org would be much appreciated. I cannot see any mention of them in the

RE: jar_cache files in /var/tmp using Tomcat

2002-07-18 Thread Arnaud HERITIER
let's see : http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59531.html -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Agustin Envoye : jeudi 18 juillet 2002 15:01 A : [EMAIL PROTECTED] Objet : jar_cache files in /var/tmp using

Re: apache + tomcat + mod_ssl

2002-07-18 Thread Joseph Savard
On 18 Jul 2002 at 11:12, Johnny wrote: Where can I find the online HOW-TO documentation for setting up SSL-capable Apache (apache+mod_ssl) with the mod_jk connector in Tomcat 4.0.3??? Try these sources: http://www.apache-ssl.org/ http://tud.at/programm/apache-ssl-win32-howto.php3

What to do to http.conf and/or server.xml

2002-07-18 Thread Koes, Derrick
I believe I have tomcat 4.0.4 and apache 2.0.39 working well together with mod_jk (ajp13 connector). I've put documentation files (static content) in my webapp that I'd like apache to serve. I can't seem to make this work. For example, my webapp is in example.war which gets expanded in the

RE: Tomcat requesting password at start up

2002-07-18 Thread Turner, John
A su command will always ask for a password if you issue the command as some other user than root. If it didn't userA on a UNIX box could switch to userB at will. This is a security risk. I'm not clear what you've done so far, in your previous thread on this topic you stated that you had set

Please Unsubscribe me!!

2002-07-18 Thread Jose Aguilera
I have tried repeatedly to unsubscribe from this list and an error occurs. Can a moderator of this list please help, I'm using outlook 2000. Thanks. Jose Aguilera This message is intended

RE: common/lib installation problems

2002-07-18 Thread Turner, John
Hi - Was this a typo? 2) change the system configuration variables (this is what is written in dos sysedit: @SET CLASSPATH=C:PROGRA~1PHOTOD~1.0ADOBEC~1;C:javadk1-4 @SET JAVA_HOME=C:javadk1-4) C:PROGRA~1PHOTOD~1.0ADOBEC~1; is invalid, there aren't any slashes separating the folder names.

RE: Help please Urgent..

2002-07-18 Thread Shapira, Yoav
Hi, Add -Xmx256m to your java runtime options. (This is done via the CATALINA_OPTS or JAVA_OPTS variable in tomcat, depending which tomcat version you have). If 256 is still not enough, keep increasing until you don't get the error anymore. For more documentation, look here:

mod_webapp.so

2002-07-18 Thread Diego, Emil
I am running Redhat linux 7.3 with Apache 1.3.23 and tomcat 4.0.4. I have installed them both and have tested them individually and they work. Now i want to setup tomcat so it works within apache. my 2 questions are this. 1) Where can I get the mod_app.so warp connecter? 2) Is there a really

RE: What to do to http.conf and/or server.xml

2002-07-18 Thread Turner, John
If you have something under example and example is mapped to the AJP13 connector, requests for /example and anything under it are going to be served by tomcat. That's the point of the connector, to distribute the requests to a particular area based on URL. Since servlets don't have file

RE: Webalizer or other statistics over Tomcat?

2002-07-18 Thread Shapira, Yoav
Howdy, Hi Saphira I don't think anyone has ever spelled my name that way before ;) Here's the process: 1) In your server.xml, look for the AccessLogValue. It will have an attribute pattern=common. Change this to pattern=combined to get more information. (This step is optional, but we do

AW: common/lib installation problems

2002-07-18 Thread Ralph Einfeldt
1. You need a J2SE not J2RE to run tomcat with jsp's that are not precompiled. 2. Your classpath looks quite strange. 3. It might be easier just to use the zipped tomcat version and just extract that. -Ursprüngliche Nachricht- Von: Kirsten Sachwitz [mailto:[EMAIL PROTECTED]]

RE: mod_webapp.so

2002-07-18 Thread Turner, John
Man, this list needs a FAQ, bad. HOWTO: http://www.galatea.com/flashguides/index There are many other docs that explain how to connect the two, the URL above is just one of them. If you are using apache, there is no benefit to using mod_webapp (WARP). The current mod_webapp connector sends

Re: common/lib installation problems

2002-07-18 Thread Joseph Savard
On 17 Jul 2002 at 10:30, Kirsten Sachwitz wrote: Try this batch file: See if this is inline with your environement.. This is launches TC 4.02 in NT 4.0 and Win2k Set CATALINA_HOME=D:\tc4 set CLASSPATH=d:\jdk1.3.1\lib\servlet.jar set JAVA_HOME=D:\jdk1.3 set JRE=d:\jdk1.3\jre\bin set

RE: UID for Tomcat and startup script

2002-07-18 Thread Shapira, Yoav
Howdy, Who do most people run Tomcat as? Because I am working on a development system, I can run Tomcat as root, but when I go to production I am sure that will cause problems. I am running under Solaris. We have a designated user for tomcat servers. Essentially, we've created the equivalent

AW: HttpSessionBindingListener, HttpSessionListener : Session already invalidated

2002-07-18 Thread Ralph Einfeldt
What do you want do with the session ? You have always the option to store everything you need from a session in an object that is a HttpSessionBindingListener and use that information to do what you want. (In your example you can either the let the object caddy implement it, or you can

RE: mod_webapp.so

2002-07-18 Thread Joseph Savard
Man, this list needs a FAQ, bad. +1 Good point! Is there one avaialable or in the WOrks I thought it was in the works.. HOWTO: http://www.galatea.com/flashguides/index There are many other docs that explain how to connect the two, the URL above is just one of them. If you are

How can I make apache talk to tomat !!!

2002-07-18 Thread Garia, Manju
I have apache server and tomat4.0 . How can I make these two talk and what is the use of apache server. My tomcat examples are working fine http://localhost:8080/examples/jsp/date.jsp, but if I run the jsp file other than /example/jsp dir I get error. Thanks -- To unsubscribe, e-mail:

newbie has mod_jk question

2002-07-18 Thread Billingham, Walter 475
I can't seem to find the src for the Apache 2 mod_jk or whatever it changed to? Is the old 1.3.x src for mod_jk alright to compile against for Apache 2? I also noticed that on my install of Tomcat 4.0.2 there is no placement directory under /native for apache2 or libexec directory for putting

RE: tomcat-user Dmod_webapp.so

2002-07-18 Thread Turner, John
I've never seen a thread devoted to creating one, though I would be more than happy to help out. John Turner [EMAIL PROTECTED] -Original Message- From: Joseph Savard [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 9:24 AM To: Tomcat Users List Subject: RE: mod_webapp.so

Re: How can I make apache talk to tomat !!!

2002-07-18 Thread Joseph Savard
On 18 Jul 2002 at 9:25, Garia, Manju wrote: I have apache server and tomat4.0 . How can I make these two talk and http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache- howto.html what is the use of apache server. http://httpd.apache.org/ My tomcat examples are working fine

tomcat 4.0.3 Http header referer

2002-07-18 Thread peter lin
I think I may have found a bug affecting the referer when an error page is specified. I've tried using both request.getRequestDispatcher() and setting the error page. when I use %@ page errorPage=/exception.jsp % it returns the hostname without the path. when I use requestdispatcher

Re: newbie has mod_jk question

2002-07-18 Thread Joseph Savard
Google can be of great help to you... Here is the search I used for google??? http://www.google.com/search?hl=enie=UTF-8oe=UTF- 8q=howto+apache+tomcat and it produced this link... http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html Try this method first before as it will

RE: tomcat-user Dmod_webapp.so

2002-07-18 Thread Joseph Savard
Im game... Lets take this off line and we can work together!! On 18 Jul 2002 at 9:30, Turner, John wrote: I've never seen a thread devoted to creating one, though I would be more than happy to help out. John Turner [EMAIL PROTECTED] -Original Message- From: Joseph Savard

Re: problems with the jakarta service created by jk_nt_service.exe

2002-07-18 Thread Joseph Savard
http://www.vacodi.com/howto/tomcat/iisnt/index.html On 17 Jul 2002 at 13:49, gisprogram wrote: Hello, I am running IIS 5 with ESRI's ArcIMS and Tomcat 3.2.4. I have the servlet functioning according to the http://your name here/servlet/SnoopServlet convention. But the service

RE: What to do to http.conf and/or server.xml

2002-07-18 Thread Koes, Derrick
That's what I figured. I thought I'd ask anyway. I was wondering if there was an override for some directory under example. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 9:07 AM To: 'Tomcat Users List' Subject: RE: What to do to

Moderators

2002-07-18 Thread Joseph Savard
Is there a FAQ for this list? Is one in the works? Do you need assistance? Also, is there anyway to ask the people with vacation notifications to turn this off on their lists... It adds to the traffic of ALL our regular email and I am sure it puts due pressure n the list server. A

RE: Problem with Load Balancing using mod_jk and session affinity.

2002-07-18 Thread Robert Chartier
Thanks guys! It was indeed the jvmRoute identifier. It really needs to be identical to the worker name as found in workers.properties. Thanks again! Robert Chartier -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 12:26 AM To: Tomcat

Re: mod_webapp.so

2002-07-18 Thread Eddie Bush
You know, and I realize the devs are kind of busy, I think if they would just incorporate the level of detail and completeness in the more recent docs that existed in the 3.x series of TC, a lot of questions wouldn't have to be asked. I find myself wondering, quite honestly, why the TC 3.x

RE: FAQ and resources (was mod_webapp.so)

2002-07-18 Thread Turner, John
Great ideas, all! John Turner [EMAIL PROTECTED] -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 10:02 AM To: Tomcat Users List Subject: Re: mod_webapp.so You know, and I realize the devs are kind of busy, I think if they would just

RE: FAQ and resources (was mod_webapp.so)

2002-07-18 Thread PELOQUIN,JEFFREY (Non-HP-Boise,ex1)
I would be willing to put together info that is specific to HP-UX usage. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 8:04 AM To: 'Tomcat Users List' Subject: RE: FAQ and resources (was mod_webapp.so) Great ideas, all! John Turner

How to close a response?

2002-07-18 Thread Jenya Strokin
Hi, I need to close the response completely. In some case I need to avoid any process write to response output. Using response.getOutputStream().close(); response.getWriter().close(); response.reset(); do not help. Thanks for any suggestions. Jenya ---

RE: How to close a response?

2002-07-18 Thread Durham David Cntr 805CSS/SCBE
Need more detail about your problem. Are you having a problem with JSP? -Original Message- From: Jenya Strokin [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 9:17 AM To: [EMAIL PROTECTED] Subject: How to close a response? Hi, I need to close the response completely. In some

How do I Hide version specific information

2002-07-18 Thread Kevin Passey
Thanks Kevin Passey -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: How do I Hide version specific information

2002-07-18 Thread Henner Zeller
mail.NoSuchExplainingContentException at task.reading.MailReader(MailReader.java:42) ;-) Anyway .. what version specific information of what you want to hide .. from whom ? On Thu, 18 Jul 2002, Kevin Passey wrote: Thanks Kevin Passey -hen -- To unsubscribe, e-mail: mailto:[EMAIL

Caching problems

2002-07-18 Thread Max Z.
Sorry for hammering, but this is important. I have both tomcat 3 and tomcat 4 installed. I have an application running with a few jsp files. I am trying to make sure the browser does not cache the pages. So I use the following code: response.setHeader(Cache-Control,no-cache);

RE: How to close a response?

2002-07-18 Thread Jenya Strokin
I'm using servlet. But if you know way how to do this from JSP, please share it.)) This is my method wich called from doGet and doPost: public void doGetPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

RE: Caching problems

2002-07-18 Thread Turner, John
Have you verified that the page sent by tomcat 3 actually has those headers set? It maybe that the browser doesn't even get those headers under tomcat3 (a bug). For what its worth, Cache-Control and Expires aren't browser directives...they are cache (inline cache, proxy cache, etc) directives.

What version of Java is necessary to run Tomcat

2002-07-18 Thread Bruce Bailey
Hi I have installed the Tomcat server on my TRU64 system. Every time I try to start the server, it aborts, leaving 'Unable to initialize threads: cannot find class java/lang/Thread' in the catalina.out log file. I am beginning to suspect that I have either an incomplete/incorrect

RE: How to close a response?

2002-07-18 Thread Shapira, Yoav
Howdy, I would be very careful synchronizing stuff on a request or response reference. The potential performance bottlenecks could be crippling if you site has many concurrent users. Did you actually see the browser getting the same screen twice, mixed? I've found that tomcat usually does an

apache + tomcat + mod_jk

2002-07-18 Thread COLLINEAU Franck FTRD/DMI/TAM
Greetings, I would like to run an application using both Tomcat and Apache with mod_jk module. I have followed the procedure 's intallation given on the tomcat site So Tomcat listen to on port 8080 (http) and on port 8007 (mod_jk). When i type in a browser http://myUrl:8080 it works! But when i

RE: newbie has mod_jk question

2002-07-18 Thread Andy Eastham
Jez, This would be great if it was correct and not completely out of date..;-) Andy -Original Message- From: Joseph Savard [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 14:33 To: Tomcat Users List Subject: Re: newbie has mod_jk question Google can be of great help to you...

RE: How to close a response?

2002-07-18 Thread Durham David Cntr 805CSS/SCBE
Well not sure what to tell you about your particular issue, but I experienced a very similar problem (double page, or at least partial double page). In a JSP page something like this: %@ include file=header.jsp % % // check login if

Errors in starting up webapp Example on Tomcat 4.04

2002-07-18 Thread Sunit . Sheth
Hello, I am getting startup errors on tomcat 4.04. I am new to tomcat 4 but have used 3 extensively. Any help would be greatly appreciated. JDK: 1.4 ENV: HP-UX TOMCAT_MODE: Standalone (prototyping) web server Log file for the example webapps (localhost_examples_log.2002-07-18.txt):

Re[2]: ??? Tomcat Bug? -- Throws NullPointerException ???

2002-07-18 Thread Jacob Kjome
Hello Tony, Good to know. Thanks. Jake Thursday, July 18, 2002, 12:38:51 AM, you wrote: TL Actually, you are wrong but your comments helped me find the TL general cause of the problem...it is not a bug in TL Tomcat...comments below TL - Original Message - TL From: Jacob Kjome

RE: What version of Java is necessary to run Tomcat

2002-07-18 Thread John Burgess
Tomcat 4 requires 1.3.1 or later, I believe. Also for JSP pages you will need the sdk not just the rte since it needs tools.jar for the javac compiler to compile the servlets generated by jasper. Best Wishes John Burgess [EMAIL PROTECTED] Tel: 01865 718666 Fax: 01865 718600 -Original

AW: Caching problems

2002-07-18 Thread Ralph Einfeldt
- Do you run behind a connector or stand alone ? - Have you tried to see if the headers are even sent ? Just telnet to your http port and requst the page manually. GET /url HTTP/1.0crcr cr=enter - Do you set the header as early as possible ? Tomcat 3.* might have a different buffer

RE: newbie has mod_jk question

2002-07-18 Thread Billingham, Walter 475
Hey, I guess the next logical question is who has actually compiled mod_jk.so for Apache2 and Tomcat 4.x.x and has gotten (mod_jk2) mod_jwhatever and AJP 1.x working and will he share the wealth of his endeavors? Unix has its weak points but its file system is not one of them. - Chris

Re: What version of Java is necessary to run Tomcat

2002-07-18 Thread Nishant_Awasthi
Hello Bruce,.. I don't know about TRU64 systems but...The problem you are getting might be because of the ports... Some other applications my be using the same port check typing netstat /an command on dos prompt... the other case can be please include tools.jar file in your %TOMCAT_HOME%

RE: apache + tomcat + mod_jk

2002-07-18 Thread Turner, John
You'll have to fix this first: [Thu Jul 18 16:38:33 2002] [error] [client 194.214.221.61] client denied by server configuration: /var/mpictures/Mpictures AND 194.214.221.61 - - [18/Jul/2002:16:38:33 +0200] GET /appli/Mpictures HTTP/1.1 403 321 - Mozilla/5.0 (X11; U; Linux i686;

Re: newbie has mod_jk question

2002-07-18 Thread Shannon Scott
I also have been trying for days to download mod_jk from apache.org unsuccessfully... The suggested download link at the following website doesn't work. and it produced this link... http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-apache-howto.html Does anyone know a good source for

RE: How do I Hide version specific information

2002-07-18 Thread Kevin Passey
I have been using Nessus to scan my server - and they recommend that you do not give out exactly the version information of your web server as it helps a hacker define what webserver you have, and thus any vulnerabilities that may exist on your server Does that help? Kevin -Original

RE: newbie has mod_jk question

2002-07-18 Thread Turner, John
Unless someone on the list wants to send you a compiled version for your platform, I think you will have to build from source. I don't think the binaries are offered anymore: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ You want the file that has connectors in the

getRemoteHost(): how to get the fully qualified name?

2002-07-18 Thread Philipp . Krummenacher
Hi all When I call the ServletRequest's getRemoteHost()-method, I get sometimes the fully quialified name and sometimes the IP of the remote host. This is the case also, if the fully qualified name is aviable to the Solaris the server is running on (using nslookup). Now, is there a way to force

RE: newbie has mod_jk question

2002-07-18 Thread Turner, John
Many people have gotten it working. I have it working on apache 1.3.x. If you can be more specific, there are bound to be people who can help, but general questions are pretty difficult to answer. Have your checked the resources out there? Such as: http://www.galatea.com/flashguides/index

Re: How to close a response?

2002-07-18 Thread Tim Funk
There is no need to synchronize the request object. It will not be used in multiple threads concurrently. What you really need is synchronization of the session to prevent processing of the double submit. If the user submits twice, then 2 different requests may be executed in different

RE: getRemoteHost(): how to get the fully qualified name?

2002-07-18 Thread Sexton, George
The issue is that for the one's you are getting the IP Address for, Reverse DNS zones are not configured properly. About 40-60% of the internet doesn't have properly configured reverse DNS zones. You can get more information by querying the registrar for that ip block. whois [EMAIL PROTECTED]

RE: getRemoteHost(): how to get the fully qualified name?

2002-07-18 Thread Shapira, Yoav
Howdy, You can convert IP to host name yourself. Here's the relevant section of the code: String ipAddress = 123.456.789.123; InetAddress ia = InetAddress.getByName(ipAddress); String hostname = ia.getHostName(); As you will by experimenting, the above has the desirable property of working

Re: newbie has mod_jk question

2002-07-18 Thread Eddie Bush
ubeans.com/tomcat I understand you can use mod_jk with Apache2 just fine ... Billingham, Walter 475 wrote: Hey, I guess the next logical question is who has actually compiled mod_jk.so for Apache2 and Tomcat 4.x.x and has gotten (mod_jk2) mod_jwhatever and AJP 1.x working and will he

Re: How do I Hide version specific information

2002-07-18 Thread Tim Funk
Change the source (don't know where) and recompile and give a bogus webserver name: Server: Happy Harry's webserver/1.1 (Commodore64) mod_squishy/-1.2 In reality - use best practices to secure your installation. Security through obsurity is not really a great practice. Kevin Passey wrote: I

RE: newbie has mod_jk question

2002-07-18 Thread Turner, John
404, baby...404. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 11:32 AM To: Tomcat Users List Subject: Re: newbie has mod_jk question ubeans.com/tomcat I understand you can use mod_jk with Apache2 just fine ... Billingham, Walter 475

RE: How to close a response?

2002-07-18 Thread Jenya Strokin
I'm synchronizing on a request because I'm expecting what if user makes a request new request object should be created, am I wrong? So sessions will be parallel any way. Now I'm not sure, I'll check it, thanks for pointing on this problem. Yes I saw screen mixed, obviously the page completely

RE: Stability problems under Tomcat 4.0.4, Solaris 2.7, JdK 1.3.1_02-b02

2002-07-18 Thread Thierry Thelliez
The problem seems to be fixed now. We updated the JDK1.4 (and installed the OS patches). Thanks, Thierry -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 6:59 AM To: Tomcat Users List Subject: RE: Stability problems under Tomcat 4.0.4,

Re: newbie has mod_jk question

2002-07-18 Thread Shannon Scott
John, Thank You Very Much... Shannon http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ You want the file that has connectors in the name. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Resend: 4.0.3: Servlets Loaded Twice?

2002-07-18 Thread Marinko, Jeff
Resending since I did not see a response... I'd like to do a lot of start up initialization, but if Tomcat forces the servlet to do this two times, it might not be worth it. Just a quick question... I've noticed that all Servlets are loaded twice on Tomcat. I'm running 4.0.3 on Win2K, and

RE: How to close a response?

2002-07-18 Thread Jenya Strokin
Guys.. it works now, but I don't understand why))) I change code to synchronize the sharedSassionBean and didn't put any magic methods for checking, and Servlet never send the same data twice. But process still running two times. So I still need to write this magic method. Thanks for

RE: getRemoteHost(): how to get the fully qualified name?

2002-07-18 Thread Jack Li
I applied your method to get the names. It works for some IPs. It didn't the name of other IPs. For example, 12.5.203.134 was not converted to a name. Any ideas? Thanks, Jack -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 11:31 AM To:

RE: newbie has mod_jk question

2002-07-18 Thread Andy Eastham
John, It's easy to get it working with apache 1.3.x. It's painfully difficult to get any connectors working on apache 2. I've given up twice. Andy -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: 18 July 2002 16:20 To: 'Tomcat Users List' Subject: RE:

RE: getRemoteHost(): how to get the fully qualified name?

2002-07-18 Thread Turner, John
Not all IP addresses have valid reverse lookup zones. All names must resolve to valid IP addresses to work. There is no such requirement for IP addresses; IP addresses may or may not resolve to domain names. It is up the domain administrator for that IP block to implement IP reverse lookup

RE: newbie has mod_jk question

2002-07-18 Thread Turner, John
Wish I could help. The only thing I can recommend is that you try it with Apache 2.0.39. Any earlier version would be a crapshoot. The list isn't perfect, but if you want to try a third time and post each specific issue as you encounter it, the list can try and help. John Turner [EMAIL

Apache Tomcat integration-please help

2002-07-18 Thread developer
I am having a problem getting apache tomcat running using mod_webapp.so I am using: linux redhat 7.3 jdk1.4 apache 1.3.26 tomcat 4.0.4 I got apache 1.3.26 compiled and installed with enable-module=so option it starts and stops fine I got tomcat 4.0.4, installed it and it starts

Apache 2.0.39 + Tomcat 4.0.4 (mod_jk2.dll) on Windows 2000

2002-07-18 Thread Kevin Andryc
I can't seem to get them to work together. I have read archived posts but no one has been able to answer how to exactly set them up to work properly. I keep getting: Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a module not included in the server configuration Does anyone

  1   2   >