tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santosh [ಸಂತೋಷ ]" <santoshbm...@gmail.com>
Subject cannot find method addEnvironment with this signature
Date Mon, 06 Aug 2007 14:00:18 GMT
Hi All,

         I have integrated "storeconfig" and "cluster" modules of
tomcat 5.5to tomcat
6.0 to make admin webapp works with tomcat 6.0. Also i added storeconfig
listener in server.xml. Out of three categories in admin (server, Resources,
users), server is working in fine. Changes done in server category is
updating the server.xml. Others i.e. Resources and User Definition are not
working.

        If i try to add environment variable, its throwing error "
javax.management.ReflectionException: Cannot find method addEnvironment with
this signature". This method is present in NamingResourcesMBean.java. I also
added addEnvironment(String, String, String) in NamingResource.java then it
started giving error "java.lang.NullPointerException: name cannot be null".

       I think there is some problem with NamingContextListeners or some
configuration error. Can someone help me on this.

Regards,
Santosh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message