it now works? Who knows?
Samuel. On Aug 1, 2004, at 5:34 AM, Samuel V. Green III wrote:
With respect to " <user username="samuel" password="samuel" roles="tomcat,role1,manager,admin"/>
When I attempt a login at the Admin. Tool screen I'm entering UserName : samuel Password : samuel
I get the following errors: HTTP Status 400 - Invalid direct reference to form login page
And when examining localhost_log.2004-08-01.txt
I see these errors:
2004-08-01 04:20:52 StandardHost[localhost]: Error deploying application at context path null
java.lang.IllegalStateException: Context path /admin is already in use
2004-08-01 04:20:52 HostConfig[localhost] Error deploying configuration descriptor adminsample.xml
java.io.IOException: java.lang.IllegalStateException: Context path /admin is already in use
What do you mean by "properly configuring jsp support?" My jsp-examples page loads and works fine.
Thanks,
Samuel.
On Jul 31, 2004, at 6:57 PM, Ernesto Echeverr�a wrote:
What kind of messages are you getting instead of the login screen? Examined
the logs already? I think admin is a struts app so you need jsp support
properly configured. Have you checked the jsp-examples page?
Jos� Ernesto Echeverr�a [EMAIL PROTECTED] Tel. (503)8859011
-----Original Message-----
From: Samuel V. Green III [mailto:[EMAIL PROTECTED]
Sent: S�bado, 31 de Julio de 2004 07:49 p.m.
To: Tomcat Users List
Subject: Re: [tomcat] Re: Understanding tomcat web administration tool.
Thanks Ernesto.
I copied your code , restarted tomcat and still no luck with getting admin
tool to load.
Although Manager does work?
Samuel. On Jul 31, 2004, at 5:52 PM, Ernesto Echeverr�a wrote:
What about deleting the 2nd tomcat user definition? You can use roles="tomcat,admin,manager".
Take a look at my file:
<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <role rolename="admin"/> <user username="tomcat" password="tomcat" roles="tomcat,role1,manager,admin"/> <user username="role1" password="tomcat" roles="role1"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="ernestoe" password="ernestoe" roles="tomcat,role1,manager,admin"/> </tomcat-users>
Jos� Ernesto Echeverr�a [EMAIL PROTECTED] Tel. (503)8859011
-----Original Message----- From: Samuel V. Green III [mailto:[EMAIL PROTECTED] Sent: S�bado, 31 de Julio de 2004 06:41 p.m. To: Tomcat Users List Subject: [tomcat] Re: Understanding tomcat web administration tool.
Hi,
Out of the box, you don't need to edit admin.xml or manager.xml. You
just need to add a user with roles of admin and manager to the
tomcat-users.xml file and restart the server.
Yoav Shapira Millennium Research Informatics
I'm still having problems getting Admin Tool to work:
Here is my interpretation of editing tomcat-users.xml to get it to work.
<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <role rolename="admin"/> <user username="tomcat" password="tomcat" roles="admin,manager"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> </tomcat-users>
What am I doing incorrect?
Thanks,
Samuel.
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
