Re: 2 Apps, 1 Tomcat

2001-10-22 Thread Anand B N
Products.class in app1.jar having the header package app1.classes, but my jsp or other class is calling for import app2.classes.Product, I am still going to get an error like I am getting right now, won't I? Thanks, Rob Anand B N wrote: Mazur, There is a way of using the same classes in two

Re: admin context

2001-10-22 Thread Anand B N
David, As regards to where to define your users here what you have to do :- tomcat-users.xml defines a set of roles and users with passwords. Here's a snippet:- tomcat-users user name=tomcat password=tomcat roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both

Re: 2 Apps, 1 Tomcat

2001-10-21 Thread Anand B N
Mazur, There is a way of using the same classes in two different web-apps in tomcat. Try making individual JARs of the respective classes for app#1 and app#2 and put them in the corresponding WEB-INF/lib or put the classes for each of the web-app in the respective WEB-INF/classes. and

Re: No one answering my question (security realted problem)

2001-09-06 Thread Anand B N
Sukhwinder, I've faced this problem before. It's got something to do with where your JAR's are placed in the classpath. If the class throwing this exception is somewhere inside tomcat's internal classes (webserver.jar) then move it to a place other than the default /lib folder and inclde it

Re: Is there a way to get the docBase property from within a servlet?

2001-09-05 Thread Anand B N
If you are not using WARs and using a folder for your web application then try :- ServletContext tContext = request.getServletContext(); tContext.getRealPath(/); Not sure if it works always but it works and I guess most servlet engines also do function and retunr the

Tomcat 4 :Weird probelms

2001-08-30 Thread Anand B N
Hi, I'm still stuck with my Classes problem in tomcat 4. As I mentioned earlier the whole thing works fine in a IDE environment like JBuilder but when I make them jars and put them in a standalone Tomcat 4 envrn it doesn't work. Here's what I am doing:- I have a JSP that invokes a method in

Re: Tomcat 4 help

2001-08-28 Thread Anand B N
. (By the way, you could do the same thing by having your admin servlet use HttpURLConnection to perform the actual deploy and undeploy operations via ManagerServlet ...) Craig On Mon, 27 Aug 2001, Anand B N wrote: Date: Mon, 27 Aug 2001 19:18:02 +0530 From: Anand B N [EMAIL PROTECTED

Re: internal server error

2001-08-28 Thread Anand B N
Scott, I may be wrong but here's what I think with respect to your problems:- Question 1 : - I really don't know :) Question 2: - Though u have mentioned auto reload to true try the follwing:- Make a new Context entry in the Server.xml with your application and set the reload value to true

Tomcat 4 help

2001-08-27 Thread Anand B N
Ok here's my problem:- I have a Singleton class that gets instantiated while the Servlet(a container servlet) initializes and in my web application I have JSPs with Javabeans which then use the Singleton class(called TomcatManager) to get handles on the Wrapper and Deployer objects so that I

Help with Tomcat4

2001-08-26 Thread Anand B N
Hi, I'm using experimenting with Tomcat4 and I did the following:- I wrote a servlet that implements the ContainerServlet[Obviosuly in the org.apache.catalina.servlets package] . Now I have a set of JSPs which in turn use a set of Java beans whcih in turn use this Servlet for getting hol of