Hi everbody,
I have a web application using VS.NET 2003 (Asp.net/
VB.Net) that Post an xml file to backend system.
The Issue:
The Application post the file and get the response from the backend system but after while (8-10) hours or if there was no transactions between my application and the backend system for around 1 hour it gives me this Error when I tried to post the file:
-----------------------------------------------
<BODY bgcolor=#dddddd>
<TABLE bgcolor=#dddddd border=1>
<TR>
<TD valign=top><B>$errorDump</B></TD>
<TD>com.wm.app.b2b.server.AccessException: [ISS.0084.9004] Access Denied
at com.wm.app.b2b.server.ServiceManager.invoke(Servic eManager.java:298)
at com.wm.app.b2b.server.ServiceManager.invoke(Servic eManager.java:119)
at com.wm.app.b2b.server.HTTPInvokeHandler._process(H TTPInvokeHandler.java:138)
at com.wm.app.b2b.server.InvokeHandler.process(Invoke Handler.java:113)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:2 04)
at wm.server.net.HandshakeHandler.run(IaikHTTPSListen er.java:774)
at com.wm.util.pool.PooledThread.run(PooledThread.jav a:105)
at java.lang.Thread.run(Thread.java:479)
</TD>
</TR>
<TR>
<TD valign=top><B>$errorInfo</B></TD>
<TD><TABLE bgcolor=#dddddd border=1>
<TR>
<TD valign=top><B>$errorDump</B></TD>
<TD>com.wm.app.b2b.server.AccessException: [ISS.0084.9004] Access Denied
at com.wm.app.b2b.server.ServiceManager.invoke(Servic eManager.java:298)
at com.wm.app.b2b.server.ServiceManager.invoke(Servic eManager.java:119)
at com.wm.app.b2b.server.HTTPInvokeHandler._process(H TTPInvokeHandler.java:138)
at com.wm.app.b2b.server.InvokeHandler.process(Invoke Handler.java:113)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:2 04)
at wm.server.net.HandshakeHandler.run(IaikHTTPSListen er.java:774)
at com.wm.util.pool.PooledThread.run(PooledThread.jav a:105)
at java.lang.Thread.run(Thread.java:479)
</TD>
</TR>
<TR>
<TD valign=top><B>$error</B></TD>
<TD>[ISS.0084.9004] Access Denied</TD>
</TR>
<TR>
<TD valign=top><B>$localizedError</B></TD>
<TD>[ISS.0084.9004] Access Denied</TD>
</TR>
<TR>
<TD valign=top><B>$errorType</B></TD>
<TD>com.wm.app.b2b.server.AccessException</TD>
</TR>
<TR>
<TD valign=top><B>$service</B></TD>
<TD>HTTPConnector.Mailbox:get</TD>
</TR>
<TR>
<TD valign=top><B>$user</B></TD>
<TD>Default</TD>
</TR>
<TR>
<TD valign=top><B>$time</B></TD>
<TD>2005-11-15 05:55:54 CST</TD>
</TR>
<TR>
<TD valign=top><B>$details</B></TD>
<TD></TD>
</TR>
<TR>
<TD valign=top><B>$errorMsgId</B></TD>
<TD>ISS.0084.9004</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD valign=top><B>$error</B></TD>
<TD>[ISS.0084.9004] Access Denied</TD>
</TR>
<TR>
<TD valign=top><B>$errorType</B></TD>
<TD>com.wm.app.b2b.server.AccessException</TD>
</TR>
</TABLE>
</BODY>
----------------------------------------------------
When I restart the machine it works fine, I checked with the network staff for the Port session time out but they remove it on both servers and they remove the firewall, also they said that when the error occured there is no request go out from my server to the backend server.
here is a part of my code:
--------------------------------------
Dim xmlHttp As New MSXML2.XMLHTTP
Dim doc As New MSXML2.DOMDocument
Dim strQuery As String
Dim strURL As String
Dim strPostBody As String
' Set the post body - this is the query/request.
Dim funcValueType As String
Dim funcValue1 As String
Dim funcValue2 As String
Dim funcValue3 As String
Dim funcValue4 As String
Select Case strValueType
Case "LLAccountNumber"
funcValueType = strValueType
funcValue1 = ""
funcValue2 = strValue
funcValue3 = ""
Case "LLPhoneNumber"
funcValueType = strValueType
funcValue1 = strValue
funcValue2 = ""
funcValue3 = ""
Case "LLCustomerID"
funcValueType = strValueType
funcValue1 = ""
funcValue2 = ""
funcValue3 = strValue
End Select
' Set the post body - this is the query/request.
strPostBody = "$xmldata=<?xml version='1.0' encoding='UTF-8'?><CustomerRequest> " & _
"<PhoneNumber>" & funcValue1 & "</PhoneNumber> " & _
"<AccountNumber>" & funcValue2 & "</AccountNumber> " & _
"<CustomerID>" & funcValue3 & "</CustomerID> " & _
"<SearchBy>" & funcValueType & "</SearchBy> " & _
"</CustomerRequest> "
Dim abc As New MSXML2.XMLHTTP
'Send the Request to the backend system
abc.open("POST", "http://xxx.xx.xxx.xx:55083/invoke/RY002_Customer.services/handleCustomerRequestWrapper", False, "UserName", "Password")
abc.send(strPostBody)
Dim TEMP As String
'Get the results from the backend system
TEMP = abc.responseText()
Session("IVR") = TEMP
xmlHttp.abort()
abc.abort()
-------------------------------------------------
The application runs on Windows 2003 Enterprice Edition.
Any Suggestion it will be appreciated.
Thanks.