Tomcat JMX monitor beans

2004-04-20 Thread Sankaranarayanan \(Ganesh\) Ganapathy
I see that tomcat provides JMX administration beans however I don't see
tomcat JMX beans for monitoring (like thread pools) and statistics like

 

a) time required to complete a request
b) avergate time required to complete a request
c) average number of requests per unit of time
d) number of requests in the system when handling a request
e) maximum number of requests in the system

f) average number of requests in the system

 

(the same list could be extended for sessions and such).

 

Am I missing something here - let me know.

 

Thanks

Ganesh



RE: [BULK] - Re: Tomcat JMX monitor beans

2004-04-20 Thread Sankaranarayanan \(Ganesh\) Ganapathy
Thanks I found the same!

-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 20, 2004 11:34 AM
To: Tomcat Users List
Subject: [BULK] - Re: Tomcat JMX monitor beans

I think the current status servlet provides request count per page and webapp. I could 
be wrong. have you looked at the full status page in TC5?
 
peter


Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] wrote:I see that tomcat 
provides JMX administration beans however I don't see
tomcat JMX beans for monitoring (like thread pools) and statistics like



a) time required to complete a request
b) avergate time required to complete a request
c) average number of requests per unit of time
d) number of requests in the system when handling a request
e) maximum number of requests in the system

f) average number of requests in the system



(the same list could be extended for sessions and such).



Am I missing something here - let me know.



Thanks

Ganesh




-
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25ยข

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



httpd trace and tomcat

2004-04-08 Thread Sankaranarayanan \(Ganesh\) Ganapathy
Hi All,

 

It was brought to my attention that tomcat by default runs httpd trace
and that it is a potential security hole. I don't understand what httpd
trace is - can somebody explain? 

Is there a way to control this in tomcat (turning it on and off?)

 

Thanks in advance!

Ganesh



RE: [BULK] - Re: httpd trace and tomcat

2004-04-08 Thread Sankaranarayanan \(Ganesh\) Ganapathy
Thank you for your help!. 

I searched for httpd trace instead of http trace and didn't find
anything. Now I think I understand the problem. For tomcat 4.x I see
that the suggested solution is to add security constraint in to all our
application web.xml - is that correct?

Thanks
Ganesh



-Original Message-
From: Denis Haskin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 11:06 AM
To: Tomcat Users List
Subject: [BULK] - Re: httpd trace and tomcat

A google search on tomcat http trace came up with a slew of pages 
about this...

Did you try that?

dwh


Sankaranarayanan (Ganesh) Ganapathy wrote:

Hi All,

It was brought to my attention that tomcat by default runs httpd trace
and that it is a potential security hole. I don't understand what httpd
trace is - can somebody explain? 
  




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat commiters : Enhancing DirContextStreamHandlerFactory

2004-02-05 Thread Sankaranarayanan \(Ganesh\) Ganapathy
A stream handler factory can be registered once per VM and tomcat
registers the DirContextStreamHandlerFactory for the jndi protocol.
However if there are web applications running inside that want to
register handlers for custom scheme currently it is not possible.

 

Can the DirContextStreamHandlerFactory be enhanced to allow applications
to register stream handler for custom schemes they might have. Or better
can this be a made a property in the context.xml file ?

 

Is this already there - or can this enhanced in the future?

 

Thanks

Ganesh



Latest distribution of coyote connector

2003-03-20 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All,

Where do I get the latest distribution of coyote connector. 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/ has only 
old releases. That is what is not bundled with 4.1.18.

If I just the take necessary jars from 4.1.18(commons-logging.jar tomcat-coyote.jar 
tomcat-http11.jar tomcat-jk2.jar tomcat-util.jar )
for the coyote connector and move it to 4.0.4 - will it work?

Please advise.

Thanx
Ganesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



No processor available

2003-02-27 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All,

Currently I see that tomcat rejects requests with the message No processor available 
if it has reached the maximum number of processors and the processors are busy 
processing requests.

Is there a way to make tomcat wait until a processor becomes available?

Thanx
Ganesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [BULK] - Re: No processor available

2003-02-27 Thread Sankaranarayanan (Ganesh) Ganapathy
How does the accept count property affect this? The accept count property merely 
determines the number of connections that will be queued on the socked. I am talking 
about a case where the connection is accepted from server socket but there is no 
processor available to process the request.

Thanx
Ganesh

-Original Message-
From: Ben Ricker [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:07 AM
To: Tomcat Users List
Subject: [BULK] - Re: No processor available


On Thu, 2003-02-27 at 12:53, Sankaranarayanan (Ganesh) Ganapathy wrote:
 Hi All,
 
 Currently I see that tomcat rejects requests with the message No processor 
 available if it has reached the maximum number of processors and the processors are 
 busy processing requests.
 
 Is there a way to make tomcat wait until a processor becomes available?
 
 Thanx
 Ganesh

Change the Accept Count property in the server.xml in the connector
properties.


Ben Ricker

-- 
Ben Ricker [EMAIL PROTECTED]
Wellinx.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [BULK] - RE: [BULK] - Re: No processor available

2003-02-27 Thread Sankaranarayanan (Ganesh) Ganapathy
Ben,

Thanx for pointing out. But I think that the documentation for the accept count 
property is incorrect.

In tomcat there is a thread that listens on the server socket and dispatches 
connections on the server socket to one of the processors. When all the processors are 
busy servicing earlier requests I think the server socket thread would still pick up 
connections and then ultimately reject it since none of the processor are available. 
The accept count as I understand merely determines how many incoming connections will 
be accepted on the server socket - but it doesnt stop the server socket thread from 
retrieving and attempting to dispatch these connections when all the processors are 
busy.

Is my understanding wrong? Can any of the gurus shed some light here. 

Thanx
Ganesh

-Original Message-
From: Ben Ricker [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 11:54 AM
To: Tomcat Users List
Subject: [BULK] - RE: [BULK] - Re: No processor available


On Thu, 2003-02-27 at 13:37, Sankaranarayanan (Ganesh) Ganapathy wrote:
 How does the accept count property affect this? The accept count property merely 
 determines the number of connections that will be queued on the socked. I am talking 
 about a case where the connection is accepted from server socket but there is no 
 processor available to process the request.
 Thanx
 Ganesh

The following information is taken from Tomcat's 4.1.18 documentation. 
If you have the documentation installed somewhere, the URL is:

http://localhost/tomcat-docs/config/jk.html
 
acceptCount:
 
The maximum queue length for incoming connection requests when all
possible request processing threads are in use. Any requests received
when the queue is full will be refused. The default value is 10.

If I understand you, this is exactly what you are looking for?

Ben Ricker

 -Original Message-
 From: Ben Ricker [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 27, 2003 11:07 AM
 To: Tomcat Users List
 Subject: [BULK] - Re: No processor available
 
 
 On Thu, 2003-02-27 at 12:53, Sankaranarayanan (Ganesh) Ganapathy wrote:
  Hi All,
  
  Currently I see that tomcat rejects requests with the message No processor 
  available if it has reached the maximum number of processors and the processors 
  are busy processing requests.
  
  Is there a way to make tomcat wait until a processor becomes available?
  
  Thanx
  Ganesh
 
 Change the Accept Count property in the server.xml in the connector
 properties.
 
 
 Ben Ricker
-- 
Ben Ricker [EMAIL PROTECTED]
Wellinx.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat4.1.18 admin webapp

2003-02-04 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All,

I got the administration webapp loaded in tomcat4.1.18 and I can get to the login 
page. But I dont know how the admin webapp does authentication and authorization (it 
doesnt seem to authenticate against the memory realm aka tomcat-users.xml). Can 
somebody explain how the users should be set up for the admin app.

Is there documentation for this application - I cant find anything. If anybody knows 
can you please point me to it?

Thanx
Ganesh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [BULK] - Re: what is catalina?..

2003-01-31 Thread Sankaranarayanan (Ganesh) Ganapathy
While on this topic - how did the name Tomcat come about?

Thanx
Ganesh

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 9:56 AM
To: Tomcat Users List
Subject: [BULK] - Re: what is catalina?..




On Thu, 30 Jan 2003, Bill Barker wrote:

 Date: Thu, 30 Jan 2003 22:44:14 -0800
 From: Bill Barker [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: what is catalina?..

 Catalina is also the name of a small island off the coast of southern
 California.  I, personally, have no idea why this was chosen as a package
 name (I haven't been hanging out here that long).  Especially since the
 principal author doesn't live in So. CA.


Bill's right about Jakarta.  Using Catalina was my idea, because I
wrote most of the original code that became it.  The reasons are mundane,
but here they are for the record:

* Even though I don't live in Southern CA, I've always liked
  what I've read and seen of Catalina Island.

* One of the towns on the island is Avalon, and we were (at the
  beginning) considering using the Avalon Framework
  (http://jakarta.apache.org/avalon/) for the internal architecture.
  It would have been a cute tie-in, but alas it didn't happen
  that way.

* When I'm coding, I regularly have one or more cats wandering
  around my lap and adding to the whitespace when they don't
  think I put enough (you don't need fingers to press the space bar :-).

Another code name you'll hear in the Tomcat world is Jasper -- that's
the name of the JSP page compiler part of Tomcat.  That name was carried
over from even before my time, but I'm sure it probabbly came from the
alliteration (JaSPer).

Craig McClanahan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [BULK] - Tomcat 4x Classloading

2003-01-28 Thread Sankaranarayanan (Ganesh) Ganapathy
Has anybody seen this as well?

Any response will be greatly appreicated!

Thanx
Ganesh

-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy 
Sent: Monday, January 27, 2003 5:56 PM
To: [EMAIL PROTECTED]
Subject: [BULK] - Tomcat 4x Classloading 


Hi All,

It has been my observation that the system CLASSPATH classes are loaded in precedence 
to the web application class files. i.e if I had a web application class file in my 
CLASSPATH and well as my web application class repository (WEB-INF/classes) - the one 
in the system CLASSPATH is what is loaded. 

I looked at the source of the web application class loader - I see that the system 
classloader is first given a chance to find the class file - to prevent the user from 
overriding the standard J2SE classes. 

This is contrary to what the documentation in the apache site says. I have included 
the relevant portions with this mail. 

Am I missing something here?

--Ganesh

When a request to load a class from the web application's WebappX class loader is 
processed, this class loader will look in the local repositories first, instead of 
delegating before looking. All other class loaders in Tomcat 4 follow the usual 
delegation pattern.
Therefore, from the perspective of a web application, class or resource loading looks 
in the following repositories, in this order:
*   /WEB-INF/classes of your web application 
*   /WEB-INF/lib/*.jar of your web application 
*   Bootstrap classes of your JVM 
*   System class loader classses (described above) 
*   $CATALINA_HOME/common/classes 
*   $CATALINA_HOME/common/endorsed/*.jar 
*   $CATALINA_HOME/common/lib/*.jar 
*   $CATALINA_HOME/shared/classes 
*   $CATALINA_HOME/shared/lib/*.jar 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [BULK] - Re[2]: [BULK] - Tomcat 4x Classloading

2003-01-28 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi Jake,

Appreciate you writing back.

The tomcat class loader heirarchy is thus

sun.misc.Launcher$ExtClassLoader (refers to the lib extensions)
 ^
 |
sun.misc.Launcher$AppClassLoader (refers to system classpath)
 ^
 |
org.apache.catalina.loader.StandardClassLoader ( refers to common repository)
 ^
 |
org.apache.catalina.loader.StandardClassLoader (refers to shared repository)
 ^
 |
org.apache.catalina.loader.WebappClassLoader (refers to the web app repository)

I dont understand how you can claim that the CLASSPATH is never referred.

My question is about the order of reference. I thought the web app repository was the 
first thing always refferred by the WebAppClassLoader - but my tests and the code from 
WebAppClassLoader seem to point out that the System Classloader 
(sun.misc.Launcher$AppClassLoader ) is first given a chance to find the class to avoid 
overriding the J2SE classes. That being the case my contention is tomcat documentation 
on the same is wrong.

Thanx
Ganesh


-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 10:51 AM
To: Tomcat Users List
Subject: [BULK] - Re[2]: [BULK] - Tomcat 4x Classloading


Hello Sankaranarayanan,

This shouldn't be true.  Apps cannot see the system classpath at all.
Only Tomcat sees that at startup.  Webapps will only see classes in
WEB-INF/lib, WEB-INF/classes, common/endorsed, common/lib,
common/classes, shared/lib, and shared/classes.  Tomcat, itself, also
sees stuff in server/lib and server/classes.

So, if your webapp is actually seeing something set on your system
classpath, then that would be a huge bug in Tomcat as it is designed
to insulate your apps from the classpath entirely.

Jake

Tuesday, January 28, 2003, 12:37:32 PM, you wrote:

SGG Has anybody seen this as well?

SGG Any response will be greatly appreicated!

SGG Thanx
SGG Ganesh

SGG -Original Message-
SGG From: Sankaranarayanan (Ganesh) Ganapathy 
SGG Sent: Monday, January 27, 2003 5:56 PM
SGG To: [EMAIL PROTECTED]
SGG Subject: [BULK] - Tomcat 4x Classloading 


SGG Hi All,

SGG It has been my observation that the system CLASSPATH classes are loaded in 
precedence to the web application class files. i.e if I had a web application class 
file in my CLASSPATH and well as my
SGG web application class repository (WEB-INF/classes) - the one in the system 
CLASSPATH is what is loaded. 

SGG I looked at the source of the web application class loader - I see that the 
system classloader is first given a chance to find the class file - to prevent the 
user from overriding the standard
SGG J2SE classes. 

SGG This is contrary to what the documentation in the apache site says. I have 
included the relevant portions with this mail. 

SGG Am I missing something here?

SGG --Ganesh

SGG When a request to load a class from the web application's WebappX class loader is 
processed, this class loader will look in the local repositories first, instead of 
delegating before looking.
SGG All other class loaders in Tomcat 4 follow the usual delegation pattern.
SGG Therefore, from the perspective of a web application, class or resource loading 
looks in the following repositories, in this order:
SGG *   /WEB-INF/classes of your web application 
SGG *   /WEB-INF/lib/*.jar of your web application 
SGG *   Bootstrap classes of your JVM 
SGG *   System class loader classses (described above) 
SGG *   $CATALINA_HOME/common/classes 
SGG *   $CATALINA_HOME/common/endorsed/*.jar 
SGG *   $CATALINA_HOME/common/lib/*.jar 
SGG *   $CATALINA_HOME/shared/classes 
SGG *   $CATALINA_HOME/shared/lib/*.jar 


SGG --
SGG To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
SGG For additional commands, e-mail: mailto:[EMAIL PROTECTED]


SGG --
SGG To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
SGG For additional commands, e-mail: mailto:[EMAIL PROTECTED]



-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat 4x Classloading

2003-01-27 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All,

It has been my observation that the system CLASSPATH classes are loaded in precedence 
to the web application class files. i.e if I had a web application class file in my 
CLASSPATH and well as my web application class repository (WEB-INF/classes) - the one 
in the system CLASSPATH is what is loaded. 

I looked at the source of the web application class loader - I see that the system 
classloader is first given a chance to find the class file - to prevent the user from 
overriding the standard J2SE classes. 

This is contrary to what the documentation in the apache site says. I have included 
the relevant portions with this mail. 

Am I missing something here?

--Ganesh

When a request to load a class from the web application's WebappX class loader is 
processed, this class loader will look in the local repositories first, instead of 
delegating before looking. All other class loaders in Tomcat 4 follow the usual 
delegation pattern.
Therefore, from the perspective of a web application, class or resource loading looks 
in the following repositories, in this order:
*   /WEB-INF/classes of your web application 
*   /WEB-INF/lib/*.jar of your web application 
*   Bootstrap classes of your JVM 
*   System class loader classses (described above) 
*   $CATALINA_HOME/common/classes 
*   $CATALINA_HOME/common/endorsed/*.jar 
*   $CATALINA_HOME/common/lib/*.jar 
*   $CATALINA_HOME/shared/classes 
*   $CATALINA_HOME/shared/lib/*.jar 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Has anybody tried using the NSAPI redirector

2003-01-22 Thread Sankaranarayanan (Ganesh) Ganapathy
Hi All,

Does it work against the SunONE webserver?

Also does anybody have prebuild binaries. Does apache intend to make the prebuilt 
binaries for these available as well?

Thanx in advance for any help.

--Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




URL-path bug for multobyte characters...

2002-10-14 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I have some multibyte characters in the URL I send to tomcat4.0.4 installtion .

As reported in this article http://www.javaclue.org/tomcat/patch40b3/dopatch.html - it 
doesnt seem to work with out suggested code changes in tomcat4.0.4.

Is this still a bug that needs to be fixed in tomcat - can tomcat as it is not handle 
multibyte characters in the coming URL?

Can somebody explain?

Thanx,
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




ProxyDirContext -tomcat cache question!

2002-10-04 Thread Sankaranarayanan (Ganesh) Ganapathy

Resending it ... as it did not get any response. Can somebody help?

Hi All,

I see that tomcat maintains a cache of resources for each web application. Basically 
all web application resource like web.xml , taglibrary files, jsp files, java scripts, 
images etc seem to loaded in to the web application cache in memory, provided they are 
less than 32k. 

I have a reporting application that generates images all the time (pie charts, bar 
charts). I see that these keep getting loaded in to the tomcat cache but never 
unloaded. From looking at the tomcat proxydircontext code, I cant seem to find any 
mechanism to control the cache. The cache seems to grow indefinitely and my old images 
dont get unloaded. All my old charts that got loaded in to the cache still remain 
there and dont get flushed. I have been running my application for over a week now and 
my tomcat memory keeps shooting up. 

When I provide it I see that my webapplication resource cache has 1 objects in 
memory and still keeps growing.

How do I handle this case. Is there a way to control this cache? Can  somebody help me 
with this?

Any help is greatly appreciated

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




ProxyDirContext -tomcat cache question!

2002-10-03 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I see that tomcat maintains a cache of resources for each web application. Basically 
all web application resource like web.xml , taglibrary files, jsp files, java scripts, 
images etc seem to loaded in to the web application cache in memory, provided they are 
less than 32k. 

I have a reporting application that generates images all the time (pie charts, bar 
charts). I see that these keep getting loaded in to the tomcat cache but never 
unloaded. From looking at the tomcat proxydircontext code, I cant seem to find any 
mechanism to control the cache. The cache seems to grow indefinitely and my old images 
dont get unloaded. All my old charts that got loaded in to the cache still remain 
there and dont get flushed. I have been running my application for over a week now and 
my tomcat memory keeps shooting up. 

When I provide it I see that my webapplication resource cache has 1 objects in 
memory and still keeps growing.

How do I handle this case. Is there a way to control this cache? Can  somebody help me 
with this?

Any help is greatly appreciated

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat 4.0.4 HTTP connector shutdown issue

2002-07-30 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I am running tomcat server 4.0.4 on  win2k. I have a simple client that repeatedly 
keeps sending requests to Tomcat... my client program hangs once in a while during 
Tomcat shutdown. My client program does the following:

URL url = new URL(somerequest);
HttpURLConnection httpUrlConnection = (HttpURLConnection) url.openConnection();
httpUrlConnection.setUseCaches(false);
httpUrlConnection.getContent();  //The code hangs here once a while during tomcat 
shutdown

From the tomcat code I see that the tomcat shutdown sequence does the following:

1. Shutdown all the processors (essentially the background threads)
2. Shutdown the connector background thread - which cause the server socket to be 
closed

Since the server socket is not closed first - the incoming requests are accepted - but 
they are not processed as the processors are being shutdown. The logs illustrate my 
point too.

Shouldnt the shutdown sequence be the other way?

Am I missing something here... Is there a way for me to work around this problem?

Thanx
Ganesh

 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Can Somebody help please! : Coyote, JK and JK2

2002-07-16 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

How does JK2 differ JK. If I want to set up tomcat4.0.3 against apache1.3.26 which one 
should I be using?

How are coyote connectors different from the JK connectors ? Can somebody explain?

Also I see that none of the release version of JK connectors are available at 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/. Is there someplace else I 
should look for ? or is the only option is to build them from source?

For tomcat4.0.3 atleast the win32 and solaris8 JK binaries were available. I dont find 
them for tomcat4.0.4 , am I missing something here?

Any help will be greatly appreciated!

Thanx in advance,
Ganesh







--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Coyote, JK and JK2

2002-07-15 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

How does JK2 differ JK. If I want to set up tomcat4.0.3 against apache1.3.26 which one 
should I be using?

How are coyote connectors different from the JK connectors ? Can somebody explain?

Also I see that none of the release version of JK connectors are available at 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/. Is there someplace else I 
should look for ? or is the only option is to build them from source?

For tomcat4.0.3 atleast the win32 and solaris8 JK binaries were available. I dont find 
them for tomcat4.0.4 , am I missing something here?

Any help will be greatly appreciated!

Thanx in advance,
Ganesh







--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Do we need to use doCloseWithReadPending option on HPUX for tomcat4.0.3 as well?

2002-07-12 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I tried running tomcat4.0.3 on hpux and I find that tomcat hangs while shutdown if the 
VM is not started using -XdoCloseWithReadPending option. Is that the experience of 
other tomcat users on hp-ux?

The documentation for this option says that a socket close call will block on a thread 
if there is a outstanding read request on the same socket from another thread . I 
wrote a small program to simulate it but my socket close call did not block as 
expected.

I am not sure I understand this fully - can somebody explain? That will same me a lot 
of time!

Thanx in advance for any help.

--Ganesh



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat redirectors for external web servers in production enviroment

2002-07-01 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

Just making sure that Tomcat redirectors for external webservers like IIS and apache 
are production quality - has anybody used them in production enviroments - if so can 
you let me know.

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat 4 and bug fixing process

2002-06-24 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I am new to the free source world, spare with me for some trivial questions:

Can somebody let me know how the bug fixing process works. If I find a bug in Tomcat 4 
I see that I can file a bug report in apache bug database 
http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Tomcat%204

So how does it work from there. When does bug scrubing happen and how are the bugs 
prioritized. 

When does the bug reporter get a sense of when the bug is likely to be fixed after 
filing the bug?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Getting the manager app to work with Tomcat and external web server: CLOSURE

2002-06-24 Thread Sankaranarayanan (Ganesh) Ganapathy

For the benifit of those, stuck like me with this bug

Looks like this is fixed in tomcat 404

5647  AJP13 connector will not pass authentication requests.

I have not tried it out.

Thanx
Ganesh

-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy 
Sent: Thursday, June 13, 2002 10:40 AM
To: Tomcat Users List
Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with
this foroveraweek now - PL HELP


No, basic authentication doesnt work in the redirector case atleast with IIS - The 
challenge response box doesnt come up !

I am trying to solve this for over a week now and I hardly see any response - has 
anybody got this working at all? - Can the redirector developers help, PLEASE?

--Ganesh


Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:02:18 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:ATTN IIS-Tomcat redirector developers - I am stuck with this
   for over a week now - PL HELP

Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

Hi All,

I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k professional -
can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied. The tomcat does seem to be throw the
challenge response box in this case.

The instructions everywhere deals only with the simplest case - setting up
examples web app - doesnt seem to explain how to set up an app that
requires basic authentication such as the manager application that is
bundled with tomcat - so I am not sure if this works

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Difference between JK and JK2 tomcat connectors

2002-06-24 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

Is JK2 connector a rewrite and a improved version of JK? Do they both support the AJP 
13 protocol (is there any connector yet that supports AJP14?)

If both support AJP13 - which one should I be using ?

Is JK2 production ready? What is the official word on that?

Thanx
Ganesh



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




ATTN IIS-Tomcat redirector developers - I am stuck with this for over a week now - PL HELP

2002-06-13 Thread Sankaranarayanan (Ganesh) Ganapathy

Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

Hi All, 

I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k professional - can get to 
the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied. The tomcat does seem to be throw the challenge response box in 
this case. 

The instructions everywhere deals only with the simplest case - setting up examples 
web app - doesnt seem to explain how to set up an app that requires basic 
authentication such as the manager application that is bundled with tomcat - so I am 
not sure if this works

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for over aweek now - PL HELP

2002-06-13 Thread Sankaranarayanan (Ganesh) Ganapathy

I hope I am not missing something - but the document you pointed me to doesnt talk 
about getting the manager app to work with external webservers like IIS! Ofcourse I do 
have the manager app working with tomcat in stand alone mode.

Thanx
Ganesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:12 AM
To: Tomcat Users List
Subject: Re: ATTN IIS-Tomcat redirector developers - I am stuck with
this for over aweek now - PL HELP



See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

RS





Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:02:18 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:ATTN IIS-Tomcat redirector developers - I am stuck with this
   for over a week now - PL HELP

Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

Hi All,

I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k professional -
can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied. The tomcat does seem to be throw the
challenge response box in this case.

The instructions everywhere deals only with the simplest case - setting up
examples web app - doesnt seem to explain how to set up an app that
requires basic authentication such as the manager application that is
bundled with tomcat - so I am not sure if this works

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: ATTN IIS-Tomcat redirector developers - I am stuck with this for overaweek now - PL HELP

2002-06-13 Thread Sankaranarayanan (Ganesh) Ganapathy

It is privileged as well as configured to use basic authentication!

It is the basic authentication that I cant get to work with IIS and tomcat connected 
using the AJP redirector!

thanx
Ganesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:26 AM
To: Tomcat Users List
Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with
this for overaweek now - PL HELP



If you have the examples working with IIS, the Manager context will
behave the same way (except that it's is privileged) since it's a web
application itself. See Context entry for manager in server.xml.

RS





Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:16:45 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with
   this for over aweek now - PL HELP

I hope I am not missing something - but the document you pointed me to
doesnt talk about getting the manager app to work with external webservers
like IIS! Ofcourse I do have the manager app working with tomcat in stand
alone mode.

Thanx
Ganesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:12 AM
To: Tomcat Users List
Subject: Re: ATTN IIS-Tomcat redirector developers - I am stuck with
this for over aweek now - PL HELP



See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

RS





Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:02:18 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:ATTN IIS-Tomcat redirector developers - I am stuck with this
   for over a week now - PL HELP

Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

Hi All,

I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k professional -
can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied. The tomcat does seem to be throw the
challenge response box in this case.

The instructions everywhere deals only with the simplest case - setting up
examples web app - doesnt seem to explain how to set up an app that
requires basic authentication such as the manager application that is
bundled with tomcat - so I am not sure if this works

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: ATTN IIS-Tomcat redirector developers - I am stuck with this foroveraweek now - PL HELP

2002-06-13 Thread Sankaranarayanan (Ganesh) Ganapathy

No, basic authentication doesnt work in the redirector case atleast with IIS - The 
challenge response box doesnt come up !

I am trying to solve this for over a week now and I hardly see any response - has 
anybody got this working at all? - Can the redirector developers help, PLEASE?

--Ganesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:36 AM
To: Tomcat Users List
Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with
this foroveraweek now - PL HELP



Maybe I'm missed something in your email. Since you are getting the
authentication dialog box, BASIC authentication works, right?
If you don't know the username/password, then see the tomcat-users.xml file
in %CATALINA_HOME%/conf directory.

Add a line for the manager app:
tomcat-users
   ...
   ...
  user name=mymanager   password=mymanager roles=manager /
/tomcat-users

Hope this helps.

RS





Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:29:35 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with
   this for overaweek now - PL HELP

It is privileged as well as configured to use basic authentication!

It is the basic authentication that I cant get to work with IIS and tomcat
connected using the AJP redirector!

thanx
Ganesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:26 AM
To: Tomcat Users List
Subject: RE: ATTN IIS-Tomcat redirector developers - I am stuck with
this for overaweek now - PL HELP



If you have the examples working with IIS, the Manager context will
behave the same way (except that it's is privileged) since it's a web
application itself. See Context entry for manager in server.xml.

RS





Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:16:45 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:RE: ATTN IIS-Tomcat redirector developers - I am stuck with
   this for over aweek now - PL HELP

I hope I am not missing something - but the document you pointed me to
doesnt talk about getting the manager app to work with external webservers
like IIS! Ofcourse I do have the manager app working with tomcat in stand
alone mode.

Thanx
Ganesh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 10:12 AM
To: Tomcat Users List
Subject: Re: ATTN IIS-Tomcat redirector developers - I am stuck with
this for over aweek now - PL HELP



See http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

RS





Sankaranarayanan (Ganesh) Ganapathy [EMAIL PROTECTED] on 06/13/2002
12:02:18 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:[EMAIL PROTECTED]
cc:

Subject:ATTN IIS-Tomcat redirector developers - I am stuck with this
   for over a week now - PL HELP

Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

Hi All,

I have setup IIS5.0 and tomcat4.0.3 successfully on Win2k professional -
can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied. The tomcat does seem to be throw the
challenge response box in this case.

The instructions everywhere deals only with the simplest case - setting up
examples web app - doesnt seem to explain how to set up an app that
requires basic authentication such as the manager application that is
bundled with tomcat - so I am not sure if this works

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]










--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Urgent : Pl help : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied.

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Urgent : Pl help : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Can somebody help, I am clueless as to how fix it, I have searched the net 
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied.

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Can somebody help, I am clueless as to how fix it, I have searched the net 
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the specified 
resource is denied.

The jakarta virtual directory has read and execute premission and the anonymous acces 
is enabled.

What should I do to get this working

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Thanx for the response. The manager app does work with tomcat in standalone mode.

IT doesnt work only when I have tomcat talking to IIS.

The example app does work in this mode, only the manager app that is configured to do 
basic authentication doesnt work. 

IIS does seem to forward the request to the AJP Connector in Tomcat - but the request 
seems to be immediately rejected with the 'access to the specified resource is 
denied'. I was expecting tomcat to put the challenge/reponse box like in the regular 
case.

In the case of the Tomcat working with external webserver, is there anything extra 
that I need to do to get its basic authentication to work?

Has any one got the manager app working with Tomcat and IIS? If so can you help?

--Ganesh



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 11:15 AM
To: [EMAIL PROTECTED]
Subject: RE: Pl help : I am stuck : Getting the manager app to work with
tomcat 4.0.3 and IIS 5.0


Have you looked in the Catalina.policy file?  I think somewhere in there you
should have a grant statement to that manager directory.

Bao-Ha Dam Bui
[EMAIL PROTECTED]
S. Jude Medical, Inc
651.765.1018


-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 06, 2002 1:06 PM
To: Tomcat Users List
Subject: Pl help : I am stuck : Getting the manager app to work with tomcat
4.0.3 and IIS 5.0

Can somebody help, I am clueless as to how fix it, I have searched the net
exhaustively!

Has any one got this to work?


Hi All, 

I have setup IIS and tomcat successfully - I can get to the example webapps.

But when I try to access the manager app I get the message - Access to the
specified resource is denied.

The jakarta virtual directory has read and execute premission and the
anonymous acces is enabled.

What should I do to get this working

Thanx
Ganesh

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Pl help : I am stuck : Getting the manager app to work with tomcat 4.0.3 and IIS 5.0

2002-06-06 Thread Sankaranarayanan (Ganesh) Ganapathy

I am using the AJP connector. I dont have the 'Tomcat-Apache' service at all as I dont 
connect thru WARP.

Has anybody got this working at all? Somebody should know this, pl help!

Thanx
Ganesh

-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 12:07 PM
To: 'Tomcat Users List'
Subject: RE: Pl help : I am stuck : Getting the manager app to work with
tomcat 4.0.3 and IIS 5.0


You need to define the manager app under the 'Tomcat-Apache' service as well
as under 'Tomcat-Standalone'

Charlie

 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 2:27 PM
 To: Tomcat Users List
 Subject: RE: Pl help : I am stuck : Getting the manager app 
 to work with
 tomcat 4.0.3 and IIS 5.0
 
 
 Thanx for the response. The manager app does work with tomcat 
 in standalone mode.
 
 IT doesnt work only when I have tomcat talking to IIS.
 
 The example app does work in this mode, only the manager app 
 that is configured to do basic authentication doesnt work. 
 
 IIS does seem to forward the request to the AJP Connector in 
 Tomcat - but the request seems to be immediately rejected 
 with the 'access to the specified resource is denied'. I was 
 expecting tomcat to put the challenge/reponse box like in the 
 regular case.
 
 In the case of the Tomcat working with external webserver, is 
 there anything extra that I need to do to get its basic 
 authentication to work?
 
 Has any one got the manager app working with Tomcat and IIS? 
 If so can you help?
 
 --Ganesh
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 06, 2002 11:15 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Pl help : I am stuck : Getting the manager app 
 to work with
 tomcat 4.0.3 and IIS 5.0
 
 
 Have you looked in the Catalina.policy file?  I think 
 somewhere in there you
 should have a grant statement to that manager directory.
 
 Bao-Ha Dam Bui
 [EMAIL PROTECTED]
 S. Jude Medical, Inc
 651.765.1018
 
 
 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, June 06, 2002 1:06 PM
 To: Tomcat Users List
 Subject: Pl help : I am stuck : Getting the manager app to 
 work with tomcat
 4.0.3 and IIS 5.0
 
 Can somebody help, I am clueless as to how fix it, I have 
 searched the net
 exhaustively!
 
 Has any one got this to work?
 
 
 Hi All, 
 
 I have setup IIS and tomcat successfully - I can get to the 
 example webapps.
 
 But when I try to access the manager app I get the message - 
 Access to the
 specified resource is denied.
 
 The jakarta virtual directory has read and execute premission and the
 anonymous acces is enabled.
 
 What should I do to get this working
 
 Thanx
 Ganesh
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat redirectors

2002-06-04 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

Has anyone built and used Tomcat redirectors for apache1.3.24 on HP-UX 11.10 and AIX 
4.3.3? Has anyone used these in a production scenario? 

And why does every tomcat release selectively bundle only a few pre compiled binaries 
for tomcat redirectors - like for example with tomcat4.2.3 ISAPI_redirector.dll is 
available for win2k, mod_jk.so for solaris 8, nsapi_redirector.dll for solaris 6. 

Why isnt the precompiled binaries for other configurations available if they are built 
and tested by the developers?


Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




HTTP 1.1 Connector and HTTP 1.0 protocol

2002-05-30 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

Just wanted to make sure that the HTTP 1.1 Connector supports HTTP 1.0 protocol. If I 
configure my browser to use HTTP 1.0 it should still against tomcat4.0.3 running HTTP 
1.1 connector right?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat redirectors

2002-05-30 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

Has anyone built and used Tomcat redirectors for apache1.3 on HP-UX 11.10 and AIX 
4.3.3? Has anyone used these in a production scenario? 

And why does every tomcat release selectively bundle only a few pre compiled binaries 
for tomcat redirectors - like for example with tomcat4.2.3 ISAPI_redirector.dll is 
available for win2k, mod_jk.so for solaris 8, nsapi_redirector.dll for solaris 6. 

Why isnt the precompiled binaries for other configurations available if they are built 
and tested by the developers?


Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AJP protocol

2002-05-28 Thread Sankaranarayanan (Ganesh) Ganapathy

I guess tomcat supports connection to external webservers using the AJP protocol.

I can see that tomcat has IIS and apache redirectors that talks to the AJP connector 
is Tomcat?

Does it have redirectors for other webservers like IPlanet and Websphere?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




I am trying to find the answer to this one for the last few days : Pl hep

2002-05-24 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I am resending this mail for the nth time hoping to get an answers from the experts 
here.

Anyway my question is if the following is a supported config:

I want to run multiples instances of embedded Tomcat all against the same base 
directory. Is such a configuration supported?

Something like 

C:\tomcatjava -Dcatalina.home=c:\tomcat org.apache.catalina.startup.Catalina -config 
.\conf\server.xml start
C:\tomcatjava -Dcatalina.home=c:\tomcat org.apache.catalina.startup.Catalina -config 
.\conf1\server.xml start

1. Can all the instance work off the same web application files on disk - will there 
be any problem between the tomcat instances all sharing the same web application files 
on disk?

2. Will there be a problem with the work directory. I cant seem to find an api to tell 
every embedded tomcat to use different directories.

Any help will be greatly appreciated!

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: I am trying to find the answer to this one for the last few days : Pl hep

2002-05-24 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi Larry,

Thanx for writing. 

I am just trying to understand from tomcat developers like you if there is anything in 
the way Tomcat4.0.3 works today that forbids such a configuration - why the official 
configurations supported mandates that every tomcat instance have its own base 
directory.

My configuration is simple - embedded tomcat supports stand alone or ajp13 connector 
mode with global defaults(like logger etc). All contexts are loaded with default 
properties using ((Deployer)host).install method. 

your help is much appreciated.

Thanx
Ganesh



-Original Message-
From: Larry Isaacs [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 10:35 AM
To: 'Tomcat Users List'
Subject: RE: I am trying to find the answer to this one for the last few
days : Pl hep


What is officially supported is documented in section 4 of
the RUNNING.txt document:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/RUNNING.txt
or
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/RUNNING.txt

If you want to deviate from this, I recommend you go ahead and
try it.  Then post if you run into problems for which you can't
find a workaround.  It is time consuming to predict what might
go wrong based on what you might or might not attempt to do in
your actual configuration.

Cheers,
Larry

 -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy 
 [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, May 24, 2002 1:09 PM
 To: [EMAIL PROTECTED]
 Subject: I am trying to find the answer to this one for the 
 last few days : Pl hep
 
 
 Hi All,
 
 I am resending this mail for the nth time hoping to get an 
 answers from the experts here.
 
 Anyway my question is if the following is a supported config:
 
 I want to run multiples instances of embedded Tomcat all 
 against the same base directory. Is such a configuration supported?
 
 Something like 
 
 C:\tomcatjava -Dcatalina.home=c:\tomcat 
 org.apache.catalina.startup.Catalina -config .\conf\server.xml start
 C:\tomcatjava -Dcatalina.home=c:\tomcat 
 org.apache.catalina.startup.Catalina -config .\conf1\server.xml start
 
 1. Can all the instance work off the same web application 
 files on disk - will there be any problem between the tomcat 
 instances all sharing the same web application files on disk?
 
 2. Will there be a problem with the work directory. I cant 
 seem to find an api to tell every embedded tomcat to use 
 different directories.
 
 Any help will be greatly appreciated!
 
 Thanx
 Ganesh
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




IIS and Tomcat: I am stuck with this for last two days : Can somebody help

2002-05-23 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I am using win2k professional, IIS 5.0 and Tomcat4.0.3 I want to configure IIS and 
tomcat. I followed the instructions and setup the ISAPI filer on IIS. I see a green 
arrow against the ISAPI filter. When I send in a request I see the following entry 
made in the IIS log: 07:30:30 127.0.0.1 GET /jakarta/isapi_redirect.dll 500. i dont 
see any entries in my redirector log though I have increased the log level to info

Subsequently the tomcat ISAPI redirector is not forwarding the request to my tomcat 
worker (I am monitoring for any activity on the port on which tomcat ajp connector is 
listening). 

The trouble shooting section in doc says 
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html

If the number following GET /... is 500, check the following: 
Make sure the virtual directory created was called jakarta. 
Make sure that the extension_uri setting is correct. 
Check the workers.properties file and make sure the port setting for workers 
used is the same as the port specified in the server.xml for the ajp13 or ajp12 
connectors, normally this ports are 8007 for ajp12 and 8009 for ajp13. 

I check all three and all of them are fine, infact apache works my tomcat ajp 
connector using the same workers.properties file.

Has anybody got this configuration to work? Any pointers to what I should do further 
will be greatly appreciated.

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Can somebody answer if this is a supported configuration?

2002-05-23 Thread Sankaranarayanan (Ganesh) Ganapathy

I want to run multiples instances of embedded Tomcat all against the same base 
directory. Is such a configuration supported?

1. Can all the instance work off the same web application files on disk - will there 
be any problem between the tomcat instances all sharing the same web application files 
on disk?

2. Will there be a problem with the work directory. I cant seem to find an api to tell 
every embedded tomcat to use different directories.

3. Are there any problems with this configuration?

Can somebody help?

Thanx in advance,
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: IIS and Tomcat: I am stuck with this for last two days : Can somebody help

2002-05-23 Thread Sankaranarayanan (Ganesh) Ganapathy

Wagoner  Ignacio,

you guys were indeed right - the extension_uri registry entry had the dll name wrong!

It works after I fixed that.

Thanx a bunch!

Regards
Ganesh

-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:07 PM
To: 'Tomcat Users List'
Subject: RE: IIS and Tomcat: I am stuck with this for last two days :
Can somebody help


The default registry entries have a typo.  Check the value for:

HKEY_LOCALMACHINE\Software\Apache Software Foundation\Jakarta Isapi
Redirector\1.0\extension_uri

The default value is isapi_redirect.dll, but the DLL name is
isapi_redirector.dll.

Also check the name of your worker.properties file.  The documentation uses
workers.properties and worker.properties interchangeably.  Pick one or the
other and make sure everything is configured to use this name.

-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 3:00 PM
To: [EMAIL PROTECTED]
Subject: IIS and Tomcat: I am stuck with this for last two days : Can
somebody help


Hi All,

I am using win2k professional, IIS 5.0 and Tomcat4.0.3 I want to configure
IIS and tomcat. I followed the instructions and setup the ISAPI filer on
IIS. I see a green arrow against the ISAPI filter. When I send in a request
I see the following entry made in the IIS log: 07:30:30 127.0.0.1 GET
/jakarta/isapi_redirect.dll 500. i dont see any entries in my redirector log
though I have increased the log level to info

Subsequently the tomcat ISAPI redirector is not forwarding the request to my
tomcat worker (I am monitoring for any activity on the port on which tomcat
ajp connector is listening). 

The trouble shooting section in doc says
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-iis-howto.html

If the number following GET /... is 500, check the following: 
Make sure the virtual directory created was called jakarta. 
Make sure that the extension_uri setting is correct. 
Check the workers.properties file and make sure the port setting for
workers used is the same as the port specified in the server.xml for the
ajp13 or ajp12 connectors, normally this ports are 8007 for ajp12 and 8009
for ajp13. 

I check all three and all of them are fine, infact apache works my tomcat
ajp connector using the same workers.properties file.

Has anybody got this configuration to work? Any pointers to what I should do
further will be greatly appreciated.

Thanx
Ganesh

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Is this conf supported?

2002-05-22 Thread Sankaranarayanan (Ganesh) Ganapathy

I want to run multiples instances of embedded Tomcat all sharing the same base 
directory. Is such a configuration supported?

1. Can all the instance work off the same web application files on disk - will there 
be any problem between the tomcat instances all sharing the same web application files 
on disk?

2. Will there be a problem with the work directory. I cant seem to find an api to tell 
every embedded tomcat to use different directories.

3. Are there other problems with this configuration.

Can somebody help?

Thanx in advance,
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




IIS and tomcat4.0.3

2002-05-22 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I am trying to get tomcat4.0.3 to work with IIS using the AJP connector.

I installed the isapi_redirector filter on IIS and configured it to use the 
workers.properties and uriworkermap.properties.

I started IIS and tomcat4.0.3 with the AJP13 connector.

But when I try to get to http://localhost/examples I get a blank page. I see the 
iis_redirector.log getting created but no I see no logs in there(I can see that the 
filter is working by removing the workers.properties in which case it logs in the 
iis_redirector.log that it cant find the file.)

I dont see any trace either in tomcat or in redirector log even after I turned on 
tracelevel to info

Does anybody have a hunch as to what could be wrong?

Has anybody got this config to work?

Thanx in advance!
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Can somebody help: Is this conf supported?

2002-05-22 Thread Sankaranarayanan (Ganesh) Ganapathy

Just bubbling up my request for help! Can somebody help?

I want to run multiples instances of embedded Tomcat all sharing the same base 
directory. Is such a configuration supported?

1. Can all the instance work off the same web application files on disk - will there 
be any problem between the tomcat instances all sharing the same web application files 
on disk?

2. Will there be a problem with the work directory. I cant seem to find an api to tell 
every embedded tomcat to use different directories.

3. Are there other problems with this configuration.

Can somebody help?

Thanx in advance,
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat multiple tomcats out of the same base directory

2002-05-21 Thread Sankaranarayanan (Ganesh) Ganapathy

Could there be a problem using the web application or sharing the work directories.

Is there a problem with running multiple tomcat instances out of the same base?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AJP13Connector source and javadoc

2002-05-20 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I downloaded tomcat and tomcat source as well and I dont see the AJP13Connector as 
part of the tomcat source nor can I see the java docs for the same.

I am planning to use the AJP13Connector in my embedded tomcat - so I am looking for 
the javadoc.

Can somebody point me to it?

Also has anybody used the WARP connector with IIS, if so can somebody point me config 
instructions?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AJP13Connector source and javadoc

2002-05-20 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I downloaded tomcat and tomcat source as well and I dont see the AJP13Connector as 
part of the tomcat source nor can I see the java docs for the same.

I am planning to use the AJP13Connector in my embedded tomcat - so I am looking for 
the javadoc.

Can somebody point me to it?

Also has anybody used the WARP connector with IIS, if so can somebody point me config 
instructions?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




IIS and Tomcat

2002-05-17 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

What are the possible ways to configure IIS and Tomcat. Can the two be made to work 
using a WARP connector?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat developers pl help : Embedded Tomcat and classloaders

2002-05-16 Thread Sankaranarayanan (Ganesh) Ganapathy

I want to use embedded tomcat in my application and I want to include only 
bootstrap.jar in my classpath. I am wondering how to achieve this.

I wrote a class called EmbeddedTest that does what is given 
org.apache.catalina.startup.Embedded. I added catalina.jar in my classpath to compile 
the file.
I removed catalina.jar from my classpath after that.

I wrote another class to set up classloaders and call EmbeddedTest

I set up the classloaders thus:

commonloader = ClassLoaderFactory.createClassLoader(commonclassesdirs, commonlibdirs, 
null);
catalinaloader = ClassLoaderFactory.createClassLoader(catalinaclassesdirs, 
catalinalibdirs, commonloader);

Class embeddedcls = catalinaloader.loadClass(EmbeddedTest);
Method method = embeddedcls.getMethod(main, new Class[]{args.getClass()});
method.invoke(embeddedcls, new Object[]{args});

When I run this I see the error:
Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/L
ifecycleException
at java.lang.Class.getMethod0(Native Method)
at java.lang.Class.getMethod(Class.java:888)
at LaunchTomcat.main(LaunchTomcat.java:43)

The error goes away if I make my EmbeddedTest as part of package 
org.apache.catalina.startup - which I dont to do.

And even if I made as part of the package org.apache.catalina.startup package it 
doesnt work if I set up the EmbeddedTomcat to use any of my custom logger or realm 
implementations - essentially if I refer to any class file outside of the 
catalinaloader.

Am I missing something here - how do I run the embedded tomcat with out having to 
include tomcats server files in my classpath?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Need help : Embedded Tomcat and classloaders

2002-05-16 Thread Sankaranarayanan (Ganesh) Ganapathy

Can some experts answer this one for me? Thanx!


I want to use embedded tomcat in my application and I want to include only 
bootstrap.jar in my classpath. I am wondering how to achieve this.

I wrote a class called EmbeddedTest that does what is given 
org.apache.catalina.startup.Embedded. I added catalina.jar in my classpath to compile 
the file.
I removed catalina.jar from my classpath after that.

I wrote another class to set up classloaders and call EmbeddedTest

I set up the classloaders thus:

commonloader = ClassLoaderFactory.createClassLoader(commonclassesdirs, commonlibdirs, 
null);
catalinaloader = ClassLoaderFactory.createClassLoader(catalinaclassesdirs, 
catalinalibdirs, commonloader);

Class embeddedcls = catalinaloader.loadClass(EmbeddedTest);
Method method = embeddedcls.getMethod(main, new Class[]{args.getClass()});
method.invoke(embeddedcls, new Object[]{args});

When I run this I see the error:
Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/L
ifecycleException
at java.lang.Class.getMethod0(Native Method)
at java.lang.Class.getMethod(Class.java:888)
at LaunchTomcat.main(LaunchTomcat.java:43)

The error goes away if I make my EmbeddedTest as part of package 
org.apache.catalina.startup - which I dont to do.

And even if I made as part of the package org.apache.catalina.startup package it 
doesnt work if I set up the EmbeddedTomcat to use any of my custom logger or realm 
implementations - essentially if I refer to any class file outside of the 
catalinaloader.

Am I missing something here - how do I run the embedded tomcat with out having to 
include tomcats server files in my classpath?

Thanx
Ganesh

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Can somebody help: Exception while accessing manager app from embedded tomcat

2002-05-15 Thread Sankaranarayanan (Ganesh) Ganapathy

I am still looking for answers, can somebody help?

Thanx in advance
Ganesh

-Original Message-
From: Sankaranarayanan (Ganesh) Ganapathy 
Sent: Tuesday, May 14, 2002 11:59 AM
To: [EMAIL PROTECTED]
Subject: Exception while accessing manager app from embedded tomcat


Hi All,
I launched the embedded tomcat in my application - it is configured to use memory 
realm. I added a user with the manager role in the tomcat-users.xml file. When I try 
access the manager app I see the following exception enclosed at the bottom of the 
mail. The same thing seems to work fine if I launch the regular tomcat.
Any ideas?
Thanx
Ganesh
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.
exception 
javax.servlet.ServletException: Error allocating a servlet instance
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled 
Code)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, 
Compiled Code)
at java.lang.Thread.run(Thread.java:479)
root cause 
java.lang.SecurityException: Servlet of class 
org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this 
web application
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:900)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170

Exception while accessing manager app from embedded tomcat

2002-05-14 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,
I launched the embedded tomcat in my application - it is configured to use memory 
realm. I added a user with the manager role in the tomcat-users.xml file. When I try 
access the manager app I see the following exception enclosed at the bottom of the 
mail. The same thing seems to work fine if I launch the regular tomcat.
Any ideas?
Thanx
Ganesh
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that 
prevented it from fulfilling this request.
exception 
javax.servlet.ServletException: Error allocating a servlet instance
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java, Compiled 
Code)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java, 
Compiled Code)
at java.lang.Thread.run(Thread.java:479)
root cause 
java.lang.SecurityException: Servlet of class 
org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this 
web application
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:900)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java, 
Compiled Code)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at 

Can somebody help me with this one: Choosing between standard Tomcat 4.0.3 and jdk1.4 LE

2002-05-07 Thread Sankaranarayanan (Ganesh) Ganapathy

Any hep will be greatly appreciated.

  -Original Message-
 From: Sankaranarayanan (Ganesh) Ganapathy  
 Sent: Monday, May 06, 2002 3:05 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  Choosing between standard Tomcat 4.0.3 and jdk1.4 LE
 
 Hi All,
 
 I want to user tomcat with jdk 1.3 and jdk 1.4.
 
 The question I am trying to answer is if I should use the Tomcat 4.0.3 standard or 
the JDK 1.4 LE version
 
 The difference that is mentioned in the apache site is that standard edition 
includes optional libraries and xml parser while the other one doesnt. I guess to run 
the jdk1.4 LE on jdk1.2+ the user needs to add an XML parser, I understand that part. 
 
 I dont understand what it means to have/not have the optional libraries (Tyrex, 
JavaMail, Java Activation Framework, JNDI or JDBC standard extension) - more so about 
tyrex, is there any functionality enabled /disabled in tomcat because of the same?  - 
or does it mean that apps running in tomcat that use javamail api or jndi or jdbc 
standard extension api will not work unless these are added.
 
 Does the tomcat 4.0.3 with the optional libraries and xerces parser continue to work 
as it is with jdk1.4?
 
 Any help will be greatly appreicated.
 
 Thanx in advance
 Ganesh
 
 
 
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Choosing between standard Tomcat 4.0.3 and jdk1.4 LE

2002-05-06 Thread Sankaranarayanan (Ganesh) Ganapathy

Hi All,

I want to user tomcat with jdk 1.3 and jdk 1.4.

The question I am trying to answer is if I should use the Tomcat 4.0.3 standard or the 
JDK 1.4 LE version

The difference that is mentioned in the apache site is that standard edition includes 
optional libraries and xml parser while the other one doesnt. I guess to run the 
jdk1.4 LE on jdk1.2+ the user needs to add an XML parser, I understand that part. 

I dont understand what it means to have/not have the optional libraries (Tyrex, 
JavaMail, Java Activation Framework, JNDI or JDBC standard extension) - more so about 
tyrex, is there any functionality enabled /disabled in tomcat because of the same?  - 
or does it mean that apps running in tomcat that use javamail api or jndi or jdbc 
standard extension api will not work unless these are added.

Does the tomcat 4.0.3 with the optional libraries and xerces parser continue to work 
as it is with jdk1.4?

Any help will be greatly appreicated.

Thanx in advance
Ganesh






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]