Re: SPAM?: Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread jean-philippe . belanger
YOU'RE KIDDING ME! sorry for the caps but I just lost a day of work for a stupid server out of time! :P Thanks btw! Jean-Philippe Bélanger CGI Apu Shah wrote: check the dates on both machines. i think (filip please clarify if i'm wrong) if one machine is out of sync with the other by an

Re: SPAM?: Re: Tomcat replication Unable to receive message through TCP channel

2004-01-16 Thread Filip Hanik
awesome catch Apu I will add this to my to do list, so that replication is independent of server out of synch time Filip - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 10:51 AM Subject: Re: SPAM?: Re: Tomcat

Re: proper way to access local dir?

2004-01-16 Thread Daniel
Thanks Jim. I like your JNDI method - hate having to muck with settings each time I deploy on different boxes. :) Regards, Daniel On Fri, 16 Jan 2004, Tim Funk wrote: If you don't care about where the files are written to, you can use javax.servlet.context.tempdir. See the spec SRV.3.7.1

RE: NoClassDefFoundError: Digester

2004-01-16 Thread Bruno.Melloni
That is very strange. I untarred from the posted binary jakarta-tomcat-5.0.16.tar.gz to the target directory, then modified server.xml. The error happened until I copied those two files to common. Could it be that we used different install sources or approaches? bruno -Original

RE: NoClassDefFoundError: Digester

2004-01-16 Thread Bruno.Melloni
One more note that may (or may not) be relevant: I am running Tomcat with a dedicated solaris user ID, not as root. -Original Message- From: ext Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:39 AM To: Tomcat Users List Subject: RE: NoClassDefFoundError:

RE: proper way to access local dir?

2004-01-16 Thread Shapira, Yoav
Howdy, Thanks Jim. I like your JNDI method - hate having to muck with settings each time I deploy on different boxes. :) It's Tim, not Jim ;) And it's only a choice of which settings to tweak, not whether to tweak setting at all or not. I do it in web.xml so that none of my deployment is

RE: NoClassDefFoundError: Digester

2004-01-16 Thread Shapira, Yoav
Howdy, One more note that may (or may not) be relevant: I am running Tomcat with a dedicated solaris user ID, not as root. Same here. Tomcat 5.0.16 zip downloaded from apache main distribution site, Solaris 8 (with all OS patches), JDK 1.4.2. Yoav Shapira This e-mail, including any

RE: Cannot start Tomcat 5.0.16.

2004-01-16 Thread George Leeman Jr
To: Yoav Shapira, Nikola Milutinovic, Ralph Einfeldt: Your pertinent comments led me to the right solution. I first tried adding xerces.jar to the ...\jakarta-tomcat-5.0.16\common\lib directory, but the problem remained. I then threw away JDK 1.3.0 and replaced it by JDK 1.3.1_03, and

RE: proper way to access local dir?

2004-01-16 Thread Daniel
On Fri, 16 Jan 2004, Shapira, Yoav wrote: Howdy, The only place the servlet specification allows you to write (and obviously read) is the directory specified as the servlet context attribute named javax.servlet.context.tempdir. The JDK also has java.io.tmpdir which you may or may not be

RE: proper way to access local dir?

2004-01-16 Thread Daniel
Thanks Jim. I like your JNDI method - hate having to muck with settings each time I deploy on different boxes. :) It's Tim, not Jim ;) And it's only a choice of which settings to tweak, Ack, my apology to Tim! I really did mean T and not J but typed that :( not whether to tweak setting

RE: proper way to access local dir?

2004-01-16 Thread Shapira, Yoav
Hola, Thanks Yoav. So.. what if it's not arbitrary and I want to put it in my webapp's dir (e.g. under WEB-INF/repo)? There wouldn't be a special way to access the directory, is there? No, no special way for writing. It's the same as an arbitrary directory that just happens to be under your

Re: Tomcat 4 IIS5 - HTTPExtensionProc not getting the filter's added headers

2004-01-16 Thread Jeff Trout
On Fri, 16 Jan 2004 09:28:00 EST Jeff Trout [EMAIL PROTECTED] wrote: Note: After much more tinkering I discovered this problem goes away if you install the isapi_redirect.dll at the site level, not server. Still quite odd that on machine a it worked fine on the server level. Maybe something

RE: proper way to access local dir?

2004-01-16 Thread Daniel
Thanks again for the ideas Yoav! Regards, Daniel On Fri, 16 Jan 2004, Shapira, Yoav wrote: Hola, Thanks Yoav. So.. what if it's not arbitrary and I want to put it in my webapp's dir (e.g. under WEB-INF/repo)? There wouldn't be a special way to access the directory, is there? No, no

Problems with jk2 on IIS 5.0 and Tomcat 4.0

2004-01-16 Thread Rasmus Munk
Hi I have some problems making the jk2 redirector work. My log file seems ok, until: HttpFilterProc [/camping_lars/servlet/camping.XMLServer.Server] is a servlet url - should redirect to ajp13:localhost:8009 HttpFilterProc check if [/camping_lars/servlet/camping.XMLServer.Server] is pointing to

mod_jk compile issue

2004-01-16 Thread David . Vann
I'm trying to compile mod_jk. I have apache 1.3.29 and tomcat 4.0.6 currently running fine. But I'm trying to get the jakarta-tomcat-connectors-4.0.6-src/jk/native to compile. The ./buildconf.sh seemed to work fine. The ./configure --with-apxs=/usr/local/apche/bin/apxs seems to have worked

Re: Need an Idea - appending #tag after someurl.jsp ?

2004-01-16 Thread Mufaddal Khumri
The servlet is doing a forward to the JSP. How is it possible then? On Jan 15, 2004, at 3:55 PM, Hume, John - NA US HQ Delray wrote: Is the servlet doing a RequestDispatcher.forward or HTTP redirecting? It seems a response.sendRedirect (HTTP redirect) would work, assuming your JSP doesn't

Using CA-issued certificates in Tomcat 5

2004-01-16 Thread Bruno.Melloni
I thought I had all my Tomcat issues resolved and was ready to go from the self-signed cert to one issued by a CA. So I followed all the steps, generated a CSR, got the root cert and test cert, installed them into the keytool, and restarted the server. An exception is thrown saying: No

Re: Need an Idea - appending #tag after someurl.jsp ?

2004-01-16 Thread Mufaddal Khumri
I set a request attribute before forwarding the request to JSP. Does anybody have some javascript that would allow me to jump to a an anchor within that page ? On Jan 15, 2004, at 3:55 PM, Hume, John - NA US HQ Delray wrote: Is the servlet doing a RequestDispatcher.forward or HTTP

RE: Using CA-issued certificates in Tomcat 5

2004-01-16 Thread Mark Thomas
Try this - don't delete the alias before importing the response. What happens is: keytool -genkey -alias tomcat -keyalg RSA Creates your private and public key keytool -certreq -keyalg RSA -alias tomcat -file certreq.csr wraps a copy of your _public_ key in a certficate request ... got the

Does anyone have a working workers2.properties file?

2004-01-16 Thread Rasmus Munk
Hi I am looking for a working workers2.properties file to use as a template. I have seen a lot of examples of sections workers2.properties files, but I would like to see a complete file. I am running IIS 5.0 and tomcat 4.1.27 using isapi_redirector2.dll 2.0.2 Thanks, Rasmus

RE: Calling a JSP from a virtual host

2004-01-16 Thread Oscar Carrillo
To follow up here, I setup Virtual Hosts in Apache and have each Virtual Host have it's own webapp. I also tried it so that each Virtual Host uses the same webapp. In addition, I setup https (cannot do virtual hosts for https), and it has it's own webapp. It sort of works like virtual hosts in

cannot get the login to work

2004-01-16 Thread Søren Blidorf
Hi. I have installed the jakarta-tomcat-4.1.29 on my XP laptop. I cannot get the login to work. I have created a user with correct roles in tomcat-users. Every thing works on another tomcat machine. Any idears? security-constraint web-resource-collection

servlets are no where to be found

2004-01-16 Thread swalker
Was hoping some one out there could help me with the 404 problem after installing a web app under tomcat 5.0.16 running on a windows 2003 server. I've been thru the archives and several books but all seems lost as confusion has really set in. I haven't started anything with the connectors.. Just

web.xml config

2004-01-16 Thread Allan Bruce
I have tomcat up and running fine - verified by running the example jsp pages and servlets. I have a servlet that I want to get working, called WinGalagaHST which is used for my game I have been developing. I have put it in my tomcats webapps directory, and the necessary subdirs like

Re: Does anyone have a working workers2.properties file?

2004-01-16 Thread Daniel Schmitt
a minimum file could be: [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=C:\Programme\Apache Group\Tomcat 4.1\temp\jk2.shm size=1048576 [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map webapps to the

Re: Does anyone have a working workers2.properties file?

2004-01-16 Thread Allan Bruce
this one works for me: --workers2.properties $ cd /etc/httpd2/conf Open the file workers2.properties in a text editor and modify the file to look like this: [logger] level=DEBUG [config:] file=/etc/httpd2/conf/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options:

Newbie needs help with Tomcat 5.0.16 application install

2004-01-16 Thread Barry Kimelman
My OS is Linux Redhat9. I have downloaded and installed Tomcat 5.0.16 from a binary distribution. I created a build.properties file in my home directory as follows : manager.username=bkimelman manager.password=foobar manager.url=http://localhost:8080/manager I can successfully

Re: Using CA-issued certificates in Tomcat 5

2004-01-16 Thread Bill Barker
Needless to say, you have to use the same key that you used to generate the CSR that you sent to Verisign/Thwate. It looks like you nuked the key when you did the delete. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I thought I had all my Tomcat issues resolved and was ready to go

Re: mod_jk compile issue

2004-01-16 Thread Bill Barker
You should really use a more recent version than the one that ships with 4.0.6, but that's another story :). I don't use HP, so I'm not completely sure what libtool does there, but the '.sl' file is almost certainly (a link to) what you want. [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: setContentType() vs. meta http-equiv='Content-Type' ...

2004-01-16 Thread Bill Barker
Actually, you don't get an exception if you don't call setContentType: You just get you page encoded and sent to the browser in iso-latin-1 (as per the spec). Yoav is correct that Tomcat (and probably most servlet containers) simply consider meta tags as just some text to push to the browser.

Re: Redirection of JSP to iPlanet Web Server

2004-01-16 Thread Bill Barker
I'm pretty sure that there isn't a Jakarta binary for Windows (and if there is, it would be *very* old :). You could try checking the Tomcat 3.x download sites to see if there is an old version floating around. This is one of the least maintained mod_jk versions, for the simple reason that

Putting context.xml in .war/META-INF/context.xml

2004-01-16 Thread Matt Raible
From reading this article: http://www.onjava.com/pub/a/onjava/2003/01/08/tomcat4.html?page=3 I assumed that Tomcat supported putting a context.xml in META-INF/ and it would act the same as placing it in webapps. If found that this didn't work testing today. And after reviewing the article

followed install instructions - are they complete?

2004-01-16 Thread Suha
i followed the install instructions on the website but i cannot run the test jsps or servlets. the error message i get for JSPs is: Class org.apache.jsp.index_jsp is not a Servlet Last version of tomcat i installed was 3.2 Back then there were instructions on configuration xml files that had to

Re: followed install instructions - are they complete?

2004-01-16 Thread Bill Barker
Suha [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i followed the install instructions on the website but i cannot run the test jsps or servlets. the error message i get for JSPs is: Class org.apache.jsp.index_jsp is not a Servlet Last version of tomcat i installed was 3.2 Back

<    1   2