Re: Trying to setup Tomcat with Apache in Linux: module "mod_jk.c"is not compatible with this version of Apache

2003-01-23 Thread Lajos Moczar
Andres - What version of Apache are you using? Generally, you have to match the mod_jk version to Apache. Apache 2.0.40 is not compatible with mod_jk 2.0.42/43. Regards, Lajos Andres Montiel wrote: I have already installed the rpm version of Tomcat (taken from http://jakarta.apache.org/build

Re: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Tomislav Miladinovic
I can't figure out who has posted this question but it seems to me that configuration of the TCP/IP stack is not proper. If DNS functionality is not enabled then TCP/IP driver can't read 'hosts' file and resolve localhost name. So go to Settings>Networks>TCP/IP and enable DNS. Tomislav - Ori

Re: HttpSessionbindingListener

2003-01-23 Thread Garrett Smith
Sessions are created automatically by the container, which handles all the implementation details. An HttpSession is an interface; the container determines the session's true runtime type. Test it on your container: <%= session.getClass() %> valueBound/Unbound call back to the object that implem

Trying to setup Tomcat with Apache in Linux: module "mod_jk.c" isnot compatible with this version of Apache

2003-01-23 Thread Andres Montiel
I have already installed the rpm version of Tomcat (taken from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/rpms/tomcat4-4.1.18-full.1jpp.noarch.rpm) and the related webapps (http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/rpms/tomcat4-admin-webapps-4.1.

System Monitor accuracy --sorry

2003-01-23 Thread shawn
Sorry that was meant to be sent to RedHat. Is it just me or is the System Monitor unreliable -- shawn <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: For additional commands, e-mail:

System Monitor accuracy

2003-01-23 Thread shawn
Is it just me or is the System Monitor unreliable. It shows my cpu at 100% locked there and my system is responding slowly but viewing it bye the process listing (all, my and/or active) gives me nothing using the cpu other than the system monitor and netscape at like 1%). Under windows at least

Re: tomcat-server

2003-01-23 Thread Bill Barker
1) Much what Jason said: You can run Tomcat behind IIS to take advantage of ASP support, or you can get fancy and use Java <--> COM bridges to do much the same thing. From your description, I'd guess that you want the first option. 2) Again, what Jason said. You can view the Apache license (whic

Re: Upgrading Custom Realms from 4.0.6 to 4.1.18

2003-01-23 Thread Bill Barker
The simplest is to just disable the JMX support Listeners. Assuming that you want to keep the 'admin' webapp, then all that you need to do is to create an mbeans-descriptor.xml file looking like: http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd";> Package it in the jar with yo

Re: Servlet chaining, set remoteUser?

2003-01-23 Thread Bill Barker
Since this only really has a chance of working with a 2.3+ container (like Tomcat 4.x), I'd probably use a Filter instead of chaining Servlets. However, the idea is the same. You create a HttpServletRequestWrapper that overrides getRemoteUser and getUserPrincipal (and, possibly, isUserInRole) that

Re: Filter doing a redirect

2003-01-23 Thread Bill Barker
Calling response.sendRedirect sets the HTTP status code to 302, and populates the 'location' response header. You almost always simply want to 'return;' from your Filter in this case (since the response is complete), rather than proceed with doFilterChain. "Erik Price" <[EMAIL PROTECTED]> wrote i

Re: Virtual Hosts

2003-01-23 Thread Tom Holmes Jr.
John, don't worry about it. I got a couple of people who have a similiar configuration (Apache 2.0.43, Tomcat 4.1.18, and Win2k) with the same setup looking into my configuration files. If they can have multiple virtual hosts with multiple contexts working, then it must be something with my conf

RE: Virtual Hosts

2003-01-23 Thread Turner, John
Sorry, I would love to try and help, but I don't use JK2, so anything I suggested would be a wild guess and more likely to waste your time then solve anything. Not doubting you, but I would be very surprised if this was a problem/bug with Tomcat...I am sure there are people out there with working

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
Try the IP address instead of the hostname in workers.properties. John -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 10:32 PM To: Tomcat Users List Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 Yes. If I give the IP addre

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
Yes. If I give the IP address it works. My problem is calling tomcat from apache. The connectivity works on the same system and not for remote systems. Thanks. --- Ed Robbins <[EMAIL PROTECTED]> wrote: > See my answer to the HTTP 500 - No Context > configured. > > Replace the name localhost with

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Ed Robbins
See my answer to the HTTP 500 - No Context configured. Replace the name localhost with the actual IP address like http://192.168.1.1:8080/examples I'm willing to bet that will work for you. Ed On Thu, 2003-01-23 at 22:16, vim m wrote: > If it was a DNS problem, then shouldnt tomcat and > apa

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
If it was a DNS problem, then shouldnt tomcat and apache have problems running as standalones too??? I am assuming here, correct me if I am wrong. Anyway - http://thedomainname:8080/examples works from remote systems and http://thedomainname/ too. Like I told you http://localhost:8080/examples doe

RE: REBOOT MACHINE

2003-01-23 Thread Tref Gare
Sorry Matthias, I was looking for a little more infor than that even.. like what the error message actually was for example. ;-). In the meantime (and hopefully you've already resolved this as I appreciate it's been a day or two since I last logged in) you could try running tomcat from the comman

Re: Virtual Hosts

2003-01-23 Thread Ed Robbins
If your getting these in your apache logs then you don't have Apache configured to call Tomcat. Apache has to configured so that when it sees a URL ending in /examples that it passes it along to Tomcat. For instance, using mod_jk with ajp13 the following would do it: JkMount /examples/* ajp13 T

Re: URL

2003-01-23 Thread Kevin Li
you need to config this from your web server to map this port. check with your Admin person... Thanks Kevin On Thursday, January 23, 2003, at 01:11 PM, Ravindra K. Bhat wrote: Hi: I wanted the users to not see the port when they browse..ie instead of the url being https://www.mydom.com:8443/

Re: Virtual Hosts

2003-01-23 Thread Tom Holmes Jr.
Hi Chris, I am afraid we have two seperate issues. It seems like I solved your issues a few days ago and have a few new ones to work out. If you need any more help, send me a message directly and I will see how I can help. However, it seems so far that the answers you have already got will work.

Re: HTTP 500 - No Context configured

2003-01-23 Thread Ed Robbins
I've seen this many times. Never mind the rightnous or wrongnous of this statement - If you want to see it work, replace localhost with the actual IP address of the machine. So, if the IP address is 192.168.1.1, then try http://192.168.1.1:8080/ Ed On Thu, 2003-01-23 at 18:52, pcampaigne wrote:

Re: tomcat-server

2003-01-23 Thread Jason Pyeron
Leelanand, Tomcat (server) is an open-source developed product. This means that you may use it without fee. Please see http://jakarta.apache.org/tomcat . If what you mean by purchase is support or professional assistance, then there are many companies in South East Asia which will assist you fo

tomcat-server

2003-01-23 Thread Leela Nanda
Dear Sir, I, Leelanand Reddy hereby would like to introduce myself as a Java programmer in a software development firm in Kuala Lumpur, Malaysia. Hence I'm hereby submitting my queries for which I need a detailed explanation. We have been developing a web based application for a

RE: Memory leak with ThreadGroups

2003-01-23 Thread Craig R. McClanahan
On Thu, 23 Jan 2003, Tolles, James wrote: > Date: Thu, 23 Jan 2003 15:23:05 -0800 > From: "Tolles, James" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: Memory leak with ThreadGroups > > I've noticed this when us

Re: Virtual Hosts

2003-01-23 Thread Chris Schild
Does any know what would cause this message: Directory index forbidden by rule: C:\apache\qv This is when I go the url http://mydomain.com/examples http://mydomain.com/examples/jsp/index.html works just fine I'm having the same problem. In the log files apache2/logs/COM_error_log I get a:

Re: HTTP 500 - No Context configured

2003-01-23 Thread pcampaigne
The information I gave yesterday was wrong. I was viewing the server.xml file in Mozilla and I should have been viewing it in the xml viewer. The following lines in /etc/tomcat4/server.xml relate to ROOT: -> The problem is as follows: > HTTP Status 500 - No Context configured to process th

Re: Compile error: class file contains wrong class, bad class file???

2003-01-23 Thread Chris Schild
Sorry, I figured it out. When I installed the Tomcat directory under Apache. The compiler was picking up %tomcat_home%/servlet.jar instead of the servlet2_03/servlet.jar defined in the classpath ooopsss. - Original Message - From: "Chris Schild" <[EMAIL PROTECTED]> To: "Tomcat Users

RE: Memory leak with ThreadGroups

2003-01-23 Thread Tolles, James
I've noticed this when using jswat debugger. Each time we use the manager app to reload and updated class, we can see a new instace of the class in the jswat class list - each as a extra little number assigned to it. Its beyond my skill level but is seems odd that there can be two instances of t

Re: Memory leak with ThreadGroups

2003-01-23 Thread Craig R. McClanahan
On Thu, 23 Jan 2003, Joseph Shraibman wrote: > Date: Thu, 23 Jan 2003 16:58:28 -0500 > From: Joseph Shraibman <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Memory leak with ThreadGroups > > One of my classes creates a static ThreadGroup.

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
If you can't get responses when checking from a remote machine, you have a name resolution/DNS problem that is preventing thedomainname from resolving to a number. John -Original Message- From: vim m [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:42 PM To: Tomcat Users L

Re: strange response.getAttribute problem

2003-01-23 Thread Erik Price
Ron Day wrote: also its request.getAttribute, not response.getAttribute. Sorry, typo ... ;) Erik -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: strange response.getAttribute problem

2003-01-23 Thread Ron Day
also its request.getAttribute, not response.getAttribute. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:16 PM To: Tomcat Users List Subject: strange response.getAttribute problem In my index.jsp file, I have the following snippet of cod

Re: strange response.getAttribute problem

2003-01-23 Thread Erik Price
Bill Lunnon wrote: Try request.getParameter() I must have been mixed up -- I could have sworn that they were getAttribute()! Thanks Bill. also you should test for null on the parameter (it will probably cause a NullPointerException down the line) Yes, it returns the string "null" which my

RE: strange response.getAttribute problem

2003-01-23 Thread Ron Day
getAttribute returns 'Object'. You need to cast it to 'String' Ron -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 4:16 PM To: Tomcat Users List Subject: strange response.getAttribute problem In my index.jsp file, I have the following snip

Compile error: class file contains wrong class, bad class file???

2003-01-23 Thread Chris Schild
Hi all, here is the error I get... C:\Java\JCreator LE\MyProjects\Email\Email.java:16: cannot access ServletConfig bad class file: C:\Java\servlet-2_3\javax\servlet\ServletConfig.class class file contains wrong class: javax.servlet.ServletConfig Please remove or make sure it appears in the correct

RE: strange response.getAttribute problem

2003-01-23 Thread Bill Lunnon
Try request.getParameter() also you should test for null on the parameter (it will probably cause a NullPointerException down the line) HTH Bill -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 January 2003 9:16 AM To: Tomcat Users List Subject: strange res

Re: Virtual Hosts

2003-01-23 Thread Chris Schild
This is when I go the url http://mydomain.com/examples http://mydomain.com/examples/jsp/index.html works just fine I'm having the same problem. In the log files apache2/logs/COM_error_log I get a: Directory index forbidden by rule: Is there a definition in http.conf that I need to alt

Re: Virtual Hosts

2003-01-23 Thread Chris Schild
I'm having the same problem. In the log files apache2/logs/COM_error_log I get a: Directory index forbidden by rule: Is there a definition in http.conf that I need to alter??? - Original Message - From: "John Ruffin" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]

strange response.getAttribute problem

2003-01-23 Thread Erik Price
In my index.jsp file, I have the following snippet of code: " /> I'm trying to capture the value of the "dest" URL parameter. I tried setting it as an attribute in the response object that redirects to index.jsp, and that didn't work. But I thought for sure that if I hardcoded it into the UR

Re: Memory leak with ThreadGroups

2003-01-23 Thread Joseph Shraibman
Sorry, forgot to mention: tomcat 4.1.18, jdk 1.4.1_01 on linux. Joseph Shraibman wrote: One of my classes creates a static ThreadGroup. I notice that when I update a class and tomcat reloads that context the ThreadGroup is still around. If the ThreadGroup is still around that means the old cla

Memory leak with ThreadGroups

2003-01-23 Thread Joseph Shraibman
One of my classes creates a static ThreadGroup. I notice that when I update a class and tomcat reloads that context the ThreadGroup is still around. If the ThreadGroup is still around that means the old class is still around, which means that class loader is still around. Why is it still aroun

Forward to ROOT context?

2003-01-23 Thread Chris Ward
I have more than one app, each in their own context, with a single secure login in the ROOT context. The web site has one domain name, and it points to ROOT. I have been able to get to other contexts, but I can't seem to 'get back' to my login page in the ROOT context. This is the code I have tr

RE: Form Data & IE vs NS

2003-01-23 Thread Bill Lunnon
[Suggestion] Don't rely on browsers to retain the previous data on a a posted form. If you have detected an error, retrieve the data that was posted (via request.getParamter()) and populate the form yourself. Sample scriptlet could be <% String lastFoo = ""; //error detected, haveError set to tru

RV: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Aleix Vergés
-Mensaje original- De: Aleix Vergés [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 22:01 Para: 'Ignacio J. Ortega' Asunto: RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat Hi, Thank you very much for your help.

RV: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat

2003-01-23 Thread Aleix Vergés
-Mensaje original- De: Aleix Vergés [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 23 de enero de 2003 22:52 Para: 'Ignacio J. Ortega' Asunto: RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat How can I send this to that box? This is

HttpServletResponse Caching

2003-01-23 Thread Jacob Hookom
I'm going to cache the response from a resource via a filter (WrappedHttpServletResponse). Currently I'm storing both the header information and the outputstream as a byte array. Should I be making accommodations for storing/rewriting header information, or is this something that automatically ge

Re: Form Data & IE vs NS

2003-01-23 Thread Joseph Shraibman
Is it a https:// url? Kevin Wilson wrote: [problem] Form data not retained using back operation in IE v6.0.2800.1160 after a form is posted but a required field was missing. Versions of IE prior to this would allow the retention of form data. [info] Netscape v7.0 retains the data after an unsucc

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
John: I just checked this out. The connection is working if I access the server from the same machine. Till now, I was checking this from a remote machine. But listen to this - maybe it would help. It works for: http://localhost - I see the default Apache page. But http://localhost:8080/ does not w

Re: Virtual Hosts

2003-01-23 Thread Lajos Moczar
And make sure both your domains are setup correctly in /etc/hosts (assuming you're on a 'nix). One problem I've seen is that if you don't have the /etc/hosts correct, Tomcat will default to one of the , just like Apache will default to the first block. Lajos Turner, John wrote: In server.xm

RE: Virtual Hosts

2003-01-23 Thread Turner, John
In server.xml there is an element named Host with a parameter named "name" with a value of "localhost". Within that Host element is a Context for "/examples". In order to get "mydomain.com/examples" to work, you either: 1) Use within to alias mydomain.com to localhost or 2) copy the localho

DBCP: pool exhausted

2003-01-23 Thread Pablo L. Crivaro
Hi all, i'm new in the list. I receive a "java.sql.SQLException: DBCP could not obtain an idle db connection, pool exhausted" using a resource org.apache.commons.dbcp.BasicDataSourceFactory even closing the connections, having removeAbandoned in true, but nothing happens. The connexions remains sle

RE: Virtual Hosts

2003-01-23 Thread John Ruffin
I'm having a similar issue. I'm running tc4.1.18 on w2k server. http://localhost/examples works but http://mysite.com/examples doesn't. I searched the archives and found some information on creating a host file with the FQDN as the name but that didn't seem to work. Is there something else I nee

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
OOps: the previous mail was sent away accidentally. thedomainname gets resolved to my system name. Well let me know if something comes up.Thanks a lot anyway. --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > Sorry, I'm stumped. Your config files look OK to > me. I'm assuming that > wherever y

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
Thats right. --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > Sorry, I'm stumped. Your config files look OK to > me. I'm assuming that > wherever you have "thedomainname" in your files, > that you have an actual > name that can be resolved to an IP address, right? > "thedomainname" is just >

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
Sorry, I'm stumped. Your config files look OK to me. I'm assuming that wherever you have "thedomainname" in your files, that you have an actual name that can be resolved to an IP address, right? "thedomainname" is just a placeholder you're using when you post the files to the net for us to see?

RE: URL

2003-01-23 Thread Turner, John
If running Tomcat alone works for you, go for it. Apache and the JK/JK2 connectors are optional and should only be used if required. On a URL, "https" = 443. That's an Internet standard. If you use "https", you never have to put "443" on the URL. If you want to use Tomcat alone, change Coyote

Re: URL

2003-01-23 Thread ContestAdmin
"Ravindra K. Bhat" wrote: > Hi: > > I wanted the users to not see the port when they browse..ie > instead of the url being https://www.mydom.com:8443/**.* i would rather > have them see https://www.mydom.com/**.* > The only way to have them not see the port is to have https bind to port 443.

Form Data & IE vs NS

2003-01-23 Thread Kevin Wilson
[problem] Form data not retained using back operation in IE v6.0.2800.1160 after a form is posted but a required field was missing. Versions of IE prior to this would allow the retention of form data. [info] Netscape v7.0 retains the data after an unsuccessful post and the back button is used to r

URL

2003-01-23 Thread Ravindra K. Bhat
Hi: I wanted the users to not see the port when they browse..ie instead of the url being https://www.mydom.com:8443/**.* i would rather have them see https://www.mydom.com/**.* Also .. I have connected Apache 2.1 with TCAT 2.0.6 w/ ssl using mod_jk..but my pages loaded slowly (mostly servl

Filter doing a redirect

2003-01-23 Thread Erik Price
I wrote a filter, which performs a redirect *before* calling doFilterChain(). It is mapped to "/main.jsp". I was hoping that this would cause the redirect to occur *before* calling main.jsp, but that appears not to be the case. Does the redirect occur afterward even though I have not yet cal

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
Im sorry to have confused you. The error message i mentioned is this: [Thu Jan 23 14:34:27 2003] [warn] Init: Session Cache is not configured [hint: \SSLSessionCache] Is this is to do with SSL?- I am not usind SSL. The error message that I get on my browser is Filenot found 404. Thank you ---

Re: jk_ajp_common.c errors - issues with mod_jk receiving messages from tomcat

2003-01-23 Thread Harippriya Sivapatham
I found the solution for my problems and i thought that i will record it for future visitors ... - Original Message - From: "Harippriya Sivapatham" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 1:33 PM Subject: jk_ajp_common.c errors - i

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Daniel Brown
It's just a crazy, ever changing world. Thanks for the pointer :) > -Original Message- > From: Lorenti, John [mailto:[EMAIL PROTECTED]] > Sent: 23 January 2003 19:52 > To: 'Tomcat Users List' > Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter > > > Daniel, > > If you fo

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Tim Moore
> -Original Message- > From: Lorenti, John [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 3:53 PM > To: 'Tomcat Users List' > Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter > > > Hello all, > After *explicitly* placing the > /common/lib/servlet.jar on t

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Lorenti, John
Hello all, After *explicitly* placing the /common/lib/servlet.jar on the Tomcat classpath the Filter class is found. However it is my understanding that Tomcat shouldn't require me to do this since all jars in that directory are loaded by Tomcat (aren't they?). This is an ugly workaround, but I t

Re: Changing URL

2003-01-23 Thread Lajos Moczar
Good idea. But either way, it is a bad idea 'cause you want to keep 443 as a secure port and not get confused into having users send unencrypted confidential data. I'm curious why he wants to do this ... Lajos Jakarta wrote: or use a port forward (it's easy with iptables) - Original Messa

Re: Changing URL

2003-01-23 Thread Jakarta
or use a port forward (it's easy with iptables) - Original Message - From: "Lajos Moczar" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 5:50 PM Subject: Re: Changing URL > If you call https://www.domain.com you don't have to supply 443 -

Re: Changing URL

2003-01-23 Thread Lajos Moczar
If you call https://www.domain.com you don't have to supply 443 - it is understood. Otherwise, you can't do that (except by some rewrite). And besides, why? Lajos Ravindra K. Bhat wrote: Hi: How can I replace my www.domain.com:443 with www.domain.com but still use the same :443 port? Thanks

RE: Changing URL

2003-01-23 Thread Turner, John
? Use "https://www.domain.com"; instead of "http://www.domain.com";. John > -Original Message- > From: Ravindra K. Bhat [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 3:47 PM > To: Ravindra K. Bhat > Cc: [EMAIL PROTECTED] > Subject: Changing URL > > > Hi: > > How c

Changing URL

2003-01-23 Thread Ravindra K. Bhat
Hi: How can I replace my www.domain.com:443 with www.domain.com but still use the same :443 port? Thanks Ravi -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
Sorry, I'm pretty confused right now. I thought you said the tomcat examples were working, but the other applications that you added weren't. What is the exact error message that you get when you try to access http://your.domain.name/examples using your existing configuration? I realize the exa

Re: Context elements in individual files

2003-01-23 Thread Craig R. McClanahan
On Thu, 23 Jan 2003, Lukasz Szelag wrote: > Date: Thu, 23 Jan 2003 15:38:02 -0500 > From: Lukasz Szelag <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Context elements in individual files > > Hello, > > Tomcat (4.1) documentation > (http:

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread Turner, John
Agreed. The auto-config is nice, though, to get a jump start and have a solid base and example of what you need to make things work. John > -Original Message- > From: Lajos Moczar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 3:22 PM > To: Tomcat Users List > Subject: R

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread "Sebastião Carlos Santos"
I will redo the configuration of the Apache with the tomcat, this time not using mod_jk.conf generated automatically. I thank for the the help and released attention *** REPLY SEPARATOR *** On 23/01/2003 at 13:22 Lajos Moczar wrote: >E-mail Premium BOL >Antivíru

Context elements in individual files

2003-01-23 Thread Lukasz Szelag
Hello, Tomcat (4.1) documentation (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html ) says that Context elements that are defined inside a Host element in server.xml can be stored in individulal files (with an ".xml" extension) in the appBase directory for a Host. Despite that

Re: Tomcat MOD JK Error...

2003-01-23 Thread Lajos Moczar
I vaguely remember hearing about unexpected disconnects with ajsp12 after periods of activity, but I could be totally wrong. I would definitely use ajp13, though that may not be your problem. Lajos Karikalan Kumaresan wrote: Does anyone know why the following errors occurs when I try to access

Tomcat MOD JK Error...

2003-01-23 Thread Karikalan Kumaresan
Does anyone know why the following errors occurs when I try to access the JSP in tomcat? [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 The whole system was running fine till last week... really have not chang

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread "Sebastião Carlos Santos"
John, My great problem is that my application won't be put on the $CATALINA_HOME. The / web was an assembly point, as any any other one (for instance / opt, / home, / usr) defined in the moment of the installation. The $CATALINA_HOME appears for / usr/local/jakarta-tomcat-4

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread Lajos Moczar
Yup, you can do that, and then manually put the JkMount commands where you need them. However, I always find it more intuitive and readable to have all commands directly in httpd.conf. Personally, I hate the auto-generated mod_jk.conf because almost all Tomcat installations I have done required

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Karikalan Kumaresan
Does anyone know why the following errors occurs when I try to access the JSP in tomcat? [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 The whole system was running fine till last week... really have not chang

Re: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Lajos Moczar
No, you don't. If you have a docBase say of /home/myapps, and an app under there - /home/myapps/myapp, and no defined, Tomcat will direct a URI beginning with /myapp to /home/myapps/myapp PROVIDED that the dodBase of the is /home/myapps. Lajos vim m wrote: Do you have to include Context in

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread "Sebastião Carlos Santos"
Without problem. Everything is well. In case I have configured Tomcat to generate mod_jk.conf automatically the configuration will change? Best saying, I just used Include / path/to/mod_jk.conf in httpd.conf instead of LoadModule, AddModule and JkWorkersFile. Sebastião Carlos Santos Oracle Data

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
Do you have to include Context in server.xml? Let me get this straight first - Is this required when tomcat runs as a standalone? If so, I have never included anything in server.xml. Both for tomcat on win and linux. And they have been working fine for me. Also I have integrated apache and tomcat o

Re: Apache + Tomcat + Virtual Host

2003-01-23 Thread Lajos Moczar
Sebastiao - Sorry I didn't get back to you ealier in the week on this. What you need to do is add a JkMount directive inside your virtual host: JkMount /admged ajp13 JkMount /admged/* ajp13 This is assuming that you put the LoadModule, AddModule, JkWorkersFile earlier in httpd.conf. In server

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
Where are the Contexts in server.xml for all of your applications?? For each "/someDir" in a URL you need a Context. John > -Original Message- > From: vim m [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 2:56 PM > To: Tomcat Users List > Subject: RE: Apache2.0.40 Tomcat4

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Lorenti, John
Daniel, If you follow your link, you'll see the following message: The file named http://java.sun.com/j2ee/dtds/web-app_2_3.dtd has been renamed to http://java.sun.com/dtd/web-app_2_3.dtd in the most current version of the specification. Please update your application to use the new name. You ma

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
Oh ok. I thouht inline would be easier. I have attached the files this time. Thank you. --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > 2.0.44 is module compatible with 2.0.43. Everything > looks OK, but it would > probably be easier if you posted the files: > server.xml, mod_jk.conf, > worker

RE: Apache + Tomcat + Virtual Host

2003-01-23 Thread Turner, John
DocumentRoot /web/admged ServerName www.admged.ufu.br JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 I think, assuming /web is your Host's appBase: If /web isn't your Host's appBase, then: I always put everything under CATALINA_HOME, so I might have those paths incorrect.

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
2.0.44 is module compatible with 2.0.43. Everything looks OK, but it would probably be easier if you posted the files: server.xml, mod_jk.conf, workers.properties. It's hard to diagnose when things are copied inline, at least for me. John > -Original Message- > From: vim m [mailto:[EM

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread vim m
Yes I did. Does apache2.0.44 work with mod_jk2.0.43.so? Has anybody done this before? Or maybe I should just stick to ur suggestion and get apache2.0.43 on my system? Thank you. --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > You waited until Tomcat generated mod_jk.conf to > start Apache? >

Re: web-inf directory

2003-01-23 Thread Craig R. McClanahan
On 23 Jan 2003, Felipe Schnack wrote: > Date: 23 Jan 2003 14:55:02 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: web-inf directory > > Hey guys... > I was wondering, how can make my se

Re: MBeanServer

2003-01-23 Thread Craig R. McClanahan
On 23 Jan 2003, Felipe Schnack wrote: > Date: 23 Jan 2003 11:46:49 -0200 > From: Felipe Schnack <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: MBeanServer > > Anyone could explain me what's the purpose of the MBeanSe

Re: Adding Tomcat Manager without restarting.

2003-01-23 Thread Craig R. McClanahan
On Thu, 23 Jan 2003, Mikkel Lindhard wrote: > Date: Thu, 23 Jan 2003 13:43:23 +0100 > From: Mikkel Lindhard <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "Tomcat userlist (E-mail)" <[EMAIL PROTECTED]> > Subject: Adding Tomcat Manager without restarting. > > Is there

Re: Having same session in SingleSignOn

2003-01-23 Thread Craig R. McClanahan
On Thu, 23 Jan 2003, shanmugampl wrote: > Date: Thu, 23 Jan 2003 15:06:14 +0530 > From: shanmugampl <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Having same session in SingleSignOn > > Hi Al

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Craig R. McClanahan
On Thu, 23 Jan 2003, Daniel Brown wrote: > Date: Thu, 23 Jan 2003 17:59:29 - > From: Daniel Brown <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Lorenti, John
Hi again, This is the first install of Tomcat on this server (done about a month ago), and it is not presently running any jsp applications save the examples. I've set up a few contexts, but they're empty right now (except for this TestFilter in the /ws context), so I suspect the install is pretty

Apache + Tomcat + Virtual Host

2003-01-23 Thread "Sebastião Carlos Santos"
I have a server with Apache 2.0.44 and Tomcat 4.1.18 working jointly, through mod_jk.so, accordingly documented in John Turner HowTo ("Apache 2.0.43 + Tomcat 4.1.12 + mod_jk"). All accomplished the tests after the installation and when typing the url http://admged.ufu.br/examples verified that the

RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1

2003-01-23 Thread Turner, John
You waited until Tomcat generated mod_jk.conf to start Apache? John > -Original Message- > From: vim m [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 2:24 PM > To: Tomcat Users List > Subject: RE: Apache2.0.40 Tomcat4.1.18 Integration on Linux 7.1 > > > ## Auto

RE: servlets that forward to other servlets

2003-01-23 Thread Mike Jackson
Oops, ment to say "word" not "work". --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Mike Jackson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 23, 2003 11:24 AM > To: Tomcat Users List > Subject: RE: servlets that forward to other servlets > > > You get

Problem With Using allowLinking and Sessions in Tomcat 4.1.18

2003-01-23 Thread Mike Marchionna
Hello, I generally create a WebApp directory that uses symlinks to reference all the top level JSP directory trees in my WebApp. I do this so I can have a single JSP source tree in multiple App Server instances. With Tomcat 4.1 I am forced to add a Resources element to the Context definition to g

  1   2   3   >