tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nadia Kunkov" <nad...@parkerglobal.com>
Subject RE: Tomcat4.1.29 Requested resource not available
Date Thu, 18 Dec 2003 01:36:40 GMT
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:ruixian.bao@pp.inet.fi]
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:ruixian.bao@pp.inet.fi]
>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:ruixian.bao@pp.inet.fi]
>>Sent: Thursday, December 11, 2003 4:32 PM
>>To: Tomcat Users List
>>Cc: bpsouther@netzero.com
>>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:bpsouther@adelphia.net]
>>>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:bpsouther@adelphia.net]
>>>>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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message