Re: IIS and Apache side by side

2001-04-09 Thread Anuj Agrawal
Have them listening on different ports. You can change the port for IIS via the MMC (Microsoft Management Console). And you can change the port for Apache in the httpd.conf file in the conf directory. Anuj. Joar Vatnaland wrote: I installed Apache on my Win2000 machine, which also has

Re: Need job scheduling component

2001-04-05 Thread Anuj Agrawal
I'm not sure if this will meet your needs, but there is a nice Scheduler API called Flux from simscomputing (http://www.simscomputing.com). There's a free 30-day download i believe. HTH. Anuj. Jack Li wrote: We need a component for scheduling jobs because some jobs take a long time. The

Re: change of webapps directory

2001-04-03 Thread Anuj Agrawal
You have to add a new context in the server.xml file (in conf dir). There are other examples in there to copy from. ;) Anuj. Christian Seifert wrote: I am deploying war files and it seems as if those must be stuck into the $TOMCAT_HOME/webapps directory. Is there any way to specify a

Re: NoClassDefFoundError - classpath problems

2001-03-26 Thread Anuj Agrawal
I've had this problem before as well. The problem usually is that the classpath has the right number of members, but in the wrong order. You might want to look in your jar files (if any) to see if there are any classes that are similar, but perhaps one jar has an older version than another. We

Re: tomcat/apache/solaris - redirecting stdout/stderr

2001-03-25 Thread Anuj Agrawal
Thanks. That would do it. I guess i was hoping for some kind of config file setting or something. 8) Anuj. Milt Epstein wrote: On Fri, 23 Mar 2001, Anuj Agrawal wrote: Using tomcat 3.2.1 with apache on solaris 8, starting tomcat using bin/startup.sh, how do i specify which files

Re: Tomcat Root dir

2001-03-22 Thread Anuj Agrawal
you might want to peek in server.xml (in conf dir) - you will see a context mapping for /examples pointing to webapps/examples. I'm guessing this is why you are thinking webapps is the root. It does not have to be. Anuj. Sankaranarayanan Ganapathy wrote: Is this in any way different from

Re: log4j and tomcat

2001-03-20 Thread Anuj Agrawal
Yes it can. You might want to consider creating a log4j.properties file to hold your log4j configuration. Have that file in your WEB-INF/classes dir and tomcat would automatically pick it up. HTH. Anuj. teh j wrote: I have recently started playing with log4j. Does anybody know if it can be

Re: Using JAR files

2001-03-15 Thread Anuj Agrawal
We encountered the EXACT same thing. The fix is to put it in the TOMCAT_HOME/lib directory and add it to the CLASSPATH in wrapper.properties BUT the trick is that you MUST add it before anything else: For example, in our case, we have - wrapper.class_path=$(wrapper.tomcat_home)\classes

Re: tomcat logging

2001-03-08 Thread Anuj Agrawal
You might want to look at using Log4j - it appears to be supported in Tomcat, and provides highly configurable logging very easily. Log4j is another Jakarta subproject. Anuj. teh j wrote: In the url above, it mentioned that resin supports logging/tracing of program execution. This would be

Re: Please Help On Static Reference ........

2001-03-07 Thread Anuj Agrawal
errmm.. you can't access an instance method statically .. You'll have to create a parkingPricehandler object (instance) first .. then use that to reference the instance method Anuj. Mick Sullivan wrote: It is a class, a very basic one at that

Re: Servlet Directory

2001-03-02 Thread Anuj Agrawal
Adding a context path in server.xml is just one part to it (BTW, in docBase you might want to use a fully qualified path rather than a relative path). The 2nd file that you need to edit is uriworkermap.properties file, and add (in your case) /myservlets/*=ajp12 You may need to restart both

log4j usage in tomcat?

2001-02-28 Thread Anuj Agrawal
Hi! I'm using Tomcat 3.2.1 with IIS on W2K. Things work great! Within my classes i'm utilizing Log4j logging which requires Log4j to be configured. I normally configure Log4j within my unit test cases, but in the case of Tomcat, to my pleasant surprise, i found that (seemingly) without

Re: CLASSPATH and Load-on-startup related issue - bug ??

2001-02-28 Thread Anuj Agrawal
Actually, i believe tomcat does pick up the jars from the WEB-INF/lib directory. You might want to try looking in the jasper.log file in the logs directory. It should show something like: Classpath according to the Servlet Engine is: list of jar files in WEB-INF/lib dir> I'm using tomcat 3.2.1 -