Re: Manager options...

2002-02-20 Thread Christopher Chan

Create a user in conf/tomcat-users.xml and give the use a manager role
instead of tomcat and so on.

Then try to login again.

- Original Message -
From: Jean-Luc BEAUDET [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 7:02 PM
Subject: Manager options...


 Hi all !

 Well i try hard to get Manager working well through Warp Connector.

 We use Tomcat 4.0.2/Warp 1.0.2 with Apache 1.3.22.

 All is correct except a few little things like... Manager !

 I really found no way to do it. Error messages like

 Can't deploy manager cause it's a priviliged application ... make me
 nervous !

 So i decided to have a serious look on the
 ../server/webapps/manager/WEB-INF/web.xml file.

 BUT i don't really understand what is doin':

 servlet
 servlet-nameManager/servlet-name

 servlet-classorg.apache.catalina.servlets.ManagerServlet/servlet-class

 init-param
   param-namedebug/param-name
   param-value2/param-value
 /init-param
   /servlet

   !-- Define the Manager Servlet Mapping --
   servlet-mapping
 servlet-nameManager/servlet-name
 url-pattern/*/url-pattern
   /servlet-mapping

 What does means that part ? a mapping like /* ???

   !-- Define a Security Constraint on this Application --
   security-constraint
 web-resource-collection
   web-resource-nameEntire Application/web-resource-name
   url-pattern/*/url-pattern

 Is this part relative to the one just above ?

 /web-resource-collection
 auth-constraint
!-- NOTE:  This role is not present in the default users file
 --
role-namemanager/role-name
 /auth-constraint
   /security-constraint

   !-- Define the Login Configuration for this Application --
   login-config
 auth-methodBASIC/auth-method
 realm-nameTomcat Manager Application/realm-name
   /login-config


 Well if someone can help or give me a way to perfectly understand all
 the possibilities of such a web.xml
 would be very very appreciated.

 Best regards.

 Jean-Luc B :O)




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

Christopher Chan a écrit :

 Create a user in conf/tomcat-users.xml and give the use a manager role
 instead of tomcat and so on.

 Then try to login again.

 - Original Message -
 From: Jean-Luc BEAUDET [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, February 20, 2002 7:02 PM
 Subject: Manager options...

Thank yu for the answer, Chan.

I made the stuff, but now i miss the way to declare the WebAppDeploy in Apache
httpd.conf config file.

Is it smth like WebAppDeploy manager Warp_Conn /manager/ ???

Cause each time i did it, it failed...

Jean-Luc B :O)



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Christopher Chan

maybe you should lose the slash at the end of /manager/. (try /manager)

Is the name of your webappconnection Warp_conn?

Christophe

- Original Message -
From: Jean-Luc BEAUDET [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 8:42 PM
Subject: Re: Manager options...


 Christopher Chan a écrit :

  Create a user in conf/tomcat-users.xml and give the use a manager role
  instead of tomcat and so on.
 
  Then try to login again.
 
  - Original Message -
  From: Jean-Luc BEAUDET [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Wednesday, February 20, 2002 7:02 PM
  Subject: Manager options...

 Thank yu for the answer, Chan.

 I made the stuff, but now i miss the way to declare the WebAppDeploy in
Apache
 httpd.conf config file.

 Is it smth like WebAppDeploy manager Warp_Conn /manager/ ???

 Cause each time i did it, it failed...

 Jean-Luc B :O)



 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

Christopher Chan a écrit :

 maybe you should lose the slash at the end of /manager/. (try /manager)

 Is the name of your webappconnection Warp_conn?

 Christophe

 - Original Message -
 From: Jean-Luc BEAUDET [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Wednesday, February 20, 2002 8:42 PM
 Subject: Re: Manager options...

  Christopher Chan a écrit :
 
   Create a user in conf/tomcat-users.xml and give the use a manager role
   instead of tomcat and so on.
  
   Then try to login again.
  
   - Original Message -
   From: Jean-Luc BEAUDET [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Sent: Wednesday, February 20, 2002 7:02 PM
   Subject: Manager options...
 
  Thank yu for the answer, Chan.
 
  I made the stuff, but now i miss the way to declare the WebAppDeploy in
 Apache
  httpd.conf config file.
 
  Is it smth like WebAppDeploy manager Warp_Conn /manager/ ???
 
  Cause each time i did it, it failed...
 
  Jean-Luc B :O)
 
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Christopher,

I made little modifications and finally went ahead:

in tomcat_users.xml
user name=Manager   password=Manager roles=manager /

The manager dir is under $CATALINA_HOME/webapps

in httpd.conf:

 WebAppConnection WarpConnector0 warplocalhost:8008

  WebAppDeploy examples   WarpConnector0  /examples/stuff/
WebAppDeploy MyApp  WarpConnector0  /myapp/
 WebAppDeploy ManagerWarpConnector0  /managerstuff/

If i enter http://myserver/managerstuff/list

it then ask for login/password - OK

and then generates an exeption below:

javax.servlet.ServletException: Error allocating a servlet instance
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:619)
../..
- Root Cause -
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.ManagerServlet is privileged and cannot be
loaded by this web application


Well do yu have any idea ???

I'm stuck !

Jean-Luc B :0)



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Yoav Shapira

Hi,
Sorry to bump in late in the thread, maybe this was already raised,
but in your server.xml, did you specify the privileged=true 
attribute for the Manager context?

Yoav

 If i enter http://myserver/managerstuff/list
 
 it then ask for login/password - OK
 
 and then generates an exeption below:
 
 javax.servlet.ServletException: Error allocating a servlet instance
 at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:619)
 ../..
 - Root Cause -
 java.lang.SecurityException: Servlet of class
 org.apache.catalina.servlets.ManagerServlet is privileged and cannot be
 loaded by this web application

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

Yoav Shapira a écrit :

 Hi,
 Sorry to bump in late in the thread, maybe this was already raised,
 but in your server.xml, did you specify the privileged=true
 attribute for the Manager context?

 Yoav

  If i enter http://myserver/managerstuff/list
 
  it then ask for login/password - OK
 
  and then generates an exeption below:
 
  javax.servlet.ServletException: Error allocating a servlet instance
  at
  org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:619)
  ../..
  - Root Cause -
  java.lang.SecurityException: Servlet of class
  org.apache.catalina.servlets.ManagerServlet is privileged and cannot be
  loaded by this web application

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Yes i did.

The manager context seems to work fine on the standalone Tomcat ( ie for me port
8080 )
but fails with Apache through mod_webapp on port 80

Sure the privileged=true is set, as it appears in the eeption raised...

Well i don't know what to do more..

JLB :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread Cox, Charlie

you should probably file a bug report as it appears to be a problem with
manager through the connector as opposed to something with just the manager
app. This way one of the developers is sure to look at it.

Charlie

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 10:22 AM
 To: Tomcat Users List
 Subject: Re: Manager options...
 
 
 Yoav Shapira a écrit :
 
  Hi,
  Sorry to bump in late in the thread, maybe this was already raised,
  but in your server.xml, did you specify the privileged=true
  attribute for the Manager context?
 
  Yoav
 
   If i enter http://myserver/managerstuff/list
  
   it then ask for login/password - OK
  
   and then generates an exeption below:
  
   javax.servlet.ServletException: Error allocating a 
 servlet instance
   at
   
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
 per.java:619)
   ../..
   - Root Cause -
   java.lang.SecurityException: Servlet of class
   org.apache.catalina.servlets.ManagerServlet is privileged 
 and cannot be
   loaded by this web application
 
  --
  To unsubscribe:   
mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Yes i did.

The manager context seems to work fine on the standalone Tomcat ( ie for me
port
8080 )
but fails with Apache through mod_webapp on port 80

Sure the privileged=true is set, as it appears in the eeption raised...

Well i don't know what to do more..

JLB :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

Cox, Charlie a écrit :

 you should probably file a bug report as it appears to be a problem with
 manager through the connector as opposed to something with just the manager
 app. This way one of the developers is sure to look at it.

 Charlie

  -Original Message-
  From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 20, 2002 10:22 AM
  To: Tomcat Users List
  Subject: Re: Manager options...
 
 
  Yoav Shapira a écrit :
 
   Hi,
   Sorry to bump in late in the thread, maybe this was already raised,
   but in your server.xml, did you specify the privileged=true
   attribute for the Manager context?
  
   Yoav
  
If i enter http://myserver/managerstuff/list
   
it then ask for login/password - OK
   
and then generates an exeption below:
   
javax.servlet.ServletException: Error allocating a
  servlet instance
at
   
  org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
  per.java:619)
../..
- Root Cause -
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.ManagerServlet is privileged
  and cannot be
loaded by this web application
  
   --
   To unsubscribe:
 mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 Yes i did.

 The manager context seems to work fine on the standalone Tomcat ( ie for me
 port
 8080 )
 but fails with Apache through mod_webapp on port 80

 Sure the privileged=true is set, as it appears in the eeption raised...

 Well i don't know what to do more..

 JLB :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

i'll have it done.

Thanks

Jean-Luc B :0(



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread John Wadkin

Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

httpd.conf:

WebAppConnection warpConnection warp servername:8008
WebAppDeploy manager warpConnection /manager

server.xml

!-- Tomcat Manager Context --
Context path=/manager docBase=manager
 debug=0 privileged=true/

One point - the context is in the host I defined under the Service
name=Tomcat-Apache

Thanks,
 
John


-Original Message-
From: Cox, Charlie [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 15:34
To: 'Tomcat Users List'
Subject: RE: Manager options...


you should probably file a bug report as it appears to be a problem with
manager through the connector as opposed to something with just the manager
app. This way one of the developers is sure to look at it.

Charlie

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 10:22 AM
 To: Tomcat Users List
 Subject: Re: Manager options...
 
 
 Yoav Shapira a écrit :
 
  Hi,
  Sorry to bump in late in the thread, maybe this was already raised,
  but in your server.xml, did you specify the privileged=true
  attribute for the Manager context?
 
  Yoav
 
   If i enter http://myserver/managerstuff/list
  
   it then ask for login/password - OK
  
   and then generates an exeption below:
  
   javax.servlet.ServletException: Error allocating a 
 servlet instance
   at
   
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
 per.java:619)
   ../..
   - Root Cause -
   java.lang.SecurityException: Servlet of class
   org.apache.catalina.servlets.ManagerServlet is privileged 
 and cannot be
   loaded by this web application
 
  --
  To unsubscribe:   
mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Yes i did.

The manager context seems to work fine on the standalone Tomcat ( ie for me
port
8080 )
but fails with Apache through mod_webapp on port 80

Sure the privileged=true is set, as it appears in the eeption raised...

Well i don't know what to do more..

JLB :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

Cox, Charlie a écrit :

 you should probably file a bug report as it appears to be a problem with
 manager through the connector as opposed to something with just the manager
 app. This way one of the developers is sure to look at it.

 Charlie

  -Original Message-
  From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 20, 2002 10:22 AM
  To: Tomcat Users List
  Subject: Re: Manager options...
 
 
  Yoav Shapira a écrit :
 
   Hi,
   Sorry to bump in late in the thread, maybe this was already raised,
   but in your server.xml, did you specify the privileged=true
   attribute for the Manager context?
  
   Yoav
  
If i enter http://myserver/managerstuff/list
   
it then ask for login/password - OK
   
and then generates an exeption below:
   
javax.servlet.ServletException: Error allocating a
  servlet instance
at
   
  org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
  per.java:619)
../..
- Root Cause -
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.ManagerServlet is privileged
  and cannot be
loaded by this web application
  
   --
   To unsubscribe:
 mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 Yes i did.

 The manager context seems to work fine on the standalone Tomcat ( ie for me
 port
 8080 )
 but fails with Apache through mod_webapp on port 80

 Sure the privileged=true is set, as it appears in the eeption raised...

 Well i don't know what to do more..

 JLB :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Well i said yes to the trick, but don't know how to do it

What is the best way to post a bug ?

Thanks.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread Ricky Leung

look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml
file there that explains how to setup timeouts in your webapp.  Just copy
and paste into your webapp's web.xml.  Remember the tag ordering is crucial
in xml.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET
Sent: Wednesday, February 20, 2002 10:22 AM
To: Tomcat Users List
Subject: Re: Manager options...


Yoav Shapira a écrit :

 Hi,
 Sorry to bump in late in the thread, maybe this was already raised,
 but in your server.xml, did you specify the privileged=true
 attribute for the Manager context?

 Yoav

  If i enter http://myserver/managerstuff/list
 
  it then ask for login/password - OK
 
  and then generates an exeption below:
 
  javax.servlet.ServletException: Error allocating a servlet instance
  at
 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:619)
  ../..
  - Root Cause -
  java.lang.SecurityException: Servlet of class
  org.apache.catalina.servlets.ManagerServlet is privileged and cannot be
  loaded by this web application

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Yes i did.

The manager context seems to work fine on the standalone Tomcat ( ie for me
port
8080 )
but fails with Apache through mod_webapp on port 80

Sure the privileged=true is set, as it appears in the eeption raised...

Well i don't know what to do more..

JLB :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread Ricky Leung

sorry, post the answer to the wrong thread.

-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 10:51 AM
To: Tomcat Users List
Subject: RE: Manager options...


look at the web.xml file under $CATALINA_HOME/conf, there's a sample web.xml
file there that explains how to setup timeouts in your webapp.  Just copy
and paste into your webapp's web.xml.  Remember the tag ordering is crucial
in xml.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET
Sent: Wednesday, February 20, 2002 10:22 AM
To: Tomcat Users List
Subject: Re: Manager options...


Yoav Shapira a écrit :

 Hi,
 Sorry to bump in late in the thread, maybe this was already raised,
 but in your server.xml, did you specify the privileged=true
 attribute for the Manager context?

 Yoav

  If i enter http://myserver/managerstuff/list
 
  it then ask for login/password - OK
 
  and then generates an exeption below:
 
  javax.servlet.ServletException: Error allocating a servlet instance
  at
 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:619)
  ../..
  - Root Cause -
  java.lang.SecurityException: Servlet of class
  org.apache.catalina.servlets.ManagerServlet is privileged and cannot be
  loaded by this web application

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Yes i did.

The manager context seems to work fine on the standalone Tomcat ( ie for me
port
8080 )
but fails with Apache through mod_webapp on port 80

Sure the privileged=true is set, as it appears in the eeption raised...

Well i don't know what to do more..

JLB :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread Ricky Leung

http://jakarta.apache.org/site/bugs.html  for bug entering info

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Luc BEAUDET
Sent: Wednesday, February 20, 2002 10:50 AM
To: Tomcat Users List
Subject: Re: Manager options...


Cox, Charlie a écrit :

 you should probably file a bug report as it appears to be a problem with
 manager through the connector as opposed to something with just the
manager
 app. This way one of the developers is sure to look at it.

 Charlie

  -Original Message-
  From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 20, 2002 10:22 AM
  To: Tomcat Users List
  Subject: Re: Manager options...
 
 
  Yoav Shapira a écrit :
 
   Hi,
   Sorry to bump in late in the thread, maybe this was already raised,
   but in your server.xml, did you specify the privileged=true
   attribute for the Manager context?
  
   Yoav
  
If i enter http://myserver/managerstuff/list
   
it then ask for login/password - OK
   
and then generates an exeption below:
   
javax.servlet.ServletException: Error allocating a
  servlet instance
at
   
  org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
  per.java:619)
../..
- Root Cause -
java.lang.SecurityException: Servlet of class
org.apache.catalina.servlets.ManagerServlet is privileged
  and cannot be
loaded by this web application
  
   --
   To unsubscribe:
 mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 Yes i did.

 The manager context seems to work fine on the standalone Tomcat ( ie for
me
 port
 8080 )
 but fails with Apache through mod_webapp on port 80

 Sure the privileged=true is set, as it appears in the eeption raised...

 Well i don't know what to do more..

 JLB :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

Well i said yes to the trick, but don't know how to do it

What is the best way to post a bug ?

Thanks.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET


Thank yu for the answer, john.

I verified again and again, but...

John Wadkin a écrit :

 Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso



 httpd.conf:

 WebAppConnection warpConnection warp servername:8008
 WebAppDeploy manager warpConnection /manager

Mine is

WebAppConnection WarpConnector0 warplocalhost:8008
WebAppDeploy ManagerWarpConnector0  /managerstuff/


 server.xml

 !-- Tomcat Manager Context --
 Context path=/manager docBase=manager
  debug=0 privileged=true/

For me it is ( full description of the Tomcat Apache part )
!-- Define an Apache-Connector Service --
  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=true acceptCount=10 debug=0/

!-- Replace localhost with what your Apache ServerName is set to --
Engine className=org.apache.catalina.connector.warp.WarpEngine
name=Apache appBase=webapps defaulthost=localhost 

  DefaultContext reloadable=true debug=20/

  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

  !--
  Context path=/neocam docBase=Neocam debug=0
   reloadable=true crossContext=false/
  --

  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt timestamp=true/

  !-- Because this Realm is here, an instance will be shared globally --

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  /Service





 One point - the context is in the host I defined under the Service
 name=Tomcat-Apache

Hum i don't have any host defined as i don't need virtual host for the moment.



 Thanks,

 John



And it still doesn't work.

I'm really stuck !

Jean-Luc :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread John Wadkin

The only differences I can see are:

You use Manger and /managerstuff whereas I use manager and /manager - could
this have something to do with it? Not sure!
You use localhost I use the actual server name - again, not sure if this has
anything to do with it...
You don't have a host in your TomCat-Apache service. There's some debate
as to whether this is necessary but I have one and the manager app works...

Bit of puzzle really. I had no problems - just added the necessary lines in
httpd.conf and server.xml and the manager app worked!

Thanks,
 
John


-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 16:26
To: Tomcat Users List
Subject: Re: Manager options...



Thank yu for the answer, john.

I verified again and again, but...

John Wadkin a icrit :

 Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso



 httpd.conf:

 WebAppConnection warpConnection warp servername:8008
 WebAppDeploy manager warpConnection /manager

Mine is

WebAppConnection WarpConnector0 warplocalhost:8008
WebAppDeploy ManagerWarpConnector0  /managerstuff/


 server.xml

 !-- Tomcat Manager Context --
 Context path=/manager docBase=manager
  debug=0 privileged=true/

For me it is ( full description of the Tomcat Apache part )
!-- Define an Apache-Connector Service --
  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
   port=8008 minProcessors=5 maxProcessors=75
   enableLookups=true acceptCount=10 debug=0/

!-- Replace localhost with what your Apache ServerName is set to
--
Engine className=org.apache.catalina.connector.warp.WarpEngine
name=Apache appBase=webapps defaulthost=localhost 

  DefaultContext reloadable=true debug=20/

  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

  !--
  Context path=/neocam docBase=Neocam debug=0
   reloadable=true crossContext=false/
  --

  !-- Global logger unless overridden at lower levels --
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt timestamp=true/

  !-- Because this Realm is here, an instance will be shared globally
--

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  /Service





 One point - the context is in the host I defined under the Service
 name=Tomcat-Apache

Hum i don't have any host defined as i don't need virtual host for the
moment.



 Thanks,

 John



And it still doesn't work.

I'm really stuck !

Jean-Luc :0(





--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

John Wadkin a écrit :

 The only differences I can see are:

 You use Manger and /managerstuff whereas I use manager and /manager - could
 this have something to do with it? Not sure!
 You use localhost I use the actual server name - again, not sure if this has
 anything to do with it...
 You don't have a host in your TomCat-Apache service. There's some debate
 as to whether this is necessary but I have one and the manager app works...

 Bit of puzzle really. I had no problems - just added the necessary lines in
 httpd.conf and server.xml and the manager app worked!

 Thanks,

 John

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 16:26
 To: Tomcat Users List
 Subject: Re: Manager options...

 Thank yu for the answer, john.

 I verified again and again, but...

 John Wadkin a icrit :

  Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

 I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso

 
 
  httpd.conf:
 
  WebAppConnection warpConnection warp servername:8008
  WebAppDeploy manager warpConnection /manager

 Mine is

 WebAppConnection WarpConnector0 warplocalhost:8008
 WebAppDeploy ManagerWarpConnector0  /managerstuff/

  server.xml
 
  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

 For me it is ( full description of the Tomcat Apache part )
 !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache

 Connector className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=10 debug=0/

 !-- Replace localhost with what your Apache ServerName is set to
 --
 Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache appBase=webapps defaulthost=localhost 

   DefaultContext reloadable=true debug=20/

   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/

   !--
   Context path=/neocam docBase=Neocam debug=0
reloadable=true crossContext=false/
   --

   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt timestamp=true/

   !-- Because this Realm is here, an instance will be shared globally
 --

   Realm className=org.apache.catalina.realm.MemoryRealm /

 /Engine

   /Service

 
 
  One point - the context is in the host I defined under the Service
  name=Tomcat-Apache

 Hum i don't have any host defined as i don't need virtual host for the
 moment.

 
 
  Thanks,
 
  John
 
 

 And it still doesn't work.

 I'm really stuck !

 Jean-Luc :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

OK.

It does work under Apache/Warp connector ?

Great.

Could yu indicate me how yu declared yur Host in Engine for the Tomcat-Apache
Engine, please ?

Jean-Luc B :0(



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread John Wadkin

Attached my server.xml - there a couple of contexts including manager. All
are declared within the host tag. I've just used manager now to restart a
context - worked fine. It's definitely using the Warp connector!
I can't think of anything else other than the web.xml for manager - is it
there and complete?

Thanks,
 
John


-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 17:03
To: Tomcat Users List
Subject: Re: Manager options...


John Wadkin a icrit :

 The only differences I can see are:

 You use Manger and /managerstuff whereas I use manager and /manager -
could
 this have something to do with it? Not sure!
 You use localhost I use the actual server name - again, not sure if this
has
 anything to do with it...
 You don't have a host in your TomCat-Apache service. There's some debate
 as to whether this is necessary but I have one and the manager app
works...

 Bit of puzzle really. I had no problems - just added the necessary lines
in
 httpd.conf and server.xml and the manager app worked!

 Thanks,

 John

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 16:26
 To: Tomcat Users List
 Subject: Re: Manager options...

 Thank yu for the answer, john.

 I verified again and again, but...

 John Wadkin a icrit :

  Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

 I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso

 
 
  httpd.conf:
 
  WebAppConnection warpConnection warp servername:8008
  WebAppDeploy manager warpConnection /manager

 Mine is

 WebAppConnection WarpConnector0 warplocalhost:8008
 WebAppDeploy ManagerWarpConnector0  /managerstuff/

  server.xml
 
  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

 For me it is ( full description of the Tomcat Apache part )
 !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache

 Connector
className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=10 debug=0/

 !-- Replace localhost with what your Apache ServerName is set to
 --
 Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache appBase=webapps defaulthost=localhost 

   DefaultContext reloadable=true debug=20/

   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/

   !--
   Context path=/neocam docBase=Neocam debug=0
reloadable=true crossContext=false/
   --

   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt timestamp=true/

   !-- Because this Realm is here, an instance will be shared globally
 --

   Realm className=org.apache.catalina.realm.MemoryRealm /

 /Engine

   /Service

 
 
  One point - the context is in the host I defined under the Service
  name=Tomcat-Apache

 Hum i don't have any host defined as i don't need virtual host for the
 moment.

 
 
  Thanks,
 
  John
 
 

 And it still doesn't work.

 I'm really stuck !

 Jean-Luc :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

OK.

It does work under Apache/Warp connector ?

Great.

Could yu indicate me how yu declared yur Host in Engine for the
Tomcat-Apache
Engine, please ?

Jean-Luc B :0(



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




server.xml
Description: Binary data

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


RE: Manager options...

2002-02-20 Thread Ricky Leung

I think name=Apache in Engine has to be the same as what ServerName is
defined in http.conf in apache.

-Original Message-
From: John Wadkin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 12:13 PM
To: 'Tomcat Users List'
Subject: RE: Manager options...


Attached my server.xml - there a couple of contexts including manager. All
are declared within the host tag. I've just used manager now to restart a
context - worked fine. It's definitely using the Warp connector!
I can't think of anything else other than the web.xml for manager - is it
there and complete?

Thanks,

John


-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 17:03
To: Tomcat Users List
Subject: Re: Manager options...


John Wadkin a icrit :

 The only differences I can see are:

 You use Manger and /managerstuff whereas I use manager and /manager -
could
 this have something to do with it? Not sure!
 You use localhost I use the actual server name - again, not sure if this
has
 anything to do with it...
 You don't have a host in your TomCat-Apache service. There's some debate
 as to whether this is necessary but I have one and the manager app
works...

 Bit of puzzle really. I had no problems - just added the necessary lines
in
 httpd.conf and server.xml and the manager app worked!

 Thanks,

 John

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 16:26
 To: Tomcat Users List
 Subject: Re: Manager options...

 Thank yu for the answer, john.

 I verified again and again, but...

 John Wadkin a icrit :

  Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

 I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso

 
 
  httpd.conf:
 
  WebAppConnection warpConnection warp servername:8008
  WebAppDeploy manager warpConnection /manager

 Mine is

 WebAppConnection WarpConnector0 warplocalhost:8008
 WebAppDeploy ManagerWarpConnector0  /managerstuff/

  server.xml
 
  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

 For me it is ( full description of the Tomcat Apache part )
 !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache

 Connector
className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=10 debug=0/

 !-- Replace localhost with what your Apache ServerName is set to
 --
 Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache appBase=webapps defaulthost=localhost 

   DefaultContext reloadable=true debug=20/

   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/

   !--
   Context path=/neocam docBase=Neocam debug=0
reloadable=true crossContext=false/
   --

   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt timestamp=true/

   !-- Because this Realm is here, an instance will be shared globally
 --

   Realm className=org.apache.catalina.realm.MemoryRealm /

 /Engine

   /Service

 
 
  One point - the context is in the host I defined under the Service
  name=Tomcat-Apache

 Hum i don't have any host defined as i don't need virtual host for the
 moment.

 
 
  Thanks,
 
  John
 
 

 And it still doesn't work.

 I'm really stuck !

 Jean-Luc :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

OK.

It does work under Apache/Warp connector ?

Great.

Could yu indicate me how yu declared yur Host in Engine for the
Tomcat-Apache
Engine, please ?

Jean-Luc B :0(



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread John Wadkin

Oh boy :) You must have missed the great debate thread on engines, hosts
and name. It was debated as to whether an engine needs a host. I set the
defaulthost attribute and specified a host. Is this necessary? The doc's
aren't clear. The default server.xml has a confusing comment about setting
localhost. The name att. of engine is used for logging (according to the
docs) and is simply logical. I see no reason why it -should- match the name
attr. of the host tag or the Servername directive, although it can't do any
harm. I set the defaulthost att. of the engine to match the servername
directive in httpd.conf. If you look at server.xml and
server-noexamples.xml.config you'll see that the !-- Replace localhost
with what your Apache ServerName is set to -- comment makes much more
sense in noexamples.xml.config!
No body (developer) came back with a definitive answer...

Thanks,
 
John


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 17:26
To: Tomcat Users List
Subject: RE: Manager options...


I think name=Apache in Engine has to be the same as what ServerName is
defined in http.conf in apache.

-Original Message-
From: John Wadkin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 12:13 PM
To: 'Tomcat Users List'
Subject: RE: Manager options...


Attached my server.xml - there a couple of contexts including manager. All
are declared within the host tag. I've just used manager now to restart a
context - worked fine. It's definitely using the Warp connector!
I can't think of anything else other than the web.xml for manager - is it
there and complete?

Thanks,

John


-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 17:03
To: Tomcat Users List
Subject: Re: Manager options...


John Wadkin a icrit :

 The only differences I can see are:

 You use Manger and /managerstuff whereas I use manager and /manager -
could
 this have something to do with it? Not sure!
 You use localhost I use the actual server name - again, not sure if this
has
 anything to do with it...
 You don't have a host in your TomCat-Apache service. There's some debate
 as to whether this is necessary but I have one and the manager app
works...

 Bit of puzzle really. I had no problems - just added the necessary lines
in
 httpd.conf and server.xml and the manager app worked!

 Thanks,

 John

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 16:26
 To: Tomcat Users List
 Subject: Re: Manager options...

 Thank yu for the answer, john.

 I verified again and again, but...

 John Wadkin a icrit :

  Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

 I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso

 
 
  httpd.conf:
 
  WebAppConnection warpConnection warp servername:8008
  WebAppDeploy manager warpConnection /manager

 Mine is

 WebAppConnection WarpConnector0 warplocalhost:8008
 WebAppDeploy ManagerWarpConnector0  /managerstuff/

  server.xml
 
  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

 For me it is ( full description of the Tomcat Apache part )
 !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache

 Connector
className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=10 debug=0/

 !-- Replace localhost with what your Apache ServerName is set to
 --
 Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache appBase=webapps defaulthost=localhost 

   DefaultContext reloadable=true debug=20/

   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/

   !--
   Context path=/neocam docBase=Neocam debug=0
reloadable=true crossContext=false/
   --

   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt timestamp=true/

   !-- Because this Realm is here, an instance will be shared globally
 --

   Realm className=org.apache.catalina.realm.MemoryRealm /

 /Engine

   /Service

 
 
  One point - the context is in the host I defined under the Service
  name=Tomcat-Apache

 Hum i don't have any host defined as i don't need virtual host for the
 moment.

 
 
  Thanks,
 
  John
 
 

 And it still doesn't work.

 I'm really stuck !

 Jean-Luc :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

OK.

It does work under Apache

RE: Manager options...

2002-02-20 Thread Ricky Leung

yeah, I did miss it, hope I am not restarting it.

-Original Message-
From: John Wadkin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 12:46 PM
To: 'Tomcat Users List'
Subject: RE: Manager options...


Oh boy :) You must have missed the great debate thread on engines, hosts
and name. It was debated as to whether an engine needs a host. I set the
defaulthost attribute and specified a host. Is this necessary? The doc's
aren't clear. The default server.xml has a confusing comment about setting
localhost. The name att. of engine is used for logging (according to the
docs) and is simply logical. I see no reason why it -should- match the name
attr. of the host tag or the Servername directive, although it can't do any
harm. I set the defaulthost att. of the engine to match the servername
directive in httpd.conf. If you look at server.xml and
server-noexamples.xml.config you'll see that the !-- Replace localhost
with what your Apache ServerName is set to -- comment makes much more
sense in noexamples.xml.config!
No body (developer) came back with a definitive answer...

Thanks,

John


-Original Message-
From: Ricky Leung [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 17:26
To: Tomcat Users List
Subject: RE: Manager options...


I think name=Apache in Engine has to be the same as what ServerName is
defined in http.conf in apache.

-Original Message-
From: John Wadkin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 12:13 PM
To: 'Tomcat Users List'
Subject: RE: Manager options...


Attached my server.xml - there a couple of contexts including manager. All
are declared within the host tag. I've just used manager now to restart a
context - worked fine. It's definitely using the Warp connector!
I can't think of anything else other than the web.xml for manager - is it
there and complete?

Thanks,

John


-Original Message-
From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 17:03
To: Tomcat Users List
Subject: Re: Manager options...


John Wadkin a icrit :

 The only differences I can see are:

 You use Manger and /managerstuff whereas I use manager and /manager -
could
 this have something to do with it? Not sure!
 You use localhost I use the actual server name - again, not sure if this
has
 anything to do with it...
 You don't have a host in your TomCat-Apache service. There's some debate
 as to whether this is necessary but I have one and the manager app
works...

 Bit of puzzle really. I had no problems - just added the necessary lines
in
 httpd.conf and server.xml and the manager app worked!

 Thanks,

 John

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 16:26
 To: Tomcat Users List
 Subject: Re: Manager options...

 Thank yu for the answer, john.

 I verified again and again, but...

 John Wadkin a icrit :

  Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.

 I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso

 
 
  httpd.conf:
 
  WebAppConnection warpConnection warp servername:8008
  WebAppDeploy manager warpConnection /manager

 Mine is

 WebAppConnection WarpConnector0 warplocalhost:8008
 WebAppDeploy ManagerWarpConnector0  /managerstuff/

  server.xml
 
  !-- Tomcat Manager Context --
  Context path=/manager docBase=manager
   debug=0 privileged=true/

 For me it is ( full description of the Tomcat Apache part )
 !-- Define an Apache-Connector Service --
   Service name=Tomcat-Apache

 Connector
className=org.apache.catalina.connector.warp.WarpConnector
port=8008 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=10 debug=0/

 !-- Replace localhost with what your Apache ServerName is set to
 --
 Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache appBase=webapps defaulthost=localhost 

   DefaultContext reloadable=true debug=20/

   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/

   !--
   Context path=/neocam docBase=Neocam debug=0
reloadable=true crossContext=false/
   --

   !-- Global logger unless overridden at lower levels --
   Logger className=org.apache.catalina.logger.FileLogger
   prefix=apache_log. suffix=.txt timestamp=true/

   !-- Because this Realm is here, an instance will be shared globally
 --

   Realm className=org.apache.catalina.realm.MemoryRealm /

 /Engine

   /Service

 
 
  One point - the context is in the host I defined under the Service
  name=Tomcat-Apache

 Hum i don't have any host defined as i don't need virtual host for the
 moment.

 
 
  Thanks,
 
  John
 
 

 And it still doesn't work.

 I'm really stuck !

 Jean-Luc :0(

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

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

Ricky Leung a écrit :

 yeah, I did miss it, hope I am not restarting it.

Well, well.

I did missed it too. But...

Unfortunately i'm still stuck.

Just to say, i'm only needin' the Tomcay-Apache part of the conf, and all seems
well in my config, exept the host declaration in This Engine...

What a big deal is it !

Jean-Luc B :0(




 -Original Message-
 From: John Wadkin [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 12:46 PM
 To: 'Tomcat Users List'
 Subject: RE: Manager options...

 Oh boy :) You must have missed the great debate thread on engines, hosts
 and name. It was debated as to whether an engine needs a host. I set the
 defaulthost attribute and specified a host. Is this necessary? The doc's
 aren't clear. The default server.xml has a confusing comment about setting
 localhost. The name att. of engine is used for logging (according to the
 docs) and is simply logical. I see no reason why it -should- match the name
 attr. of the host tag or the Servername directive, although it can't do any
 harm. I set the defaulthost att. of the engine to match the servername
 directive in httpd.conf. If you look at server.xml and
 server-noexamples.xml.config you'll see that the !-- Replace localhost
 with what your Apache ServerName is set to -- comment makes much more
 sense in noexamples.xml.config!
 No body (developer) came back with a definitive answer...

 Thanks,

 John

 -Original Message-
 From: Ricky Leung [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 17:26
 To: Tomcat Users List
 Subject: RE: Manager options...

 I think name=Apache in Engine has to be the same as what ServerName is
 defined in http.conf in apache.

 -Original Message-
 From: John Wadkin [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 12:13 PM
 To: 'Tomcat Users List'
 Subject: RE: Manager options...

 Attached my server.xml - there a couple of contexts including manager. All
 are declared within the host tag. I've just used manager now to restart a
 context - worked fine. It's definitely using the Warp connector!
 I can't think of anything else other than the web.xml for manager - is it
 there and complete?

 Thanks,

 John

 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 17:03
 To: Tomcat Users List
 Subject: Re: Manager options...

 John Wadkin a icrit :

  The only differences I can see are:
 
  You use Manger and /managerstuff whereas I use manager and /manager -
 could
  this have something to do with it? Not sure!
  You use localhost I use the actual server name - again, not sure if this
 has
  anything to do with it...
  You don't have a host in your TomCat-Apache service. There's some debate
  as to whether this is necessary but I have one and the manager app
 works...
 
  Bit of puzzle really. I had no problems - just added the necessary lines
 in
  httpd.conf and server.xml and the manager app worked!
 
  Thanks,
 
  John
 
  -Original Message-
  From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
  Sent: 20 February 2002 16:26
  To: Tomcat Users List
  Subject: Re: Manager options...
 
  Thank yu for the answer, john.
 
  I verified again and again, but...
 
  John Wadkin a icrit :
 
   Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.
 
  I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso
 
  
  
   httpd.conf:
  
   WebAppConnection warpConnection warp servername:8008
   WebAppDeploy manager warpConnection /manager
 
  Mine is
 
  WebAppConnection WarpConnector0 warplocalhost:8008
  WebAppDeploy ManagerWarpConnector0  /managerstuff/
 
   server.xml
  
   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/
 
  For me it is ( full description of the Tomcat Apache part )
  !-- Define an Apache-Connector Service --
Service name=Tomcat-Apache
 
  Connector
 className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true acceptCount=10 debug=0/
 
  !-- Replace localhost with what your Apache ServerName is set to
  --
  Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache appBase=webapps defaulthost=localhost 
 
DefaultContext reloadable=true debug=20/
 
!-- Tomcat Manager Context --
Context path=/manager docBase=manager
 debug=0 privileged=true/
 
!--
Context path=/neocam docBase=Neocam debug=0
 reloadable=true crossContext=false/
--
 
!-- Global logger unless overridden at lower levels --
Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt timestamp=true/
 
!-- Because this Realm is here, an instance will be shared globally
  --
 
Realm className

Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

John Wadkin a écrit :

 Attached my server.xml - there a couple of contexts including manager. All
 are declared within the host tag. I've just used manager now to restart a
 context - worked fine. It's definitely using the Warp connector!
 I can't think of anything else other than the web.xml for manager - is it
 there and complete?

 Thanks,

 John

Thankyou for yur kind answer, John and for yur help.

I'll try to make it the same and tets it.

Jean-Luc B (:0 )




 -Original Message-
 From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 17:03
 To: Tomcat Users List
 Subject: Re: Manager options...

 John Wadkin a icrit :

  The only differences I can see are:
 
  You use Manger and /managerstuff whereas I use manager and /manager -
 could
  this have something to do with it? Not sure!
  You use localhost I use the actual server name - again, not sure if this
 has
  anything to do with it...
  You don't have a host in your TomCat-Apache service. There's some debate
  as to whether this is necessary but I have one and the manager app
 works...
 
  Bit of puzzle really. I had no problems - just added the necessary lines
 in
  httpd.conf and server.xml and the manager app worked!
 
  Thanks,
 
  John
 
  -Original Message-
  From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
  Sent: 20 February 2002 16:26
  To: Tomcat Users List
  Subject: Re: Manager options...
 
  Thank yu for the answer, john.
 
  I verified again and again, but...
 
  John Wadkin a icrit :
 
   Works fine on my Solaris 8, TC 4.0.1, Apache 1.3 system.
 
  I'm actually runnin' SOLARIS _ TC 4.0.2/Warp 1.0.2 Apache 1.3.22 full dso
 
  
  
   httpd.conf:
  
   WebAppConnection warpConnection warp servername:8008
   WebAppDeploy manager warpConnection /manager
 
  Mine is
 
  WebAppConnection WarpConnector0 warplocalhost:8008
  WebAppDeploy ManagerWarpConnector0  /managerstuff/
 
   server.xml
  
   !-- Tomcat Manager Context --
   Context path=/manager docBase=manager
debug=0 privileged=true/
 
  For me it is ( full description of the Tomcat Apache part )
  !-- Define an Apache-Connector Service --
Service name=Tomcat-Apache
 
  Connector
 className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true acceptCount=10 debug=0/
 
  !-- Replace localhost with what your Apache ServerName is set to
  --
  Engine className=org.apache.catalina.connector.warp.WarpEngine
  name=Apache appBase=webapps defaulthost=localhost 
 
DefaultContext reloadable=true debug=20/
 
!-- Tomcat Manager Context --
Context path=/manager docBase=manager
 debug=0 privileged=true/
 
!--
Context path=/neocam docBase=Neocam debug=0
 reloadable=true crossContext=false/
--
 
!-- Global logger unless overridden at lower levels --
Logger className=org.apache.catalina.logger.FileLogger
prefix=apache_log. suffix=.txt timestamp=true/
 
!-- Because this Realm is here, an instance will be shared globally
  --
 
Realm className=org.apache.catalina.realm.MemoryRealm /
 
  /Engine
 
/Service
 
  
  
   One point - the context is in the host I defined under the Service
   name=Tomcat-Apache
 
  Hum i don't have any host defined as i don't need virtual host for the
  moment.
 
  
  
   Thanks,
  
   John
  
  
 
  And it still doesn't work.
 
  I'm really stuck !
 
  Jean-Luc :0(
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

 OK.

 It does work under Apache/Warp connector ?

 Great.

 Could yu indicate me how yu declared yur Host in Engine for the
 Tomcat-Apache
 Engine, please ?

 Jean-Luc B :0(

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

   
  Name: server.xml
server.xmlType: type non spécifié (application/octet-stream)
  Encoding: quoted-printable

   
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Jean-Luc BEAUDET

John Wadkin a écrit :

 Oh boy :) You must have missed the great debate thread on engines, hosts
 and name. It was debated as to whether an engine needs a host. I set the
 defaulthost attribute and specified a host. Is this necessary? The doc's
 aren't clear. The default server.xml has a confusing comment about setting
 localhost. The name att. of engine is used for logging (according to the
 docs) and is simply logical. I see no reason why it -should- match the name
 attr. of the host tag or the Servername directive, although it can't do any
 harm. I set the defaulthost att. of the engine to match the servername
 directive in httpd.conf. If you look at server.xml and
 server-noexamples.xml.config you'll see that the !-- Replace localhost
 with what your Apache ServerName is set to -- comment makes much more
 sense in noexamples.xml.config!
 No body (developer) came back with a definitive answer...

 Thanks,

 John

Great YU DID IT John !

Yur stuff is the real one!

Yu guys can say thank yu to John Wadkin !

Do we have to add a Host container in the Tomcat-Apache part ?
Definitively YES !

It works now fine for me.

Thanks a lot to yu.

Jean-Luc B :0)

I feel really happy, right now. Think i can go back home...



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Manager options...

2002-02-20 Thread Craig R. McClanahan



On Wed, 20 Feb 2002, Jean-Luc BEAUDET wrote:

 Date: Wed, 20 Feb 2002 12:02:16 +0100
 From: Jean-Luc BEAUDET [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: Manager options...

 Hi all !

 Well i try hard to get Manager working well through Warp Connector.

 We use Tomcat 4.0.2/Warp 1.0.2 with Apache 1.3.22.

 All is correct except a few little things like... Manager !

 I really found no way to do it. Error messages like

 Can't deploy manager cause it's a priviliged application ... make me
 nervous !


Even after you get the deployment issues resolved, it seems very unlikely
to me that the Manager webapp will be useful through the mod_webapp or
mod_jk connectors :-(.

The reason for this:  Tomcat has no problem with dynamically adding new
web applications on the fly.  However, Apache won't be able to see them
until the httpd.conf file is updated, and Apache is restarted.

Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread John Wadkin

Craig,

Very true - but Manager can still be used to redeploy and stop/start Web
App's. I found it easier to manually install App's than use Manager. Looking
at the larger issues, this thread raises questions about the clarity of
documentation and the ease (or not) of the TomCat-Apache integration process
using any of the various connectors. If you cut out the integration and
documentation threads there wouldn't be much left on this list other than
servlet/jsp programming threads :)
I think the doc's mention that in the final release of TomCat, there won't
be any need to modify httpd.conf - I guess this is why?

John


 -Original Message-
 From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
 Sent: 20 February 2002 21:34
 To: Tomcat Users List
 Subject: Re: Manager options...
 
 
 
 
 On Wed, 20 Feb 2002, Jean-Luc BEAUDET wrote:
 
  Date: Wed, 20 Feb 2002 12:02:16 +0100
  From: Jean-Luc BEAUDET [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Subject: Manager options...
 
  Hi all !
 
  Well i try hard to get Manager working well through Warp Connector.
 
  We use Tomcat 4.0.2/Warp 1.0.2 with Apache 1.3.22.
 
  All is correct except a few little things like... Manager !
 
  I really found no way to do it. Error messages like
 
  Can't deploy manager cause it's a priviliged application 
 ... make me
  nervous !
 
 
 Even after you get the deployment issues resolved, it seems 
 very unlikely
 to me that the Manager webapp will be useful through the mod_webapp or
 mod_jk connectors :-(.
 
 The reason for this:  Tomcat has no problem with dynamically 
 adding new
 web applications on the fly.  However, Apache won't be able 
 to see them
 until the httpd.conf file is updated, and Apache is restarted.
 
 Craig
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Manager options...

2002-02-20 Thread Craig R. McClanahan



On Wed, 20 Feb 2002, John Wadkin wrote:

 Date: Wed, 20 Feb 2002 22:43:27 -
 From: John Wadkin [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: Manager options...

 Craig,

 Very true - but Manager can still be used to redeploy and stop/start Web
 App's.

That's true.

 I found it easier to manually install App's than use Manager. Looking
 at the larger issues, this thread raises questions about the clarity of
 documentation and the ease (or not) of the TomCat-Apache integration process
 using any of the various connectors. If you cut out the integration and
 documentation threads there wouldn't be much left on this list other than
 servlet/jsp programming threads :)
 I think the doc's mention that in the final release of TomCat, there won't
 be any need to modify httpd.conf - I guess this is why?


I never use Tomcat behind a web connector (I run all the things I care
about standalone, and configuring the web connectors is way too
complicated for my taste), so you'll need to bug the developers that care
about this in order to improve the integration documentation.

One good strategy would be to write some documents that explain this
clearly, and then post them in the bug tracking system with an enhancement
request, using the attachments facility to include the proposed
documents.

  http://nagoya.apache.org/bugzilla/

 John


Craig



  -Original Message-
  From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
  Sent: 20 February 2002 21:34
  To: Tomcat Users List
  Subject: Re: Manager options...
 
 
 
 
  On Wed, 20 Feb 2002, Jean-Luc BEAUDET wrote:
 
   Date: Wed, 20 Feb 2002 12:02:16 +0100
   From: Jean-Luc BEAUDET [EMAIL PROTECTED]
   Reply-To: Tomcat Users List [EMAIL PROTECTED]
   To: Tomcat Users List [EMAIL PROTECTED]
   Subject: Manager options...
  
   Hi all !
  
   Well i try hard to get Manager working well through Warp Connector.
  
   We use Tomcat 4.0.2/Warp 1.0.2 with Apache 1.3.22.
  
   All is correct except a few little things like... Manager !
  
   I really found no way to do it. Error messages like
  
   Can't deploy manager cause it's a priviliged application
  ... make me
   nervous !
  
 
  Even after you get the deployment issues resolved, it seems
  very unlikely
  to me that the Manager webapp will be useful through the mod_webapp or
  mod_jk connectors :-(.
 
  The reason for this:  Tomcat has no problem with dynamically
  adding new
  web applications on the fly.  However, Apache won't be able
  to see them
  until the httpd.conf file is updated, and Apache is restarted.
 
  Craig
 
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]




--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]