Hi, I did all you suggested, but something must be wrong. I use tomcat 4.1.29 and before adding users to the tomcat-users.xml file I got a login screen for both admin and manager. When I entered the username below and restarted tomcat I don't get the login screen, but simply the message that requested resource /manage/html is not available.
I added the Context tag (modified the path) and restarted tomcat, but the same result. Any idea what could be wrong? Thanks. Bye, Helma > -----Original Message----- > From: Marcin Okraszewski [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 17 December 2003 23:58 > To: [EMAIL PROTECTED] > Subject: Re: Custom jars, where to put them? > > > You should call fallowing address: > > http://<your-server>/manager/html > > and there is a HTML interface to manage your webapps. > > If it doesn't work, you need to add fallowing line: > <Context path="/manager" debug="0" privileged="true" > docBase="/opt/jakarta-tomcat-5.0.16/server/webapps/manager"/> > in <Host> tag in /opt/jakarta-tomcat-5.0.16/conf/server.xml > > As a second issue, you will have to login to manager. You > need to have a > user in role "manager". You define it at > /opt/jakarta-tomcat-5.0.16/conf/tomcat-users.xml ; For > instance it may > look like this: > <user username="tomcat" password="tomcat" > roles="tomcat,manager,admin"/> > > Regards, > Marcin Okraszewski > > > > How do I reload a webapp? I haven't found that yet. > > > > Bye, Helma > > > > > >>-----Original Message----- > >>From: Marcin Okraszewski [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, 17 December 2003 23:07 > >>To: [EMAIL PROTECTED] > >>Subject: Re: Custom jars, where to put them? > >> > >> > >>Hi, > >>I'm afraid that reloading whole Tomcat or at least a webapp > >>(when the > >>jar is in WEB-INF/lib) is the only way to make server notice > >>changes in > >>classes or jars. But I might be wrong. > >> > >>Regards, > >>Marcin Okraszewski > >> > >> > >>>Hello, > >>> > >>>I'm trying to build a Java class I can use as a wrapper to > >> > >>be used in an XSP > >> > >>>page. I put it in a jar, but what is the correct place to > >> > >>put the jar? If I > >> > >>>put it in tomcat/shared/lib I have to restart tomcat after > >> > >>each change in > >> > >>>the jar. > >>> > >>>Bye, Helma > >>> > >>> > >> > >>------------------------------------------------------------ > --------- > >> > >>>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]
