Apache/Tomcat/Mod_jk => setKeepAlive() in Ajp13Connector.run => NoSuchMethodError

2002-07-18 Thread Gunter D'Hondt
Hello, I'm working with nt4, apache2.0.39,tomcat4.04,jdk1.22,mod_jk1.2 and I can start everything up but when browsing to a jsp page gives me the following error: Starting service Tomcat-Standalone Apache Tomcat/4.0.4 Starting service Tomcat-Apache Apache Tomcat/4.0.4 java.lang.NoSuchMethodError

Custom Tomcat Container Authentication?

2002-07-18 Thread Nic Holbrook
Can I create my own custom authentication modules by implementing the Role interface inside tomcat or extending some other classes? Is there any documentation on this subject? There only seem to be a few methods that need to be implemented so that the container can communicate properly. My

AW: How to close a response?

2002-07-18 Thread Ralph Einfeldt
One idea for the magicMethod: (Just PseudoCode has never seen a compiler) synchronized (session) { String mMagicSessionToken = session.get("MagicToken"); String mMagicRequestToken = request.getParameter("MagicToken"); String mRandom = .toString(); if ((mMagicSessionToken != null) && (!

AW: Is Tomcat affected by the Apache HTTP Server "chunked" encodingv ulnerability?

2002-07-18 Thread Ralph Einfeldt
I think that is not completely right. - As the VM is written in C or C++ and uses some native libraries it always possible that there is a buffer overflow error in that part. It's just not possible to create new buffer overflow errors wihout using native code, but code you write might in

filter to set content type

2002-07-18 Thread Dmitry Melekhov
Hello! I need to filter jsp output to set encoding in content type. I tryied several variants I can write ;-) with no success :-( Could somebody send me an example? Thank you! -- To unsubscribe, e-mail: For additional commands, e-mail:

character encoding problem

2002-07-18 Thread Winter, Wolfgang
hi, since two weeks I'm fighting with a character encoding problem without success: I send a JSP form to a Tomcat 4.03 servlet and log the form input with log4j into a file and into a database. Running on a german server with Suse Linux everything works fine. Now I installed Tomcat and servlet on

RE: Unknown exception

2002-07-18 Thread Vikramjit Singh
Hi, Which version of tc are you using. In 3.x versions this error used to come, but in 4.x it does not. In HTTP 1.0 when the connection breaks, then that error comes. The error comes with javascript files, images and static content. I dont think that it hampers your work. Its just the connection

A bunch of webapp questions!

2002-07-18 Thread Sam Ewing
More Webapp questions.. Pier ? :-) 1. I have the following directive in my httpd.conf WebAppDeploy examples conn /examples I find that if I start Tomcat and then Apache, for a little while Apache cannot even serve up content outside the web application path (eg. http://localhost/) *until

Unknown exception

2002-07-18 Thread Trevor Nielsen
Hi all, I was wondering if any of you knew what could be causing the following exception ??? Thanks, Trevor. 2002-07-19 14:38:17 - Ctx() : IOException in R( /) - java.net.SocketException: C onnection aborted by peer: socket write error at java.net.SocketOutputStream.socketWrite(Nati

RE: java jdbctest (fwd)

2002-07-18 Thread Vikramjit Singh
put your classes12.jar in $CATALINA_HOME/common/lib directory. Tomcat is not reading your driver. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1059 -Original Message- From: Mario Henley Becerril Geldis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:59 PM

new MVC with Standard Tags and DB sample

2002-07-18 Thread @Basebeans.com
Subject: new MVC with Standard Tags and DB sample From: "Vic C." <[EMAIL PROTECTED]> === I have posted initial build of a new learning application on SourceForge "basicPortal" under CVS http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal It is using Struts with Standard Tag

Re: Need help deciphering the docs for

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Ian McFarland wrote: > Date: Thu, 18 Jul 2002 19:56:19 -0700 > From: Ian McFarland <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Cc: Ian McFarland <[EMAIL PROTECTED]> > Subject: Need help deciphering the

Need help deciphering the docs for

2002-07-18 Thread Ian McFarland
Hello, The docs say that the Host tag can take a deployXML attribute, and has the following explanation: "Set to false if you want to disable deploying applications using a Context XML config file. Applications are deployed with the security permissions of catalina, for security this may need

Re: newbie has mod_jk question

2002-07-18 Thread Joseph Savard
Its seems to be live on this end. On 18 Jul 2002 at 11:09, Shannon Scott wrote: > 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://jakart

Re: Please Unsubscribe me!!

2002-07-18 Thread Joel Rees
> I have tried repeatedly to unsubscribe from this list and an error occurs. Okay, I have removed the "mailto:"; protocol declarations in the usual unsubscribe/commands links and pasted them in here: To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED

Re: Is Tomcat affected by the Apache HTTP Server "chunked" encodingv ulnerability?

2002-07-18 Thread Remy Maucherat
Tim Funk wrote: > No. Java applications cannot be victim to buffer overflow errors. That's true, and that's a big advantage of having a VM for server side apps (as the most serious security issues are usually buffer overflows). What actually happens when you have a "buffer overflow" in Java is y

j_security_check

2002-07-18 Thread jojo
Subject: j_security_check will not accept manual suggestion of the "next uri" after sucessfull login There is no way to specify the url to go to if login was sucsessfull. ie. --- -

[OT] Re: How do I Hide version specific information

2002-07-18 Thread Tim Funk
Sorry I don't, but here are some general guidelines (almost tomcat agnostic): 1) Turn off all services you don't need (EG: Using AJP? Then turn off HttpConnector) 2) Get rid of all examples and default installed webapps 3) Question every entry in your config files - don't know what an entry doe

apache/tomcat problems

2002-07-18 Thread Ed Tybursky
I am running a solaris 8 box with the following applications: apache 1.3.20 tomcat 3.3 w/ mod_jk jdk1.3 For about the past week or so we have been having major uptime issues. Apache seems to be running spawning a lot of http process but when invoking the Tomcat the application just hangs requi

German character problem

2002-07-18 Thread Andreas Schlegel
Hi, we have a strange problem and don't know the reason nor how to solve it. May be someone has an idea. A Java application (Tomcat 4.0.3, Postgresql 7.2.1, JDBC: PostgreSQL 7.2 JDBC2) runs well on W2k, also on Linux (Suse 7.2) but on SOLARIS OS (Sparc) we have the following problem: All spec

Re: Webdav servlet

2002-07-18 Thread David Goodenough
On Thursday 18 July 2002 19:44, you wrote: > I tried using the WebDAV servlet some time back, but it doesn't work as > well as I'd hoped (at least, with DW UltraDev that my developers > demanded). If you are using Apache-Tomcat you can try mod_webdav > instead, though it requires a separate port f

Re: java jdbctest (fwd)

2002-07-18 Thread Shahed Moolji
you need to add the current dir to your classpath ie . $CLASSPATH=./:$CLASSPATH - Original Message - From: "Mario Henley Becerril Geldis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 3:59 PM Subject: java jdbctest (fwd) > > >$javac jdbctest.java run fine

Re: How do I Hide version specific information

2002-07-18 Thread mls
Tim Funk wrote: > In reality - use best practices to secure your installation. Any "best practices" link for Tomcat security? das -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: common/lib installation problems

2002-07-18 Thread mls
Kirsten Sachwitz wrote: > 1) install Java 2 run time enviroments (file name: > j2re-1_4_0_01-windows-i586.exe) this installs properly Try installing Java SDK, not just run time. das -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Tomcat hangs with Apache2

2002-07-18 Thread Chris McCabe
Yes, getting them installed and working together was actually fairly easy. I can't get the mod_jk connectors to work yet, but the mod_webapp works except for the problem I described, which happens on every request, so it is useless. I have it working on RedHat 7.0 and RedHat 7.2 systems. Th

java jdbctest (fwd)

2002-07-18 Thread Mario Henley Becerril Geldis
$javac jdbctest.java run fine, but when i try $java jdbctest, this say: Exception in thread "main" java.lang.NoClassDefFoundError: jdbctest my CLASSPATH=/usr/local/source/oraInventory/jdbc/lib/classes12.jar: /usr/local/source/oraInventory/jdbc/lib/nls_charset12.jar: /usr/java/j2sdk1.4.

Re: Apache Tomcat integration-please help

2002-07-18 Thread developer
The lack of a ServerName tag and the warpConnection instead of conn seemed to be my problem i am up and running thanks for your help! ryan On Thu, 18 Jul 2002, Milt Epstein wrote: > On Thu, 18 Jul 2002 [EMAIL PROTECTED] wrote: > > > UNfortunately I have tried that at it did not help. Anymore

RE: Tomcat hangs with Apache2

2002-07-18 Thread Billingham, Walter 475
Chris, I'm a newbie, so excuse lack of knowledge, however, you actually got these 2 to install and work together can you share your experience? Are you using mod_jk or the AJP connectors? What's the specs of the system? Thanks. Trask Unix has its weak points but its file system is no

Tomcat hangs with Apache2

2002-07-18 Thread Chris McCabe
I have Tomcat 4.0.4 running with Apache 2.0.39 web server using the webapp connector on Linux, and all requests hang after returning just over 1200 bytes of data. After some searching around on the web, I found a couple of places that complained about the same problem, but no workaround. In

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

2002-07-18 Thread Eddie Bush
Couldn't you exec a whois and parse it? Yeah, it probably wouldn't be the prettiest thing you ever saw, and you just blew you platform-independence, but if the functionality is that key, it may be your only option. Cunningham Emmett wrote: >There was an interface that was sorta usable from >

Re: Is Tomcat affected by the Apache HTTP Server "chunked" encodingv ulnerability?

2002-07-18 Thread Tim Funk
No. Java applications cannot be victim to buffer overflow errors. Rinehart, Steve C wrote: > I posted this once before but thought I'd give it one more try. > > Does anyone know if the Apache HTTP Server "chunked" encoding vulnerability > in the Apache Web server is also present in Tomcat 3.2.1?

Re: mod_webapp.so

2002-07-18 Thread Joseph Molnar
Hi Diego, if you are looking to use WARP, try out this tutorial I put together http://www.codesta.com/knowledge/technical/tomcat_warp_apache/ Joe - Original Message - From: "Diego, Emil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 6:06 AM Subject: mod_w

Re: Apache Tomcat integration-please help

2002-07-18 Thread Milt Epstein
On Thu, 18 Jul 2002 [EMAIL PROTECTED] wrote: > UNfortunately I have tried that at it did not help. Anymore > suggestions would be wonderful, cause I am stumped. Maybe does it > have something to do with my apache install? Well, that *was* a problem, but maybe it wasn't the only one. Try comme

Is Tomcat affected by the Apache HTTP Server "chunked" encoding vulnerability?

2002-07-18 Thread Rinehart, Steve C
I posted this once before but thought I'd give it one more try. Does anyone know if the Apache HTTP Server "chunked" encoding vulnerability in the Apache Web server is also present in Tomcat 3.2.1? See below We are using Tomcat 3.2.1 on Windows NT 4.0 in standalone mode. We have not specifically

Re: Apache Tomcat integration-please help

2002-07-18 Thread developer
UNfortunately I have tried that at it did not help. Anymore suggestions would be wonderful, cause I am stumped. Maybe does it have something to do with my apache install? thanks ryan On Thu, 18 Jul 2002, Milt Epstein wrote: > On Thu, 18 Jul 2002 [EMAIL PROTECTED] wrote: > > > I am having a

Newbie question - NullPointerException when doing RequestDispatcher.forward(..)

2002-07-18 Thread Maya Vayner
Hi, I have the NullPointerException thrown by forward method of RequestDispatcher object. Code line that does that: // value of page parameter is "/view/errors/paramErrors.jsp" getServletContext().getRequestDispatcher(page).forward(request, response); Basically, it is inside

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

2002-07-18 Thread Paul landolt
I've noticed that most of these Apache / Tomcat / Mod_jk2 instructions get one to a point where http://localhost/examples will map to http://localhost:8080/examples And this is great, but what about introducing virtual hosts into the equation. Currently, I use in apache (httpd) to direct hos

Re: How to close a response?

2002-07-18 Thread Will Hartung
From: "Jenya Strokin" <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 9:10 AM Subject: RE: How to close a response? > 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 s

RE: How to get InitParameters.

2002-07-18 Thread Luminous Heart
Howdy back :) This code, out.println("Try tip from **[EMAIL PROTECTED]**: " + getServletConfig().getInitParameter("host")); out.println(""); out.println("Servlet init parameters"); java.util.Enumeration e = getInitParameterNames(); while (e.hasMoreElements()) { String key = (String)e.nextE

RE: newbie has mod_jk question

2002-07-18 Thread Billingham, Walter 475
I need a working copy of mod_jk.so for an AIX 5.1 build or a howto build it because apxs is a blur for me to understand how to use and I downloaded the source but the copy or install paths in the older HOWTO guide are not present in my setup. For instance is java version 1.3.0 or 1.3.1 suppose to

Re: How to close a response?

2002-07-18 Thread Will Hartung
From: "Jenya Strokin" <[EMAIL PROTECTED]> Sent: Thursday, July 18, 2002 7:43 AM Subject: RE: How to close a response? > 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: > If user clicks link twice, browser

RE: forwarding through j_security_check

2002-07-18 Thread Mete Kural
Jim, You may also want to check out Tapestry: http://www.saush.com/tapestry/ Good luck, Mete __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: For addit

Re: Webdav servlet

2002-07-18 Thread August Detlefsen
I tried using the WebDAV servlet some time back, but it doesn't work as well as I'd hoped (at least, with DW UltraDev that my developers demanded). If you are using Apache-Tomcat you can try mod_webdav instead, though it requires a separate port for each virtual host. If you need, I can post the c

RE: How to get InitParameters.

2002-07-18 Thread Shapira, Yoav
Howdy, Getting init parameters is usually a simple deal. Please post the code you're using to get the parameters, and the results you get. I'm assuming your tomcat environment is set up correctly, no errors on startup, the examples run, etc.? Typically, getServletConfig().getInitParameter("para

How to get InitParameters.

2002-07-18 Thread Luminous Heart
I can access my parameters if I put them in this format. But if I use this format, which what I really want, I can not access them using getInitParameter(name) testbed Mail/testbed.jsp protocol imap mbox Inbox host lo

RE: Apache Tomcat integration-please help

2002-07-18 Thread Sullivan, Mark E
it should be: WebAppConnection warpConnection warp localhost:8080 WebAppDeploy examples warpConnection /examples since you declare your WebAppConnection as warpConnection. Also, are you sure 8080 is the correct port? The default for mod_webapp is 8008, unless you changed it in the server.xml fil

Fw: Bug in tomcat 3.2.3

2002-07-18 Thread smashingwebs
Anybody.Any ideas?? - Original Message - From: "smashingwebs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 3:01 PM Subject: Re: Bug in tomcat 3.2.3 > Thanks for the ideathat solved some of the problem. > It n

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

2002-07-18 Thread Cunningham Emmett
There was an interface that was sorta usable from a programmatic standpoint. It was closed due to abuse. There are companies that sell a survey of the web relative to IP addresses and hostnames. I think that one of the products that Paul Vixies company sells has this, or did a few years ago an

Re: Apache Tomcat integration-please help

2002-07-18 Thread Milt Epstein
On Thu, 18 Jul 2002 [EMAIL PROTECTED] wrote: > 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 sto

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

2002-07-18 Thread Shapira, Yoav
Howdy, See John Turner's response: it's not required for an IP address to have a host name associated with it. The reverse is true, every host name must have (at least one) IP address associated with it. So it could be the IP address you couldn't resolve doesn't have a hostname. Can you get a h

Re: io path information in servlets

2002-07-18 Thread Will Hartung
From: "Craig R. McClanahan" <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 11:19 PM Subject: Re: io path information in servlets > On Wed, 17 Jul 2002, Will Hartung wrote: > > > It has CONVENTIONALLY been done this way, as it's a fairly obvious > > optimization to handle a web app (who wants

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

2002-07-18 Thread Mladen Turk
0. Install Java 1.4 1. Install Tomcat 4.1.7 (like c:\tomcat4.1.7) 2. set the TOMCAT_HOME as system environment variable and reboot 3. Install Apache (2.0.39 min at somewhere like c:\apache2) 4. Build jk2 from cvs (current builds wont work) 5. copy tomcat-jni.jar to c:\tomcat4.1.7\bin 6. copy tomca

Re: io path information in servlets

2002-07-18 Thread Craig R. McClanahan
On Thu, 18 Jul 2002, Will Hartung wrote: > > This all came out of the fact that it seems essentially impossible to create > a webapp according to the 2.3 spec that uses file based storage and have it > be usable "out of the box" with zero basic configuration to start up. For > example, I don't

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

2002-07-18 Thread Ignacio J. Ortega
> 4. Build jk2 from cvs (current builds wont work) Why? current nigthtly is a little outdated ( 2 weeks ) but should work.. This night i will replace nightlies .. Saludos , Ignacio J. Ortega -- To unsubscribe, e-mail: For additional commands, e-mail:

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

2002-07-18 Thread Andrew Conrad
Yea, you don't need JkWorkersFile any longer for mod_jk2, or any of the other JK* commands. Check out this link: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg59593.html - Andrew > -Original Message- > From: Kevin Andryc [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Jul

Portabilty concern for getServletContext (was Re: ??? Tomcat Bug? -- Throws NullPointerException ???)

2002-07-18 Thread Will Hartung
From: "Tony LaPaso" <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 5:53 PM Subject: ??? Tomcat Bug? -- Throws NullPointerException ??? > public class HelloWorld extends HttpServlet { >public void doGet(HttpServletRequest request, > HttpServletResponse response) >

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

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 and

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 PROTEC

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 zon

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

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

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 suggestio

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 just

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: For additional commands, e-mail:

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

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 wro

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

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 wh

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

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 threa

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 (I

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

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 Messa

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 fo

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; fr-FR;rv:0

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% \comm

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

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 / HTTP/1.0 =enter - Do you set the header as early as possible ? Tomcat 3.* might have a different buffer behaviour tha

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 Mess

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 Kj

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: 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 (!user.

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

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

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 installation

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.

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 { /*

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"); response.setHea

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:

How do I Hide version specific information

2002-07-18 Thread Kevin Passey
Thanks Kevin Passey -- To unsubscribe, e-mail: For additional commands, e-mail:

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 c

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

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 [EMA

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 incorp

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 do

  1   2   >