Tomcat Admin tool + Realm + DIGEST utilities

2010-05-28 Thread Manish Kumar
Hi friends,

 

I am using tomcat v5.5.28 and facing a coule milestone issue as follows - 

 

The first problem I'm facing in configuring Tomcat Admin. I have deployed
Admin application and able to see the login page but this doesn't allowing
to get   inside (says - incorrect user). I have added a line in
tomcat-users.xml - 

 

My second worry is to get Active Directory services web interface (possibly
tomcat based web application). Just a initial thought to use Tomcat Admin
for the same but I'm sure this is possible. Please confirm or let us know if
any another application/open source is available for this.

 

The last one - I'm facing problem with DIGEST authentication, I am not able
to generate DIGEST password using a batch utility i.e -

 

SET PATH=C:\Program Files\Java\jdk1.6.0_18\bin;%PATH%;

 

SET CLASSPATH=$CATALINA_HOME/server/lib/catalina.jar;

 

java org.apache.catalina.realm.RealmBase -a MD5 Oak2010

pause

 

-It says org.apache.catalina.realm.RealmBase class not found.

 

Please help me out if anybody having any idea on the same.

 

Thanks in advance   

Regards

 

Manish

 



DO NOT REPLY [Bug 49342] Duplicate query string values

2010-05-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49342

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Mark Thomas  2010-05-28 07:15:21 EDT ---
6.0.26 on 1.6 and 1.5 JDKs reports two parameter values. Since the spec says
"all parameters" and provides no indication that duplicates require special
handling, I believe Tomcat is spec compliant.

I can't explain why you saw different behaviour. May be an issue with your test
case.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 47785] Cluster MBean not registered

2010-05-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47785

--- Comment #3 from Mark Thomas  2010-05-28 07:27:37 EDT ---
When MBeans are added, the commented out 'Management' section in the
cluster-howto will need to be updated and re-enabled.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r949151 - /tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml

2010-05-28 Thread markt
Author: markt
Date: Fri May 28 11:28:33 2010
New Revision: 949151

URL: http://svn.apache.org/viewvc?rev=949151&view=rev
Log:
Fix: https://issues.apache.org/bugzilla/show_bug.cgi?id=49331
Comment out the JMX section until Tomcat 6 has some cluster MBeans

Modified:
tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml?rev=949151&r1=949150&r2=949151&view=diff
==
--- tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/cluster-howto.xml Fri May 28 11:28:33 2010
@@ -620,7 +620,7 @@ should be completed:
 
 
 
-
+
 
 
 Please see http://wiki.apache.org/tomcat/FAQ/Clustering";>the 
clustering section of the FAQ.



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49331] Tomcat 6 documentation describes clustering MBeans that do not exist

2010-05-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49331

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Mark Thomas  2010-05-28 07:28:59 EDT ---
Fix in 6.0.x and will be included in 6.0.27 onwards.

A note has been added to bug47785 that this section will need to be re-visited
once 6.0.x has some MBeans.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Tomcat Admin tool + Realm + DIGEST utilities

2010-05-28 Thread Mark Thomas
On 28/05/2010 10:32, Manish Kumar wrote:
> Hi friends,
> 
>  
> 
> I am using tomcat v5.5.28 and facing a coule milestone issue as follows - 

These questions belong on the users mailing list.

Mark

> 
>  
> 
> The first problem I'm facing in configuring Tomcat Admin. I have deployed
> Admin application and able to see the login page but this doesn't allowing
> to get   inside (says - incorrect user). I have added a line in
> tomcat-users.xml -  
> roles="admin,manager"/>
> 
>  
> 
> My second worry is to get Active Directory services web interface (possibly
> tomcat based web application). Just a initial thought to use Tomcat Admin
> for the same but I'm sure this is possible. Please confirm or let us know if
> any another application/open source is available for this.
> 
>  
> 
> The last one - I'm facing problem with DIGEST authentication, I am not able
> to generate DIGEST password using a batch utility i.e -
> 
>  
> 
> SET PATH=C:\Program Files\Java\jdk1.6.0_18\bin;%PATH%;
> 
>  
> 
> SET CLASSPATH=$CATALINA_HOME/server/lib/catalina.jar;
> 
>  
> 
> java org.apache.catalina.realm.RealmBase -a MD5 Oak2010
> 
> pause
> 
>  
> 
> -It says org.apache.catalina.realm.RealmBase class not found.
> 
>  
> 
> Please help me out if anybody having any idea on the same.
> 
>  
> 
> Thanks in advance   
> 
> Regards
> 
>  
> 
> Manish
> 
>  
> 
> 




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r949273 - /tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java

2010-05-28 Thread markt
Author: markt
Date: Fri May 28 20:08:02 2010
New Revision: 949273

URL: http://svn.apache.org/viewvc?rev=949273&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49340
Simplify the mapper listener registration/de-registration process

Modified:
tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java?rev=949273&r1=949272&r2=949273&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/connector/MapperListener.java Fri May 
28 20:08:02 2010
@@ -132,6 +132,7 @@ public class MapperListener implements C
 if (event.getType() == Container.ADD_CHILD_EVENT) {
 Container child = (Container) event.getData();
 child.addLifecycleListener(this);
+child.addContainerListener(this);
 if (child instanceof Host) {
 registerHost((Host) child);
 } else if (child instanceof Context) {
@@ -141,7 +142,7 @@ public class MapperListener implements C
 }
 } else if (event.getType() == Container.REMOVE_CHILD_EVENT) {
 Container child = (Container) event.getData();
-child.removeLifecycleListener(this);
+removeListeners(child);
 if (child instanceof Host) {
 unregisterHost((Host) child);
 } else if (child instanceof Context) {
@@ -291,8 +292,6 @@ public class MapperListener implements C
  */
 private void unregisterHost(Host host) {
 
-removeListeners(host);
-
 String hostname = host.getName();
 
 mapper.removeHost(hostname);
@@ -308,8 +307,6 @@ public class MapperListener implements C
  */
 private void unregisterWrapper(Wrapper wrapper) {
 
-removeListeners(wrapper);
-
 String contextName = wrapper.getParent().getName();
 if ("/".equals(contextName)) {
 contextName = "";
@@ -364,8 +361,6 @@ public class MapperListener implements C
 return;
 }
 
-removeListeners(context);
-
 String contextName = context.getName();
 if ("/".equals(contextName)) {
 contextName = "";



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49340] Webapp unavailable after deploy then stop then start

2010-05-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49340

Mark Thomas  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
 OS/Version||All

--- Comment #1 from Mark Thomas  2010-05-28 16:08:17 EDT ---
Thanks for the report. I have fixed this in trunk.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org