RE: No. of User Restrictor

2002-01-18 Thread Cox, Charlie
check out the docs for the connector object max_threads for tc 3.x maxProcessors for tc 4.0 and Charlie -Original Message- From: Sachin Tyagi [mailto:[EMAIL PROTECTED]] Sent: Friday, January 18, 2002 5:22 AM To: [EMAIL PROTECTED] Subject: No. of User Restrictor

RE: Problem with Manager App

2002-02-01 Thread Cox, Charlie
you need to define the manager context for each virtual host. also make sure it has privileged=true Charlie -Original Message- From: Harry Long [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 10:42 AM To: [EMAIL PROTECTED] Subject: Problem with Manager App Hi I

RE: Problem with Manager App

2002-02-01 Thread Cox, Charlie
Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 10:19 AM To: 'Tomcat Users List' Subject: RE: Problem with Manager App you need to define the manager context for each virtual host. also make sure it has privileged=true Charlie

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie
when installed as a service, you don't need catalina.bat - everything is in your wrapper.properties try this for your wrapper properties in TC4: wrapper.startup_class=org.apache.catalina.startup.Bootstrap wrapper.cmd_line=$(wrapper.javabin) -Xrs

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie
$(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) start -Original Message- From: Cox, Charlie [EMAIL PROTECTED] Date: Fri, 1 Feb 2002 14:03:59 -0500 To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Jakarta NT service error when installed

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie
there. -Original Message- From: Cox, Charlie [EMAIL PROTECTED] Date: Fri, 1 Feb 2002 15:25:47 -0500 To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Jakarta NT service error you have JAVA_HOME set as a system environment variable, not a user env. variable

RE: Jakarta NT service error

2002-02-01 Thread Cox, Charlie
the wrapper.tomcat_home's to wrapper.catalina_home to avoid confusion. Cheers, Larry -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 3:58 PM To: 'Tomcat Users List' Subject: RE: Jakarta NT service error I think you need to remove

RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200

2001-10-04 Thread Cox, Charlie
note the line: jk_open_socket, connect() failed errno = 61 it appears that your workers are not configured on the same port in workers.properties and server.xml Charlie -Original Message- From: Vara Prashanth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:16 AM To:

RE: cancelled request

2001-10-18 Thread Cox, Charlie
it is changing. hope this helps, Barry - Original Message - From: Cox, Charlie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 17, 2001 4:32 PM Subject: cancelled request I didn't see anything about this in the archives, so hopefully someone can help me out here

RE: cancelled request

2001-10-18 Thread Cox, Charlie
. hope this helps, Barry - Original Message - From: Cox, Charlie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 17, 2001 4:32 PM Subject: cancelled request I didn't see anything about this in the archives, so hopefully someone can help me out here. TC 3.2.1

RE: cancelled request(more info)

2001-10-18 Thread Cox, Charlie
for errors after it sends data to the isapi filter? Charlie -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 18, 2001 10:50 AM To: '[EMAIL PROTECTED]' Subject: RE: cancelled request my problem is that I can't distinguish a valid request from

RE: Confusing Problem with SQL Query in Tomcat

2001-03-27 Thread Cox, Charlie
Title: RE: Confusing Problem with SQL Query in Tomcat Some data types(char) are fixed length on some databases. I'm not familiar with postgres, but you may want to try 'where upper(rtrim(name)) = upper(?)' to trim any trailing spaces. I have run into cases where in a char(10) field,'ABC' is

RE: xalan/ xerces with tomcat-nt service

2001-04-24 Thread Cox, Charlie
Title: RE: xalan/ xerces with tomcat-nt service you need to comment out jaxp.jar and parser.jar #wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar #wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar Charlie -Original Message- From: Grzegorz Zachejski [mailto:[EMAIL

RE: AW: mailing list or news group??

2001-05-17 Thread Cox, Charlie
Title: RE: AW: mailing list or news group?? I vote for the mail list because I keep many messages with good explainations that I don't always remember the exact wording of. this way I can search in my local archive and not have to search the entire tomcat archive. it would be difficult to for

RE: Preserving single quotes

2001-05-17 Thread Cox, Charlie
Title: RE: Preserving single quotes My guess is that you inserted quotes copied from Microsoft Word. Word repaces normal single quotes with smart quotes(their term, not mine). This is some value that is not resolved by a lot of applications(notepad,xml/xsl,etc),although XMLSpy seemed to know

RE: Bean Choices (code question)

2001-05-18 Thread Cox, Charlie
Title: RE: Bean Choices (code question) there is no gc on static objects. static objects(methods,fields, or classes) are created once on startup and there is only one instance of the method or field ever created that all requestors to your class will use. But with Tomcat I do believe that if

RE: Bean Choices (code question)

2001-05-18 Thread Cox, Charlie
Title: RE: Bean Choices (code question) -Original Message- From: Bo Xu [mailto:[EMAIL PROTECTED]] Sent: Friday, May 18, 2001 1:47 PM To: [EMAIL PROTECTED] Subject: Re: Bean Choices (code question) Jeff Kilbride wrote: Hi Charlie, [...] On the same subject, are class

RE: Contexts, Classes, Variables

2001-05-21 Thread Cox, Charlie
Title: RE: Contexts, Classes, Variables My understanding is that if your class is in your classpath, it will be loaded once by java's bootstrap loader and they would share the same instance. If your class is part of your web application, it would be a different instance for each context. The

RE: *** Ordinary users can kill the tomcat server? ***

2001-05-24 Thread Cox, Charlie
Title: RE: *** Ordinary users can kill the tomcat server? *** This is definately a problem, but you can minimize this problem by restricting access to port 8007 to the local machine in the server.xml by adding: Parameter name=inet value=127.0.0.1/ Then you can control who has access to

Re: AW: AW: AW: Why doesn't this work:

2001-05-31 Thread Cox, Charlie
Title: Re: AW: AW: AW: Why doesn't this work: 2 comments: 1. you can insert a % try { % at the beginning of your jsp and then % } catch (NullPointerException npe) { System.err.println(***); npe.printStackTrace(); } % at the end of your code.

RE: Servlets and relative paths

2001-06-01 Thread Cox, Charlie
Title: RE: Servlets and relative paths What I had to do was put the xsl files in the root directory for my webapp where I could make the href the full url (http://localhost/webapp/sections.xsl) This was the only way I could get it to work correctly. Obviously this exposes your stylesheet to

RE: static,synchronized and classloaders(was:Java Question)

2001-06-12 Thread Cox, Charlie
Title: RE: static,synchronized and classloaders(was:Java Question) Now is this true for when I have multiple contexts mapped to the same docbase? I have seen on this list that Tomcat loads the classes(in web-inf/classes) independently for each context and passing MyObject class instance

RE: static,synchronized and classloaders

2001-06-13 Thread Cox, Charlie
files - JVM verifier should throw the exception before a second object is created. If this doesn't happen - this is a serious bug. Also it is not possible to synchronize on the class - only on the method and a variable that is an object - Original Message - From: Cox, Charlie To: '[EMAIL

RE: static,synchronized and classloaders

2001-06-13 Thread Cox, Charlie
class members to carry configuration information that gets corrupted by the very next webapp that initializes the same shared library with different configuration information. thanks, jeff - Original Message - From: Cox, Charlie To: '[EMAIL PROTECTED]' Sent: Wednesday, June 13, 2001 8

RE: static,synchronized and classloaders

2001-06-13 Thread Cox, Charlie
Title: RE: static,synchronized and classloaders well, I am using TC 3.2.1(win2k,standalone and w/iis, with and without virtual hosts), but it seems to work the same. Also make sure your jar is not in tomcat\lib or your classpath thanks for the thorough test Bo Charlie -Original

RE: Multiple Hosting on IIS

2001-07-06 Thread Cox, Charlie
Title: RE: Multiple Hosting on IIS you could map the contextname to something else to return an error for that context(in server.xml): Host name=www.myhypotheticaldomain.com Context path=/contextname docBase=webapps/contextname/ Context path=/othercontextname docBase=webapps/errorcontext/

RE: Help on application scope

2001-07-09 Thread Cox, Charlie
Title: RE: Help on application scope See notes below -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 07, 2001 5:24 PM To: 'ericdev' Cc: '[EMAIL PROTECTED]' Subject: RE: Help on application scope I tried to do a Singleton Instance

RE: streaming pdfs through servlet...

2001-07-10 Thread Cox, Charlie
Title: RE: streaming pdfs through servlet... you may want to do something for your exception - at least write to stdout to indicate you got an error. If you get an exception thrown, you have not written anything to the response, therefore you will get a blank screen. Charlie -Original

RE: Cannot find my JavaBeans

2001-07-18 Thread Cox, Charlie
Title: RE: Cannot find my JavaBeans Ok, based upon previous posts, I think I might have an idea of why this happens. Tomcat uses its own classloader(AdaptiveClassLoader) to load servlets/jsps. when that servlet/jsp needs a class(abcBean) the AdaptiveClassLoader tries to load the class. If

RE: MIssing Classes - WHAT is the answer? :-)

2001-07-19 Thread Cox, Charlie
Title: RE: MIssing Classes - WHAT is the answer? :-) Ok, I'm not a developer, and I am using TC 3.2.1, not TC4, but a quick look at the ServletContextListener and I have some comments based upon what I know about TC 3.2.1. see below. -Original Message- From: John Baker

RE: Cannot find my JavaBeans

2001-07-19 Thread Cox, Charlie
Title: RE: Cannot find my JavaBeans -Original Message- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 5:09 PM To: [EMAIL PROTECTED] Subject: Re: Cannot find my JavaBeans I don't know why it is different for run() than for start() - I haven't

RE: Cannot find my JavaBeans

2001-07-19 Thread Cox, Charlie
Title: RE: Cannot find my JavaBeans -Original Message- From: John Baker [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 11:54 AM To: [EMAIL PROTECTED] Subject: Re: Cannot find my JavaBeans On Thursday 19 July 2001 15:43 pm, you wrote: -Original Message-

RE: Tomcat takes 100% of CPU (SourceSafe)

2001-07-24 Thread Cox, Charlie
Title: RE: Tomcat takes 100% of CPU (SourceSafe) if your uriworkermap.properties has a mapping of /* ajp12 then any request to the webserver is sent to tomcat. It doesn't matter if it was intended for SourceSafe or not. likewise if you have a mapping of /*.html and you try to store html

RE: FW: Context mixing in tomcat.

2001-07-27 Thread Cox, Charlie
Title: RE: FW: Context mixing in tomcat. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, July 27, 2001 1:41 PM To: [EMAIL PROTECTED] Subject: Re: FW: Context mixing in tomcat. Without seeing your source code, there is no way to know

Internal error thrown by tomcat

2001-08-01 Thread Cox, Charlie
I am running TC 3.2.1 w/IIS5 on Win2k SP2 I have a request that causes tomcat to throw the following error: java.lang.NumberFormatException: 3569 at java.lang.Integer.parseInt(Integer.java, Compiled Code) at java.lang.Integer.parseInt(Integer.java, Compiled Code) at

RE: xml.jar

2001-01-19 Thread Cox, Charlie
Title: RE: xml.jar You can modify your classpath in the tomcat.bat(or tomcat.sh?) file to move xml.jar to the end. java uses the first implementation of a class that it finds in the path. I moved the following line: set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar below this one: set

RE: Connection refused under hight load

2001-02-08 Thread Cox, Charlie
Title: RE: Connection refused under hight load I know that NT4 Workstation only allows 10 concurrent network connections. I didn't think that limit had changed for Win2k Workstation. Even though your app is running on the same machine, it is still making tcpip requests which would count

RE: refresh/flush logs question

2001-02-12 Thread Cox, Charlie
Title: RE: refresh/flush logs question You did not mention the platform, but if you are on unix, you can use cp /dev/null tomcat.log to 'null' out the logfile. This sets the file to be 0 bytes without interrupting the process using it. Most processes do not have a problem with this. But

RE: HttpUtil

2001-02-13 Thread Cox, Charlie
Title: RE: HttpUtil you should actually use : String[] paranames = request.getParameterValues(checkboxName); then you should be able to use paranames[0],paranames[1]...to get your values. -Original Message- From: sun [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 13, 2001

RE: Need help! :( (XALAN CONFIG )

2001-02-14 Thread Cox, Charlie
Title: RE: Need help! :( (XALAN CONFIG ) you need to move xerces.jar and xalan.jar before xml.jar in your classpath. -Original Message- From: Nazir Faisal-LFN003 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 10:24 AM To: '[EMAIL PROTECTED]' Subject: Need help! :(

RE: webapp icons, disabling directory listings, and error-pagetags in web.xml

2001-02-27 Thread Cox, Charlie
Title: RE: webapp icons, disabling directory listings, and error-pagetags in web.xml I defined my welcome-file-list in $TOMCAT_HOME/conf/web.xml I created an empty index.html and then I mapped it to my servlet in web app/WEB-INF/web.xml It looks like you may be putting the welcome-list

RE: isapi_redirect.dll problem

2001-03-19 Thread Cox, Charlie
Title: RE: isapi_redirect.dll problem I changed the worker.properties file to point to my tomcat directory - even though the tomcat-iis-howto.doc didn't explicity say you had to. I'm not sure where this is used, but if its one of the registry entries, I figured it is probably used by the

RE: shared classes for engine, service or global context

2002-08-29 Thread Cox, Charlie
put them in /common/lib and review the classloader doc. Charlie -Original Message- From: van Geenen, Jurjen (NL - Rotterdam) [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 2:51 AM To: '[EMAIL PROTECTED]' Subject: shared classes for engine, service or global context

RE: Servlet Instances

2002-08-29 Thread Cox, Charlie
keep in mind that static is only static within the current classloader(your webapp). your servlets will have many threads that share your servlet member fields, but each request is on its own thread, so the doGet() instance is unique to that request. how do you know that you have 3 instances of

RE: Removing files from /lib

2002-08-29 Thread Cox, Charlie
unfortunately Java holds on to the library and I don't think that tomcat can control it. I've always had to restart. Charlie -Original Message- From: Shawn Wilson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 12:47 PM To: Tomcat Users List Subject: RE: Removing files

RE: best way for HTTP requests logging with TC 3.2

2002-08-29 Thread Cox, Charlie
I think there was a RequestInterceptor that someone wrote a while ago for 3.2.x. you can search through the archives. you should look into 3.3 or 4.x as I belive both contain a way to do it easily and they have additional features that you may find usefull. I wouldn't add the complexity of

RE: Servlet Instances

2002-08-29 Thread Cox, Charlie
machine (Windows), only on the production remote one (Linux). Help?... - Original Message - From: Cox, Charlie [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 1:48 PM Subject: RE: Servlet Instances keep in mind that static is only

RE: Servlet Instances

2002-08-30 Thread Cox, Charlie
. This is the most likely explanation. HTH Charlie - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 5:33 PM Subject: RE: Servlet Instances On Thu, 29 Aug 2002, Cox, Charlie

RE: RE: RE: Problems with class loader

2002-08-30 Thread Cox, Charlie
I guess I wouldn't consider it a bug, but rather a consequence of how classes are loaded and which class loader holds the files in question. But I see your point in that you don't want Hashtable(and more) in all your webapps... you can open a bug for this and one of the developers(I'm not a

RE: altering the request URI in a filter

2002-09-03 Thread Cox, Charlie
would RequestDispather.forward() work for you? you can use this from within your filter and it will not reinvoke the authentication. Charlie -Original Message- From: jfc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 9:26 AM To: Tomcat Users List Subject: Re: altering

RE: altering the request URI in a filter

2002-09-03 Thread Cox, Charlie
I'm getting java.lang.IllegalStateException: Cannot forward after response has been committed ... etc At the end of my filter's doFilter method I am doing the following: if(stripped){ RequestDispatcher rd = request.getRequestDispatcher(requestURI);

RE: RE: RE: Problems with class loader

2002-09-05 Thread Cox, Charlie
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 5:51 AM To: [EMAIL PROTECTED] Subject: RE: RE: RE: Problems with class loader Hi Charlie, You are right saying that it is a consequence of how classes are loaded

RE: [Q] Singleton Objects across webapps...

2002-09-05 Thread Cox, Charlie
it depends on where you want your servlets to reside. If all your servlets reside in the same context, you can leave your singleton in that context. This way if you have multiple contexts with copies of the same servlets, you can have an instance of your singleton for each webapp. if you want to

RE: RE: RE: Problems with class loader

2002-09-10 Thread Cox, Charlie
Glad I could help! I enjoyed the discussion as well. I like the challenging problems :) sorry for the late response, I was out of the office. Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 3:15 AM To: [EMAIL PROTECTED]

RE: Debugging class loading

2002-09-10 Thread Cox, Charlie
before you go hacking with your own classloader, have you reviewed the classloader doc? What kind of problems are you having? Only classes in each web application are loaded by the web app's classloader. If you have classes in \common\lib or \tomcat\lib, they are loaded by StandardClassLoader.

RE: Debugging class loading

2002-09-10 Thread Cox, Charlie
~ -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 7:49 AM To: 'Tomcat Users List' Subject: RE: Debugging class loading before you go hacking with your own classloader, have you reviewed the classloader

RE: classloader

2002-09-10 Thread Cox, Charlie
while I am not completely familiar with classloading in 3.3, you need to have your classes in the same directory(or higher in the classloading heirarchy) so that they are loaded by the same classloader. Therefore 2.jar must go into /lib/apps. There should be a classloader document with 3.3 that

RE: classloader

2002-09-10 Thread Cox, Charlie
my problem: I have many jar-files only needed by *one* context, but I have to put all that jar-files into the same directory (/lib/apps) - that's not very easy to maintain!!! you should be able to put them all in /WEB-INF/lib and they should be ok. You can not have jars in /lib/apps

RE: Debugging class loading

2002-09-10 Thread Cox, Charlie
would probably have to build your own tomcat to do this. Charlie Michael Petres ~ InnovObjX Corp. Web: www.innovobjx.com Tel: 905-729-2235 x3 Fax: 905-729-2235 ~ -Original Message- From: Cox, Charlie [mailto

RE: AW: AW: AW: HELP! Configuring HTTP-headers per mime type?

2002-09-10 Thread Cox, Charlie
-Original Message- From: Gili [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 10:39 AM To: Ralph Einfeldt; Tomcat Users List Subject: Re: AW: AW: AW: HELP! Configuring HTTP-headers per mime type? On Tue, 10 Sep 2002 16:27:37 +0200, Ralph Einfeldt wrote: The

RE: Tomcat classloader and JNI questions

2002-09-17 Thread Cox, Charlie
put it in /common/lib and restart tomcat so that it sees it. Tomcat completely ignores the classpath, so I'm not sure how that made a difference here. Charlie -Original Message- From: Mr. Tomcat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 5:47 AM To: Tomcat Users

RE: web.xml and manager application

2002-09-20 Thread Cox, Charlie
just use stop and start. That will read the web.xml Charlie -Original Message- From: William Wragg [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 10:15 AM To: Tomcat Users List Subject: Re: web.xml and manager application Hi, I had this on 4.0.4. The way I got

RE: Classloaders, JDBC drivers (etc.), and reloading webapps with the /manager

2002-09-23 Thread Cox, Charlie
if your driver is a pure java driver(type 4, I think) then you would be ok. If your driver uses native libraries for its java implementation, then you will have a problem. you want to put the jar in your /common/lib so that it is is loaded once and shared for all contexts that need it. This way

RE: Special consideration of invoking native methods in Tomcat?

2002-09-24 Thread Cox, Charlie
you're going to have to provide the error message. Look in the tomcat logs and post the stack trace. Charlie -Original Message- From: Furlan Bojan ITWET2 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 4:13 AM To: 'Tomcat Users List' Subject: RE: Special consideration

RE: Sharing multiple versions of jars

2002-09-24 Thread Cox, Charlie
no, there is no easy way to do this. you can only have one version of a library opened at a time within a classloader. Since each webapp has its own classloader, you can put all servlets requiring library.jar 1.0 into one context and the others into another context. But then any other jars in

RE: override the class location of WEB-INF?

2002-09-26 Thread Cox, Charlie
I belive soft links are disabled(soon to be optional) in 4.1.x. I fyou want class files in your own directory, you will need your own classloader. What's wrong with the WEB-INF/classes? -Original Message- From: Anand Sharma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25,

RE: Tomcat 4.1.12 memory leak, resources leak, what to do ?

2002-09-27 Thread Cox, Charlie
post it as a bug to http://nagoya.apache.org/bugzilla/ Charlie -Original Message- From: Ing. Damiano Bolla [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 6:19 AM To: Tomcat Users List Subject: Re: Tomcat 4.1.12 memory leak, resources leak, what to do ? Thanks to

RE: multiple service tag in server.xml

2002-09-27 Thread Cox, Charlie
I think autoDepoy was added for this. Set it to false. Charlie -Original Message- From: marba [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 6:45 AM To: [EMAIL PROTECTED] Subject: multiple service tag in server.xml I'm trying to configure tomcat 4.1.10 (on win2k)

RE: what is RequestDumperValve

2002-10-01 Thread Cox, Charlie
look in the file in the logs dir that you have defined in the Logger element in server.xml. Charlie -Original Message- From: Kunal Shah [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 5:29 AM To: [EMAIL PROTECTED] Subject: what is RequestDumperValve Hi all, I was

RE: what is RequestDumperValve

2002-10-01 Thread Cox, Charlie
-Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 5:06 PM To: 'Tomcat Users List' Subject: RE: what is RequestDumperValve look in the file in the logs dir that you have defined in the Logger element in server.xml. Charlie

RE: Doubt about multiple applications

2002-10-02 Thread Cox, Charlie
what error are you getting? did you look in the error logs? Charlie -Original Message- From: David Mossakowski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 4:02 PM To: Tomcat Users List Subject: Re: Doubt about multiple applications There is no reason for this

RE: Doubt about multiple applications

2002-10-02 Thread Cox, Charlie
!!! every app sees that directory, so it should work :) some drivers may use native libraries and therefore may not be able to load in multiple classloaders(each webapp has its own). Therefore you may not have a choice except to place the jar it in /common/lib. Charlie From: Cox, Charlie [EMAIL

RE: TomCat java_home variable

2002-10-03 Thread Cox, Charlie
try uppercase JAVA_HOME Charlie -Original Message- From: madhur jain [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 12:46 AM To: [EMAIL PROTECTED] Subject: TomCat java_home variable hi yesterday i downloaded the tomcat 4.0.5 when i start startup.bat in the

RE: Repost: getClassLoader() returns null

2002-10-03 Thread Cox, Charlie
you don't also have the jar under /jre/lib/ext? It would find your jar there before looking in /common/lib; in which case it would be loaded by the jvm's bootstrap and could return null. see the tomcat classloader doc... Charlie -Original Message- From: Volker Leidl [mailto:[EMAIL

RE: Repost: getClassLoader() returns null

2002-10-04 Thread Cox, Charlie
. By the way, running the JVM with the -verbose:class switch explicitly shows me that the class is loaded from common/lib (or common/classes). Regards, Volker Cox, Charlie wrote: you don't also have the jar under /jre/lib/ext? It would find your jar there before looking in /common

RE: auto deploy WAR + embedded tomcat

2002-10-07 Thread Cox, Charlie
my headers show the from as: From: [EMAIL PROTECTED] Your mail client must be inserting your name since one was not provided. Charlie -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 5:24 AM To: Tomcat Users List Subject: RE:

RE: Tomcat Problem

2002-10-07 Thread Cox, Charlie
-Original Message- From: Uma Maheswar [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 7:16 AM To: Tomcat Users List Subject: Re: Tomcat Problem Hi Reynir, I tried it, I got this messages C:\PROGRA~1\Apache Tomcat 4.0\bincatalina run Using CATALINA_BASE: ..

RE: What is InvocationTargetException?

2002-10-07 Thread Cox, Charlie
-Original Message- From: Ola Tuvesson [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 6:08 AM To: Tomcat Users List Subject: RE: What is InvocationTargetException? Thanks Reynir! Was possibly a problem with the servlet not finding its logfile directory. I've

RE: Not Autoloading servlets?

2002-10-07 Thread Cox, Charlie
-Original Message- From: Randy Secrist [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 06, 2002 2:25 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Not Autoloading servlets? No I did not. I only want them to load at startup - using the tag in the web.xml. I do

RE: trivial question...

2002-10-07 Thread Cox, Charlie
are you printing the headers in your servlet? If so, then no the response headers will NOT be included in the request to your servlet. Charlie -Original Message- From: Padhu Vinirs [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 3:18 PM To: Tomcat Users List Subject:

RE: trivial question...

2002-10-07 Thread Cox, Charlie
... Then what is the use of setHeader/addHeader methods ? I dont understand how these values can be retrieved ? -- padhu Cox, Charlie wrote: are you printing the headers in your servlet? If so, then no the response headers will NOT be included in the request to your servlet

RE: passing a session from non-SSL to SSL

2002-10-07 Thread Cox, Charlie
-Original Message- From: Sundar Chakravarthy [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 10:31 AM To: Tomcat Users List Subject: RE: passing a session from non-SSL to SSL Hi, Does this mean I have to use pure https for my webapp ? yes Isnt there a

RE: Class Loading Question

2002-10-07 Thread Cox, Charlie
-Original Message- From: Mark R. Diggory [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 3:08 PM To: [EMAIL PROTECTED] Subject: Class Loading Question I'm looking in the ClassLoading documentation and I see this as the loading order /WEB-INF/classes of your web

RE: Classpath and Aliases on Tomcat 4

2002-10-08 Thread Cox, Charlie
tomcat does not use the classpath. your classes must go under /tomcat/common/lib or within your context. you can try soft links, but they are disabled in 4.1.x by default. for your static files, just create a directory under your context - then you can access it as a subdir in your url. you

RE: NullPointerException

2002-10-08 Thread Cox, Charlie
you're going to need to provide some source code or a stack trace. where is the class you are instantiated located? in your web-inf/classes, in common/lib, etc? 'all sorts of problems' is rather vague. If you provide more specifics, you are more likely to get help. Charlie -Original

RE: To capture the CLICK event of SUBMIT button

2002-10-08 Thread Cox, Charlie
I'm not seeing how this relates to tomcat... there are plenty of good javascript resources on the net. -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 10:30 AM To: '[EMAIL PROTECTED]' Subject: To capture the CLICK event of SUBMIT

RE: Request parameters not coming through correctly [Tomcat 4.1.12]

2002-10-08 Thread Cox, Charlie
is searchField a multiple select? are you sure that no other input box/button is named 'searchField'? you can get an array in either of these scenarios. Charlie -Original Message- From: Russ Bonsall [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 1:45 PM To: '[EMAIL

RE: Exception starting filter Security Filter

2002-10-09 Thread Cox, Charlie
someone else had this problem a last week. http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg68531.html Charlie -Original Message- From: Dan Payne [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 1:56 PM To: [EMAIL PROTECTED] Subject: Exception starting

RE: Classpath

2002-10-10 Thread Cox, Charlie
tomcat doesn't use the classpath. put your jar in your webapp's lib dir (myapp/WEB-INF/lib) or in the common dir(/common/lib). You probably want them in the common lib so that the database drivers are shared between all webapps. see the classloader doc for more info on how these directories are

RE: Exception starting filter Security Filter

2002-10-10 Thread Cox, Charlie
-Original Message- From: Volker Leidl [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:14 AM To: Tomcat Users List Subject: Re: Exception starting filter Security Filter Hi! In fact I was wrong in my last post. As I found out later, it did not work. I found a

RE: Classpath

2002-10-10 Thread Cox, Charlie
. -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:53 PM To: 'Tomcat Users List' Subject: RE: Classpath tomcat doesn't use the classpath. put your jar in your webapp's lib dir (myapp/WEB-INF/lib) or in the common dir(/common

RE: Setting classpath..Kindly help...???

2002-10-10 Thread Cox, Charlie
does the user that the tomcat service is running under('System' unless you changed it) have permissions to the tomcat directory? -Original Message- From: sathya [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:01 AM To: Tomcat Users List Subject: RE: Setting

RE: log4j.jar locked by Tomcat even after remove/undeploy ....

2002-10-10 Thread Cox, Charlie
the jvm has the library loaded, not tomcat. It will not be released until the jvm(incuding tomcat) is stopped. Charlie -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 11:55 PM To: Tomcat Users List Subject: Fwd: log4j.jar locked by

RE: Tomcat dies periodically

2002-10-11 Thread Cox, Charlie
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:58 AM To: Tomcat Users List Subject: Tomcat dies periodically We are running Tomcat running on a Win2000 SP2 box and Computer Associate JASMINE/OPAL with HTTP Host

RE: Using filters to authenticate users...

2002-10-14 Thread Cox, Charlie
is there a reason not to use the form-based auth that's built in? Charlie -Original Message- From: Johann Uhrmann [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 6:32 AM To: Tomcat Users List Subject: Using filters to authenticate users... Hi, what do You think

RE: Tomcat is supposing a js file is a servlet

2002-10-14 Thread Cox, Charlie
how is it calling this .js file? You can't use RequestDispatcher on js files. You probably want a script in your serlvet's html output. Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 10:59 AM To: [EMAIL PROTECTED]

RE: Static class not working under multiple webapps deployment

2002-10-15 Thread Cox, Charlie
where is this class located? if it is in /common/classes or shared/classes, that is the correct result. you will have to copy the .class file to each webapp under its WEB-INF/classes to get the result that you desire. Charlie -Original Message- From: Donie Kelly [mailto:[EMAIL

RE: Static class not working under multiple webapps deployment

2002-10-15 Thread Cox, Charlie
servlets-common.jar servlets-invoker.jar servlet.jar naming-common.jar naming-resource.jar log4j.jar -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 14:29 To: 'Tomcat Users List' Subject: RE: Static class not working under multiple

RE: Upgrading from 3.2.1 to 4.0.6

2002-10-15 Thread Cox, Charlie
did you create a 'foo' context in server.xml? you do not want to overwrite /conf/web.xml. you can copy the web.xml from your webapps along with all your code and it should work since it's backwards compatible. are there any errors in the logs? Charlie -Original Message- From:

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

<    1   2   3   4   5   >