|
Home > Archive > BizTalk Server Applications Integration > February 2004 > AIC not instantiated under load
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
AIC not instantiated under load
|
|
|
| Hi,
I am having problems with an AIC that I have built in C#.
The AIC has been placed in COM+.
The problem only arises when I have the AIC being called simultaneously by
BizTalk around 5 - 10 times.
BizTalk logs the error "Object reference not set to an instance of an
object". It is as if BizTalk can only create a certain few instances of the
object before COM+ will not allow any more to be created.
The Pool size in COM+ was originally set to 1 (default), but I found
changing this to 10 made no difference.
Does this sound like a COM+ configuration? Or a coding issue?
The AIC dll actually contains 2 different AIC components, both of which are
having the same issue.
The full error message from the event log is below:
========================================
================================
Event Type: Error
Event Source: BizTalk Server
Event Category: Document Processing
Event ID: 324
Date: 7/01/2004
Time: 1:51:51 PM
User: N/A
Computer: WORKSTATION01
Description:
An error occurred in BizTalk Server.
Details:
------------------------------
[0x80004003] Object reference not set to an instance of an object.
[0x0159] The server encountered a transport error while processing the
messaging port "TestPort", which uses a transport component with a ProgID of
"Testing.TestAic".
[0x012a] All retry transmissions failed.
[0x80004003] Invalid pointer
[0x0156] The server could not finish processing messaging port "TestPort".
[0x1730] Suspended Queue ID: "{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
[0x80004003] Invalid pointer
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
========================================
================================
Any help appreciated!
Thanks,
Bardo.
| |
| larry franks 2004-02-08, 8:41 am |
| Hi Bardo, I'm not sure what might be going on but let me research a bit and
see what I can find on this.
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| From: "Bardo" <bryn@nospam.bryn.com.au>
| Subject: AIC not instantiated under load
| Date: Wed, 7 Jan 2004 17:25:26 +1100
| Lines: 58
| Organization: Bryn Systems
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
| Newsgroups:
microsoft.public.biztalk.appintegration,microsoft.public.biztalk.general
| NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.general:12309
microsoft.public.biztalk.appintegration:5947
| X-Tomcat-NG: microsoft.public.biztalk.appintegration
|
| Hi,
|
| I am having problems with an AIC that I have built in C#.
| The AIC has been placed in COM+.
| The problem only arises when I have the AIC being called simultaneously by
| BizTalk around 5 - 10 times.
| BizTalk logs the error "Object reference not set to an instance of an
| object". It is as if BizTalk can only create a certain few instances of
the
| object before COM+ will not allow any more to be created.
| The Pool size in COM+ was originally set to 1 (default), but I found
| changing this to 10 made no difference.
|
| Does this sound like a COM+ configuration? Or a coding issue?
| The AIC dll actually contains 2 different AIC components, both of which
are
| having the same issue.
|
| The full error message from the event log is below:
|
| ========================================
================================
| Event Type: Error
| Event Source: BizTalk Server
| Event Category: Document Processing
| Event ID: 324
| Date: 7/01/2004
| Time: 1:51:51 PM
| User: N/A
| Computer: WORKSTATION01
| Description:
| An error occurred in BizTalk Server.
|
| Details:
| ------------------------------
| [0x80004003] Object reference not set to an instance of an object.
| [0x0159] The server encountered a transport error while processing the
| messaging port "TestPort", which uses a transport component with a ProgID
of
| "Testing.TestAic".
|
| [0x012a] All retry transmissions failed.
|
| [0x80004003] Invalid pointer
|
| [0x0156] The server could not finish processing messaging port
"TestPort".
|
| [0x1730] Suspended Queue ID: "{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
|
| [0x80004003] Invalid pointer
|
| For more information, see Help and Support Center at
| http://go.microsoft.com/fwlink/events.asp.
| ========================================
================================
|
| Any help appreciated!
|
| Thanks,
|
| Bardo.
|
|
|
| |
|
| Thanks Larry.
""larry franks"" <larryfr@online.microsoft.com> wrote in message
news:yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl...
> Hi Bardo, I'm not sure what might be going on but let me research a bit
and
> see what I can find on this.
>
> Larry Franks
>
> This posting is provided "AS IS" with no warranties,and confers no rights.
> Subscribe at
>
http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn
> --------------------
> | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
> | From: "Bardo" <bryn@nospam.bryn.com.au>
> | Subject: AIC not instantiated under load
> | Date: Wed, 7 Jan 2004 17:25:26 +1100
> | Lines: 58
> | Organization: Bryn Systems
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> | Message-ID: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
> | Newsgroups:
> microsoft.public.biztalk.appintegration,microsoft.public.biztalk.general
> | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
> | Path:
>
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
> phx.gbl
> | Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.general:12309
> microsoft.public.biztalk.appintegration:5947
> | X-Tomcat-NG: microsoft.public.biztalk.appintegration
> |
> | Hi,
> |
> | I am having problems with an AIC that I have built in C#.
> | The AIC has been placed in COM+.
> | The problem only arises when I have the AIC being called simultaneously
by
> | BizTalk around 5 - 10 times.
> | BizTalk logs the error "Object reference not set to an instance of an
> | object". It is as if BizTalk can only create a certain few instances of
> the
> | object before COM+ will not allow any more to be created.
> | The Pool size in COM+ was originally set to 1 (default), but I found
> | changing this to 10 made no difference.
> |
> | Does this sound like a COM+ configuration? Or a coding issue?
> | The AIC dll actually contains 2 different AIC components, both of which
> are
> | having the same issue.
> |
> | The full error message from the event log is below:
> |
> | ========================================
================================
> | Event Type: Error
> | Event Source: BizTalk Server
> | Event Category: Document Processing
> | Event ID: 324
> | Date: 7/01/2004
> | Time: 1:51:51 PM
> | User: N/A
> | Computer: WORKSTATION01
> | Description:
> | An error occurred in BizTalk Server.
> |
> | Details:
> | ------------------------------
> | [0x80004003] Object reference not set to an instance of an object.
> | [0x0159] The server encountered a transport error while processing the
> | messaging port "TestPort", which uses a transport component with a
ProgID
> of
> | "Testing.TestAic".
> |
> | [0x012a] All retry transmissions failed.
> |
> | [0x80004003] Invalid pointer
> |
> | [0x0156] The server could not finish processing messaging port
> "TestPort".
> |
> | [0x1730] Suspended Queue ID: "{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
> |
> | [0x80004003] Invalid pointer
> |
> | For more information, see Help and Support Center at
> | http://go.microsoft.com/fwlink/events.asp.
> | ========================================
================================
> |
> | Any help appreciated!
> |
> | Thanks,
> |
> | Bardo.
> |
> |
> |
>
| |
|
| Hi Larry,
I am not sure if this is the same issue or requires a new thread...
I have a schedule that has a while loop within it.
I am taking the same approach as in the SDK sample with the while loop,
where the loop count is maintained in a COM component; each call to the
'Increment' method simply increments the class level var + 1.
The issue I am having is when the schedule has many running instances (say
100 for eg.), it seems some instances are completed successfully (approx
40), while all other instances become locked at the action where this method
is called.
If I then reboot the machine, the schedules are re-started, and continue
working. But again, around 20 or so will then get locked at the same action
shape in the sked again, which requires another reboot!
The dll is written in C#, and regardless of whether I inherit from
ServicedComponent and place in COM+ or not, the issue appears to be the
same.
Am I correct in thinking this may be due to some kind of instancing issue
also? Could the schedule possibly be calling into the wrong running
component instance or something?
Thanks again for all your help!
Bardo.
"Bardo" <bryn@nospam.bryn.com.au> wrote in message
news:uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl...
> Thanks Larry.
>
> ""larry franks"" <larryfr@online.microsoft.com> wrote in message
> news:yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl...
> and
rights.[color=blue]
>
http://support.microsoft.com/defaul...msdn/nospam.asp
>
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
simultaneously[color=blue]
> by
of[color=blue]
which[color=blue]
========================================
================================[color=b
lue]
the[color=blue]
> ProgID
========================================
================================[color=b
lue]
>
>
| |
| larry franks 2004-02-08, 8:41 am |
| Ok, after speaking with COM+ guys I'm still not sure exactly where the
problem might be with this.
1) You mention that you're running it pooled right now, what happens if we
don't pool it? Same behavior?
2) If we receive the error from BizTalk, can we then launch a script
(vbscript) that calls this component and do we receive the same error?
Would need to be ran while biztalk was trying to process and returning the
error.
3) Try increasing the maximum threads in the pool to around 1000 and see if
this helps. Also maybe increase the timeout to see if the error takes
longer to occur.
Can you give those a try? Beyond those three the only other things I can
think of would require a case opened on this (user dumps from the machine,
etc.)
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| From: "Bardo" <bryn@nospam.bryn.com.au>
| References: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
<yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl>
| Subject: Re: AIC not instantiated under load
| Date: Thu, 8 Jan 2004 08:56:14 +1100
| Lines: 106
| Organization: Bryn Systems
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.biztalk.appintegration
| NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.appintegration:5953
| X-Tomcat-NG: microsoft.public.biztalk.appintegration
|
| Thanks Larry.
|
| ""larry franks"" <larryfr@online.microsoft.com> wrote in message
| news:yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl...
| > Hi Bardo, I'm not sure what might be going on but let me research a bit
| and
| > see what I can find on this.
| >
| > Larry Franks
| >
| > This posting is provided "AS IS" with no warranties,and confers no
rights.
| > Subscribe at
| >
|
http://support.microsoft.com/defaul...msdn/nospam.asp
| > &SD=msdn
| > --------------------
| > | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| > | From: "Bardo" <bryn@nospam.bryn.com.au>
| > | Subject: AIC not instantiated under load
| > | Date: Wed, 7 Jan 2004 17:25:26 +1100
| > | Lines: 58
| > | Organization: Bryn Systems
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups:
| > microsoft.public.biztalk.appintegration,microsoft.public.biztalk.general
| > | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| > | Path:
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
| > phx.gbl
| > | Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.general:12309
| > microsoft.public.biztalk.appintegration:5947
| > | X-Tomcat-NG: microsoft.public.biztalk.appintegration
| > |
| > | Hi,
| > |
| > | I am having problems with an AIC that I have built in C#.
| > | The AIC has been placed in COM+.
| > | The problem only arises when I have the AIC being called
simultaneously
| by
| > | BizTalk around 5 - 10 times.
| > | BizTalk logs the error "Object reference not set to an instance of an
| > | object". It is as if BizTalk can only create a certain few instances
of
| > the
| > | object before COM+ will not allow any more to be created.
| > | The Pool size in COM+ was originally set to 1 (default), but I found
| > | changing this to 10 made no difference.
| > |
| > | Does this sound like a COM+ configuration? Or a coding issue?
| > | The AIC dll actually contains 2 different AIC components, both of
which
| > are
| > | having the same issue.
| > |
| > | The full error message from the event log is below:
| > |
| > |
========================================
================================
| > | Event Type: Error
| > | Event Source: BizTalk Server
| > | Event Category: Document Processing
| > | Event ID: 324
| > | Date: 7/01/2004
| > | Time: 1:51:51 PM
| > | User: N/A
| > | Computer: WORKSTATION01
| > | Description:
| > | An error occurred in BizTalk Server.
| > |
| > | Details:
| > | ------------------------------
| > | [0x80004003] Object reference not set to an instance of an object.
| > | [0x0159] The server encountered a transport error while processing
the
| > | messaging port "TestPort", which uses a transport component with a
| ProgID
| > of
| > | "Testing.TestAic".
| > |
| > | [0x012a] All retry transmissions failed.
| > |
| > | [0x80004003] Invalid pointer
| > |
| > | [0x0156] The server could not finish processing messaging port
| > "TestPort".
| > |
| > | [0x1730] Suspended Queue ID: "{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
| > |
| > | [0x80004003] Invalid pointer
| > |
| > | For more information, see Help and Support Center at
| > | http://go.microsoft.com/fwlink/events.asp.
| > |
========================================
================================
| > |
| > | Any help appreciated!
| > |
| > | Thanks,
| > |
| > | Bardo.
| > |
| > |
| > |
| >
|
|
|
| |
| larry franks 2004-02-08, 8:41 am |
| There are no errors for this condition? The only specific thing I've ran
into with .Net components called from orchestration is that if it's a
synchronous method call you have to implement your own interface in the
component and extend the class from the interface. This doesn't sound like
the case however, if you don't do the interface you usually run into
consistent problems running the component.
This also sounds like an instancing thing, I'd say follow the steps I've
listed in my other post and see what results they return.
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| From: "Bardo" <bryn@nospam.bryn.com.au>
| References: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
<yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl>
<uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl>
| Subject: Re: AIC not instantiated under load
| Date: Thu, 8 Jan 2004 18:35:08 +1100
| Lines: 144
| Organization: Bryn Systems
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <#r6Kznb1DHA.2160@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.biztalk.appintegration
| NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.appintegration:5954
| X-Tomcat-NG: microsoft.public.biztalk.appintegration
|
| Hi Larry,
|
| I am not sure if this is the same issue or requires a new thread...
| I have a schedule that has a while loop within it.
| I am taking the same approach as in the SDK sample with the while loop,
| where the loop count is maintained in a COM component; each call to the
| 'Increment' method simply increments the class level var + 1.
| The issue I am having is when the schedule has many running instances (say
| 100 for eg.), it seems some instances are completed successfully (approx
| 40), while all other instances become locked at the action where this
method
| is called.
| If I then reboot the machine, the schedules are re-started, and continue
| working. But again, around 20 or so will then get locked at the same
action
| shape in the sked again, which requires another reboot!
| The dll is written in C#, and regardless of whether I inherit from
| ServicedComponent and place in COM+ or not, the issue appears to be the
| same.
| Am I correct in thinking this may be due to some kind of instancing issue
| also? Could the schedule possibly be calling into the wrong running
| component instance or something?
|
| Thanks again for all your help!
|
| Bardo.
|
| "Bardo" <bryn@nospam.bryn.com.au> wrote in message
| news:uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl...
| > Thanks Larry.
| >
| > ""larry franks"" <larryfr@online.microsoft.com> wrote in message
| > news:yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl...
| > > Hi Bardo, I'm not sure what might be going on but let me research a
bit
| > and
| > > see what I can find on this.
| > >
| > > Larry Franks
| > >
| > > This posting is provided "AS IS" with no warranties,and confers no
| rights.
| > > Subscribe at
| > >
| >
|
http://support.microsoft.com/defaul...msdn/nospam.asp
| > > &SD=msdn
| > > --------------------
| > > | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| > > | From: "Bardo" <bryn@nospam.bryn.com.au>
| > > | Subject: AIC not instantiated under load
| > > | Date: Wed, 7 Jan 2004 17:25:26 +1100
| > > | Lines: 58
| > > | Organization: Bryn Systems
| > > | X-Priority: 3
| > > | X-MSMail-Priority: Normal
| > > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > > | Message-ID: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
| > > | Newsgroups:
| > >
microsoft.public.biztalk.appintegration,microsoft.public.biztalk.general
| > > | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| > > | Path:
| > >
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
| > > phx.gbl
| > > | Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.general:12309
| > > microsoft.public.biztalk.appintegration:5947
| > > | X-Tomcat-NG: microsoft.public.biztalk.appintegration
| > > |
| > > | Hi,
| > > |
| > > | I am having problems with an AIC that I have built in C#.
| > > | The AIC has been placed in COM+.
| > > | The problem only arises when I have the AIC being called
| simultaneously
| > by
| > > | BizTalk around 5 - 10 times.
| > > | BizTalk logs the error "Object reference not set to an instance of
an
| > > | object". It is as if BizTalk can only create a certain few
instances
| of
| > > the
| > > | object before COM+ will not allow any more to be created.
| > > | The Pool size in COM+ was originally set to 1 (default), but I found
| > > | changing this to 10 made no difference.
| > > |
| > > | Does this sound like a COM+ configuration? Or a coding issue?
| > > | The AIC dll actually contains 2 different AIC components, both of
| which
| > > are
| > > | having the same issue.
| > > |
| > > | The full error message from the event log is below:
| > > |
| > > |
| ========================================
================================
| > > | Event Type: Error
| > > | Event Source: BizTalk Server
| > > | Event Category: Document Processing
| > > | Event ID: 324
| > > | Date: 7/01/2004
| > > | Time: 1:51:51 PM
| > > | User: N/A
| > > | Computer: WORKSTATION01
| > > | Description:
| > > | An error occurred in BizTalk Server.
| > > |
| > > | Details:
| > > | ------------------------------
| > > | [0x80004003] Object reference not set to an instance of an object.
| > > | [0x0159] The server encountered a transport error while processing
| the
| > > | messaging port "TestPort", which uses a transport component with a
| > ProgID
| > > of
| > > | "Testing.TestAic".
| > > |
| > > | [0x012a] All retry transmissions failed.
| > > |
| > > | [0x80004003] Invalid pointer
| > > |
| > > | [0x0156] The server could not finish processing messaging port
| > > "TestPort".
| > > |
| > > | [0x1730] Suspended Queue ID:
"{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
| > > |
| > > | [0x80004003] Invalid pointer
| > > |
| > > | For more information, see Help and Support Center at
| > > | http://go.microsoft.com/fwlink/events.asp.
| > > |
| ========================================
================================
| > > |
| > > | Any help appreciated!
| > > |
| > > | Thanks,
| > > |
| > > | Bardo.
| > > |
| > > |
| > > |
| > >
| >
| >
|
|
|
| |
| Nick Malik 2004-02-08, 8:41 am |
| Hi Bardo,
I was having this issue about a year ago. I do not know if this is the same
problem I was having or not, but for me, the solution was:
1) Look for threading issues. Biztalk will start your AIC on multiple
threads, but in the same process. Therefore, your code MUST be threadsafe.
It is quite possible that your code is not (it is easy to get this wrong).
For me, the AIC in question was calling a web service. Switching to MSMQ
did the trick.
2) Make sure you are NOT using a .net deployment project to deploy your test
AIC to your biztalk server. It will work the first time, but then starts to
cause problems if you uninstall one version before installing the next. If
this is the case with you, reinstall the service pack, since that will
reregister all of the Biztalk components.
HTH,
--- Nick
"Bardo" <bryn@nospam.bryn.com.au> wrote in message
news:%23a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I am having problems with an AIC that I have built in C#.
> The AIC has been placed in COM+.
> The problem only arises when I have the AIC being called simultaneously by
> BizTalk around 5 - 10 times.
> BizTalk logs the error "Object reference not set to an instance of an
> object". It is as if BizTalk can only create a certain few instances of
the
> object before COM+ will not allow any more to be created.
> The Pool size in COM+ was originally set to 1 (default), but I found
> changing this to 10 made no difference.
>
> Does this sound like a COM+ configuration? Or a coding issue?
> The AIC dll actually contains 2 different AIC components, both of which
are
> having the same issue.
>
> The full error message from the event log is below:
>
> ========================================
================================
> Event Type: Error
> Event Source: BizTalk Server
> Event Category: Document Processing
> Event ID: 324
> Date: 7/01/2004
> Time: 1:51:51 PM
> User: N/A
> Computer: WORKSTATION01
> Description:
> An error occurred in BizTalk Server.
>
> Details:
> ------------------------------
> [0x80004003] Object reference not set to an instance of an object.
> [0x0159] The server encountered a transport error while processing the
> messaging port "TestPort", which uses a transport component with a ProgID
of
> "Testing.TestAic".
>
> [0x012a] All retry transmissions failed.
>
> [0x80004003] Invalid pointer
>
> [0x0156] The server could not finish processing messaging port
"TestPort".
>
> [0x1730] Suspended Queue ID: "{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
>
> [0x80004003] Invalid pointer
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
> ========================================
================================
>
> Any help appreciated!
>
> Thanks,
>
> Bardo.
>
>
>
| |
|
| Hi,
OK just to let you know that I have resolved the issue I was having with the
while loop.
After banging my head over this issue for some time, I took up a MS support
incident.
After half a day of reading, the bloke at MS told me to try installing W2K
SP4.
Well what do you know - it's done the trick!
I was also having the issue on an XP Pro machine that I was developing on.
Not too sure if there is a fix out for XP yet.
I am told it is most likely a COM+ bug that SP4 fixes (apparrently there are
many COM+ bugs fixed in SP4...)
Thanks very much for your help Larry and Nick.
Bardo
""larry franks"" <larryfr@online.microsoft.com> wrote in message
news:JZVzTJh1DHA.3532@cpmsftngxa07.phx.gbl...
> Ok, after speaking with COM+ guys I'm still not sure exactly where the
> problem might be with this.
> 1) You mention that you're running it pooled right now, what happens if we
> don't pool it? Same behavior?
> 2) If we receive the error from BizTalk, can we then launch a script
> (vbscript) that calls this component and do we receive the same error?
> Would need to be ran while biztalk was trying to process and returning the
> error.
> 3) Try increasing the maximum threads in the pool to around 1000 and see
if
> this helps. Also maybe increase the timeout to see if the error takes
> longer to occur.
>
> Can you give those a try? Beyond those three the only other things I can
> think of would require a case opened on this (user dumps from the machine,
> etc.)
>
> Larry Franks
>
> This posting is provided "AS IS" with no warranties,and confers no rights.
> Subscribe at
>
http://support.microsoft.com/defaul...msdn/nospam.asp
> &SD=msdn
> --------------------
> | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
> | From: "Bardo" <bryn@nospam.bryn.com.au>
> | References: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
> <yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl>
> | Subject: Re: AIC not instantiated under load
> | Date: Thu, 8 Jan 2004 08:56:14 +1100
> | Lines: 106
> | Organization: Bryn Systems
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> | Message-ID: <uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl>
> | Newsgroups: microsoft.public.biztalk.appintegration
> | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
> | Path:
>
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
> phx.gbl
> | Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.appintegration:5953
> | X-Tomcat-NG: microsoft.public.biztalk.appintegration
> |
> | Thanks Larry.
> |
> | ""larry franks"" <larryfr@online.microsoft.com> wrote in message
> | news:yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl...
> | > Hi Bardo, I'm not sure what might be going on but let me research a
bit
> | and
> | > see what I can find on this.
> | >
> | > Larry Franks
> | >
> | > This posting is provided "AS IS" with no warranties,and confers no
> rights.
> | > Subscribe at
> | >
> |
>
http://support.microsoft.com/defaul...msdn/nospam.asp
> | > &SD=msdn
> | > --------------------
> | > | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
> | > | From: "Bardo" <bryn@nospam.bryn.com.au>
> | > | Subject: AIC not instantiated under load
> | > | Date: Wed, 7 Jan 2004 17:25:26 +1100
> | > | Lines: 58
> | > | Organization: Bryn Systems
> | > | X-Priority: 3
> | > | X-MSMail-Priority: Normal
> | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> | > | Message-ID: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
> | > | Newsgroups:
> | >
microsoft.public.biztalk.appintegration,microsoft.public.biztalk.general
> | > | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
> | > | Path:
> | >
> |
>
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
> | > phx.gbl
> | > | Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.general:12309
> | > microsoft.public.biztalk.appintegration:5947
> | > | X-Tomcat-NG: microsoft.public.biztalk.appintegration
> | > |
> | > | Hi,
> | > |
> | > | I am having problems with an AIC that I have built in C#.
> | > | The AIC has been placed in COM+.
> | > | The problem only arises when I have the AIC being called
> simultaneously
> | by
> | > | BizTalk around 5 - 10 times.
> | > | BizTalk logs the error "Object reference not set to an instance of
an
> | > | object". It is as if BizTalk can only create a certain few
instances
> of
> | > the
> | > | object before COM+ will not allow any more to be created.
> | > | The Pool size in COM+ was originally set to 1 (default), but I found
> | > | changing this to 10 made no difference.
> | > |
> | > | Does this sound like a COM+ configuration? Or a coding issue?
> | > | The AIC dll actually contains 2 different AIC components, both of
> which
> | > are
> | > | having the same issue.
> | > |
> | > | The full error message from the event log is below:
> | > |
> | > |
> ========================================
================================
> | > | Event Type: Error
> | > | Event Source: BizTalk Server
> | > | Event Category: Document Processing
> | > | Event ID: 324
> | > | Date: 7/01/2004
> | > | Time: 1:51:51 PM
> | > | User: N/A
> | > | Computer: WORKSTATION01
> | > | Description:
> | > | An error occurred in BizTalk Server.
> | > |
> | > | Details:
> | > | ------------------------------
> | > | [0x80004003] Object reference not set to an instance of an object.
> | > | [0x0159] The server encountered a transport error while processing
> the
> | > | messaging port "TestPort", which uses a transport component with a
> | ProgID
> | > of
> | > | "Testing.TestAic".
> | > |
> | > | [0x012a] All retry transmissions failed.
> | > |
> | > | [0x80004003] Invalid pointer
> | > |
> | > | [0x0156] The server could not finish processing messaging port
> | > "TestPort".
> | > |
> | > | [0x1730] Suspended Queue ID:
"{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
> | > |
> | > | [0x80004003] Invalid pointer
> | > |
> | > | For more information, see Help and Support Center at
> | > | http://go.microsoft.com/fwlink/events.asp.
> | > |
> ========================================
================================
> | > |
> | > | Any help appreciated!
> | > |
> | > | Thanks,
> | > |
> | > | Bardo.
> | > |
> | > |
> | > |
> | >
> |
> |
> |
>
| |
| larry franks 2004-02-08, 8:41 am |
| Thanks for the update Bardo. You may want to open a request for the latest
com+ hotfix rollup for XP to see if this helps. We usually have COM+
hotfix rollups outside service packs, in fact I'm pretty sure there are
some out after SP4 already.
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| From: "Bardo" <bryn@nospam.bryn.com.au>
| References: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
<yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl>
<uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl>
<JZVzTJh1DHA.3532@cpmsftngxa07.phx.gbl>
| Subject: Re: AIC not instantiated under load
| Date: Fri, 23 Jan 2004 10:03:05 +1100
| Lines: 194
| Organization: Bryn Systems
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <O$KdovT4DHA.2404@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.biztalk.appintegration
| NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.appintegration:6044
| X-Tomcat-NG: microsoft.public.biztalk.appintegration
|
| Hi,
|
| OK just to let you know that I have resolved the issue I was having with
the
| while loop.
| After banging my head over this issue for some time, I took up a MS
support
| incident.
| After half a day of reading, the bloke at MS told me to try installing W2K
| SP4.
| Well what do you know - it's done the trick!
|
| I was also having the issue on an XP Pro machine that I was developing on.
| Not too sure if there is a fix out for XP yet.
| I am told it is most likely a COM+ bug that SP4 fixes (apparrently there
are
| many COM+ bugs fixed in SP4...)
|
| Thanks very much for your help Larry and Nick.
|
| Bardo
|
| ""larry franks"" <larryfr@online.microsoft.com> wrote in message
| news:JZVzTJh1DHA.3532@cpmsftngxa07.phx.gbl...
| > Ok, after speaking with COM+ guys I'm still not sure exactly where the
| > problem might be with this.
| > 1) You mention that you're running it pooled right now, what happens if
we
| > don't pool it? Same behavior?
| > 2) If we receive the error from BizTalk, can we then launch a script
| > (vbscript) that calls this component and do we receive the same error?
| > Would need to be ran while biztalk was trying to process and returning
the
| > error.
| > 3) Try increasing the maximum threads in the pool to around 1000 and see
| if
| > this helps. Also maybe increase the timeout to see if the error takes
| > longer to occur.
| >
| > Can you give those a try? Beyond those three the only other things I
can
| > think of would require a case opened on this (user dumps from the
machine,
| > etc.)
| >
| > Larry Franks
| >
| > This posting is provided "AS IS" with no warranties,and confers no
rights.
| > Subscribe at
| >
|
http://support.microsoft.com/defaul...msdn/nospam.asp
| > &SD=msdn
| > --------------------
| > | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| > | From: "Bardo" <bryn@nospam.bryn.com.au>
| > | References: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
| > <yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl>
| > | Subject: Re: AIC not instantiated under load
| > | Date: Thu, 8 Jan 2004 08:56:14 +1100
| > | Lines: 106
| > | Organization: Bryn Systems
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <uhs$VkW1DHA.2060@TK2MSFTNGP10.phx.gbl>
| > | Newsgroups: microsoft.public.biztalk.appintegration
| > | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| > | Path:
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
| > phx.gbl
| > | Xref: cpmsftngxa07.phx.gbl
microsoft.public.biztalk.appintegration:5953
| > | X-Tomcat-NG: microsoft.public.biztalk.appintegration
| > |
| > | Thanks Larry.
| > |
| > | ""larry franks"" <larryfr@online.microsoft.com> wrote in message
| > | news:yWgA1fS1DHA.3088@cpmsftngxa07.phx.gbl...
| > | > Hi Bardo, I'm not sure what might be going on but let me research a
| bit
| > | and
| > | > see what I can find on this.
| > | >
| > | > Larry Franks
| > | >
| > | > This posting is provided "AS IS" with no warranties,and confers no
| > rights.
| > | > Subscribe at
| > | >
| > |
| >
|
http://support.microsoft.com/defaul...msdn/nospam.asp
| > | > &SD=msdn
| > | > --------------------
| > | > | Reply-To: "Bardo" <bryn@nospam.bryn.com.au>
| > | > | From: "Bardo" <bryn@nospam.bryn.com.au>
| > | > | Subject: AIC not instantiated under load
| > | > | Date: Wed, 7 Jan 2004 17:25:26 +1100
| > | > | Lines: 58
| > | > | Organization: Bryn Systems
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | > | Message-ID: <#a5iLcO1DHA.832@TK2MSFTNGP09.phx.gbl>
| > | > | Newsgroups:
| > | >
| microsoft.public.biztalk.appintegration,microsoft.public.biztalk.general
| > | > | NNTP-Posting-Host: 65-58.dsl.connexus.net.au 203.222.65.58
| > | > | Path:
| > | >
| > |
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.
| > | > phx.gbl
| > | > | Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.general:12309
| > | > microsoft.public.biztalk.appintegration:5947
| > | > | X-Tomcat-NG: microsoft.public.biztalk.appintegration
| > | > |
| > | > | Hi,
| > | > |
| > | > | I am having problems with an AIC that I have built in C#.
| > | > | The AIC has been placed in COM+.
| > | > | The problem only arises when I have the AIC being called
| > simultaneously
| > | by
| > | > | BizTalk around 5 - 10 times.
| > | > | BizTalk logs the error "Object reference not set to an instance of
| an
| > | > | object". It is as if BizTalk can only create a certain few
| instances
| > of
| > | > the
| > | > | object before COM+ will not allow any more to be created.
| > | > | The Pool size in COM+ was originally set to 1 (default), but I
found
| > | > | changing this to 10 made no difference.
| > | > |
| > | > | Does this sound like a COM+ configuration? Or a coding issue?
| > | > | The AIC dll actually contains 2 different AIC components, both of
| > which
| > | > are
| > | > | having the same issue.
| > | > |
| > | > | The full error message from the event log is below:
| > | > |
| > | > |
| > ========================================
================================
| > | > | Event Type: Error
| > | > | Event Source: BizTalk Server
| > | > | Event Category: Document Processing
| > | > | Event ID: 324
| > | > | Date: 7/01/2004
| > | > | Time: 1:51:51 PM
| > | > | User: N/A
| > | > | Computer: WORKSTATION01
| > | > | Description:
| > | > | An error occurred in BizTalk Server.
| > | > |
| > | > | Details:
| > | > | ------------------------------
| > | > | [0x80004003] Object reference not set to an instance of an
object.
| > | > | [0x0159] The server encountered a transport error while
processing
| > the
| > | > | messaging port "TestPort", which uses a transport component with a
| > | ProgID
| > | > of
| > | > | "Testing.TestAic".
| > | > |
| > | > | [0x012a] All retry transmissions failed.
| > | > |
| > | > | [0x80004003] Invalid pointer
| > | > |
| > | > | [0x0156] The server could not finish processing messaging port
| > | > "TestPort".
| > | > |
| > | > | [0x1730] Suspended Queue ID:
| "{3CCCDEEB-BF5D-4083-A632-FFB5C7EF6B1A}"
| > | > |
| > | > | [0x80004003] Invalid pointer
| > | > |
| > | > | For more information, see Help and Support Center at
| > | > | http://go.microsoft.com/fwlink/events.asp.
| > | > |
| > ========================================
================================
| > | > |
| > | > | Any help appreciated!
| > | > |
| > | > | Thanks,
| > | > |
| > | > | Bardo.
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|
|
|
|
|
|