You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thangavel Sankaranarayanan <ts...@in.ibm.com> on 2008/10/10 14:26:21 UTC

Problem in finding APP-BASE (IIS---> Worker Tomcat A---->Tomcat B----> Further config help

Hi ,

I have a problem in finding the webapps and my application where it is
deployed

My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp

WebServer is :Microsoft IIS
Web Container: Apache tomcat 4.1.30

I need to find my apps class files.

This is what i did to trace to find the class file.
1. I went to IIS service manager to find the virtual directory(
virtualdir). It uses tomcat A as a worker tomcat (with Worker.properties
and URIWorkermap.properties)

2.Then I went to this Worker Tomcat A's
CATALINA_HOME/conf/ntis/worker.properties to find the port number of tomcat
and server in which listens for requests.

3.I found it is tomcat B.I went to Tomcat B's CATALINA_HOME and there i
could not find any webapps folder present.

 I think TOMCAT B is configured in such a manner it in turn sends the
request to some other tomcat. Please help me on this to find the APP-BASE.
Thanks in Advance..


Regards,
Thangavel Sankaranarayanan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem in finding APP-BASE (IIS---> Worker Tomcat A---->Tomcat B----> Further config help

Posted by André Warnier <aw...@ice-sa.com>.
Thangavel Sankaranarayanan wrote:
> Hi ,
> 
> I have a problem in finding the webapps and my application where it is
> deployed
> 
> My application URL is http://virtualdir.cca.com.in/via/jsp/Index.jsp
That's not a real URL, so why do you mention it ?

> 
> WebServer is :Microsoft IIS
> Web Container: Apache tomcat 4.1.30
That is a very old Tomcat.  This is not to annoy you, but just to let 
you know that some people on this list were still in programming school 
when that one was released, so not many are still here that can really 
help you.

> 
> I need to find my apps class files.
> 
> This is what i did to trace to find the class file.
> 1. I went to IIS service manager to find the virtual directory(
> virtualdir). It uses tomcat A as a worker tomcat (with Worker.properties
> and URIWorkermap.properties)
How do you know that ?  I mean, unless I am mistaken, these two files 
will not tell you "which" Tomcat, just its hostname and port, no ?
Can you copy them here ?

> 
> 2.Then I went to this Worker Tomcat A's
> CATALINA_HOME
Same question : how did you find this one ?

/conf/ntis/worker.properties to find the port number of tomcat
> and server in which listens for requests.
Well, this will tell you to which host and port IIS/redirector is 
sending the requests, but not really who is listening.
For that, you need the conf/server.xml of Tomcat.

> 
> 3.I found it is tomcat B.I went to Tomcat B's CATALINA_HOME
So you have 2 Tomcats ?
  and there i
> could not find any webapps folder present.
> 
That is still possible. Maybe the webapps *are* somewhere else.
That would be indicated in the <Host> tag inside the server.xml of the 
Tomcat that is really there (the appBase attribute).

To me at least, what you write above is a bit confusing.
How do you know that you have 2 Tomcats, and which one has which 
CATALINA_HOME (or CATALINA_BASE) ?

Since this seems to be all under Windows (yes?), if you go in a command 
window and type "net start", how many Tomcat's do you see listed ?

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org