Re: Unable to open the servlet.

2003-10-06 Thread epyonne
Please read my reply to your previous post on the same subject.



- Original Message -
From: "anunay ashish" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 06, 2003 01:31 AM
Subject: Unable to open the servlet.


> Hi,
> My servlet is placed at:
> C:\Program Files\Apache Group\Tomcat
> 4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
> with the name addDataServlet
>
> My web.xml is as follows:
> 
>  
>  
>   addDataServlet
>  
>  
>   com.scheduler.addDataServlet
>  
> 
>  
> pageFormat.jsp
> 
> 
>
> I am calling it from my JSP page as:
> 
>
>
>   
>
> But on clicking the submit button it takes me to:
> HTTP Status 404 - /com/scheduler/addDataServlet
>
> --
--
> 
>
> type Status report
>
> message /com/scheduler/addDataServlet
>
> description The requested resource (/com/scheduler/addDataServlet) is not
> available.
>
>
> --
--
> 
>
> Apache Tomcat/4.1.27
> Please suggest me the remedy for this.
> Regards,
> Anunay Ashish.
>
>
> -
> 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]



Re: Unable to open the servlet.

2003-10-06 Thread drm
I don't think you should disable the default invoker servlet. afaik this 
is the standard servlet to invoke servlets in the /servlet/ context path...

anunay ashish wrote:

I have tried the suggested remedies. My application's web.xml has the
following addition:
 
  addDataServlet
  /com/scheduler/addDataServlet
 
and I have uncommented the server's web.xml to

invoker
/servlet/*

and I have restarted my tomcat. But the same problem persists.
The version of my tomcat is: jakarta-tomcat-4.1.27
Where can I be still going wrong?
Regards,
Anunay Ashish.
- Original Message -
From: "drm" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 06, 2003 2:51 PM
Subject: Re: Unable to open the servlet.


hi :)

As far as i can tell you are missing a servlet-mapping in your web.xml.
A servlet uri should also be mapped to a specific servlet.
Try including:


   addDataServlet
   /com/scheduler/addDataServlet

in your web.xml file.

If this doesn't work, please state your tomcat version.

hth :)

-- drm

anunay ashish wrote:


Hi,
My servlet is placed at:
C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
with the name addDataServlet
My web.xml is as follows:

 
 
  addDataServlet
 
 
  com.scheduler.addDataServlet
 

 
pageFormat.jsp


I am calling it from my JSP page as:

   
   
  
But on clicking the submit button it takes me to:
HTTP Status 404 - /com/scheduler/addDataServlet

  --
-
-

type Status report

message /com/scheduler/addDataServlet

description The requested resource (/com/scheduler/addDataServlet) is
not

available.



  --
-
-

Apache Tomcat/4.1.27

The text in the file localhost_log.2003-10-06.txt in logs folder
corresponding to the above error message is:
2003-10-06 12:36:19 WebappLoader[/Tracking_system]: Deploy class files
/WEB-INF/classes to C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes
2003-10-06 12:36:19 StandardManager[/Tracking_system]: Seeding random
number

generator class java.security.SecureRandom

Please suggest me the remedy for this.
Regards,
Anunay Ashish.
-
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]


Re: Unable to open the servlet.

2003-10-06 Thread anunay ashish
I have tried the suggested remedies. My application's web.xml has the
following addition:
 
  addDataServlet
  /com/scheduler/addDataServlet
 


and I have uncommented the server's web.xml to

invoker
/servlet/*


and I have restarted my tomcat. But the same problem persists.
The version of my tomcat is: jakarta-tomcat-4.1.27

Where can I be still going wrong?
Regards,
Anunay Ashish.


- Original Message -
From: "drm" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 06, 2003 2:51 PM
Subject: Re: Unable to open the servlet.


> hi :)
>
> As far as i can tell you are missing a servlet-mapping in your web.xml.
> A servlet uri should also be mapped to a specific servlet.
>
> Try including:
>
> 
> addDataServlet
> /com/scheduler/addDataServlet
> 
>
> in your web.xml file.
>
> If this doesn't work, please state your tomcat version.
>
> hth :)
>
> -- drm
>
> anunay ashish wrote:
>
> > Hi,
> > My servlet is placed at:
> > C:\Program Files\Apache Group\Tomcat
> > 4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
> > with the name addDataServlet
> >
> >  My web.xml is as follows:
> >  
> >   
> >   
> >addDataServlet
> >   
> >   
> >com.scheduler.addDataServlet
> >   
> >  
> >   
> >  pageFormat.jsp
> >  
> >  
> >
> >  I am calling it from my JSP page as:
> >  
> > 
> > 
> >
> >
> >  But on clicking the submit button it takes me to:
> >  HTTP Status 404 - /com/scheduler/addDataServlet
> >
>
  --
-
> > -
> >
> >  type Status report
> >
> >  message /com/scheduler/addDataServlet
> >
> >  description The requested resource (/com/scheduler/addDataServlet) is
not
> >  available.
> >
> >
>
  --
-
> > -
> >
> >  Apache Tomcat/4.1.27
> >
> > The text in the file localhost_log.2003-10-06.txt in logs folder
> > corresponding to the above error message is:
> > 2003-10-06 12:36:19 WebappLoader[/Tracking_system]: Deploy class files
> > /WEB-INF/classes to C:\Program Files\Apache Group\Tomcat
> > 4.1\webapps\Tracking_system\WEB-INF\classes
> > 2003-10-06 12:36:19 StandardManager[/Tracking_system]: Seeding random
number
> > generator class java.security.SecureRandom
> >
> > Please suggest me the remedy for this.
> > Regards,
> > Anunay Ashish.
> >
> >
> > -
> > 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]



Re: Unable to open the servlet.

2003-10-06 Thread drm
hi :)

As far as i can tell you are missing a servlet-mapping in your web.xml. 
A servlet uri should also be mapped to a specific servlet.

Try including:


   addDataServlet
   /com/scheduler/addDataServlet

in your web.xml file.

If this doesn't work, please state your tomcat version.

hth :)

-- drm

anunay ashish wrote:

Hi,
My servlet is placed at:
C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
with the name addDataServlet
 My web.xml is as follows:
 
  
  
   addDataServlet
  
  
   com.scheduler.addDataServlet
  
 
  
 pageFormat.jsp
 
 
 I am calling it from my JSP page as:
 


   
 But on clicking the submit button it takes me to:
 HTTP Status 404 - /com/scheduler/addDataServlet
 ---
-
 type Status report

 message /com/scheduler/addDataServlet

 description The requested resource (/com/scheduler/addDataServlet) is not
 available.
 ---
-
 Apache Tomcat/4.1.27

The text in the file localhost_log.2003-10-06.txt in logs folder
corresponding to the above error message is:
2003-10-06 12:36:19 WebappLoader[/Tracking_system]: Deploy class files
/WEB-INF/classes to C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes
2003-10-06 12:36:19 StandardManager[/Tracking_system]: Seeding random number
generator class java.security.SecureRandom
Please suggest me the remedy for this.
Regards,
Anunay Ashish.
-
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]


RE: Unable to open the servlet.

2003-10-06 Thread Bodycombe, Andrew
You have not mapped your servlet to the /com/scheduler/addDataServlet URL.

Try adding the following to your web.xml, before your :


addDataServlet
/com/scheduler/addDataServlet


You may find the following documents useful:

http://marc.theaimsgroup.com/?l=tomcat-user&m=104327383710262&w=2
http://jakarta.apache.org/tomcat/faq/misc.html
http://java.sun.com/dtd/web-app_2_3.dtd

-Original Message-
From: anunay ashish [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2003 10:05
To: Tomcat Users List
Subject: Unable to open the servlet.


Hi,
My servlet is placed at:
C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes\com\scheduler
with the name addDataServlet

 My web.xml is as follows:
 
  
  
   addDataServlet
  
  
   com.scheduler.addDataServlet
  
 
  
 pageFormat.jsp
 
 

 I am calling it from my JSP page as:
 


   

 But on clicking the submit button it takes me to:
 HTTP Status 404 - /com/scheduler/addDataServlet

 ---
-

 type Status report

 message /com/scheduler/addDataServlet

 description The requested resource (/com/scheduler/addDataServlet) is not
 available.


 ---
-

 Apache Tomcat/4.1.27

The text in the file localhost_log.2003-10-06.txt in logs folder
corresponding to the above error message is:
2003-10-06 12:36:19 WebappLoader[/Tracking_system]: Deploy class files
/WEB-INF/classes to C:\Program Files\Apache Group\Tomcat
4.1\webapps\Tracking_system\WEB-INF\classes
2003-10-06 12:36:19 StandardManager[/Tracking_system]: Seeding random number
generator class java.security.SecureRandom

Please suggest me the remedy for this.
Regards,
Anunay Ashish.


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