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. > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > >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] > > > --------------------------------------------------------------------- > 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]