RE: Tomcat4.1.29 Requested resource not available
Yes, I did try it. Didn't work. Something isn't right in my configuration. I plan to install the next version, Tomcat 5.X now. Could you tell me how different is the configuration from the prvious version? What are the main steps? Can I find an RPM for that? I can't seem to find one... Is there documentation aside from Jakarta site? Is it a complex install? Which is a stable release in Tomcat 5? I do appreciate your help very much. Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 7:06 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: I did add the Context path=/test etc... /Context to the $Tomcat_Home/conf/server.xml It still could not find my test dir Should I reinstall it from RPM maybe... Should I create index.html or something of this sort in one of the directories? Have you tried load the test app by http://localhost:8080/manager/install?war=test I don't think you need to reinstall from RPM, nor need create index.html. If it works, you at least can see the content of the director of 'test'. Best Bao N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:32 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks Have you tried to add a Context.../Context block for 'test' application, just like 'example' has in the $TOMCAT-HOME/conf/server.conf file? You may try that taking the 'example' block as a template for modification. Best Bao -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. - 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]
Re: Tomcat4.1.29 Requested resource not available
Nadia Kunkov wrote: Yes, I did try it. Didn't work. Something isn't right in my configuration. What you have done? Did you first make a Context.../Contest for 'test' app based on the block for 'examples', and then run localhost:8080/manager/install?war=test What did you mean by 'Didn't work'? What is the error message? Have you tried to see what apps you have installed by running localhost:8080/manager/list I just tried and it works. What I did were: 1. Make a directory 'test' under your 'webapps' directory. 2. Make a block Context.../Context for 'test' by copying the 'examples' block and changing all the words 'examples' to 'test'. 3. Finally, run localhost:8080/manager/install?war=test That is all. Now I can access the 'test' app by localhost:8080/test, it is empty though. BTW, I have same verison of Tomcat as you are, i.e. 4.1.29. Please also login as a user which has the 'manager' role, in your case it is 'Tomcat', IIRC. Your browser will prompt you for the first time, anyway. I plan to install the next version, Tomcat 5.X now. Could you tell me how different is the configuration from the prvious version? What are the main steps? I don't know, because I have not tried Tomcat 5.x yet. But I think your Tomcat 4.1.29 basically works, since you can see the 'examples' app. Somehow you have problem with your new app 'test'. Need to quiet down and figure it out, otherwise, I will expect you will have the same deploying problem for your new app. Can I find an RPM for that? I can't seem to find one... Is there documentation aside from Jakarta site? Is it a complex install? Which is a stable release in Tomcat 5? I do appreciate your help very much. Thanks N.K. I don't know any of the above questions, as I said, I have not tried the new version, and not planned to do so:) Good luck. Bao -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 7:06 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: I did add the Context path=/test etc... /Context to the $Tomcat_Home/conf/server.xml It still could not find my test dir Should I reinstall it from RPM maybe... Should I create index.html or something of this sort in one of the directories? Have you tried load the test app by http://localhost:8080/manager/install?war=test I don't think you need to reinstall from RPM, nor need create index.html. If it works, you at least can see the content of the director of 'test'. Best Bao N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:32 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks Have you tried to add a Context.../Context block for 'test' application, just like 'example' has in the $TOMCAT-HOME/conf/server.conf file? You may try that taking the 'example' block as a template for modification. Best Bao -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben
RE: Tomcat4.1.29 Requested resource not available
Thank you. You have just encouraged me to try it again. I will check everything I've done and follow all your steps and see what'll happen. I will let you know if it works. Thanks for your continuous help. N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 7:09 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Yes, I did try it. Didn't work. Something isn't right in my configuration. What you have done? Did you first make a Context.../Contest for 'test' app based on the block for 'examples', and then run localhost:8080/manager/install?war=test What did you mean by 'Didn't work'? What is the error message? Have you tried to see what apps you have installed by running localhost:8080/manager/list I just tried and it works. What I did were: 1. Make a directory 'test' under your 'webapps' directory. 2. Make a block Context.../Context for 'test' by copying the 'examples' block and changing all the words 'examples' to 'test'. 3. Finally, run localhost:8080/manager/install?war=test That is all. Now I can access the 'test' app by localhost:8080/test, it is empty though. BTW, I have same verison of Tomcat as you are, i.e. 4.1.29. Please also login as a user which has the 'manager' role, in your case it is 'Tomcat', IIRC. Your browser will prompt you for the first time, anyway. I plan to install the next version, Tomcat 5.X now. Could you tell me how different is the configuration from the prvious version? What are the main steps? I don't know, because I have not tried Tomcat 5.x yet. But I think your Tomcat 4.1.29 basically works, since you can see the 'examples' app. Somehow you have problem with your new app 'test'. Need to quiet down and figure it out, otherwise, I will expect you will have the same deploying problem for your new app. Can I find an RPM for that? I can't seem to find one... Is there documentation aside from Jakarta site? Is it a complex install? Which is a stable release in Tomcat 5? I do appreciate your help very much. Thanks N.K. I don't know any of the above questions, as I said, I have not tried the new version, and not planned to do so:) Good luck. Bao -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 7:06 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: I did add the Context path=/test etc... /Context to the $Tomcat_Home/conf/server.xml It still could not find my test dir Should I reinstall it from RPM maybe... Should I create index.html or something of this sort in one of the directories? Have you tried load the test app by http://localhost:8080/manager/install?war=test I don't think you need to reinstall from RPM, nor need create index.html. If it works, you at least can see the content of the director of 'test'. Best Bao N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:32 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks Have you tried to add a Context.../Context block for 'test' application, just like 'example' has in the $TOMCAT-HOME/conf/server.conf file? You may try that taking the 'example' block as a template for modification. Best Bao -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship
RE: Tomcat4.1.29 Requested resource not available
I did add the Context path=/test etc... /Context to the $Tomcat_Home/conf/server.xml It still could not find my test dir Should I reinstall it from RPM maybe... Should I create index.html or something of this sort in one of the directories? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:32 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks Have you tried to add a Context.../Context block for 'test' application, just like 'example' has in the $TOMCAT-HOME/conf/server.conf file? You may try that taking the 'example' block as a template for modification. Best Bao -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over - 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]
Re: Tomcat4.1.29 Requested resource not available
Nadia Kunkov wrote: I did add the Context path=/test etc... /Context to the $Tomcat_Home/conf/server.xml It still could not find my test dir Should I reinstall it from RPM maybe... Should I create index.html or something of this sort in one of the directories? Have you tried load the test app by http://localhost:8080/manager/install?war=test I don't think you need to reinstall from RPM, nor need create index.html. If it works, you at least can see the content of the director of 'test'. Best Bao N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 4:32 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks Have you tried to add a Context.../Context block for 'test' application, just like 'example' has in the $TOMCAT-HOME/conf/server.conf file? You may try that taking the 'example' block as a template for modification. Best Bao -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat4.1.29 Requested resource not available
Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I can't figure it out. Permissions are fine. I appreciate your help. N.K. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat4.1.29 Requested resource not available
Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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]
RE: Tomcat4.1.29 Requested resource not available
Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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]
Re: Tomcat4.1.29 Requested resource not available
Hi! Nadia Kunkov wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Im not entirely sure, but this sounds like a permission problem outside tomcat. What platform are you running tomcat on? If it's a Un*x, check whether the user running tomcat has read access to the war file. Have you tried uploading the war from your browser instead? Phil -- I love deadlines, I love the whooshing noise they make as they go by - Douglas Adams - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat4.1.29 Requested resource not available
Nadia Kunkov wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) I think you need to first log in as 'tomcat', and then you have the role of 'manager' to install your new applicatio 'test. Best Bao When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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]
Re: Tomcat4.1.29 Requested resource not available
You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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]
RE: Tomcat4.1.29 Requested resource not available
Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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]
Re: Tomcat4.1.29 Requested resource not available
A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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]
RE: Tomcat4.1.29 Requested resource not available
Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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
Re: Tomcat4.1.29 Requested resource not available
Don't worry about the manager for now. Did you start tomcat as root? If so, it's probably not a permissions example. Did you check everything else on my list below? On Thursday 11 December 2003 02:05 pm, you wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K. - 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
RE: Tomcat4.1.29 Requested resource not available
Yes, my $Java_Home is fine, finds javac, and example servlets/jsp are running. Log is no help, nothing interesting in it. I'm logged in to my machine as root and start tomcat as root. I know that it sometimes changes the context and runs under Tomcat. In Tomcat4.0 it was set in conf/tomcat4.conf and there the user would be set to Tomcat even though it was started as root. But I don't know if there is anything like that in this version. Thanks for working through this thing with me -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 2:01 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Don't worry about the manager for now. Did you start tomcat as root? If so, it's probably not a permissions example. Did you check everything else on my list below? On Thursday 11 December 2003 02:05 pm, you wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over there. When I try to access http://localhost:8080/test/ I get a message: resource not available. I know I'm missing something really simple but I I think you need to install it first. For example by the following way: http://localhost:8080/manager/install?war=test Best Bao can't figure it out. Permissions are fine. I appreciate your help. N.K
Re: Tomcat4.1.29 Requested resource not available
Nadia Kunkov wrote: Well, there is nothing in the log, just starting/stopping Tomcat stuff... I can run any example in the /examples dir without a problem. I'm running as root, I'm logged in as root (I know it's bad, I have my reasons for it now) so I should have permissions to my test dir. I did login to manager as tomcat, could that be a problem? How do I log out? Should I add root to tomcat_users.xml and make it a manager? Thanks Have you tried to add a Context.../Context block for 'test' application, just like 'example' has in the $TOMCAT-HOME/conf/server.conf file? You may try that taking the 'example' block as a template for modification. Best Bao -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38 PM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available A few things to check. 1.) Take a look at the Tomcat logfiles in TOMCAT_HOME/logs Always start there. 2.) Make sure Tomcat can find the javac compiler. Do you have a full j2sdk installed or just a JRE? Tomcat will run with a JRE but won't be able to compile your JSPs without access to javac. If not, go to http://java.sun.com and get a full j2sdk. Is your JAVA_HOME evironment variable set? Type: echo $JAVA_HOME at the shell to verify. It should point to the root directory of your j2sdk. Example: /usr/local/j2sdk1.4.2 Is your JAVA_HOME evironment variable PROPERLY set? Type: $JAVA_HOME/bin/javac at the shell. If you get a Command not found message, it's not. Another way to make sure that Tomcat can see your javac compiler is to run (not just look at, but run) the JSP examples that ship with Tomcat. 3.) Check the permissions of the directories and files that you've created and make sure that that whatever user that is running Tomcat has permission to access those files. Let us know what you find. -Ben On Thursday 11 December 2003 12:29 pm, you wrote: Did that. Same message: The requested rsource not available. Something else is wrong... Thanks. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 11:29 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available You don't need to run the install and you don't need a web.xml file. Create a directory under webapps (test) and create a WEB-INF directory in it. Put a JSP in the test directory (test.jsp). The following will do: %=Hello World% Restart Tomcat. Point to http://localhost:8080/test/test.jsp with your browser. On Thursday 11 December 2003 11:26 am, you wrote: Thanks. I did http://localhost:8080/manager/install?war=test and got the error: Access to the specified resource has been denied/forbidden. What does that mean? In $Tomcat_Home/conf/tomcat_users.xml I have this: user name = Tomcat password = Tomcat roles = tomcat,manager/ (I'm not logged in to the machine as Tomcat but I thin it has nothing to do with it, right?) When I try to to http://localhost:8080/manager/list I get the same error... Can you give me any idea on what is going on? Thanks N.K. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat4.1.29 Requested resource not available Nadia Kunkov wrote: Hi, I've just installed Tomcat4.1.29 and it's my first time configuring it from the scratch. I'm able to go to http://localhost:8080/examples or http://localhost:8080/tomcat-docs/index.html. But I have also created a new directory under $Tomcat_home/webapps called test. Under that I created WEB-INF and copied one of my old web.xml files over - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]