Hi Gautam
Correct me if I am wrong. You access the web page which uses "MyServlet"
from a browser in the Webserver itself and it works fine, but when you
access the same page from an other m/c over the network you get a 405 .
If that is the case,
Check your web page for the FORM's action request, you might have
inadvertently put in a
http://localhost/servlet/Myservlet or http://machinename/servlet/MyServlet.
If that is the case you could put in the domain name or the IP address of
the machine.
This is a long shot, but check if you have the entry Virtual Path extension
= "/servlet/" and
Servlet invoked = "invoker" in the Mappings tab of jse(service config) of
JRun.
Cheers
Ramesh.V
>
> Hi,
>
> Everything works fine on my NT server, but when I move to a PC on the
> network, then only this problem comes...I am able to access the complete
> site except /servlet/MyServlet
>
> Any suggestions ?
>
> Gautam
>
>
> >From: Ramesh <[EMAIL PROTECTED]>
> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> > Servlet API Technology." <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: method error
> >Date: Sun, 25 Jul 1999 11:54:47 +0100
> >
> >Hi
> > You could try the following checks on the web server.
> >
> > a) Ensure that you have run the connector wizard of JRun.
> This connects
> >the IIS server and JRun.
> > b) Check the ISAPI filters of IIS to see if JRun has
> registered itself.
> >Ideally this has to have a green arrow and priority as high, but
> sometimes
> >we get a red arrow and the priority as unknown. If that is the case a
> >restart of the m/c would probably :-), correct it.
> > c) Ensure that the scripts directory which is created after
> running the
> >JRun has execute permission. The permission can be set in the properties
> >menu of the directory.
> >
> >Hope this helps
> >Cheers
> >Ramesh.V
> >
> > > -----Original Message-----
> > > From: A mailing list for discussion about Sun Microsystem's
> Java Servlet
> > > API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > Gautam Batra
> > > Sent: Sunday, July 25, 1999 9:46 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: method error
> > >
> > >
> > > yes, I am usibg post method both in the form and the servlet
> ( doPost) !
> > >
> > >
> > >
> > > >From: Chris Pratt <[EMAIL PROTECTED]>
> > > >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> > > > Servlet API Technology." <[EMAIL PROTECTED]>
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Re: method error
> > > >Date: Sat, 24 Jul 1999 22:15:55 -0700
> > > >
> > > >Did you implement doPost?
> > > > (*Chris*)
> > > >
> > > >----- Original Message -----
> > > >From: Gautam Batra <[EMAIL PROTECTED]>
> > > >To: <[EMAIL PROTECTED]>
> > > >Sent: Friday, July 23, 1999 11:53 PM
> > > >Subject: Re: method error
> > > >
> > > >
> > > > > Hi Thanks !
> > > > >
> > > > >
> > > > >
> > > > > I have been checking......the error came from IIS server.. the
> > > >code.....405,
> > > > > the message is :
> > > > >
> > > > > "HTTP Error 405
> > > > >
> > > > > 405 Method Not Allowed
> > > > >
> > > > > The method specified in the Request Line is not allowed for
> > > the resource
> > > > > identified by the request. Please ensure that you have
> > > > > the proper MIME type set up for the resource you are requesting.
> > > > >
> > > > > Please contact the server's administrator if this problem
> persists."
> > > > >
> > > > > I specify a POST method to access the servlet. The error message
> >gets
> > > >looged
> > > > > in the IIS logging directory.
> > > > >
> > > > > Gautam
> > > > >
> > > > >
> > > > > >From: Hans Bergsten <[EMAIL PROTECTED]>
> > > > > >Reply-To: "A mailing list for discussion about Sun Microsystem's
> >Java
> > > > > > Servlet API Technology." <[EMAIL PROTECTED]>
> > > > > >To: [EMAIL PROTECTED]
> > > > > >Subject: Re: method error
> > > > > >Date: Fri, 23 Jul 1999 21:48:08 -0700
> > > > > >
> > > > > >Gautam Batra wrote:
> > > > > > >
> > > > > > > Hi ALL,
> > > > > > >
> > > > > > > I have not received even a single response on this
> > > query....I really
> > > > > >need to
> > > > > > > know this ASAP. Any sort of help is greatly appreciated.
> > > > > > >
> > > > > > > I have been testing my servlets on my NT server for
> the past few
> > > >days.
> > > > > > > Yesterday, I moved to another machine and tried to access
> > > them from
> > > > > >there.
> > > > > > > But I got the error Method not supported by this url. I
> > > am using IE
> > > >5.0
> > > > > >and
> > > > > > > Netscape 4.6. And the method is Post. What could go wrong ?
> > > > > > >
> > > > > > > Other : JSDK 2.1, JDK 1.2.1, IIS 4.0, JRUN 2.3.2, NT4.0 SP4
> > > > > >
> > > > > >If you describe the problem in more detail you may get more
> > > responses.
> > > > > >
> > > > > >What is the exact error message? Is it a message from
> IIS? If so it
> > > >could
> > > > > >be a configuration problem. Is it a message from the
> > > servlet? If so, do
> > > >you
> > > > > >implement doPost in your servlet? Do you get any messages in the
> >web
> > > >server
> > > > > >or JRun logs? They may also help you to nail down the problem.
> > > > > >
> > > > > >--
> > > > > >Hans Bergsten [EMAIL PROTECTED]
> > > > > >Gefion Software http://www.gefionsoftware.com
> > > > > >
> > > > >
> > > >
> > > >_________________________________________________________________
> > > __________
> > > > > >To unsubscribe, send email to [EMAIL PROTECTED] and
> > > include in the
> > > >body
> > > > > >of the message "signoff SERVLET-INTEREST".
> > > > > >
> > > > > >Archives:
> >http://archives.java.sun.com/archives/servlet-interest.html
> > > > > >Resources:
> >http://java.sun.com/products/servlet/external-resources.html
> > > > >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> > > >
> > > >
> > > > ______________________________________________________
> > > > Get Your Private, Free Email at http://www.hotmail.com
> > > >
> > > >
> >
> >_________________________________________________________________
> __________
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the
> > >body
> > > > of the message "signoff SERVLET-INTEREST".
> > > >
> > > > Archives:
http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
>http://java.sun.com/products/servlet/external-resources.html
> > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
>___________________________________________________________________________
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>body
> >of the message "signoff SERVLET-INTEREST".
> >
> >Archives: http://archives.java.sun.com/archives/servlet-interest.html
> >Resources: http://java.sun.com/products/servlet/external-resources.html
> >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html