RE: TC4.1.12 on W2K => service doesn't start!

2002-10-15 Thread Nicholas Orr
First check to see if the service is set to start Automatically (Start >> Settings >> Control Panel >> Administrative Tools >> Services) Locate it in the list and in the column "Startup Type" if it doesn't say Automatic, double click on it and in the properties dialog change the start up type to

Re: Symlink and trouble with include directive

2002-10-15 Thread Luise Massimo
thanks for answer there is not only allowLinking buggy in 4.1.12, but also symlink that TAKE INSIDE webapp directory are not allowed managed correctly !! i hope it will be correct soon. Max Graham King wrote: > Luise, > > I have the same problem. In Tomcat versions 4.1.* applications are no

TC4.1.12 on W2K => service doesn't start!

2002-10-15 Thread Gunter D' Hondt
Hi, I've installed Tomcat 4.1.12 on W2k and it runs perfectly when using the startmenu item "start tomcat" but when using the service it doesn't start at all. I've set my system variables and have run the command below and it said "service installed succesfully" but still (even after a reboot) th

Apache-Tomcat HTTP Response Code : 500 for URL

2002-10-15 Thread achana
Hi, Apache-Tomcat warriors! I have one web-server (Apache2) ; one app-server (Tomcat4.0.4) ; and one database-server. I am trying to get the browser to open an HTTP connection to Apache and tunnel the request to Tomcat to get some data from the database server. Todate, it has been a frustrating

AW: Help in Tomcat4.x

2002-10-15 Thread Ralph Einfeldt
That solution is not recommended, as the servlet container can decide to destroy the servlet at any time not onls at shutdown. The official way is to use a ServletContextListener: http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html > -Ursprüngliche N

RE: Help in Tomcat4.x

2002-10-15 Thread Nicholas Orr
On suggestion Use to start a servlet. And in this servlet define the destroy method public destroy() { } Have this call your other servlet or class. Hope this helps, Nichoals Orr -Original Message- From: Santosh Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 16 October 2002 3:

Help in Tomcat4.x

2002-10-15 Thread Santosh Kulkarni
Hi, Is there any element similar to that we can place in web.xml to invoke a servlet at the shut-down of the web application/server. I want to call a servlet when the Tomcat service is stopped. In this servlet I want to release all the database connections held. Any pointers to this are welcome.

RE: Tomcat and Webalizer

2002-10-15 Thread rdevine
THANKS RICK! And everyone else for the suggestions. I think this goes out to all so I will only send this one (Dan, Mark , Lisa - thanks for your suggestions). By adding WEB-INF folder and web.xml file to the begjsp-ch01 folder, the JSP ran just fine - I was excited! The CONTEXT suggestions

Tomcat 4 and IIS Virtual Directory

2002-10-15 Thread Lior Shliechkorn
Hello, I have Tomcat running with IIS, however, I'm not sure how to call on servlets from the URL. I have the worker.prop file pointing to a www.domain.com rather than LOCALHOST (I added my domain name into the HOSTS file under WINNT > System32 > Drivers). I created a virtual directory for

Re: Tomcat 4.1X seems broken on Linux

2002-10-15 Thread Kwok Peng Tuck
Is it possible for you to just run 4.1.x on a linux machine with no other tomcats installed? Just to prove to yourself it works? I'm thinking maybe you could have a conflict with the other tomcats. John Byrd wrote: >I'm using the server.xml that comes w/ the distro, untouched. It's >attached.

RE: Tomcat 4.1X seems broken on Linux

2002-10-15 Thread Sexton, George
I run 4.1.12 on Linux with no problems. You need to post the complete exception you are getting. -Original Message- From: John Byrd [mailto:[EMAIL PROTECTED]] Sent: 15 October, 2002 8:24 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.1X seems broken on Linux Good evening all. Excuse me if y

Re: Tomcat 4.1X seems broken on Linux

2002-10-15 Thread John Byrd
I'm using the server.xml that comes w/ the distro, untouched. It's attached. > > > John Byrd wrote: > > >Good evening all. Excuse me if you've seen this issue before, but my > >cursory search of the archives did not turn it up. > > > >I have been using Tomcat for several years. Currently on m

Warp configuration issues

2002-10-15 Thread Chilton, Gil
I am trying to use tomcat 4.1.12 from rpm with apache 1.3.23 on a fully patched RedHat 7.3 box using mod_webapp. If I define an ordinary application that does not require any server.xml changes and place it under the webapps directory with appropriate changes to apache's httpd.conf, the applicati

RE: Tomcat and Webalizer

2002-10-15 Thread rdevine
I'll try that. The book I'm using to learn JSP development did not have that as a requirement. It only listed the steps I outlined in my mail. Thanks!! -Original Message- From: Rick Fincher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:13 PM To: Tomcat Users List Subje

Re: Tomcat 4.1X seems broken on Linux

2002-10-15 Thread Jean-Francois Arcand
John Byrd wrote: >Good evening all. Excuse me if you've seen this issue before, but my >cursory search of the archives did not turn it up. > >I have been using Tomcat for several years. Currently on my Linux box I >have versions 3.3.1, 4.0.4, 4.0.5, 4.0.6, 4.1.3, 4.1.6 and 4.1.12. > >They all

Re: Unable to get JSP to run - Tomcat 4.0.6

2002-10-15 Thread Lisa Knee
Thanks Mark. I had an "aha!" reading this, as I knew the answer but did not know why or realize this was creating deployment descriptors. lisa - Original Message - From: "Mark Eggers" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 7:15 PM

Tomcat 4.1X seems broken on Linux

2002-10-15 Thread John Byrd
Good evening all. Excuse me if you've seen this issue before, but my cursory search of the archives did not turn it up. I have been using Tomcat for several years. Currently on my Linux box I have versions 3.3.1, 4.0.4, 4.0.5, 4.0.6, 4.1.3, 4.1.6 and 4.1.12. They all work superbly except for th

Re: Unable to get JSP to run - Tomcat 4.0.6

2002-10-15 Thread Mark Eggers
Bob, Since you are just 'throwing' in jsp files to tomcat, there has been no Servlet 2.3 deployment descriptors created. You'll need to add something like the following to %TOMCAT_HOME%\conf\server.xml Then stop and restart Tomcat. /mde/ just my two cents . . . . __

Re: Installation cook-book or HOW-TO

2002-10-15 Thread Indar Bhatia
Micael and John, Thank you both for your input. I tried to reinstall JDK 1.4.0_02 and Tomcat 1.4.12. I have attached the current environment variable file as a .Txt file so that you can see and suggest some changes. I tested JDK by compiling a .java file successfully before installing Tomcat. Af

RE: Exception starting filter Security Filter

2002-10-15 Thread Dan Payne
Thanks, Volker, for all the help. I finaly got the goahead to upgrade to TC 4.1.12 from 4.0 and now everything is running smoothly. -Dan -Original Message- From: Volker Leidl [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 3:14 AM To: Tomcat Users List Subject: Re: Exception

RE: Unable to get JSP to run - Tomcat 4.0.6

2002-10-15 Thread Dan Payne
I've actually gone through that book. It was my introduction to JSP and at the end of the book, STRUTS. It's been a life saver. Regarding your problem: Did you install the begjsp-ch01 context using the manager app or by shutting down and then restarting tomcat? Welcome to JSP, Dan -Origin

Re: Excluding directories from mod_jk mount

2002-10-15 Thread Matthew Hannigan
On Tue, Oct 15, 2002 at 06:36:11PM -0700, Schnitzer, Jeff wrote: > I'm having difficulty finding a thread with that specific title. Yeah I got it wrong, it's "static rules for jk/ajp13" > Is this possible? Allegedly. Haven't done it myself. Sorry I can't help you more. Matt -- To unsubscr

RE: Excluding directories from mod_jk mount

2002-10-15 Thread Schnitzer, Jeff
I'm having difficulty finding a thread with that specific title. I have searched the archives, and found many threads relating to static content, mod_jk, and apache, but none that answer my question. I'm trying to set up Apache to do two things (and _only_ two things): load balance, and serve on

Unable to get JSP to run - Tomcat 4.0.6

2002-10-15 Thread rdevine
Hello all. I'm not sure this is the right place to ask but being new to JSP I'll give it a shot and thanks in advance for any help you can supply. I am running winXP - Home. jdk1.3.1_02 Installed tomcat4.0.6 without any problems. Changed config as follows : JAVA_HOME = c:\jdk1.3.1_02

Re: Tomcat 4.0.6 and SP3

2002-10-15 Thread Luis Manuel Menes Barajas
Thanks for the reply, but it's not simple as looks like, i am working in this problem for three days, i tested in a PIII with win2k sp3 and the problem persist, i tried in a pIVm with winXP and works fine, and the app is the same, including the tomcat itself, and of course the jdk1.3.1 I am suspec

Re: Excluding directories from mod_jk mount

2002-10-15 Thread Matthew Hannigan
On Tue, Oct 15, 2002 at 05:36:00PM -0700, Schnitzer, Jeff wrote: > Is there a way to exclude some directories? In particular, I'd like > Apache to serve all content in /static. Check the thread "static pages in mod_jk/ajp13" Matt -- To unsubscribe, e-mail: For addi

Excluding directories from mod_jk mount

2002-10-15 Thread Schnitzer, Jeff
Hi! I'm using mod_jk to mount the root level of a webapp: JkMount /* balancer Is there a way to exclude some directories? In particular, I'd like Apache to serve all content in /static. I've tried: Alias /static /my/path/to/static ...but that doesn't seem to work :-( Yes, I know I can

Re: Tomcat 4.0.6 and SP3

2002-10-15 Thread Jean-Francois Arcand
As simple as it look like, have you try to reboot your machine? I knowthat's the only solution I have when I have those Socket errors. -- Jeanfrancois Luis Manuel Menes Barajas wrote: >Please help me, after installing the service pack 3, my application stops to function >properly. >The co

Re: Tomcat server dies without reporting any errors

2002-10-15 Thread Jean-Francois Arcand
Which vendor VM are you using? SUN or IBM? If it's an HotSpot error, look for a file like xxx.log -- Jeanfrancois Vandana Malik wrote: >We are running Tomcat 3.2 on Win2K. This is running as servlet only along >with IIS as the web server for the main application. The Tomcat server keeps >dying

Tomcat server dies without reporting any errors

2002-10-15 Thread Vandana Malik
We are running Tomcat 3.2 on Win2K. This is running as servlet only along with IIS as the web server for the main application. The Tomcat server keeps dying after some time without any error messages logged. Neither does the Application event viewer have anything on this. Also we tried to run t

Re: Tomcat 4.1+ Ant install + JNDI DataSource

2002-10-15 Thread Thomas Tolborg
Jacob Kjome wrote: > > You need to use a context configuration file. > > Go to: > > http://localhost:8080/manager/html/list > > Then enter your path in the "Path:" text box and enter file protocol > URL in the "Config URL:" text box such as: > > Path: /myapp > Config URL: > file:/

Re: Help please - Session timeout problem

2002-10-15 Thread Luis Manuel Menes Barajas
Or you can use the custom tags from jakarta project (Taglibs), this contains a set of session tag, and work very well -- Luis Manuel Menes Barajas, [EMAIL PROTECTED] on 10/15/2002 On 15 Oct 2002 16:23:23 -0700, Dave Patton wrote: >I believe you can use Tomcat's built-in admin application to set

Re: ROOT context lost in Tomcat 4.1.12

2002-10-15 Thread micael
Isn't it commented out for a good reason though, and we should be configuring the web.xml to do what we want for this instead? Am I missing something? Probably! ///;-) Oh, well! I've had a great day otherwise. At 06:45 PM 10/15/2002 -0500, you wrote: >This was a security fix. Look in the

Re: Tomcat 4.1+ Ant install + JNDI DataSource

2002-10-15 Thread Jacob Kjome
You need to use a context configuration file. Go to: http://localhost:8080/manager/html/list Then enter your path in the "Path:" text box and enter file protocol URL in the "Config URL:" text box such as: Path: /myapp Config URL: file:///D:/myclasses/webapps/webapp-myapp/build/

Re: ROOT context lost in Tomcat 4.1.12

2002-10-15 Thread Jacob Kjome
This was a security fix. Look in the $CATALINA_HOME/conf/web.xml and look for the mapping for the "invoker" servlet. Notice that it is commented out? Well, uncomment it and get back the /servlet/* functionality. Jake At 04:09 PM 10/15/2002 -0700, you wrote: >Helloe list: > I am having pr

Re: Help please - Session timeout problem

2002-10-15 Thread Dave Patton
I believe you can use Tomcat's built-in admin application to set session timeouts as well. You can also specify them in your web.xml file for each application. But the only way to check outside the application is to write a webapp that has access to all the ServletContext objects running in Tomc

Tomcat 4.1+ Ant install + JNDI DataSource

2002-10-15 Thread Thomas Tolborg
Hi all I have set up a development environment for tomcat. I am using ant to install and reload my webapp with the tomcat manager. I followed the "App Developer Guide" to set it up. The basic stuff works just fine. My webapp is "hot" deployed with ant and I can reload on the fly! I wanted to s

ROOT context lost in Tomcat 4.1.12

2002-10-15 Thread Nianwei Liu
Helloe list: I am having problem with Tomcat4.1.12's ROOT context. It seems that Tomcat 4.1.12 can not recognize the /servlet/ under ROOT context.( *.jsp works fine, and "/serlvet" under other context works fine). Specifically, servlets under $CATALINA_HOME/webapps/ROOT/WEB-INF/classes can no

Re: Help please - Session timeout problem

2002-10-15 Thread Bill Leath
Thanks Dave, Do you know of any way to check outside an application? Like on the linux command line or through a web interface? Thanks again, Bill Dave Patton wrote: > check int HttpSession.getMaxInactiveInterval() > > On Tue, 2002-10-15 at 13:44, Bill Leath wrote: > > Hello, > > > > I am ha

java.io.IOException: Server returned HTTP response code: 500 for URL

2002-10-15 Thread Arthur Chan
Hi, Apache-Tomcat warriors! I have one web-server (Apache2) ; one app-server (Tomcat4.0.4) ; and one database-server. I am trying to get the browser to open an HTTP connection to Apache and tunnel the request to Tomcat to get some data from the database server. Todate, it has been a frustratin

Tomcat 4.0.6 and SP3

2002-10-15 Thread Luis Manuel Menes Barajas
Please help me, after installing the service pack 3, my application stops to function properly. The components of the application are JSP with a set of beans that use RMI to connect to a RMI server. The main error is a socket exception: java.rmi.UnmarshalException: Error unmarshaling return hea

Compile jk2: make breaks

2002-10-15 Thread john-paul delaney
Hello List... I'm trying to setup (compile from source) mod_jk2 with apache2 & tomcat 4.1.12-LE. Following the instructions on the mod_jk howto on the jakarta website, I've run into a problem. When I run make from the connectors jk/native2 directory, I get the following error: /usr/bin/ld: c

RE: static rules for jk/ajp13

2002-10-15 Thread Frank Liu
The reason I asked was because we were doing that in our production (iplanet webserver -> weblogic app server). With iplanet webserver, you can apparently config it to forward everything to the appserver, except those html and gif images. This brings up another question, if we are having problem

RE: application pausing problem

2002-10-15 Thread Ritesh Saraf
Right Now I am using Windows 2000 Tomcat 4.0.3 JDK 1.4 No I aint using struts I created my own implementation, I came to know about struts long after i implemented my own so no going back for now. I am including my last email which I failed to get any helpful reply. * Last Message *

Re: Help please - Session timeout problem

2002-10-15 Thread Dave Patton
check int HttpSession.getMaxInactiveInterval() On Tue, 2002-10-15 at 13:44, Bill Leath wrote: > Hello, > > I am having a problem with sessions timing out using Tomcat 4.1 on linux > 7.2. I have set the following line in the server.xml file: > connectionTimeout="12" I then stopped and resta

Re: application pausing problem

2002-10-15 Thread Larry Meadors
How about some more info: Windows? Linux? JDK version? Tomcat version? Struts? Larry >>> [EMAIL PROTECTED] 10/15/02 14:20 PM >>> Hello All, I am getting this weird thing happening , I am building a web application using Tomcat with MVC architecture. The problem I am facing is that the so

Help please - Session timeout problem

2002-10-15 Thread Bill Leath
Hello, I am having a problem with sessions timing out using Tomcat 4.1 on linux 7.2. I have set the following line in the server.xml file: connectionTimeout="12" I then stopped and restarted Tomcat. I have two questions: 1)Is there any way to verify that connectionTimeout is now 12? 2)

Re: trouble with upgrade to a newer version of Tomcat

2002-10-15 Thread Lisa Knee
Thanks, Mark. Actually I don't need to go through most of this since we had not been developing extensively with an older version of Tomcat (I just started here yesterday and this is for my own development machine :-) but next time I find myself in this situation I'll know what to do. best regar

application pausing problem

2002-10-15 Thread Ritesh Saraf
Hello All, I am getting this weird thing happening , I am building a web application using Tomcat with MVC architecture. The problem I am facing is that the sometimes my application just pauses and as soon as I hit any key on the keyboard it is on its way again. I really donot know what can be a

RE: Configuration question

2002-10-15 Thread Turner, John
The other thing you could do is just put an entry in your hosts file for the FQDN that was causing the error, but give it an IP address of 127.0.0.1. John > -Original Message- > From: Kent Perrier [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 3:57 PM > To: Tomcat Users L

Re: trouble with upgrade to a newer version of Tomcat

2002-10-15 Thread Mark Eggers
Lisa, Here's how I've upgraded Tomcat in the past. I haven't done the 3.x to the 4.0.x in a very long time, so I may not remember everything. 1. Copy all of your apps from %TOMCAT_HOME%\webapps to another location. 2. Copy any customised configuration files (most likely workers.properties, uri

Re: Configuration question

2002-10-15 Thread Kent Perrier
On Tue, Oct 15, 2002 at 03:48:54PM -0400, Turner, John wrote: > > A quick test would be to set server.xml back to localhost, and restart, then > test with Lynx to see if you get the error. As always, the easy answer evades the one with the bloody forehead. Changing this back to localhost solves

mod_jk config

2002-10-15 Thread Aryeh Katz
Just to follow through with my current config, which is behaving like a champ. workers.properties (complete): worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=FQDN.mydomain.com worker.worker1.type=ajp13 httpd.conf (LoadModule omitted) JkWorkersFile /jakarta-tomcat-4.0.6/conf/wo

RE: Configuration question

2002-10-15 Thread Turner, John
A quick test would be to set server.xml back to localhost, and restart, then test with Lynx to see if you get the error. John > -Original Message- > From: Kent Perrier [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 3:43 PM > To: [EMAIL PROTECTED] > Subject: Re: Configurat

Re: trouble with upgrade to a newer version of Tomcat

2002-10-15 Thread Lisa Knee
Charlie, > is the old version running as a service? no > did you copy the ROOT context that contains the default page? no, in fact I can't even see how it is getting that old index because as far as I can tell it is no longer residing on my machine. When I change the port it does find the corr

Re: Configuration question

2002-10-15 Thread Kent Perrier
On Tue, Oct 15, 2002 at 12:04:49PM -0700, Mark Eggers wrote: > Kent, > > Edit /etc/hosts file and put in the following > information: > >hostname hostname.domainname > 127.0.0.1 localhost localhost.localdomain > > You'll also need to edit your /etc/nsswitch.conf to > include th

How to run multiple applications on same tomcat server which is running on different box other than apache box

2002-10-15 Thread Venkat Reddy Valluri
Hi, I am successfull to run tomcat and apache on diffrent boxes using mod_jk. but now I want to run multiple applications on same tomcat instance(I was successfull running multiple apps on multiple tomcat instances using different ajp13 ports) With apache there will be no problem, bec

Re: Avoid jsp reload

2002-10-15 Thread Padhu Vinirs
set reloadable=false in the context definition in server.xml. But this will require a restart of the server. Else, you can change the timestamp of the new source files to a older timestamp. -- padhu Alberto Romei wrote: >Hi all, >i wanted to know if it is possible to tell tomcat NOT to relo

RE: servlet mapping help

2002-10-15 Thread Aryeh Katz
> Should've noticed it the first time around, but all of these above > four lines should have "worker" instead of "workers". > Cut and paste will do that to you every time (I set the home attr). Thanks for all the help. Now I'm going to go back and see how much of my orig config I had to change.

RE: Java Question

2002-10-15 Thread Wagoner, Mark
A service will start without a user logged in (if the startup mode is set to Auto) and continue to run after they log out. Anything in the startup folder doesn't start until the user logs in and is terminated when the log out. -Original Message- From: Gaull, Kathy [mailto:[EMAIL PROTECTE

Re: Avoid jsp reload

2002-10-15 Thread Justin Ruthenbeck
This is a perfect situation for jsp pre-compiling before releasing your app. Check the archives as there have been numerous threads discussing how to do this... justin At 12:26 PM 10/15/2002, you wrote: >Hi all, >i wanted to know if it is possible to tell tomcat NOT to reload the jsp >pages

RE: trouble with upgrade to a newer version of Tomcat

2002-10-15 Thread Cox, Charlie
is the old version running as a service? did you copy the ROOT context that contains the default page? This would overwrite the default page for 4.0.6. you can always change the port number on the new installation and restart and then only the new version will be able to be accessed. Charlie >

webalizer/tomcat -- How to do it

2002-10-15 Thread Dave Patton
Here is how to integrate Webalizer into Tomcat. In case your wondering , webalizer is a real nice and free web log analysis tool which prints out some nice charts and graphics on your site usage. It come bundled in RedHat when you install Apache. 1. Include jsp files in the webalizer processing

Java Question

2002-10-15 Thread Gaull, Kathy
What is the difference or what does it gain me to run and install the jk_nt_service.exe if I am required to use JDK 1.3 vs just putting the tomcat app in the Windows Startup menu? Kathy Gaull COUNTRYSM Insurance & Financial Services Web Services Phone: (309)821-5441 Email: [EMAIL PROTECT

RE: servlet mapping help

2002-10-15 Thread Turner, John
Yikes, good eye, Milt! John > -Original Message- > From: Milt Epstein [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 3:26 PM > To: Tomcat Users List > Subject: RE: servlet mapping help > > > On Tue, 15 Oct 2002, Milt Epstein wrote: > > > On Tue, 15 Oct 2002, Aryeh Kat

RE: servlet mapping help

2002-10-15 Thread Milt Epstein
On Tue, 15 Oct 2002, Milt Epstein wrote: > On Tue, 15 Oct 2002, Aryeh Katz wrote: > > > > I would post the relevant section of httpd.conf (not the whole thing, > > > please) with the JkMount statements, and the contents of your > > > workers.properties file. Also, which version of Apache and Tom

Avoid jsp reload

2002-10-15 Thread Alberto Romei
Hi all, i wanted to know if it is possible to tell tomcat NOT to reload the jsp pages in a context, so that it continues executing the last generated servlets even if the source .jsp files have been modified or deleted. I need this trick because i would like not to copy the jsp source, since i ha

RE: servlet mapping help

2002-10-15 Thread Aryeh Katz
snip > > workers.list=ajp13 > > workers.ajp13.port=8009 > > workers.ajp13.host=correct.server.name > > workers.ajp13.type=ajp13 > > > > apache = 1.3.27 > > jakarta = 4.0.6 > > This is different from what you had previously. So what is/isn't > happening now, and what (error) messages are you seei

Re: binding on socket

2002-10-15 Thread Raj Saini
yes, there is a parameter and it is "address". It is documented in the Connector docs. Raj David Loy wrote: > Sorry make that tomcat 4.0 > > >> From: "David Loy" <[EMAIL PROTECTED]> >> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >> To: [EMAIL PROTECTED] >> Subject: binding on socket >>

Re: binding on socket

2002-10-15 Thread Raj Saini
It should be possible. This is common to provide the bind address. This is how the ServerSocket of java is designed. I feel, there must be a parameter to do this. Have to look into the source code. Raj David Loy wrote: > Sorry make that tomcat 4.0 > > >> From: "David Loy" <[EMAIL PROTECTED]>

Re: Configuration question

2002-10-15 Thread Mark Eggers
Kent, Edit /etc/hosts file and put in the following information: hostname hostname.domainname 127.0.0.1 localhost localhost.localdomain You'll also need to edit your /etc/nsswitch.conf to include the files parameter on the host line. hosts: files dns I hope this helps. /mde/

RE: servlet mapping help

2002-10-15 Thread Milt Epstein
On Tue, 15 Oct 2002, Aryeh Katz wrote: > > I would post the relevant section of httpd.conf (not the whole thing, > > please) with the JkMount statements, and the contents of your > > workers.properties file. Also, which version of Apache and Tomcat you > > httpd.conf (main server, not virt) > >

RE: static rules for jk/ajp13

2002-10-15 Thread Turner, John
Agreed. In my book, "/servlet/*" is equal to "/whatever-name-you-want-to-put-here-it-doesn't-have-to-be-servlet/*". ;) I'd rather only send particular requests to Tomcat. Seems to make more sense to me that way...sending everything to Tomcat but setting up some convoluted mod_rewrite rules to

RE: tomcat 4.1.12 and xml spy

2002-10-15 Thread Michael Schulz
Perhaps you should consider that xml spy might have done something to your jvm configuration, like changing the default jvm version, or something like that. Try uninstalling xml spy and see if things start working again. -Mike -Original Message- From: Drinkwater, GJ (Glen) [mailto:[EM

RE: static rules for jk/ajp13

2002-10-15 Thread Milt Epstein
On Tue, 15 Oct 2002, Turner, John wrote: > I wasn't arguing, merely pointing out as an answer to your question > that either way requires work from a configuration standpoint. You > either need generic Apache rules and specific Tomcat rules, or > specific Apache rules (like with mod_rewrite) and

RE: Tomcat IIS Worker problem

2002-10-15 Thread Mark Eggers
Hmm, I have a little more in my workers.properties file. I've attached mine along with this message. And here's my uriworkermap.properties information. /examples/*.jsp=ajp13 /examples/servlet/*=ajp13 /ora/*.jsp=ajp13 /cocoon/*=ajp13 /jetspeed/*=ajp13 /Addressbook/*=ajp13 This is working well

RE: servlet mapping help

2002-10-15 Thread Aryeh Katz
> > I would post the relevant section of httpd.conf (not the whole thing, > please) with the JkMount statements, and the contents of your > workers.properties file. Also, which version of Apache and Tomcat you httpd.conf (main server, not virt) JkWorkersFile /jakarta-tomcat-4.0.6/conf/workers.

trouble with upgrade to a newer version of Tomcat

2002-10-15 Thread Lisa Knee
I'm trying to upgrade from version 3.2.4 to version 4.0.6, and it is still giving me the 3.2.4 welcome page when I go to localhost:8080 in my web browser. (Not to mention it is not finding my app, but if it were installed correctly this may not be an issue.) I've checked my environment variables

RE: Custom Tag / JavaBean question

2002-10-15 Thread Cindy Ballreich
This is great! It's exactly the information I needed. Thanks! At 01:57 PM 10/15/02 -0400, Tim Moore wrote: >The problem lies in the fact that you've overloaded the setter method >for accessList. According to the JavaBeans spec, you can't do that; >only one setter per property name is supported

RE: Building mod_jk.so for Linux

2002-10-15 Thread Turner, John
Various...I've been doing a lot of testing. I use the auto-gen function of Tomcat's ajp13 connector, which puts the LoadModule statement at the end of httpd.conf. Two environments I know are OK (or seem to be, as far as the errors you're seeing are concerned): Tomcat 4.0.6, homegrown connector

Configuration question

2002-10-15 Thread Kent Perrier
All, I have been having problems getting Apache 2.0.40 and Tomcat 4.0.6 configured properly. Due to time issues, I have decided to drop the apache part of my configuration and run Tomcat as root so it can bind to port 80 and 443. I am running into a strange issue that I hope you all can help me

RE: servlet mapping help (could be: mod_jk config help)

2002-10-15 Thread Turner, John
Oops...my bad. Too many conversations going on at once. Just in case I sent someone down the wrong path by accident, this is my working configuration for the Tomcat examples on localhost: workers.properties == workers.tomcat_home=/usr/local/jakarta-tomcat-4.1.10 workers.java_

RE: Tomcat and Webalizer

2002-10-15 Thread Dave Patton
I am not sure what this has to do with Webalizer (Web Log reporting for Apache) but all the stuff you have written below is correct, but if you dont tell Tomcat that you have a new folder (webapp) under the webapps directory it will not serve up your pages. You have to add a entry tot he server.

RE: Building mod_jk.so for Linux

2002-10-15 Thread Brett Knights
This is with TC 4.0.6, TC Connectors 4.0.6, Apache 2.0.42 and Linux Red Hat 7.2 What versions are you using? > -Original Message- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 11:28 AM > To: 'Tomcat Users List' > Subject: RE: Building mod_jk.so for Li

RE: binding on socket

2002-10-15 Thread Turner, John
Not sure what you mean. Tomcat can listen on whatever socket you want. Just configure the appropriate connector element in server.xml with the desired port number. I'm not sure how Tomcat handles multiple IP addresses, nor am I sure if there is a "listen on all IP addresses" parameter in Tomcat

Re: binding on socket

2002-10-15 Thread David Loy
Sorry make that tomcat 4.0 >From: "David Loy" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: binding on socket >Date: Tue, 15 Oct 2002 11:27:38 -0700 > >Is it possible to have tomcat 1.4 bind on a socket different from the host >IP (simil

RE: servlet mapping help

2002-10-15 Thread Milt Epstein
On Tue, 15 Oct 2002, Aryeh Katz wrote: > > You didn't have to change workers.properties at all. > > > snip > > So, you should have a line like this in httpd.conf: > > > > JkMount /examples/servlets/* ajp13 > > > > And a few lines like this in workers.properties: > > > > worker.list=some-name > >

Re: How can I change default 8080 port to 80

2002-10-15 Thread Dave Patton
They should not both be listening on port 80. If you really need them both, the best bet is to have Apache on port 80 and have it forward requests to Tomcat through the Warp connector. I am very surprised that you got them both to listen simultaneously on port 80. Dave Patton On Mon, 2002-10-

RE: Building mod_jk.so for Linux

2002-10-15 Thread Turner, John
That's pretty strange. Mod_jk is the last module loaded for me, at the very end of httpd.conf, and it works perfectly. John > -Original Message- > From: Brett Knights [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 2:22 PM > To: 'Tomcat Users List' > Subject: RE: Building

binding on socket

2002-10-15 Thread David Loy
Is it possible to have tomcat 1.4 bind on a socket different from the host IP (similar to Apache listen) Thanks David _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Thanks for the help John. Hopefully I'll get this resolved. "Turner, John" <[EMAIL PROTECTED]> wrote: At this point I can only surmise that it has something to do with IIS and the isapi_redirect thingie. Since I don't run IIS, I can't help with those things. Your workers.properties file and uri

RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John
At this point I can only surmise that it has something to do with IIS and the isapi_redirect thingie. Since I don't run IIS, I can't help with those things. Your workers.properties file and uri.properties file look fine to me. Perhaps someone out there with a working IIS configuration can offer

RE: Building mod_jk.so for Linux

2002-10-15 Thread Brett Knights
Actually it turned out not to be the build! if I edit httpd.conf thus: ... LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule perl_module modules/mod_perl.so LoadModule jk_module modules/mod_jk.so ... I then mod_jk is not recognized and the e

RE: servlet mapping help

2002-10-15 Thread Aryeh Katz
> > You didn't have to change workers.properties at all. > snip > So, you should have a line like this in httpd.conf: > > JkMount /examples/servlets/* ajp13 > > And a few lines like this in workers.properties: > > worker.list=some-name > worker.some-name.port=8009 > worker.some-name.host=your

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Unfortunately, I'm still getting the original error: [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: wc_get_worker_for_name, do

Re: plz help!!! simple test http://localhost:8080 fails why????

2002-10-15 Thread Rick Fincher
You also need to check to see if localhost is resolvable on your machine. If you ping localhost you should get a response from 127.0.0.1. Rick - Original Message - From: "Raj Saini" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 6:57 AM Su

Re: Tomcat and Webalizer

2002-10-15 Thread Rick Fincher
A JSP file isn't enough. You need a web app. That requires a WEB-INF folder with a web.xml file. You can run your JSP create the folder WEB-INF (case is important) in your begjsp-ch01 folder. In WEB-INF put a minimal web.xml file containing something like the example below. Now access your JS

RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John
I would change "ajp12" to "ajp13", especially in .type. JK = ajp13. Like this: worker.list = one worker.one.type = ajp13 worker.one.host = localhost worker.one.port = 8009 Take out the load balance line (lbfactor)...with only one Tomcat there is no need for any load-balancing configuration.

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Here we go. The files' contents are below. workers.p : workers.tomcat_home=c:\tomcat workers.java_home=c:\jdk1.3.1_04 ps=\ worker.list = ajp12 worker.ajp12.type = ajp12 worker.ajp12.host = localhost worker.ajp12.port = 8009 worker.ajp12.lbfactor=1 uriworkermap.p: default.worker=ajp12 /*.jsp=$(de

RE: Upgrading from 3.2.1 to 4.0.6

2002-10-15 Thread Cox, Charlie
> -Original Message- > From: Kristjan Rznarsson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 1:33 PM > To: Tomcat Users List > Subject: RE: Upgrading from 3.2.1 to 4.0.6 > > > First off thanx for the reply! > > did you create a 'foo' context in server.xml? > > No I ju

  1   2   >