Hi John Zhao,

I tried with IIS 5.0 as the external web server its working perfectly. But I
want to know why its happening with JRun Web server.

Regards

-MohanRaj

----- Original Message -----
From: "John Zhao" <[EMAIL PROTECTED]>
To: "JRun-Talk" <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 8:52 PM
Subject: RE: Urgent - Post Not Working


> It seems you are using JRun internal web server there.  Try with an
external web server, such as IIS, Apache or iPlanet and see if it makes a
difference.
>
> -----Original Message-----
> From: Mohan Raj [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 03, 2001 8:44 AM
> To: JRun-Talk
> Subject: Re: Urgent - Post Not Working
>
>
> Hi
>
> I found some of your information very useful, but i am still facing some
> problem with the Post method. I have a file which will print all the
request
> details in the default.log, this typically prints all the request details
> available in the HttpServeltRequest and all the form fields & its values
> that i am using. I included this file in the action page.When i am
> submitting a form to another jsp page I am able to see all the request
> details in the default-out.log file. But in the browser in the action page
I
> am getting an alert saying that "No Data is available for the requested
> resource" or "Page cannot be displayed" error. This error I am getting
only
> when I use the Post Method & not with the GET method.
>
> When I checked the default-out.log file I am able to see all the request
> details. I tried giving System.out.println("Some Message") at the end of
the
> action file. I am able to see the message in the log, so that means the
> action page is processed fully by the JRun server. So from that I think
that
> the request is getting processed but the response is getting lost some
where
> so the browset throws the exceptions mentioned above. To mention Our site
> uses frames.
>
> When I checked the default-even.log, there I could find some exceptions
> thrown by the JRun Server. These are the exceptions thrown by the Jrun
> Server.
>
> 1.    11/30 15:19:46 debug (web) web-1 caught Exception while creating
> [java.lang.InterruptedException]
>         java.lang.InterruptedException
>         at allaire.jrun.ThreadPool.createRunnable(ThreadPool.java:202)
>         at allaire.jrun.WorkerThread.run(WorkerThread.java:72)
>
> 2.    11/30 15:27:34 debug (web) No HTTP method found.
[java.io.IOException:
> No HTTP method found.]
>         java.io.IOException: No HTTP method found.
>         at allaire.jrun.http.WebEndpoint.readRequest(WebEndpoint.java:356)
>         at allaire.jrun.http.WebEndpoint.readRequest(WebEndpoint.java:94)
>         at allaire.jrun.http.WebService.swapRunnable(WebService.java:114)
>         at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java:223)
>         at allaire.jrun.WorkerThread.run(WorkerThread.java:77)
>
>
> 3.    11/30 15:27:18 debug (jsp) Mangled attribute file's value from
> '"../includes/jspimport.inc"' to '"../includes/jspimport.inc"'
>        11/30 15:27:18 debug (JRun)
> getRealPath(/jsp/auction/../includes/jspimport.inc): C:\Program
> Files\Allaire\JRun\servers\default\default-
> app\jsp\includes\jspimport.inc
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"java.util.*"' to '"java.util.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"java.sql.*"' to '"java.sql.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"java.net.*"' to '"java.net.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"java.io.*"' to '"java.io.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"javax.sql.*"' to '"javax.sql.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"javax.rmi.PortableRemoteObject"' to '"javax.rmi.PortableRemoteObject"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"javax.ejb.*"' to '"javax.ejb.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"javax.naming.*"' to '"javax.naming.*"'
>         11/30 15:27:18 debug (jsp) Mangled attribute import's value from
> '"javax.servlet.http.HttpServletRequest"' to
> '"javax.servlet.http.HttpServletRequest"'
>         11/30 15:27:18 debug (jsp) Mangled attribute file's value from
> '"../includes/session.inc"' to '"../includes/session.inc"'
>         11/30 15:27:18 debug (JRun)
> getRealPath(/jsp/auction/../includes/session.inc): C:\Program
> Files\Allaire\JRun\servers\default\default-
> app\jsp\includes\session.inc
>         11/30 15:27:18 debug (jsp) Mangled attribute file's value from
> '"requestinfo_inc.inc"' to '"requestinfo_inc.inc"'
>         11/30 15:27:18 debug (JRun)
> getRealPath(/jsp/auction/requestinfo_inc.inc): C:\Program
> Files\Allaire\JRun\servers\default\default-
> app\jsp\auction\requestinfo_inc.inc
>         11/30 15:27:19 debug (jsp) Mangled attribute file's value from
> '"../scripts/jstrim.js"' to '"../scripts/jstrim.js"'
>         11/30 15:27:19 debug (JRun)
> getResourceURL(/jsp/auction/../scripts/jstrim.js): C:\Program
> Files\Allaire\JRun\servers\default\default-app\jsp\scripts\jstrim.js
>         11/30 15:27:19 debug (JRun)
> getRealPath(/jsp/auction/../scripts/jstrim.js): C:\Program
> Files\Allaire\JRun\servers\default\default-app\jsp\scripts\jstrim.js
>         11/30 15:27:19 debug (jsp) Mangled attribute file's value from
> '"../includes/pageinfo.inc"' to '"../includes/pageinfo.inc"'
>         11/30 15:27:19 debug (JRun)
> getRealPath(/jsp/auction/../includes/pageinfo.inc): C:\Program
> Files\Allaire\JRun\servers\default\default-
app\jsp\includes\pageinfo.inc
>         11/30 15:27:19 debug (jsp) Mangled attribute import's value from
> '"java.util.Hashtable"' to '"java.util.Hashtable"'
>         11/30 15:27:19 debug (jsp) Mangled attribute file's value from
> '"../includes/leftlink.inc"' to '"../includes/leftlink.inc"'
>         11/30 15:27:19 debug (JRun)
> getRealPath(/jsp/auction/../includes/leftlink.inc): C:\Program
> Files\Allaire\JRun\servers\default\default-app\jsp\includes\leftlink.inc
>         11/30 15:27:21 metrics (JRun) (jcp+web) Heap=8863KB Listen=3
Idle=0
> Queued=0 Busy=1 Total=4 Requests (count/total ms)=0/0 Delayed=0
> TotalDelay=0 BytesIn=0 BytesOut=0 Sessions (active/in memory)=2/2
>         11/30 15:27:21 debug (jsp) Mangled attribute file's value from
> '"../scripts/postauctionscript.inc"' to
'"../scripts/postauctionscript.inc"'
>         11/30 15:27:21 debug (JRun)
> getResourceURL(/jsp/auction/../scripts/postauctionscript.inc): C:\Program
> Files\Allaire\JRun\servers\default\default-
> app\jsp\scripts\postauctionscript.inc
>         11/30 15:27:21 debug (JRun)
> getRealPath(/jsp/auction/../scripts/postauctionscript.inc): C:\Program
>
Files\Allaire\JRun\servers\default\default-app\jsp\scripts\postauctionscript
> inc
>         11/30 15:27:22 debug (jsp) Running XSL processor on C:\Program
> Files\Allaire\JRun\servers\default\default-app\WEB-
> INF\jsp\jrun__jsp__auction__postauction2ejsp1c.xml
>         11/30 15:27:24 metrics (JRun) (jcp+web) Heap=10315KB Listen=3
Idle=0
> Queued=0 Busy=1 Total=4 Requests (count/total ms)=0/0 Delayed=0
> TotalDelay=0 BytesIn=0 BytesOut=0 Sessions (active/in memory)=2/2
>
>
> I don't think its a browser problem, because I checked the site using a
tool
> called tcptracer I can see that only a part of the response or no response
> at all is coming back. I can't use GET because of it known limitations.
Can
> any one please help me.
>
> Regards
>
> -MohanRaj
>
>
> ----- Original Message -----
> From: "John Zhao" <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 29, 2001 7:59 PM
> Subject: RE: Urgent - Post Not Working
>
>
> > Hi MohanRaj,
> >
> > First turn on debug logging in JRun 3.x and run your page to do a post.
> Then check the event log.  If the POST isn't supported, you should see
> something like this,
> >
> > debug (JRun) HttpServletResponse.sendError(405,HTTP method GET is not
> supported by this URL) [javax.servlet.ServletException: 405 HTTP method
GET
> is not supported by this URL]
> >
> > If this is the case, check generated .java file for the action JSP page
> and see if doPost() method is there.
> >
> > Hope this helps,
> >
> > John
> >
> > -----Original Message-----
> > From: Mohan Raj [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, November 29, 2001 12:51 AM
> > To: JRun-Talk
> > Subject: Re: Urgent - Post Not Working
> >
> >
> > Hi Mashuri,
> >
> > Even if we commented all the codes in the second page & put
out.println()
> in
> > the first line it is not working. It says page cannot be displayed in
the
> > internet explorer
> > and please note that it is not "404 Page Not Found" and an alert saying
> > "connection with server reset by peer" in the Netscape. Its not throwing
> any
> > exception, Even I checked the JRun log, but could not able to trace any
> root
> > cause.
> >
> > Regards
> >
> > -MohanRaj
> >
> > ----- Original Message -----
> > From: "Mashuri Lambana" <[EMAIL PROTECTED]>
> > To: "JRun-Talk" <[EMAIL PROTECTED]>
> > Sent: Thursday, November 29, 2001 10:59 AM
> > Subject: Re: Urgent - Post Not Working
> >
> >
> > > Hi Raj
> > >
> > > can you trap the parameter of your form and check whether the other
> page,
> > > where you submit the form to, can receive all the parameter as
intended.
> > >
> > > The size limitation is not an issue for post method if get method can
go
> > > through than post will have no issue at all
> > > ----- Original Message -----
> > > From: "Mohan Raj" <[EMAIL PROTECTED]>
> > > To: "JRun-Talk" <[EMAIL PROTECTED]>
> > > Sent: Thursday, November 29, 2001 11:53 AM
> > > Subject: Urgent - Post Not Working
> > >
> > >
> > > > Hi,
> > > >
> > > > Does JRUN has any issue with the POST method. I am filling a form
and
> > this
> > > > form uses POST method when I submit the form, it gives page cannot
be
> > > > displayed. But when I use GET method the form is getting submitted.
> Has
> > > > anyone faced a similar situation. Can some body point out what could
> be
> > > the
> > > > possible mistakes that i could be making
> > > >
> > > > Regards
> > > >
> > > > -MohanRaj
> > > >
> > > >
> > >
> >
> >
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to