Re: The requested resource is not available

2014-08-16 Thread Mark Thomas
On 16/08/2014 09:52, Anjo Paster wrote:
 Hi
 I am new to tomcat. I installed tomcat 7.0.47 through eclipse installed
 on windows7.
 Set the installed tomcat7 as the target runtime. Also checked
 for the Apache tomcat libraries.
 But when clicked the 'Run on server' it is error.
 It says '*The requested resource is not available*'.
 The eclipse project explorer or console  didn't show any error. I am trying
 to
 run a sample jsf application. Need help to run the application.
 
 
 Thanks in advance

http://www.catb.org/esr/faqs/smart-questions.html

Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available. index.html

2010-06-15 Thread Pid
On 15/06/2010 17:58, faciolo wrote:
 
 hi all, i'm a newbie with tomcat.
 i've istalled tomcat on my windows xp of my work station and all is going
 right.
 i've tried to install it also at home, on a windows 7.
 when i try to access my project home at localhost:8080/myApp/ or
 localhost:8080/myApp/index.html i get this message:
 
 HTTP Status 404 -  type Status report  message  description The requested
 resource () is not available. Apache Tomcat/6.0.26
 
 but if i ask for localhost:8080/ the home page of tomcat is correctly found.
 
 can someone help me?
 
 why i can't get my index.html? this is not a jsp...why i can't access a
 static page?

Where have you deployed myApp?

What configuration have you changed?

What is in your app's web.xml file?


p



signature.asc
Description: OpenPGP digital signature


Re: The requested resource () is not available. index.html

2010-06-15 Thread Hassan Schroeder
On Tue, Jun 15, 2010 at 9:58 AM, faciolo lucor...@gmail.com wrote:

 when i try to access my project home at localhost:8080/myApp/ or
 localhost:8080/myApp/index.html i get this message:

 HTTP Status 404 -  type Status report  message  description The requested
 resource () is not available. Apache Tomcat/6.0.26

 but if i ask for localhost:8080/ the home page of tomcat is correctly found.

 why i can't get my index.html? this is not a jsp...why i can't access a
 static page?

Because your app isn't configured properly? :-)

Have you looked at your logs?

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available. index.html

2010-06-15 Thread faciolo



 
 Where have you deployed myApp?
 
 What configuration have you changed?
 
 What is in your app's web.xml file?
 
 
 p
 
 


my application is named MediciRiuniti
it is in C:\Tomcat 6.0\webapps\ROOT\
if i search for localhosot:8081/ i can get tomcat home


i've changed only the port of tomcat, i set it on 8081


in my C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti\WEB-INF\web.xml is written
this:

?xml version=1.0 encoding=UTF-8 ?  
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4

display-nameMediciRiuniti Application/display-name
descriptionApplicazione/description

servlet
servlet-nameEventController/servlet-name
servlet-classmediciRiuniti.web.EventController/servlet-class
/servlet

servlet-mapping
servlet-nameEventController/servlet-name
url-pattern/controller/url-pattern
/servlet-mapping

welcome-file-list
welcome-fileindex.html/welcome-file 
/welcome-file-list

/web-app


if i build my project i can see the compiled class in WEB-INF/src/classes

thank you

--

faciolo

-- 
View this message in context: 
http://old.nabble.com/%22The-requested-resource-%28%29-is-not-available.%22-index.html-tp28893830p28894187.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available. index.html

2010-06-15 Thread faciolo



Hassan Schroeder-2 wrote:
 
 
 Because your app isn't configured properly? :-)
 
 Have you looked at your logs?
 
 -- 
 Hassan Schroeder  hassan.schroe...@gmail.com
 twitter: @hassan
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

so if my app isn't properly configured i can't get also static pages?


in my catalina.log i can read these lines:

AVVERTENZA: A docBase C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti inside the
host appBase has been specified, and will be ignored
...
GRAVE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Tomcat
6.0\webapps\MediciRiuniti does not exist or is not a readable directory
...
GRAVE: Error in resourceStart()
...
GRAVE: Error getConfigured
...
GRAVE: Context [/MediciRiuniti] startup failed due to previous errors
...
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/MediciRiuniti]
has not been started
...

that means that my apps doesn't start because tomcat can't access the
directory?
but i've give all privileges to everybody on my appBase...
and what does it means
A docBase C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti inside the host appBase
has been specified, and will be ignored?

thanks

--

faciolo
-- 
View this message in context: 
http://old.nabble.com/%22The-requested-resource-%28%29-is-not-available.%22-index.html-tp28893830p28894236.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available. index.html

2010-06-15 Thread Pid
On 15/06/2010 18:28, faciolo wrote:
 
 
 

 Where have you deployed myApp?

 What configuration have you changed?

 What is in your app's web.xml file?


 p


 
 
 my application is named MediciRiuniti
 it is in C:\Tomcat 6.0\webapps\ROOT\
 if i search for localhosot:8081/ i can get tomcat home

Don't put it inside ROOT.

Put it in webapps.


p

 i've changed only the port of tomcat, i set it on 8081
 
 
 in my C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti\WEB-INF\web.xml is written
 this:
 
 ?xml version=1.0 encoding=UTF-8 ?  
 web-app xmlns=http://java.sun.com/xml/ns/j2ee;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
 version=2.4
 
 display-nameMediciRiuniti Application/display-name
 descriptionApplicazione/description
 
 servlet
 servlet-nameEventController/servlet-name
 servlet-classmediciRiuniti.web.EventController/servlet-class
 /servlet
 
 servlet-mapping
 servlet-nameEventController/servlet-name
 url-pattern/controller/url-pattern
 /servlet-mapping
 
 welcome-file-list
 welcome-fileindex.html/welcome-file 
 /welcome-file-list
 
 /web-app
 
 
 if i build my project i can see the compiled class in WEB-INF/src/classes
 
 thank you
 
 --
 
 faciolo
 




signature.asc
Description: OpenPGP digital signature


Re: The requested resource () is not available. index.html

2010-06-15 Thread Hassan Schroeder
On Tue, Jun 15, 2010 at 10:33 AM, faciolo lucor...@gmail.com wrote:

 so if my app isn't properly configured i can't get also static pages?

Yep :-)

 in my catalina.log i can read these lines:

All of which should be strong clues there's something seriously wrong...

 GRAVE: Context [/MediciRiuniti] startup failed due to previous errors

and especially that one.

 and what does it means
 A docBase C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti inside the host appBase
 has been specified, and will be ignored?

You can't nest contexts. Read the documentation on appBase and
docBase. Or do as Pid says :-)

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
twitter: @hassan

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available. index.html

2010-06-15 Thread faciolo



Pid * wrote:
 
 On 15/06/2010 18:28, faciolo wrote:
 
 
 

 Where have you deployed myApp?

 What configuration have you changed?

 What is in your app's web.xml file?


 p


 
 
 my application is named MediciRiuniti
 it is in C:\Tomcat 6.0\webapps\ROOT\
 if i search for localhosot:8081/ i can get tomcat home
 
 Don't put it inside ROOT.
 
 Put it in webapps.
 
 
 p
 
 

owned! XD
thank you very much, i've wasted a lot of time with this thing (stupid, i
know, sorry)

--

faciolo
-- 
View this message in context: 
http://old.nabble.com/%22The-requested-resource-%28%29-is-not-available.%22-index.html-tp28893830p28894398.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available. index.html

2010-06-15 Thread faciolo



Hassan Schroeder-2 wrote:
 
 On Tue, Jun 15, 2010 at 10:33 AM, faciolo lucor...@gmail.com wrote:
 
 so if my app isn't properly configured i can't get also static pages?
 
 Yep :-)
 
 in my catalina.log i can read these lines:
 
 All of which should be strong clues there's something seriously wrong...
 
 GRAVE: Context [/MediciRiuniti] startup failed due to previous errors
 
 and especially that one.
 
 and what does it means
 A docBase C:\Tomcat 6.0\webapps\ROOT\MediciRiuniti inside the host
 appBase
 has been specified, and will be ignored?
 
 You can't nest contexts. Read the documentation on appBase and
 docBase. Or do as Pid says :-)
 
 -- 
 Hassan Schroeder  hassan.schroe...@gmail.com
 twitter: @hassan
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

ahahah sorry for my spam! XD
thanks to you also Hassan Schroeder :)

--

faciolo

-- 
View this message in context: 
http://old.nabble.com/%22The-requested-resource-%28%29-is-not-available.%22-index.html-tp28893830p28894410.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource ... is not available

2010-03-24 Thread Mercy

You could access http://localhost:8080/myapp/myfile.html,

or check the path is right or not in $CATALINA_HOME/conf/context.xml.

Mercy

mehar300 wrote:

hi
i installed apache-tomcat-6.0.20  and set path variable accordingly then i
access  http://localhost:8080/ and it shows default apache tomcat page.  
but  as if try to access http://localhost:8080/myfile.html  then it display
error 


type Status report

message /myfile.html

description The requested resource (/myfile.html) is not available.
Apache Tomcat/6.0.20

can anyone suggest what step should i take to resolve problem
thanks


Note: this problem occurs from last few days.   Before that, i was able
to access all files and directory (myapp) properly.  
  



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: The requested resource ... is not available

2010-03-24 Thread Caldarale, Charles R
 From: Mercy [mailto:techme...@gmail.com]
 Subject: Re: The requested resource ... is not available
 
 or check the path is right or not in $CATALINA_HOME/conf/context.xml.

The above file must never, never have a path attribute in it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: The requested resource ... is not available

2010-03-24 Thread Caldarale, Charles R
 From: mehar300 [mailto:mehar...@yahoo.com]
 Subject: The requested resource ... is not available
 
 i installed apache-tomcat-6.0.20  and set path variable accordingly

What do you mean by path variable?  If you're referring to the system PATH 
environment variable, it need not be set to anything in particular to run 
Tomcat.  If you're referring to the CLASSPATH environment variable, you should 
never, never be using that, especially for Tomcat.

 then i access http://localhost:8080/ and it shows default 
 apache tomcat page.

A good sign.

 if try to access http://localhost:8080/myfile.html  then it
 display error

Why do you think that should do anything useful?

 can anyone suggest what step should i take to resolve problem

Post some useful information, such as where myfile.html is located, what 
webapps have you deployed, where are the webapps deployed, and the contents of 
conf/server.xml (if you have modified it in any way).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available?

2009-03-12 Thread David Smith
Pat Riehecky wrote:
 I have been trying to install a tomcat app onto a fresh Ubuntu box (8.04
 tomcat 5.5), but when attempting to view the app's pages I get

 HTTP Status 404 - 

 

 type Status report

 message 

 description The requested resource () is not available.


 
 Apache Tomcat/5.5


 I know this is well before my app starts up, but I haven't a clue what
 to do about it.  When I google the error I get dozens of suggestions,
 each of which says not to do the other unless I know what I am doing.

 I don't.

 What doc should I read/what should I do?  What does this mean?
 Pat

   
...I know this is well before my app starts up...

Ok... I'm confused.  If it's not running yet, why should anything but a
404 show up?

In any problem, the first place to look is the logs.  Second is the
tomcat docs to verify things are setup correctly.  Actually in your
case, if this tomcat came with Ubuntu, maybe the second place to look is
the Ubuntu docs for this package.

After that, we need more information like where things were installed
and what was attempted in what order, ...etc., ...  We can't see over
your shoulder. :-)

--David


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available?

2009-03-12 Thread Pat Riehecky
On Thu, 2009-03-12 at 11:17 -0400, David Smith wrote:
 Pat Riehecky wrote:
  I have been trying to install a tomcat app onto a fresh Ubuntu box (8.04
  tomcat 5.5), but when attempting to view the app's pages I get
 
  HTTP Status 404 - 
 
  
 
  type Status report
 
  message 
 
  description The requested resource () is not available.
 
 
  
  Apache Tomcat/5.5
 
 
  I know this is well before my app starts up, but I haven't a clue what
  to do about it.  When I google the error I get dozens of suggestions,
  each of which says not to do the other unless I know what I am doing.
 
  I don't.
 
  What doc should I read/what should I do?  What does this mean?
  Pat
 

 ...I know this is well before my app starts up...
 
 Ok... I'm confused.  If it's not running yet, why should anything but a
 404 show up?
It is my understanding that tomcat runs the application, since tomcat
doesn't seem to be happy with my configuration.  I would therefore
conclude that the app isn't running.  If that isn't the way tomcat works
I again offer to ready any docs you suggest.
 
 In any problem, the first place to look is the logs.  Second is the
 tomcat docs to verify things are setup correctly.  Actually in your
 case, if this tomcat came with Ubuntu, maybe the second place to look is
 the Ubuntu docs for this package.
Perhaps my original post was a bit vague, I have read the ubuntu docs,
the docs that came with this app, and several pages of google results on
googleing the error.

Here is the output from catalina, since I am not a tomcat person, I
haven't a clue if this is one of the logs to which you refer.  If you
can point me towards a resource, I will read it, but I have about 4
hours of java under me right now so specifics are rather key to the
operation.

Mar 12, 2009 2:20:28 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the
java.library.path: 
/usr/openwin/lib:/usr/lib:/opt/SUNWspro/lib:/usr/local/lib:/opt/SUNWspro/lib:/lib:/usr/java/packages/lib/i386:/lib:/usr/lib
Mar 12, 2009 2:20:28 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Mar 12, 2009 2:20:28 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Mar 12, 2009 2:20:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 592 ms
Mar 12, 2009 2:20:29 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 12, 2009 2:20:29 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
Mar 12, 2009 2:20:29 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 12, 2009 2:20:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 12, 2009 2:20:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/idp] startup failed due to previous errors
Mar 12, 2009 2:20:30 PM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8180
Mar 12, 2009 2:20:30 PM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8443
Mar 12, 2009 2:20:30 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /127.0.0.1:8009
Mar 12, 2009 2:20:30 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/24  config=null
Mar 12, 2009 2:20:30 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 12, 2009 2:20:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1392 ms



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: The requested resource () is not available?

2009-03-12 Thread Caldarale, Charles R
 From: Pat Riehecky [mailto:prieh...@iwu.edu] 
 Subject: Re: The requested resource () is not available?
 
 Here is the output from catalina

It's a start, but there's more.

 Mar 12, 2009 2:20:30 PM org.apache.catalina.core.StandardContext start
 SEVERE: Error listenerStart
 Mar 12, 2009 2:20:30 PM org.apache.catalina.core.StandardContext start
 SEVERE: Context [/idp] startup failed due to previous errors

The above is the critical information from the log file you found.  There will 
be more detailed info in other log files that Tomcat produces.  For a real 
Tomcat installation (one downloaded from tomcat.apache.org), the log files are 
in Tomcat's logs directory; if you're using Ubuntu's repackaged version of 
Tomcat, there's no telling where they are.  Finding the additional info would 
be very useful.

Since the error refers to listenerStart within the ipd webapp, it looks like 
some form of listener is misconfigured (or the targeted class file is missing) 
in the app's WEB-INF/web.xml file.  You may need the author of the webapp to 
help you out. 

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource () is not available?

2009-03-12 Thread David Smith
Caldarale, Charles R wrote:
 From: Pat Riehecky [mailto:prieh...@iwu.edu] 
 Subject: Re: The requested resource () is not available?

 Here is the output from catalina
 

 It's a start, but there's more.

   
 Mar 12, 2009 2:20:30 PM org.apache.catalina.core.StandardContext start
 SEVERE: Error listenerStart
 Mar 12, 2009 2:20:30 PM org.apache.catalina.core.StandardContext start
 SEVERE: Context [/idp] startup failed due to previous errors
 

 The above is the critical information from the log file you found.  There 
 will be more detailed info in other log files that Tomcat produces.  For a 
 real Tomcat installation (one downloaded from tomcat.apache.org), the log 
 files are in Tomcat's logs directory; if you're using Ubuntu's repackaged 
 version of Tomcat, there's no telling where they are.  Finding the additional 
 info would be very useful.

 Since the error refers to listenerStart within the ipd webapp, it looks like 
 some form of listener is misconfigured (or the targeted class file is 
 missing) in the app's WEB-INF/web.xml file.  You may need the author of the 
 webapp to help you out. 

  - Chuck


   
If you can't find any further information in any of tomcat's other
logging files, they may also be stored with the webapp depending on how
the logging environment for your webapp is setup.  I know for instance
Magnolia CMS has it's own logs directory.

--David

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: The requested resource (/) is not available.

2007-03-13 Thread David Smith
It would except tomcat just serves up folders with out web.xml files as
static resources.  A WARN might be in order, but that's about it.  In
addition, tomcat does not chase down sym links.  Best practice is to be
sure all required resources are contained within the webapp.

--David

Aditya Prasad wrote:
 I guess all I'm looking for is something like could not find a
 web.xml for resource or somesuch.

 On 3/12/07, Martin Gainty [EMAIL PROTECTED] wrote:
 Prasad-

 If you can get Tomcat to resolve any of the hundreds of OS specific
 binary or construct (such as symlink)..
 you can always exit the VM to the OS thru Runtime.exec() ..but then
 again that would spawn a process

 Anyone else?
 M-
 ---

 This e-mail message (including attachments, if any) is intended for
 the use of the individual or entity to which it is addressed and may
 contain information that is privileged, proprietary , confidential
 and exempt from disclosure. If you are not the intended recipient,
 you are notified that any dissemination, distribution or copying of
 this communication is strictly prohibited.
 ---

 Le présent message électronique (y compris les pièces qui y sont
 annexées, le cas échéant) s'adresse au destinataire indiqué et peut
 contenir des renseignements de caractère privé ou confidentiel. Si
 vous n'êtes pas le destinataire de ce document, nous vous signalons
 qu'il est strictement interdit de le diffuser, de le distribuer ou de
 le reproduire.
 - Original Message -
 From: Aditya Prasad [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Monday, March 12, 2007 8:15 PM
 Subject: Re: The requested resource (/) is not available.


  Thanks for the suggestion.
 
  It turns out that the problem was that my web.xml was a symlink.  I
  had to figure this out through trial and error.  Is there no better
  way to debug this sort of thing?
 
  Cheers,
  Aditya
 
  On 3/12/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
  I had a similar problem too, I did a few things that got it resolved.
 
  One thing I remember is, setting the directory listings to true
 in server.xml , at that time if there's no index page in the directory
  it listed the directory listings instead of giving a 404 error.
 
  Other possible causes:
 
  -Check for conflicting ports - see if another app is using the
 same port as Tomcat. On my machine Oracle 10g HTML interface was
 using port 8080, so I changed
  Tomcat port to 9090.
 
  -Check CATALINA_HOME path
 
  -Rashmi
 
  - Original Message 
  From: Aditya Prasad [EMAIL PROTECTED]
  To: users@tomcat.apache.org
  Sent: Monday, March 12, 2007 5:35:39 PM
  Subject: The requested resource (/) is not available.
 
 
  I've set my JULI logging to FINE to figure out why I always get The
  requested resource (/) is not available.  Unfortunately, the log
  seems to indicate that the ROOT context was started up all right:
 
  Mar 12, 2007 2:32:56 PM org.apache.catalina.startup.HostConfig
 deployDirectory
  FINE: Deploying web application directory ROOT
  ...
  Mar 12, 2007 2:32:56 PM org.apache.catalina.core.StandardContext
 start
  FINE: Starting ROOT
 
  And there are no errors in the log.  Any suggestions on where to
 go to
  figure out why my webapp stopped working all of a sudden?  I don't
  recall making any changes that should have broken it.
 
  Thanks!
 
 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The requested resource (/) is not available.

2007-03-12 Thread Aditya Prasad

Thanks for the suggestion.

It turns out that the problem was that my web.xml was a symlink.  I
had to figure this out through trial and error.  Is there no better
way to debug this sort of thing?

Cheers,
Aditya

On 3/12/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:

I had a similar problem too, I did a few things that got it resolved.

One thing I remember is, setting the directory listings to true in server.xml 
, at that time if there's no index page in the directory
it listed the directory listings instead of giving a 404 error.

Other possible causes:

-Check for conflicting ports - see if another app is using the same port as 
Tomcat. On my machine Oracle 10g HTML interface was using port 8080, so I 
changed
Tomcat port to 9090.

-Check CATALINA_HOME path

-Rashmi

- Original Message 
From: Aditya Prasad [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Monday, March 12, 2007 5:35:39 PM
Subject: The requested resource (/) is not available.


I've set my JULI logging to FINE to figure out why I always get The
requested resource (/) is not available.  Unfortunately, the log
seems to indicate that the ROOT context was started up all right:

Mar 12, 2007 2:32:56 PM org.apache.catalina.startup.HostConfig deployDirectory
FINE: Deploying web application directory ROOT
...
Mar 12, 2007 2:32:56 PM org.apache.catalina.core.StandardContext start
FINE: Starting ROOT

And there are no errors in the log.  Any suggestions on where to go to
figure out why my webapp stopped working all of a sudden?  I don't
recall making any changes that should have broken it.

Thanks!




Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The requested resource (/) is not available.

2007-03-12 Thread Martin Gainty
Prasad-

If you can get Tomcat to resolve any of the hundreds of OS specific binary or 
construct (such as symlink)..
you can always exit the VM to the OS thru Runtime.exec() ..but then again that 
would spawn a process 

Anyone else?
M-
--- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message - 
From: Aditya Prasad [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 12, 2007 8:15 PM
Subject: Re: The requested resource (/) is not available.


 Thanks for the suggestion.
 
 It turns out that the problem was that my web.xml was a symlink.  I
 had to figure this out through trial and error.  Is there no better
 way to debug this sort of thing?
 
 Cheers,
 Aditya
 
 On 3/12/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
 I had a similar problem too, I did a few things that got it resolved.

 One thing I remember is, setting the directory listings to true in 
 server.xml , at that time if there's no index page in the directory
 it listed the directory listings instead of giving a 404 error.

 Other possible causes:

 -Check for conflicting ports - see if another app is using the same port as 
 Tomcat. On my machine Oracle 10g HTML interface was using port 8080, so I 
 changed
 Tomcat port to 9090.

 -Check CATALINA_HOME path

 -Rashmi

 - Original Message 
 From: Aditya Prasad [EMAIL PROTECTED]
 To: users@tomcat.apache.org
 Sent: Monday, March 12, 2007 5:35:39 PM
 Subject: The requested resource (/) is not available.


 I've set my JULI logging to FINE to figure out why I always get The
 requested resource (/) is not available.  Unfortunately, the log
 seems to indicate that the ROOT context was started up all right:

 Mar 12, 2007 2:32:56 PM org.apache.catalina.startup.HostConfig 
 deployDirectory
 FINE: Deploying web application directory ROOT
 ...
 Mar 12, 2007 2:32:56 PM org.apache.catalina.core.StandardContext start
 FINE: Starting ROOT

 And there are no errors in the log.  Any suggestions on where to go to
 figure out why my webapp stopped working all of a sudden?  I don't
 recall making any changes that should have broken it.

 Thanks!



 
 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: The requested resource (/) is not available.

2007-03-12 Thread Aditya Prasad

I guess all I'm looking for is something like could not find a
web.xml for resource or somesuch.

On 3/12/07, Martin Gainty [EMAIL PROTECTED] wrote:

Prasad-

If you can get Tomcat to resolve any of the hundreds of OS specific binary or 
construct (such as symlink)..
you can always exit the VM to the OS thru Runtime.exec() ..but then again that 
would spawn a process

Anyone else?
M-
---
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
---
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: Aditya Prasad [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, March 12, 2007 8:15 PM
Subject: Re: The requested resource (/) is not available.


 Thanks for the suggestion.

 It turns out that the problem was that my web.xml was a symlink.  I
 had to figure this out through trial and error.  Is there no better
 way to debug this sort of thing?

 Cheers,
 Aditya

 On 3/12/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
 I had a similar problem too, I did a few things that got it resolved.

 One thing I remember is, setting the directory listings to true in 
server.xml , at that time if there's no index page in the directory
 it listed the directory listings instead of giving a 404 error.

 Other possible causes:

 -Check for conflicting ports - see if another app is using the same port as 
Tomcat. On my machine Oracle 10g HTML interface was using port 8080, so I changed
 Tomcat port to 9090.

 -Check CATALINA_HOME path

 -Rashmi

 - Original Message 
 From: Aditya Prasad [EMAIL PROTECTED]
 To: users@tomcat.apache.org
 Sent: Monday, March 12, 2007 5:35:39 PM
 Subject: The requested resource (/) is not available.


 I've set my JULI logging to FINE to figure out why I always get The
 requested resource (/) is not available.  Unfortunately, the log
 seems to indicate that the ROOT context was started up all right:

 Mar 12, 2007 2:32:56 PM org.apache.catalina.startup.HostConfig 
deployDirectory
 FINE: Deploying web application directory ROOT
 ...
 Mar 12, 2007 2:32:56 PM org.apache.catalina.core.StandardContext start
 FINE: Starting ROOT

 And there are no errors in the log.  Any suggestions on where to go to
 figure out why my webapp stopped working all of a sudden?  I don't
 recall making any changes that should have broken it.

 Thanks!



 

 Don't pick lemons.
 See all the new 2007 cars at Yahoo! Autos.
 http://autos.yahoo.com/new_cars.html

 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: The requested resource is not available

2006-07-19 Thread Darren Hall
Thanks for the response Hassan.

 But if the above url-pattern is in a Context with path '/abc', then you're
 telling it to give everything that looks like 
 'http://localhost:8080/abc/abc'
 to your control servlet, which probably isn't what you want...  :-)

No, you are exactly right. This is *not* what I want. I want the servlet to
get everything from 'http://localhost:8080/abc'. Would you mind explaining
where I went wrong?

 The Context configuration would be helpful, though.

As for Context, I don't have any context information in my web.xml file (I
don't believe... at least I have no Context element present in the file).
What I posted before was nearly the entire web.xml. I can post the whole
file if you'd like.

Thanks,

Darren


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The requested resource is not available

2006-07-19 Thread Martin Gainty
WebApp/MappedClassName..

so if you are referencing WebApp 'Foo' 
and inside web.xml your servlet-mapping
has the entry
   servlet-name/servlet/Bar/servlet-name
the correct url would be
http://Server:PortName/Foo/servlet/Bar

Make sense??
Martin --
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



- Original Message - 
From: Darren Hall [EMAIL PROTECTED]
To: 'Tomcat Users List' users@tomcat.apache.org
Sent: Wednesday, July 19, 2006 1:57 PM
Subject: RE: The requested resource is not available


Here's something else I tried.
I thought that perhaps my mapping was set incorrectly such that when I tried
to go to http://localhost:8080/abc/abc the request was being picked up by my
servlet, but this does not seem to be the case.

When I attempt to go to the above URL I get the error The requested
resource (/abc/abc) is not available.

What am I doing wrong here? I remember being able to configure Tomcat before
so that a give URL pattern would map to a corresponding servlet, but for
some reason, I'm unable to get it to work now.

Any help would be greatly appreciated.

Thanks,

Darren


-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 19, 2006 9:03 AM
To: 'Tomcat Users List'
Cc: [EMAIL PROTECTED]
Subject: RE: The requested resource is not available

Thanks for the response Hassan.

 But if the above url-pattern is in a Context with path '/abc', then you're
 telling it to give everything that looks like 
 'http://localhost:8080/abc/abc'
 to your control servlet, which probably isn't what you want...  :-)

No, you are exactly right. This is *not* what I want. I want the servlet to
get everything from 'http://localhost:8080/abc'. Would you mind explaining
where I went wrong?

 The Context configuration would be helpful, though.

As for Context, I don't have any context information in my web.xml file (I
don't believe... at least I have no Context element present in the file).
What I posted before was nearly the entire web.xml. I can post the whole
file if you'd like.

Thanks,

Darren


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: The requested resource is not available

2006-07-19 Thread Hassan Schroeder

On 7/19/06, Darren Hall [EMAIL PROTECTED] wrote:


When I attempt to go to the above URL I get the error The requested
resource (/abc/abc) is not available.


I would simplify -- comment out your servlet in web.xml, put a proper
welcome file (e.g. index.jsp) in the context -- and  make sure that
there aren't other errors keeping your context from starting.

Then add back your servlet's url-mapping and watch your logs :-)

--
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]