Re: HELP for novice

2002-11-06 Thread Sriram N
Have you looked at the docs available with tomcat and also at http://www.johnturner.com/howto/apache-tomcat-howto.html Never worked much on Un*x beyond a few shell commands and such, but I do think that the mod_jk.so files might be missing. If you have taken these .so files, are they in the

How do I use the admin webapp in 4.1.12 ?

2002-11-09 Thread Sriram N
Hello, I downloaded 4.1.12 today and decided to explore it. How do I use the admin webapp ? I was able to use the manager app after creating a user in tomcat-users.xml. Thanks, Sriram __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits

Got admin working.. (Re: How do I use the admin webapp in 4.1.12 ?)

2002-11-09 Thread Sriram N
Since I was able to add myself as manager using tomcat-users, I added admin priveleges the same way. Here's the line in my tomcat-users.xml file: user username=sriram password=foo roles=manager,admin/ However, this is not documented anywhere in the tomcat docs. --Sriram --- Sriram N [EMAIL

Contribution to the running.txt file for thje admin and manager web apps.

2002-11-09 Thread Sriram N
Hello, Since the running.txt does not contain any kickstart information for the manager and admin web applications, here's something that we could use as a placeholder until something better is developed. I was thinking of placing this paragraph before the (5) Troubleshooting section in the file

Contribution to the running.txt file for thje admin and manager web apps.

2002-11-09 Thread Sriram N
Hello, Since the running.txt does not contain any kickstart information for the manager and admin web applications, here's something that we could use as a placeholder until something better is developed. I was thinking of placing this paragraph before the (5) Troubleshooting section in the file

Re: Got admin working.. (Re: How do I use the admin webapp in 4.1.12 ?)

2002-11-09 Thread Sriram N
--- Remy Maucherat [EMAIL PROTECTED] wrote: Sriram N wrote: Since I was able to add myself as manager using tomcat-users, I added admin priveleges the same way. Here's the line in my tomcat-users.xml file: However, this is not documented anywhere in the tomcat docs

Re: 2ND TRY: Developing ASP applications with tomcat

2002-11-20 Thread Sriram N
If you're loading classes, then try using Thread.currentThread().getContextClassLoader().loadClass(myClass); Use this in the classes that you wish to place in the shared/lib. --Sriram --- Giovanni Cuccu [EMAIL PROTECTED] wrote: Hi all, I'm developing an application which will be

Re: Log4j initialization problem

2002-03-20 Thread Sriram N
Hello, I don't have access to my computer right now, but here's roughly what I do to use log4J within my Servlet 2.3 API compliant webapps. 1. Create a properties file called log4j.properties 2. Place this in WEB-INF folder. 3. Write a ContextListener and in the contectInitialized method,

Re: Log4j initialization problem

2002-03-21 Thread Sriram N
Hello, Here's an idea, thouh I'm not sure it's a clean one... 1. In the contextStarted, get hold of the real path from the servlet context. Let's say you get /var/tomcat/webapps/myapp/. 2. Set this to a System property e.g. String currentWebAppPath = /var/tomcat/webapps/myapp/;

Look at this document (Was Re: can Tomcat call classes in JARs?)

2002-03-27 Thread Sriram N
--- Carlos Martins [EMAIL PROTECTED] wrote: Hello, Is it possible to have tomcat call servlets that are included in a jar file rather than simple class files located in the WEB-INF/classes folder? I'm trying this, by placing the jar file with the classes in that folder, but tomcat

Re: Is there a native JDBC driver for MS Access?

2002-04-06 Thread Sriram N
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Mon, 8 Apr 2002, Adrian Beech wrote: Date: Mon, 8 Apr 2002 10:38:45 +1000 From: Adrian Beech [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Is there a native

Re: Tomcat 3.3.x VisualAge 3.5.3

2002-05-12 Thread Sriram N
Hi, You could do this by either importing the Tomcat source/binay into visual Age, or by adding the Tomcat jars to the Visual Age classpath. If you see the tomcat.bat batch file, you'll see that there's just the StartTomcat and StopTomcat batch files being called. You could call these too, and

Re: Solution to sun/tools/javac/Main - Problem and some Critique about classpath

2002-01-27 Thread Sriram N
Hello, for anybody who has been running into this exception when trying to execute JSPs: javax.servlet.ServletException: sun/tools/javac/Main Heres the solution: tools.jar is not recognized when it's in classpath thus it must be copied to {tomcat_root}/common/lib and/or {tomcat_root}/server/lib

Re: One Solution (JSP-Compilation error)

2002-01-27 Thread Sriram N
Does this happen with Tomcat 4.0.1 too ? Acc. to the Tomcat docs at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html, the following order is maintained when loading classes. /WEB-INF/classes of your web application /WEB-INF/lib/*.jar of your web application Bootstrap

Quick guide to a virtual host in Tomcat (Was: server.xml and Catalina)

2002-01-27 Thread Sriram N
--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote: I sure am having trouble getting an example of server.xml. I bathed! Is the 4.0 server.xml structured about like the 3.2 was? I have looked at the documentation, but I am practically oriented. If someone would show me one copy

Here's how you check the JAVA_HOME env variable. (Was :Re: Solution to sun/tools/javac/Main - Problem and some Critique about classpath)

2002-01-28 Thread Sriram N
--- Michael Kastner [EMAIL PROTECTED] wrote: Siram, thank you very much for your reply. I think I wasn't specific enough. To put my critique in a nutshell: if I set JAVA_HOME in the environment, there oughtn't be a need to copy tools.jar in a /lib directory of tomcat. Of course. The

Re: Installing TomCat 4.0

2002-01-31 Thread Sriram N
Hello, The logs are kept in %TOMCAT_HOME%/logs. Please check these logs for error messages. If you find that you're stuck somewhere, then post relevant sections from these logs. Sriram --- Jose Euclides da Silva Junior - DIGR.O [EMAIL PROTECTED] wrote: Hi everybody, i have gotten a headache

On Resin, Tomcat and Apache.

2002-09-07 Thread Sriram N
Hi all, I saw the past few days' posts on resin vs tomcat, and tomcat vs apache. I just went over to resin's site, and here's what they have to say: Resin includes a full-featured HTTP/1.1 web server dedicated to serving fast Java dynamic content. While Resin is tuned for dynamic content, its

RE: Tomcat w. JRE?

2002-10-02 Thread Sriram N
And according to a license policy change by Sun, it's possible to distribute the tools.jar file to your customers too. Sriram -Original Message- From: Mohammad Al-Bedaiwi [mailto:[EMAIL PROTECTED]] Sent: 03 October 2002 05:29 To: 'Tomcat Users List' Subject: RE: Tomcat w. JRE?

RE: Embedding Tomcat with Java App and JRE only

2003-06-19 Thread Sriram N
This is indeed the ight place. But please check the mail archives first. I'd had to Embed Tomcat way back in Dec 2001 - Jan 2002, and had faced lots of problems then, with not a single question of mine being answered. However, I'd posted some of my lessons learnt at around that time. I've

Re: Urgent Doubt!!!

2003-06-26 Thread Sriram N
--- Ponniah Mari [EMAIL PROTECTED] wrote: hi, I have a serious problem. I have developed a site using jsp and servlets, the server is tomcat 4.0. i uploaded the files with a DNS name provider. now i cannot access any of the JSP and Servelt files. But the inetresting part is that its

Re: Classpath problem with Tomcat running in Embedded mode

2003-06-11 Thread Sriram N
Hi, This is a ClassLoader visibility issue. Read the ClassLoader howto in the Tomcat Docs. How exactly are you running Embedded ? Are you invoking the main method on it straight out ? Which Tomcat release are you using ? -- Sriram --- sandeep arshanapally [EMAIL PROTECTED] wrote: Hi,

Re: Classpath problem with Tomcat running in Embedded mode

2003-06-14 Thread Sriram N
directory but none of the classes in the classpath I specify while starting the jvm. Sandeep From: Sriram N [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Classpath problem with Tomcat running in Embedded mode Date: Wed, 11

Re: Embedding Tomcat Continued...

2003-10-24 Thread Sriram N
Hi: I think you do not have tools.jar in your CLASSPATH. JAVA_HOME is used by the startup scripts when you use regular Tomcat. Since you've used Embedded to embed TC, the startup scripts do not come into the picture, and the JAVA_HOME is pretty much useless actually. Try placing the tools.jar

Re: Embedding Tomcat Continued...

2003-10-25 Thread Sriram N
--- Robert Charbonneau [EMAIL PROTECTED] wrote: On October 24, 2003 11:56 pm, Sriram N wrote: Hi: I think you do not have tools.jar in your CLASSPATH. -- Sriram That did the trick, thanks my friend. I have another question on the same subject for the list at large. Now

Using JMX to talk to TC5

2003-10-25 Thread Sriram N
All: I had once developed a GUI that used the Tomcat code TC 4.0.1 to deliver a Swing UI that is functionally similar to IBM's Websphere GUI Console in a limited sort of way. I'd referred to Embedded's main(), to learn how to create Contexts, Connectors, etc, and create these as required within

Re: Unable to find servlet class after reload

2003-10-25 Thread Sriram N
Hi: Just a blind shot (I've not used Struts yet). Do these load-on-startup servlets require anything to be initialized in struts ? Does Struts require initialization by the web app developer ? If so, perhaps you need to somehow ensure that such initialization takes place before you load your

Re: Map all URL to one servlet

2003-10-25 Thread Sriram N
Hi: You might also consider editing the $CATALINA_HOME/conf/web.xml to replace the org.apache.catalina.servlets.DefaultServlet with your own Servlet. You could then respond to ALL requests. -- Sriram --- Christopher Schultz [EMAIL PROTECTED] wrote: Stefan, Is it possible to map all URI''s

Re: Using JMX to talk to TC5

2003-10-25 Thread Sriram N
Thanks, I'll get started right away ! :-) -- Sriram --- Jean-Francois Arcand [EMAIL PROTECTED] wrote: Sriram N wrote: All: I had once developed a GUI that used the Tomcat code TC 4.0.1 to deliver a Swing UI that is functionally similar to IBM's Websphere GUI Console in a limited

Try this (Re: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.)

2003-10-29 Thread Sriram N
Hello: I assume that you are using a standard Tomcat download and have not edited any startup scripts. 1. Ensure that you have an environment variable called JAVA_HOME that points to your Java installation. If JDK installed in c:\Program Files\JDK1.3.1\, then the JAVA_HOME environment variable

Re: Try this (Re: Error: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.)

2003-10-30 Thread Sriram N
with the following parameter : -Djava.class.path=C:\Programme\jakarta-tomcat\\bin\bootstrap.jar;C:\Programm e\jakarta-tomcat\\common\lib\servlet.jar I don't see something like %JAVA_HOME%\lib in here. Could that be the problem ? - Gerald . - Original Message - From: Sriram N [EMAIL

Re: Loading a class from a zip file , present outside Tomcat directories

2003-10-30 Thread Sriram N
Sure. 1. You need to configure your web application to be a privileged application. Read the Tomcat docs for more information. 2. You need to load your classes via a JARClassLoader. -- Sriram --- Mohammed Javed P [EMAIL PROTECTED] wrote: Hi! Is it possible to load a class from a zip

[5.0.14] Does it have the logs folder ?

2003-10-30 Thread Sriram N
Hello: With the votes going on for 5.0.14, I have a question. I'm using Redhat 9. When I installed the 5.0.14 tgz and ran the startup script, I had faced a problem with the startup script not being able to create the $CATALINA_HOME$/logs/catalina.out file using the touch command. As it turned

My own mistake (Fwd: [5.0.14] Does it have the logs folder ?)

2003-10-30 Thread Sriram N
--- Sriram N [EMAIL PROTECTED] wrote: Date: Thu, 30 Oct 2003 04:27:53 -0800 (PST) From: Sriram N [EMAIL PROTECTED] Subject: [5.0.14] Does it have the logs folder ? To: [EMAIL PROTECTED] Hello: With the votes going on for 5.0.14, I have a question. I'm using Redhat 9. When I installed the 5.0.14

Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-10-31 Thread Sriram N
Hi, Have you downloaded a tgz by chance ? If you have, then use Winzip on windows, or the tar command from the command line, to uncompress Tomcat. Any other application may not uncompress the tgz correctly. e.g. I used the File Roller application that comes with Redhat 9, and it does not extract

Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-11-02 Thread Sriram N
-timeout with a parse error. Luigi Sriram N wrote: Hi, Have you downloaded a tgz by chance ? If you have, then use Winzip on windows, or the tar command from the command line, to uncompress Tomcat. Any other application may not uncompress the tgz correctly. e.g. I used

Re: [ANN] Apache Tomcat 4.1.29 Stable and Apache Tomcat 5.0.14 Beta released

2003-11-02 Thread Sriram N
. Still points out how useful Maven would be, though. I have to be able to build the dist from source; if I can't, then I can't audit the app properly. Thanks; Luigi Sriram N wrote: Hi: HAve you looked at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/BUILDING.txt

Does anyone use Maven to build Tomcat ?

2003-11-02 Thread Sriram N
Hello: Does anyone in our group use Maven to build Tomcat with ? I'm trying to learn Maven, and would appreciate any kickstart that I get. Thanks, -- Sriram __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears

Re: Tomcat Problem

2003-11-02 Thread Sriram N
Hello: Please post queries related to Tomcat's usage to the Tomcat-user mailing list. You will have a bigger audience there to help you get started with Tomcat. 1. Have you read the application developer's guide ? http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html It is also

Re: Silent runtime replace of a class

2005-07-05 Thread Sriram N
--- Gal Robert [EMAIL PROTECTED] wrote: Hi, we have a new user requriement: to be able to modifiy the application without affecting user work. Is there any way to achieve this under tomcat? Currently we're building war file. Is there any way to replace a class (maybe jsp class) runtime,

RE: Silent runtime replace of a class

2005-07-05 Thread Sriram N
--- Peter Crowther [EMAIL PROTECTED] wrote: From: Sriram N [mailto:[EMAIL PROTECTED] --- Gal Robert [EMAIL PROTECTED] wrote: we have a new user requriement: to be able to modifiy the application without affecting user work. snip/ You'll could place the context.xml in either

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: [snip] I'll be grateful for any suggestions. Why all the JSPC entries in this web.xml ? Remove them as the Tomcat defaults should be just OK. The controller entry and the .do mapping seem to be OK. Thanks, Simon -- --

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: Sriram, I've taken them out, as well as the controller entry (which was a sample line that I don't need). No good. Hmm... what _do_ you require in this file, if not the controller entry ? Does the sample web application work ?