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]

Reply via email to