RE: [SOLVED] Tomcat memory allocation as a Windows service

2005-02-22 Thread Woodchuck
thanks for your help! i tried looking for the service.bat in the tomcat/bin folder but it is not there. it is an older version 4.1.24 and it was already installed as a service, i don't know how it was done (without the service.bat file) but it's there. i scanned the registry and found the

RE: SOLVED - commons-logging logger instances - how to initialize in replicated session objects

2005-02-13 Thread Richard Mixon (qwest)
In case anyone else ends up with similar problems trying to get session replication to work for objects that have a commons logging (or other similar) non-serializable instance variable), here's how I solved it. I created the following abstract class with the two methods readObject and

Re: [SOLVED] Form Auth + xml users database

2005-02-08 Thread Omar Adobati
nobody can help me? On Mon, 7 Feb 2005 09:57:32 +0100, Omar Adobati [EMAIL PROTECTED] wrote: Thx for ur answers, I have reied what you say about the second question, but it's do not work. This is how I have changed my context.xml file: === ?xml version='1.0' encoding='utf-8'? Context

Re: [SOLVED] Form Auth + xml users database

2005-02-07 Thread Omar Adobati
Thx for ur answers, I have reied what you say about the second question, but it's do not work. This is how I have changed my context.xml file: === ?xml version='1.0' encoding='utf-8'? Context privileged=true swallowOutput=true workDir=work\Catalina\photoalbum\ path=/ cacheTTL=0

Re: [SOLVED] Form Auth + xml users database

2005-02-06 Thread Omar Adobati
changes in server.xml: === GlobalNamingResources Resource type=org.apache.catalina.UserDatabase description=User database that can be updated and saved auth=Container name=PhotoAlbum/ ResourceParams name=PhotoAlbum parameter namefactory/name

Re: [SOLVED] Form Auth + xml users database

2005-02-06 Thread Mario Winterer
Hi! I'm happy you could solve your problem now! Seems the reason was the missing Realm-definition in your context.xml. To Question 1) Tomcat offers a separate JNDI-namespace for each web application (so if you have 4 web applications you will have 4 namespaces). These namespaces are configured

Re: solved: timeout when reading 401 response [was: persistent HTTP 1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Garret Wilson
Wade Chandler wrote: Actually what is happening is this You are using a buffered stream. It is reading past the amount returnedand then the tcp/ip socket is blocking because you have it open as a keep alive. You have to only read the number of bytes available and not keep trying to

Re: solved: timeout when reading 401 response [was: persistent HTTP1.1 connectionswith Tomcat 5.5.4?]

2005-01-06 Thread Wade Chandler
Garret Wilson wrote: Wade Chandler wrote: Actually what is happening is this You are using a buffered stream. It is reading past the amount returnedand then the tcp/ip socket is blocking because you have it open as a keep alive. You have to only read the number of bytes available and

Re: (SOLVED) context.xml deployed as folder in Tomcat 5

2004-10-31 Thread Woodchuck
thanks QM! i upgraded to Tomcat 5.0.28 and it got rid of the problem! woodchuck --- QM [EMAIL PROTECTED] wrote: On Sat, Oct 30, 2004 at 02:04:01PM -0700, Woodchuck wrote: : is there a way i can tell whether it's patched with this fix or not? Yes -- search the archives and/or Bugzilla to

Re: [Solved]: Load Balancing Configuration

2004-09-24 Thread Alex
beautiful! glad i could help save you some time and suffering :) On Thu, 23 Sep 2004, Fournier, Pete wrote: Date: Thu, 23 Sep 2004 13:15:20 -0400 From: Fournier, Pete [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject:

Re: [SOLVED] basic FORM-based authentication failing

2004-09-10 Thread Fred Blaise
Awful typo... works much better when j_user_name is spelled j_username Issue resolved. Thanks. fb. Quoting Fred Blaise [EMAIL PROTECTED]: Hello all I have been trying to set up FORM based authentication, but it only works half-way. When I try to get to the protected resource, it

RE: SOLVED! RE: Why request.getRemoteUser() returns NULL ?

2004-09-02 Thread Allistair Crossley
Pleased you found a solution. Just to note however that the JK2 ISAPI filter for IIS does work with just 1 line change to jk2.properties IF you want to use NTLM. You solution of getting IIS-REMOTE-USER variables makes your webapp dependent on IIS wheras JK2 sets request.getRemoteUser() and

RE: SOLVED! RE: Why request.getRemoteUser() returns NULL ?

2004-09-02 Thread Aris Javier
[mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004 7:29 PM To: Tomcat Users List Subject: RE: SOLVED! RE: Why request.getRemoteUser() returns NULL ? Pleased you found a solution. Just to note however that the JK2 ISAPI filter for IIS does work with just 1 line change to jk2.properties

Re: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Endre Stølsvik
On Thu, 12 Aug 2004, Jacob Kjome wrote: | To get the context path at init time, try this Thanks..! Good to see that others (log4j!!) have this problem! However, I have been thinking along these lines (the second idea presented) already, but it then again boils down to that you really

RE: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Shapira, Yoav
Hi, No, not all of us will be happy. And it's not simple. Yoav Shapira Millennium Research Informatics -Original Message- From: Endre Stølsvik [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 5:27 AM To: Tomcat Users List Subject: Re: SOLVED: How to get the context path

RE: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Shapira, Yoav
Millennium Research Informatics -Original Message- From: Endre Stølsvik [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 5:27 AM To: Tomcat Users List Subject: Re: SOLVED: How to get the context path for a web application? On Thu, 12 Aug 2004, Jacob Kjome wrote: | To get the context

RE: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Endre Stølsvik
On Fri, 13 Aug 2004, Shapira, Yoav wrote: | Hi, | And of course, since you can get the source for JSR154, there's nothing | preventing you from adding this method and running with a custom servlet | jar in your container. (It's at | http://cvs.apache.org/viewcvs.cgi/jakarta-servletapi-5/jsr154/,

Re: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Ben Souther
Per the servlet spec, a j2ee app isn't required to have an app path. The entire war file can be deployed remotely and run without ever being unpacked. In a case like that, there would be no path to the application. On Friday 13 August 2004 10:01 am, Endre Stølsvik wrote: But, why wouldn't all

RE: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Shapira, Yoav
Millennium Research Informatics -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 10:12 AM To: Tomcat Users List Subject: Re: SOLVED: How to get the context path for a web application? Per the servlet spec, a j2ee app isn't required to have an app

RE: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Mike Curwen
To: Tomcat Users List Subject: Re: SOLVED: How to get the context path for a web application? Per the servlet spec, a j2ee app isn't required to have an app path. The entire war file can be deployed remotely and run without ever being unpacked. In a case like that, there would be no path

Re: SOLVED: How to get the context path for a web application?

2004-08-13 Thread David Wall
contextPath = path.substring(0, path.lastIndexOf(/)); contextPath = contextPath.substring(contextPath.lastIndexOf(/) + 1); This looks like a reasonable hack, but isn't it true that the filesystem path and the context path don't have to match? For example, I can map to

Re: SOLVED: How to get the context path for a web application?

2004-08-13 Thread Jacob Kjome
Quoting David Wall [EMAIL PROTECTED]: contextPath = path.substring(0, path.lastIndexOf(/)); contextPath = contextPath.substring(contextPath.lastIndexOf(/) + 1); This looks like a reasonable hack, but isn't it true that the filesystem path and the context path don't have to

Re: SOLVED: How to get the context path for a web application?

2004-08-12 Thread Endre Stølsvik
On Wed, 11 Aug 2004, David Wall wrote: | The cause for some of these specs is the fact servlet containers aren't | required to run on file systems. For example, they may run entirely | inside a DBMS (and Oracle had such a container for a while), in which | case you must deploy in a packed

Re: SOLVED: How to get the context path for a web application?

2004-08-12 Thread Jacob Kjome
To get the context path at init time, try this from: http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apache/log4j/servlet/InitShutdownController.java /** * Retrieves the context path of the web application from the servlet context. * * @param context the current

Re: SOLVED: How to get the context path for a web application?

2004-08-12 Thread Rajesh
hai use request.getContextPath() Rajesh Jacob Kjome wrote: To get the context path at init time, try this from: http://cvs.apache.org/viewcvs.cgi/logging-log4j-sandbox/src/java/org/apache/log4j/servlet/InitShutdownController.java /** * Retrieves the context path of the web application

RE: SOLVED: How to get the context path for a web application?

2004-08-12 Thread Mike Curwen
OHH!!. How could we be so stupid??? RTFT! (that last 'T' would be 'thread') -Original Message- From: Rajesh [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:47 AM To: Tomcat Users List Subject: Re: SOLVED: How to get the context path for a web application? hai

RE: SOLVED: How to get the context path for a web application?

2004-08-11 Thread Endre Stølsvik
On Tue, 10 Aug 2004, Shapira, Yoav wrote: | | Hi, | | Agreed, but my follow-up question was if there was such a call to be | done | using a ServletContext/ServletConfig object so that you can get the | context | path in initialization servlets, etc., before a request comes in. | | No, and an

RE: SOLVED: How to get the context path for a web application?

2004-08-11 Thread Shapira, Yoav
the expert group yourself, and I'm sure they'll weigh your concerns seriously. Yoav Shapira Millennium Research Informatics -Original Message- From: Endre Stølsvik [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 5:25 AM To: Tomcat Users List Cc: David Wall Subject: RE: SOLVED

Re: SOLVED: How to get the context path for a web application?

2004-08-11 Thread David Wall
The cause for some of these specs is the fact servlet containers aren't required to run on file systems. For example, they may run entirely inside a DBMS (and Oracle had such a container for a while), in which case you must deploy in a packed WAR and the subset under a server's URL name space is

Re: SOLVED: How to get the context path for a web application?

2004-08-10 Thread David Wall
Someone on the list suggested Request.getContextPath() and it works like a charm. Thanks to all. Agreed, but my follow-up question was if there was such a call to be done using a ServletContext/ServletConfig object so that you can get the context path in initialization servlets, etc., before a

RE: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Shapira, Yoav
Hi, Agreed, but my follow-up question was if there was such a call to be done using a ServletContext/ServletConfig object so that you can get the context path in initialization servlets, etc., before a request comes in. No, and an archive search would reveal past discussions around this issue

Re: SOLVED: How to get the context path for a web application?

2004-08-10 Thread David Wall
No, and an archive search would reveal past discussions around this issue (though none recently). Webapps are supposed to be independent of their server configuration including with regards to context path, and so the Servlet Spec actively discourages you from doing webapp initialization or

Re: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Milt Epstein
On Tue, 10 Aug 2004, David Wall wrote: No, and an archive search would reveal past discussions around this issue (though none recently). Webapps are supposed to be independent of their server configuration including with regards to context path, and so the Servlet Spec actively

RE: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Robert Harper
: Re: SOLVED: How to get the context path for a web application? Someone on the list suggested Request.getContextPath() and it works like a charm. Thanks to all. Agreed, but my follow-up question was if there was such a call to be done using a ServletContext/ServletConfig object so that you

RE: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Shapira, Yoav
Hi, True and it's mostly not a big issue. However, is it possible for a ServletContext to reference one context path and the Request objects to have a different one? Most webapps only operate under a single context path (don't they?), so having it at initialization would be nice too. Oh

RE: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Aris Javier
that's me! =) it's nice to be of service... welcome! aris -Original Message- From: Dov Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 1:23 AM To: Tomcat Users List Subject: SOLVED: How to get the context path for a web application? Someone on the list suggested

Re: SOLVED: How to get the context path for a web application?

2004-08-10 Thread Dov Rosenberg
Thanks again On 8/10/04 7:52 PM, Aris Javier [EMAIL PROTECTED] wrote: that's me! =) it's nice to be of service... welcome! aris -Original Message- From: Dov Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 1:23 AM To: Tomcat Users List Subject:

Re: [Solved]Tomcat As A Windows Service

2004-04-21 Thread Mark Schmeets
The SDK was installed under the C:\Program Files directory. The space was not quoted and broke the command line install. Mark Schmeets wrote: I have set up a number of Tomcat installs to run as Windows Services, but have come across one that I cannot get to work. The Windows Event log shows

RE: [SOLVED] Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread Denise Mangano
There were a few things going on there... I should have taken a step back and relaxed and given everything another look before I posted... My apologies for that ... I panicked because of the bind that I am in. 1. ServerName httpd/conf did not match the value of the name attribute in the Host

Re: [SOLVED] Urgent - strange tomcat /mod jk (?) problem going on

2003-09-04 Thread John Turner
Glad I could help. Relaxing is good advice. ;) Have fun! John Denise Mangano wrote: There were a few things going on there... I should have taken a step back and relaxed and given everything another look before I posted... My apologies for that ... I panicked because of the bind that I am in.

Re: [SOLVED]Re: Problem with a page redirecting to a non-existent page

2003-09-04 Thread John Turner
Funky. Glad you got it solved! John Norris Shelton wrote: We figured out the problem. He was working on a problem where deployed .jsp files were not being picked up. He removed all the work files and restarted tomcat from that directory. The script that we use (why, because IT wrote it and

Re: Solved!

2003-07-21 Thread John Turner
On Sun, 20 Jul 2003 23:18:28 +0200, Simon Pabst [EMAIL PROTECTED] wrote: IMO the auto-generated mod_jk.conf is only good for learning the proper setup anyway ;-) Agreed. It doesn't even work for complex environments. Single dev environments and for newbie learning its great, but if you have

Re: Solved!

2003-07-20 Thread Volker
Volker schrieb: Simon Pabst schrieb: Seems like your JkMount isn't working, since the error comes from Apache, what does the auto generated mod_jk.conf look like? Hi, Ir e m o v e d following entry in the generated mod_jk.conf - and now - I can access the servlets via both port 8080

Re: Solved!

2003-07-20 Thread Simon Pabst
If you put the proper ServerName in server.xml instead of localhost it should work too (unless of course you ain't got the same VirtualHost/ServerName a second time in httpd.conf), besides you should save the changed mod_jk.conf elsewhere, because Tomcat could overwrite it. IMO the

RE: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-09 Thread Yoav Shapira
Howdy, I finally managed to get my issue sorted out. After installing Tomcat on another machine to do some testing I noticed that it had the following value in the registry: JVM Library: C:\jdk1.3.1_03\jre\bin\hotspot\jvm.dll snip Any comments? Yeah, windows sucks ;) I dislike it when

Re: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-09 Thread Dominic Parry
On this same note, when you upgrade your JVM in windows, you have to change that same registry key to reflect the update, otherwise Tomcat won't start. - Original Message - From: Yoav Shapira To: Tomcat Users List Sent: Monday, June 09, 2003 1:32 PM Subject: RE: [SOLVED

RE: [SOLVED] -Xincgc, -Xms600, -Xmx600

2003-06-08 Thread Jason Efting
I finally managed to get my issue sorted out. After installing Tomcat on another machine to do some testing I noticed that it had the following value in the registry: JVM Library: C:\jdk1.3.1_03\jre\bin\hotspot\jvm.dll After changing this value to the server\jvm.dll my Tomcat is performing

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, Please note your approach will fail when running from a packed .war file, as the new File(..) will throw an exception. This might be OK for your environment, but is important to keep in mind for portability. Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Phillip Qin
Because Tomcat Manager deploys webapp from war. -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 2:50 PM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader? Dang it! I knew it was too good to be true

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Filip Hanik
packed WARs occur all the time, especially if they are inside an EAR file Filip -Original Message- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 11:50 AM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Shapira, Yoav
Howdy, Dang it! I knew it was too good to be true. Well, it works just fine for me. I do not deal with WARs. Anywyas, why would anyone want to run from a packed WAR anyways (instead of unpacked)? I'm not being sarcastic. I am just trying to think of an instance where it makes sense. Two cases

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat'sClassloader?

2003-06-06 Thread Larry Meadors
Really? I guess I have seen enough right answers from you to not doubt it, but I thought that using the URL would work... Larry [EMAIL PROTECTED] 06/05/03 12:37 PM Howdy, Please note your approach will fail when running from a packed .war file, as the new File(..) will throw an exception.

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader?

2003-06-06 Thread Brandon Goodin
checked. eg null or not null). Are my observations correct? Brandon Goodin -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 12:49 PM To: Tomcat Users List Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat's Classloader? Howdy

RE: [SOLVED]RE: getResourceAsStream cached by Tomcat'sClassloader?

2003-06-06 Thread Shapira, Yoav
ChemInformatics -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 3:38 PM To: [EMAIL PROTECTED] Subject: RE: [SOLVED]RE: getResourceAsStream cached by Tomcat'sClassloader? Really? I guess I have seen enough right answers from you to not doubt

RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-12 Thread Aparna Narla
-Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:43 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties Hi to all! I finally have found the

RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties

2003-03-12 Thread Antoni Unkovich
a.m. To: 'Tomcat Users List' Subject: RE: SOLVED: Re: Tomcat 4.1.18 - IIS 5.0 plugin - jk2.properties + workers2.properties -Original Message- From: Johannes Fiala [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:43 PM To: Tomcat Users List Cc: [EMAIL PROTECTED

Re: Solved my problems with apache to tomcat integration through mod_jk

2003-03-09 Thread Jacob Kjome
Then I noticed one thing... in the how to John says nothing about configuring connectors, but in the default server.xml there is Coyote/JK2 configured but mod_jk should be used with the normal AJP connector. This is incorrect. The CoyoteConnector is a complete replacement for the

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread ramakrishna
hi, * Soefara Redzuan ([EMAIL PROTECTED]) wrote: Wow, this mod_jk2 really is much easier to configure than mod_jk was, though the advanced configuration looks quite daunting. For simple virtual hosting of a servlet/JSP site, I shouldn't need more than one worker, should I? Correct me if am

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
Hi RK, I thought my workers.properties file looked very different from everybody else's using mod_jk2 ! I just checked again and realize I misread the page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html I actually put the following in jk2.properties instead of in

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. Date: Tue, 18 Feb 2003 19:18:51 +0800 Hi RK, I thought my workers.properties file looked very different from everybody else's using mod_jk2 ! I just checked again

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
FYI...you aren't using JK2 at all. You are using JK. John -Original Message- From: Soefara Redzuan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 4:04 AM To: [EMAIL PROTECTED] Subject: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. Solved it myself :-) I

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
PROTECTED]] Sent: Tuesday, February 18, 2003 6:19 AM To: [EMAIL PROTECTED] Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. Hi RK, I thought my workers.properties file looked very different from everybody else's using mod_jk2 ! I just checked again and realize I misread

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
This link is broken.: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html [EMAIL PROTECTED] wrote: Hi RK, I thought my workers.properties file looked very different from everybody else's using mod_jk2 ! I just checked again and realize I misread the page

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John
Works perfectly for me. John -Original Message- From: sunisson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:05 PM To: Tomcat Users List Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. This link is broken.: http

Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
perfectly for me. John -Original Message- From: sunisson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:05 PM To: Tomcat Users List Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. This link is broken.: http://jakarta.apache.org/tomcat/tomcat-4.1-doc

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Barney Hamish
Look at the link again! You're missing the part that was chopped off at the end of the line... -Original Message- From: sunisson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:18 PM To: Tomcat Users List Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90

RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread pqin
Users List' Subject: RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there. Look at the link again! You're missing the part that was chopped off at the end of the line... -Original Message- From: sunisson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 9:18 PM

RE: SOLVED: Re: MySQL Hell (OT)

2003-01-30 Thread Ralph Einfeldt
AFAIK it's the other way round. The mysql driver started as an independent project as org.gjt.mm.mysql.Driver. As this project became part of the mysql project it got repacked to com.mysql.jdbc.Driver. -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: Solved! Dumb Question com.justatest.test.MyServlet error

2002-09-21 Thread john-paul delaney
That was it... thanks a bunch for figuring it out for me Jon. With Regards /j-p. On Sat, 21 Sep 2002, jon wingfield wrote: Open the InitSnoop.java source file. If the first line is not: package com.justatest.test; then that is your problem. The directory structure under WEB-INF/classes

Re: Solved! Tomcat on port 80 without root, on Linux

2002-09-17 Thread Chuck Amadi
Nikola Milutinovic wrote: Mr. Tomcat wrote: Can I run Tomcat on port 80 not as root? seems to come up with some regularity on this list. Web servers have to be able to safely process untrusted, dangerous data from any host on the Internet. Obviously, they should run at the lowest

Re: Solved! Re: Basic authentication and custom 401 Not Authorizederror page

2002-09-06 Thread Ben Walding
It can be made to work... Put the error-page directive in as per web.xml spec On the jsp / servlet it points at, response.addHeader(WWW-Authenticate, BASIC realm=\ + realm + \); response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); and then write custom page And it

Re: SOLVED: jdk 1.4 and Oracle drivers

2002-06-11 Thread Jacob Kjome
Hello John, Well, I have been using the classes12.jar in TOMCAT_HOME/common/lib. I've used it with both the JNDI javax.sql.DataSource deal provided by the Jakarta-Commons project and another connection pooler. I've never had a single problem. I've used JDK-1.3.x and JDK-1.4 and haven't had to

Re: SOLVED: jdk 1.4 and Oracle drivers

2002-06-11 Thread Peter Mutsaers
Jacob == Jacob Kjome [EMAIL PROTECTED] writes: Jacob Well, I have been using the classes12.jar in Jacob TOMCAT_HOME/common/lib. I've used it with both the JNDI Jacob javax.sql.DataSource deal provided by the Jakarta-Commons Jacob project and another connection pooler. I've

RE: Solved?Tomcat 403 and No processor available

2002-04-18 Thread Peter Romianowski
Hi again, I now lowered the ConnectionTimeout to 1 instead of 6 and it's working now (only 100 processors created). I wonder if this setting contains any disadvantages... Peter -Original Message- From: Peter Romianowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 18,

Re: Solved: TC4 + Apache virtual host configuration

2002-01-15 Thread Anton Brazhnyk
I finally got virtual hosting working with Apache and TC4.0, woo hoo! Congratulations! The relevant sections from httpd.conf and server.xml are below. The only downside with this configuration is that I haven't been able to mount webapps in the root context specified by DocumentRoot.

Re: Solved: How to complete the link between InitialContext() andresource-ref?

2001-09-05 Thread Craig R. McClanahan
Docs for this are in progress ... Craig On Wed, 5 Sep 2001, Rick Mann wrote: Date: Wed, 05 Sep 2001 18:13:49 -0700 From: Rick Mann [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: tomcat user jakarta.apache.org [EMAIL PROTECTED] Subject: Solved: How to complete the link between

RE: [Solved] RE: Poolman 2.0.4 and Tomcat 3.2.3

2001-08-22 Thread Järkeborn Joacim
Yes, of course. I had a temporary error in my brain ;-) // Jocke -Original Message- From: Gregor Kovaè [mailto:[EMAIL PROTECTED]] Sent: den 22 augusti 2001 12:13 To: [EMAIL PROTECTED] Subject: Re: [Solved] RE: Poolman 2.0.4 and Tomcat 3.2.3 Hi! This is not strange. Java

Re: [Solved] RE: Poolman 2.0.4 and Tomcat 3.2.3

2001-08-22 Thread Gregor Kovaè
Hi! This is not strange. Java looks for files in directories. So you specify directories in classpath or jar files, not files itself. Both jar files and directories contain files java needs, hence %TOMCAT_HOME%\conf\poolman\poolman.xml does not contain a file, right? Best regards,

Re: solved! blue screen with servlets/jsp in Apache-Tomcat

2001-07-05 Thread Dominic North
I have now had a long (2-3 hour), trouble-free Tomcat testing session with ZoneAlarm simply shutdown. While not ideal, this is not too painful, and means that you don't need to uninstall ZoneAlarm. I am not sure whether you can simply restart ZoneAlarm; I could not get the services it uses

Re: solved! blue screen with servlets/jsp in Apache-Tomcat

2001-07-05 Thread Dominic North
As meg, I only have SP1. In the mean time, I've had this reply from Zone Labs: In article [EMAIL PROTECTED], Support wrote: (#7225-29-3430\293430) Thank you for providing information regarding this issue. This is a known problem and our engineers are working towards a fix. We

Re: solved! blue screen with servlets/jsp in Apache-Tomcat

2001-07-03 Thread Dominic North
I have had a short go just shutting down ZoneAlarm, and I did not get any BSOD. This was rather a short test, and I'll report back when I've tried a longer test. In the mean time I'm raising a problem with Zone Labs: I have paid for Zone Alarm Pro, and don't like working without it, so I hope

Re: SOLVED: tomcat 3.2.1 mod_jk.so apache 1.3.14 problem

2001-04-18 Thread Pae Choi
Welcome to the bleeding edge of the open source projects. :-) Pae -Original Message- From: J. Doug Brown [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, April 18, 2001 12:31 PM Subject: SOLVED: tomcat 3.2.1 mod_jk.so apache 1.3.14 problem Thanks for the

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
On Thu, 8 Mar 2001 [EMAIL PROTECTED] wrote: OK this is how to get init-params working for JSP Include this in your web.xml file web-app context-param param-name foo /param-name param-value bar /param-value /context-param

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
On Thu, 8 Mar 2001, Milt Epstein wrote: [ ... ] HTML HEAD TITLETesty/TITLE /HEAD BODY %@ page import="java.util.*" % %! Enumeration names; String name; % P The value of init parameter var1 is: %= getServletConfig().getInitParameter("var1") % /P P The init

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Markus Keller [OrcaSoft]
Hello Milt The value of init parameter var1 is: %= getServletConfig().getInitParameter("var1") % /P I use this: title%= getServletContext().getInitParameter("ApplicationName") % instead of getServletConfig() and it works. Markus

Re: solved-Re: config.getInitParameter() still returning null

2001-03-08 Thread Milt Epstein
On Fri, 9 Mar 2001, Markus Keller [OrcaSoft] wrote: Hello Milt The value of init parameter var1 is: %= getServletConfig().getInitParameter("var1") % /P I use this: title%= getServletContext().getInitParameter("ApplicationName") % instead of getServletConfig() and

RE: SOLVED: runaway threads eating cpu cycles on Solaris 7

2001-02-19 Thread Marc Saegesser
FWIW, this has been fixed for Tomcat 3.2.2 higher. You'll now get the 404 error instead of the tight loop. -Original Message- From: Kelly Kleinfelder [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 11:33 AM To: [EMAIL PROTECTED] Subject: SOLVED: runaway threads eating cpu

RE: Solved! problems compiling mod_jk.so etc.

2001-02-14 Thread Andrew Stewart
Although I haven't had much of a problem setting up Tomcat, I' have had the unfortunate experience to be running Caucho's RESIN in a production enviroment for the past 6 months. We have been running RESIN 1.1.3 for the past while, and due to many problems with the engine, we tried upgrading

Re: Solved! problems compiling mod_jk.so etc.

2001-02-14 Thread Ryan
- From: "Andrew Stewart" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 14, 2001 3:58 PM Subject: RE: Solved! problems compiling mod_jk.so etc. Although I haven't had much of a problem setting up Tomcat, I' have had the unfortunate experience to be running Cauc

RE: Solved! problems compiling mod_jk.so etc.

2001-02-14 Thread Andrew Stewart
Message- From: Ryan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 4:47 PM To: [EMAIL PROTECTED] Subject: Re: Solved! problems compiling mod_jk.so etc. I used resin and thought it was great until i tried using classes with it and couldn't return values from class methods

Solved (re-solved) probs compiling modules with apxs

2001-02-12 Thread J Austin
Shortly after I posted a message to the list about being unable to compile mod_jk or mod_jserv, I found a reference to the PHP FAQ that contained the information I needed to fix my copy of apxs so tha I could compile the modules I need. I have been unable to post the information to FAQ-O-MATIC.

Re: solved: mod_jserv compilation problems

2001-01-31 Thread Alex A. Almero
kindly send me the link thanks - Original Message - From: "Olaf Grewe" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 8:40 PM Subject: solved: mod_jserv compilation problems Hi all, thanks for any suggestions, I finally found the mod_jk-howto.

re: solved: mod_jserv compilation problems

2001-01-31 Thread Olaf Grewe
Hi Alex, do find / ' grep mod_jk-howto.html Is located somewhere in the src directory of jakarta-tomcat-src.tar.gz. Sorry for not being more specific but I'm not at my machine. Regards Olaf - To unsubscribe, e-mail:

RE: SOLVED: apache 1.3.14, tomcat 3.2.1, Linux

2000-12-19 Thread Dave Newton
Thanks Neil! Here is the exact procedure that I used to get apache 1.3.14 and tomcat 3.2.1 to work on my Linux system. Anybody want to volunteer to either a) put in on the jakarta site or b) put it on their own site? This way we can point all these questions to this mini-HOWTO. Dave

RE: SOLVED: apache 1.3.14, tomcat 3.2.1, Linux

2000-12-19 Thread Dave Newton
I can put it up on my site if you think it would be helpful. Considering how many people have asked the same questions, and how many times myself and others have answered, I think it'd be pretty handy to have a "go look here" link w/ actual instructions. I think the project might benefit from

Re: SOLVED: apache 1.3.14, tomcat 3.2.1, Linux

2000-12-19 Thread John Rowling
Neil, I posted a message yesterday with similar problems installing 3.2.1 and Apache 2.0b7 on RH 7.0. Your doc describes the steps I took (based on the User Guide and the mod_jk docs) but it still won't work. The build of mod_jk.so fails as predicted and the gcc runs seems to finish it

RE: SOLVED: apache 1.3.14, tomcat 3.2.1, Linux

2000-12-19 Thread Neil Aggarwal
Dave: I temporarily put my document up at the following URL: http://www.JAMMConsulting.com/InstallNotes/InstallTomcat3_2.txt When I get a chance, I am going to create a section in the Reading Room section of our web site to house this kind of stuff. Thanks, Neil. -- Neil Aggarwal