Do you have the real class inside %YOUR_WEBAPP%/WEB-INF/classes or lib ?
-----Original Message-----
From: pinky88 [mailto:fordeka@tcd.ie]
Sent: Monday, July 16, 2007 4:11 PM
To: users@tomcat.apache.org
Subject: Re: How to deploy a web app on tomcat.. help needed plz.. :)
yup i have it defined in a web.xml in the WEB-INF folder.. my web.xml is
as
follows:
<?xml version="1.0" encoding="ISO-8859-1"?> <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">
<servlet>
<servlet-name>login</servlet-name>
<servlet-class>com.cellusys.test.LoginApp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>login</servlet-name>
<url-pattern>/login</url-pattern>
</servlet-mapping>
</web-app>
Perhaps I've done something wrong with this, I copied from the web
application that my cousin deployed for me, and changed the servlet name
and pattern..?
Thanks,
Pinky
David Kerber wrote:
>
> Do you have the LoginApp servlet defined in web.xml or another
> equivalent place?
>
>
> pinky88 wrote:
>> HTTP Status 404 - /LoginApp
>>
>> type Status report
>>
>> message /LoginApp
>>
>> description The requested resource (/LoginApp) is not available.
>> Apache Tomcat/5.5.23
>>
>>
>>
>> Asensio, Rodrigo wrote:
>>
>>> Pinki, please post the entire tomcat log here.
>>>
>>> -----Original Message-----
>>> From: pinky88 [mailto:fordeka@tcd.ie]
>>> Sent: Monday, July 16, 2007 3:39 PM
>>> To: users@tomcat.apache.org
>>> Subject: How to deploy a web app on tomcat.. help needed plz.. :)
>>>
>>>
>>> Hi,
>>>
>>> I'm trying to deploy a web application on tomcat 5.5.23 but I'm not
>>> exactly sure how to do so (beginner).
>>>
>>> I've copied the war file and archive into the webapp directory but
>>> i'm getting a message saying the requested resource is not
available.
>>>
>>> I previously had another web app deployed but with the help of my
>>> cousin so i'm not entirely sure what he did, this was still running
>>> fine with tomcat until I put my new war file into webapp, now I am
>>> getting the same message ass above for this application too.
>>>
>>> Does tomcat only allow one web application war file into the webapp
>>> directory at a time maybe???
>>>
>>> Thanks in advance for replies,
>>>
>>> Pinky
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-deploy-a-web-app-on-tomcat..-help-neede
>>> d-pl
>>> z..-%3A%29-tf4090702.html#a11629510
>>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------
>>> - To start a new topic, e-mail: users@tomcat.apache.org To
>>> unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>> This message (including any attachments) contains confidential
>>> and/or proprietary information intended only for the addressee.
>>> Any unauthorized disclosure, copying, distribution or reliance on
>>> the contents of this information is strictly prohibited and may
>>> constitute a violation of law. If you are not the intended
>>> recipient, please notify the sender immediately by responding to
>>> this e-mail, and delete the message from your system. If you have
>>> any questions about this e-mail please notify the sender
>>> immediately.
>>>
>>> --------------------------------------------------------------------
>>> - To start a new topic, e-mail: users@tomcat.apache.org To
>>> unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
> e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/How-to-deploy-a-web-app-on-tomcat..-help-needed-pl
z..-%3A%29-tf4090702.html#a11630045
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|