RE: newbie question urgent plz
Hi, thanks for your help markus, ashraf and sankar. I have deployed my CorpMIS context. I went through the docs and then slowly started fresh. one very strange problem i found was this, earlier i was writing my web.xml file like this servlet servlet-nameCreateCompanyMstr/servlet-name servlet-classcom.gtl.corpmis.admin.adminservlets.CreateCompanyMstr/servle t-class /servlet servlet-mapping servlet-nameCreateCompanyMstr/servlet-name url-pattern/CreateCompanyMstr/url-pattern /servlet-mapping servlet servlet-nameCreateRoleMstr/servlet-name servlet-classcom.gtl.corpmis.admin.adminservlets.CreateRoleMstr/servlet-c lass /servlet servlet-mapping servlet-nameCreateRoleMstr/servlet-name url-pattern/CreateRoleMstr/url-pattern /servlet-mapping due to which i was getting error, and u said to check manager/list which was giving CorpMIS notstarted : 0. but when i changed my web.xml file to servlet servlet-nameCreateCompanyMstr/servlet-name servlet-classcom.gtl.corpmis.admin.adminservlets.CreateCompanyMstr/servle t-class /servlet servlet servlet-nameCreateRoleMstr/servlet-name servlet-classcom.gtl.corpmis.admin.adminservlets.CreateRoleMstr/servlet-c lass /servlet servlet-mapping servlet-nameCreateCompanyMstr/servlet-name url-pattern/CreateCompanyMstr/url-pattern /servlet-mapping servlet-mapping servlet-nameCreateRoleMstr/servlet-name url-pattern/CreateRoleMstr/url-pattern /servlet-mapping it worked. Could anybody tell me the reason for it. Since it used to work with the earlier structure of web.xml in tomcat 3.2.1. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 6:08 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Check the documentation! This is not an error, since you havn't supplied the manager application with any command. Try /list after manager... Please look at the documenation before asking questions. You've got all you need @ http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager- howto.html. Please mail back if you still having problems. Markus On tisdag, juni 11, 2002, at 02:48 , Vikramjit Singh wrote: ok changed the role to manager, now i didnt get that error, but this line FAIL - Unknown command -Original Message- From: Arshad Mahmood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 5:47 AM To: Tomcat Users List Subject: Re: newbie question urgent plz The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi
RE: newbie question urgent plz
Howdy, Wow, this question really comes up a lot ;) Tomcat 4.x is an implementation of the servlet specification, v2.3. That spec says all servlet elements must come before all servlet-mapping elements. Tomcat 3.x, which implements servlet spec v2.2, does not have the same requirement. See the servlet spec for a detailed explanation of the DTD for web.xml. Yoav Shapira Millennium ChemInformatics -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 3:02 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz Hi, thanks for your help markus, ashraf and sankar. I have deployed my CorpMIS context. I went through the docs and then slowly started fresh. one very strange problem i found was this, earlier i was writing my web.xml file like this servlet servlet-nameCreateCompanyMstr/servlet-name servlet- classcom.gtl.corpmis.admin.adminservlets.CreateCompanyMstr/servle t-class /servlet servlet-mapping servlet-nameCreateCompanyMstr/servlet-name url-pattern/CreateCompanyMstr/url-pattern /servlet-mapping servlet servlet-nameCreateRoleMstr/servlet-name servlet-classcom.gtl.corpmis.admin.adminservlets.CreateRoleMstr/servlet- c lass /servlet servlet-mapping servlet-nameCreateRoleMstr/servlet-name url-pattern/CreateRoleMstr/url-pattern /servlet-mapping due to which i was getting error, and u said to check manager/list which was giving CorpMIS notstarted : 0. but when i changed my web.xml file to servlet servlet-nameCreateCompanyMstr/servlet-name servlet- classcom.gtl.corpmis.admin.adminservlets.CreateCompanyMstr/servle t-class /servlet servlet servlet-nameCreateRoleMstr/servlet-name servlet-classcom.gtl.corpmis.admin.adminservlets.CreateRoleMstr/servlet- c lass /servlet servlet-mapping servlet-nameCreateCompanyMstr/servlet-name url-pattern/CreateCompanyMstr/url-pattern /servlet-mapping servlet-mapping servlet-nameCreateRoleMstr/servlet-name url-pattern/CreateRoleMstr/url-pattern /servlet-mapping it worked. Could anybody tell me the reason for it. Since it used to work with the earlier structure of web.xml in tomcat 3.2.1. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 6:08 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Check the documentation! This is not an error, since you havn't supplied the manager application with any command. Try /list after manager... Please look at the documenation before asking questions. You've got all you need @ http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager- howto.html. Please mail back if you still having problems. Markus On tisdag, juni 11, 2002, at 02:48 , Vikramjit Singh wrote: ok changed the role to manager, now i didnt get that error, but this line FAIL - Unknown command -Original Message- From: Arshad Mahmood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 5:47 AM To: Tomcat Users List Subject: Re: newbie question urgent plz The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh
newbie question urgent plz
hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I have added the following lines in server.xml Context path=/CorpMIS docBase=CorpMIS crossContext=true debug=0 reloadable=true trusted=false / but when i type the url in the address bar of the browser its giving me description The requested resource (/CorpMIS) is not available. earlier i was working on tomcat 3.2.1 and its works perfectly fine without any problem. Could somebody throw some light. Thanking in advance. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: newbie question urgent plz
What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: newbie question urgent plz
yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie question urgent plz
Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: newbie question urgent plz
yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie question urgent plz
The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: newbie question urgent plz
ok changed the role to manager, now i didnt get that error, but this line FAIL - Unknown command -Original Message- From: Arshad Mahmood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 5:47 AM To: Tomcat Users List Subject: Re: newbie question urgent plz The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: newbie question urgent plz
changing the lowercase does not make a difference. Since i am typing the correct case-sensitive URL. The problem is that if i am putting some other context also, still it does not read it. is it a but in tomcat 4.0.3. in tomcat 3.2.1 you didnt have to go through all these processes. the context was just picked up by the server, and there your application is running. neither is some documentation provided, regarding the manager settings. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Sankar Kondur [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 5:32 AM To: Vikramjit Singh Subject: RE: newbie question urgent plz can u try making the directory name lowercase. also make it lowercase in the server.xml --- Vikramjit Singh [EMAIL PROTECTED] wrote: yeah that was for ur understanding. i just type http://localhost/CorpMIS Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Sankar Kondur [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:54 AM To: Vikramjit Singh Subject: RE: newbie question urgent plz your server.xml says port 80 but ur url says port 8080? Shankar --- Vikramjit Singh [EMAIL PROTECTED] wrote: yeah i am able to access the examples context, and even run the jsps and servlet examples. the CorpMIS is in webapps as in 3.2.1. the url is http://localhost:8080/CorpMIS i am checking the case. the browser is only giving 404. yeah my folder does contain index.html. yeah removed crossContext and trusted. still not working. have u installed tomcat 4.0.3 Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Sankar Kondur [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:36 AM To: Vikramjit Singh Subject: RE: newbie question urgent plz The server.xml looks fine. Here are a few things I can think off. They might be obvious but no harm in trying. 1. Are you able to access the /examples context 2. Do you have the CorpMIS directory under the webapps directory 3. Can you mention the URL you are trying? 4. Did you take care of proper case - upper and lower? 5. Did you check the log files for any obvious error. 6. If you are not mentionign the file name then does the directory have index.jsp 7. Can you please remove 'crossContext' and 'trusted' and try. Shankar = - NC Studio - A better alternative to desktop IDEs http://www.ncstudio.com - __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com = - NC Studio - A better alternative to desktop IDEs http://www.ncstudio.com - __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com = - NC Studio - A better alternative to desktop IDEs http://www.ncstudio.com - __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie question urgent plz
Checkout the documentation for the manager application. You need to specify a command on the url (e.g. list), there is no GUI access (i.e. index page with any options/commands). Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:48 PM Subject: RE: newbie question urgent plz ok changed the role to manager, now i didnt get that error, but this line FAIL - Unknown command -Original Message- From: Arshad Mahmood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 5:47 AM To: Tomcat Users List Subject: Re: newbie question urgent plz The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie question urgent plz
Check the documentation! This is not an error, since you havn't supplied the manager application with any command. Try /list after manager... Please look at the documenation before asking questions. You've got all you need @ http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager- howto.html. Please mail back if you still having problems. Markus On tisdag, juni 11, 2002, at 02:48 , Vikramjit Singh wrote: ok changed the role to manager, now i didnt get that error, but this line FAIL - Unknown command -Original Message- From: Arshad Mahmood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 5:47 AM To: Tomcat Users List Subject: Re: newbie question urgent plz The role needs to be manager not tomcat to use the manager application. Regards, Arshad - Original Message - From: Vikramjit Singh [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 11, 2002 1:22 PM Subject: RE: newbie question urgent plz yeah i opened my tomcat-users and changed the existing file. now the file contains this !-- NOTE: By default, no user is included in the manager role required to operate the /manager web application. If you wish to use this app, you must define such a user - the username and password are arbitrary. -- tomcat-users user name=vikram password=vikram roles=tomcat / user name=role1 password=tomcat roles=role1 / user name=both password=tomcat roles=tomcat,role1 / /tomcat-users in the url i am writing http://localhost/manager username is vikram password is vikram It is giving type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am typing http://localhost:8080/manager its asking for password. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Chris Campbell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:35 AM To: 'Tomcat Users List' Subject: RE: newbie question urgent plz What files are in the context? Do you have a webapps/CorpMIS/WEB-INF/web.xml? Does CorpMIS show up in the manager list, and if so what is its status? -Original Message- From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 8:20 PM To: '[EMAIL PROTECTED]' Subject: newbie question urgent plz hi all, i am sending this mail again. plz somebody cud solve my problem. i have installed tomcat 4.0.3 and have been breaking my head since 15 days. I am trying to add a context CorpMIS, but its not getting added. I -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]