Problem with ASP on Webserver
- From: <Frank.Juul.K@xxxxxxxxx>
- Date: Wed, 2 May 2007 09:53:39 +0200
Hi
I have a problem with the web server on windows CE 5.0 when running an ASP
script. When the image is running in debug mode an exception occur in the
web server and if I return it to the application (services.exe) not handled
the server stop responding. Via telnet I have tried to stop the service
HTP0: but it can not shutdown any more. It is as if it is not able to get
access to some component or something because a critical section has not
been released. I have dumped the debug out from the platform builder. The
first request seen below here works fine but the next request for the ASP
page cause the problem. This problem occurs when the page is requested very
often. If I keep refreshing the page the web server respond is that it has
run out of connections and it is busy.
4294892414 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Wrote log out to
file
4294892414 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Calling CHttpRequest
destructor
4294892414 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Calling select(b5).
Timeout=0
4294892415 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Select(b5) got 0
4294892416 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf returns
error err = 1400, GLE = 0x0000274c
4294892503 PID:a7d30f0a TID:7c73b02 0x87c73b28: SERVICES!Woke up from
select() call, iReadySockets=1
4294892505 PID:a7d30f0a TID:7c73b02 0x87c73b28:
SERVICES!ServicesAcceptThread calling service 0x00043e90 with connection
socket
4294892505 PID:a7d30f0a TID:7c73b02 0x87c73b28: HTP_IOControl(dwCode =
0x1040034)
4294892506 PID:a7d30f0a TID:7c73b02 0x87c73b28: SERVICES!About to call
select()
4294892507 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: HandleRequest:
entry. Current Authorization Level = 0
4294892507 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf()
sock=183,dwLength=-1,fFromFilter=0,fFirstPostRead=0,fSSLRenegotiate=0,fReadHeaders=1,fIsSecure=0
4294892507 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iSize = 0,
m_iNextOut = 0, m_iNextIn = 0, m_iNextInFollow = 0
4294892508 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iNextRequestBegin
= 0, m_iNextRequestSize =0, m_iNextDecrypt=0
4294892508 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Calling select(b7).
Timeout=60000
4294892509 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Select(b7) got 1
4294892509 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: New buffer (data=282
size=1024 buf=0x00068378)
4294892510 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf: available
bytes=281, bytes we'll recv=281
4294892510 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: recv(b7) got 281
4294892511 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iSize = 1024,
m_iNextOut = 0, m_iNextIn = 281, m_iNextInFollow = 0
4294892511 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iNextRequestBegin
= 0, m_iNextRequestSize =0, m_iNextDecrypt=0
4294892512 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf: found
double CRLF to close headers
4294892512 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iSize = 1024,
m_iNextOut = 0, m_iNextIn = 281, m_iNextInFollow = 0
4294892512 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iNextRequestBegin
= 0, m_iNextRequestSize =0, m_iNextDecrypt=0
4294892513 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: end RecvToBuf (ret=0
err=0 iGLE=0)
4294892513 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (GET) Len
3
4294892514 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(/test4.asp HTTP/1.1) Len 19
4294892514 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892515 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (Accept:)
Len 7
4294892515 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parsing Accept:
4294892515 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (*/*) Len
3
4294892516 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892516 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Accept-Language:) Len 16
4294892517 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
Accept-Language:
4294892517 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892517 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (UA-CPU:)
Len 7
4294892517 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
UA-CPU:
4294892517 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892517 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Accept-Encoding:) Len 16
4294892518 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
Accept-Encoding:
4294892518 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892518 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(User-Agent:) Len 11
4294892519 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
User-Agent:
4294892519 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892520 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (Host:)
Len 5
4294892520 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parsing Host:
4294892520 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(192.168.21.104) Len 14
4294892521 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892521 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Connection:) Len 11
4294892522 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parsing Connection:
4294892522 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Keep-Alive) Len 10
4294892523 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892523 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got NULL token
4294892523 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892524 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parser: DONE
4294892525 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: URL /test4.asp
matched VRoot / (path \NorFlash\www\wwwpub\, perm=517, auth=0)
4294892526 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: URL / matched VRoot
/ (path \NorFlash\www\wwwpub\, perm=517, auth=0)
4294892527 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Found ISAPI dll in
cache, name = \windows\asp.dll, cur ref count = 0
4294892569 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: New buffer (data=25
size=1024 buf=0x00051de8)
4294892571 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Sending RESPONSE
HEADER<<HTTP/1.0 200 OK
Date: Thu, 02 Jan 2003 12:45:31 GMT
Server: Microsoft-WinCE/5.0
Content-Type: text/html
4294892594 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Wrote log out to
file
4294892594 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Calling CHttpRequest
destructor
4294892595 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Calling select(b7).
Timeout=0
4294892596 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Select(b7) got 0
4294892596 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf returns
error err = 1400, GLE = 0x0000274c
4294892704 PID:a7d30f0a TID:7c73b02 0x87c73b28: SERVICES!Woke up from
select() call, iReadySockets=1
4294892706 PID:a7d30f0a TID:7c73b02 0x87c73b28:
SERVICES!ServicesAcceptThread calling service 0x00043e90 with connection
socket
4294892706 PID:a7d30f0a TID:7c73b02 0x87c73b28: HTP_IOControl(dwCode =
0x1040034)
4294892707 PID:a7d30f0a TID:7c73b02 0x87c73b28: SERVICES!About to call
select()
4294892707 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: HandleRequest:
entry. Current Authorization Level = 0
4294892708 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf()
sock=185,dwLength=-1,fFromFilter=0,fFirstPostRead=0,fSSLRenegotiate=0,fReadHeaders=1,fIsSecure=0
4294892708 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iSize = 0,
m_iNextOut = 0, m_iNextIn = 0, m_iNextInFollow = 0
4294892708 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iNextRequestBegin
= 0, m_iNextRequestSize =0, m_iNextDecrypt=0
4294892708 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Calling select(b9).
Timeout=60000
4294892709 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Select(b9) got 1
4294892709 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: New buffer (data=282
size=1024 buf=0x00068aa8)
4294892710 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf: available
bytes=281, bytes we'll recv=281
4294892710 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: recv(b9) got 281
4294892711 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iSize = 1024,
m_iNextOut = 0, m_iNextIn = 281, m_iNextInFollow = 0
4294892711 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iNextRequestBegin
= 0, m_iNextRequestSize =0, m_iNextDecrypt=0
4294892711 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: RecvToBuf: found
double CRLF to close headers
4294892711 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iSize = 1024,
m_iNextOut = 0, m_iNextIn = 281, m_iNextInFollow = 0
4294892712 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: m_iNextRequestBegin
= 0, m_iNextRequestSize =0, m_iNextDecrypt=0
4294892712 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: end RecvToBuf (ret=0
err=0 iGLE=0)
4294892712 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (GET) Len
3
4294892713 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(/test4.asp HTTP/1.1) Len 19
4294892713 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892713 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (Accept:)
Len 7
4294892714 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parsing Accept:
4294892714 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (*/*) Len
3
4294892714 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892714 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Accept-Language:) Len 16
4294892715 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
Accept-Language:
4294892715 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892715 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (UA-CPU:)
Len 7
4294892715 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
UA-CPU:
4294892715 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892715 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Accept-Encoding:) Len 16
4294892716 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
Accept-Encoding:
4294892716 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892716 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(User-Agent:) Len 11
4294892719 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Ignoring header
User-Agent:
4294892720 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892720 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token (Host:)
Len 5
4294892720 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parsing Host:
4294892720 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(192.168.21.104) Len 14
4294892721 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892721 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Connection:) Len 11
4294892721 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parsing Connection:
4294892723 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got token
(Keep-Alive) Len 10
4294892723 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892723 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Got NULL token
4294892724 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: NextLine: OK
4294892724 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Parser: DONE
4294892725 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: URL /test4.asp
matched VRoot / (path \NorFlash\www\wwwpub\, perm=517, auth=0)
4294892726 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: URL / matched VRoot
/ (path \NorFlash\www\wwwpub\, perm=517, auth=0)
4294892728 PID:a7d30f0a TID:27c25e42 0x87c5adc8: HTTPD: Found ISAPI dll in
cache, name = \windows\asp.dll, cur ref count = 0
4294892751 PID:a7d30f0a TID:27c25e42 0x87c5adc8: Exception 00a
Thread=87c5adc8 Proc=a7d30f0a 'services.exe'
4294892751 PID:a7d30f0a TID:27c25e42 0x87c5adc8: AKY=00000041
PC=0e13fa80(services.exe+0x0012fa80) RA=0e13fa78(services.exe+0x0012fa78)
BVA=0e13ed20
When the platform image is built in Release there is also a problem with it
but it is seen in a different way. We get the following error:
Parse error in script
Microsoft VBScript runtime error: '800a000d'
Description: Type mismatch: '[undefined]'
In file: /test4.asp
On line: 1
The error description is not very usefull, see the start if the script below
Start of ASP script:
<%@ Language=VBScript %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Communicator :: test4</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
In release mode the server does not stop responding but the error occur
randomly, most of the time it works fine.
The image is running on a target with a AU1100 processor (MIPSII) at 400 Mhz
with 128 MB Ram.
We have tried to move the WWWPUB folder to a persistant storage also, but
the problem is the same. Normally the ASP file is placed in the object store
RAM base file system.
Have anyone seen a problem like this before? Can someone help me solve the
problem?
.
- Follow-Ups:
- Re: Problem with ASP on Webserver
- From: Frank.Juul.K
- Re: Problem with ASP on Webserver
- Prev by Date: Re: Transferring PCM audio data with RTP problem!!
- Next by Date: Re: Problem with ASP on Webserver
- Previous by thread: CE 6.0....OS Design Error.....
- Next by thread: Re: Problem with ASP on Webserver
- Index(es):
Relevant Pages
|