tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Admin application in Tomcat 5.5 (dead?)
Date Thu, 01 Nov 2007 01:42:21 GMT
Even though this is the wrong question, I'll answer it anyway (below).

"Christopher Schultz" <chris@christopherschultz.net> wrote in message 
news:4728A4A9.3050909@christopherschultz.net...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All,
>
> For the first time ever, I have the need to use the Tomcat admin
> application: I have a project whose whole unit testing capability
> revolves around being able to deploy webapps for testing to a running
> Tomcat instance using the admin application.
>
> My understanding is that the admin app is basically dead.
>

For 5.5, it is likely that the admin app will continue to get basic 
maintainace.  But, yes, at the moment there isn't any one with an interest 
in putting a lot of work into it (the previous developer that worked on it 
is now working on GlassFish I believe).

> I downloaded the admin app from the TC 5.5 download page and it doesn't
> run in a TC instance with nothing else in it:
>

The admin download assumes that CATALINA_HOME == CATALINA_BASE.  As a 
result, it copies the admin.xml file to the wrong place.  The admin webapp 
needs this so that it can run "privileged", and see the Tomcat internal 
classes (including Registry).

> java.lang.NoClassDefFoundError: org/apache/commons/modeler/Registry
>        at java.lang.Class.getDeclaredMethods0(Native Method)
>        at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
>        at java.lang.Class.getMethod0(Class.java:2642)
>        at java.lang.Class.getMethod(Class.java:1579)
>        at
> org.apache.commons.beanutils.MethodUtils.getMatchingAccessibleMethod(MethodUtils.java:535)
>        at
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:209)
>        at
> org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:625)
>
> (etc.)
>
> The manager application comes with no libraries, so it's no surprise
> that it can't find some library.
>
> Is the admin app really dead? If so, why is it (still) available for
> download from the TC 5.5 page. If it /is/ dead, does any other product
> feature the capabilities required for using the Catalina Ant tasks such
> as install/deploy and undeploy/remove? I know that, say, Lambda Probe
> can deploy/undeploy, but do I have to re-write all the test targets in
> order to do that?
>
> Thanks,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHKKSp9CaO5/Lv0PARAk7EAJ9dQseEg3ORBHyv9DjeGg6W1kPvygCfe4Jb
> FI2jbNLVmQ/y5jt3MJNW4iI=
> =8s4A
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 




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


Mime
View raw message