Hi,

I'm trying to implement a post processor for a DT driver and i'm having
issues.

Environment info:
SLES 11
IDM 3.6.1

In the manual is says to put the post processor information under the
<subscriber-options> element, which i've done. (see below)

<subscriber-options>
<post-processor display-name="PostProcessor
Class">au.com.dc.idm.OutfileUtil</post-processor>
<post-processor-params display-name="PostProcessor full output path
(Any value entered here will overwrite the Output File directives below.
Leave blank to
disable.)">\root\home\output\file.csv</post-processor-params>
<configuration-values>
<definitions>
<definition display-name="Output File Path:" name="output-dir"
type="string">
<?generatePrompt?>
<value>\root\home\output\file.csv</value>
</definition>
<definition display-name="Output File Extension:" name="output-ext"
type="string">
<value>.csv</value>
</definition>
<definition display-name="Destination File Character Encoding
(leave blank for default):" name="output-char-encoding" type="string">
<value/>
</definition>
<definition display-name="Maximum Number of Transactions per Output
File:" name="transactions-per-file" type="string">
<value>200</value>
</definition>
<definition display-name="Maximum Time in Seconds before Flushing
All Transactions:" name="file-time-out" type="string">
<value>30</value>
</definition>
<definition display-name="Time of Day (Local Time) to Flush All
Transactions:" name="time-of-day" type="string">
<value/>
</definition>
</definitions>
</configuration-values>
</subscriber-options>

My problem is, the driver only ever reads the post processor
information if it's placed DIRECTLY under the <subscriber-options>
element. It will be skipped during driver start up if i place it
anywhere else, say, after the </configuration-values> tag.

Now, with the post processor info placed directly under the
<subscriber-options> element, during driver startup, the driver doesn't
read any of the config values. (See below - relevent info from driver
start up)

<subscriber-options>
<post-processor display-name="PostProcessor
Class">au.com.dc.idm.OutfileUtil</post-processor>
<post-processor-params display-name="PostProcessor full output
path (Any value entered here will overwrite the Output File directives
below. Leave blank to
disable.)">\root\home\output\file.csv</post-processor-params>
<configuration-values>
<definitions>
<definition display-name="Output File Path:"
name="output-dir" type="string">
<?generatePrompt?>
<value>\root\home\output\file.csv</value>
</definition>
<definition display-name="Output File Extension:"
name="output-ext" type="string">
<value>.csv</value>
</definition>
<definition display-name="Destination File Character
Encoding (leave blank for default):" name="output-char-encoding"
type="string">
<value/>
</definition>
11:31:05 9CD98B90 Drvrs: <definition display-name="Maximum
Number of Transactions per Output File:" name="transactions-per-file"
type="string">
<value>200</value>
</definition>
<definition display-name="Maximum Time in Seconds before
Flushing All Transactions:" name="file-time-out" type="string">
<value>30</value>
</definition>
<definition display-name="Time of Day (Local Time) to Flush
All Transactions:" name="time-of-day" type="string">
<value/>
</definition>
</definitions>
</configuration-values>
</subscriber-options>
</init-params>
</input>
</nds>
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Subscriber
output directory =
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Subscriber
output file extension =
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Subscriber
will use default character encoding
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Subscriber
transactions per file = 0
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Subscriber
transaction file timeout (in seconds): 0
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Initialize
Param String:
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc:
\root\home\output\file.csv
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Driver has
loaded: au.com.dc.idm.OutfileUtil
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:Helpdesk_GenAcc: Setting
transactions-per-file to 1 because there were no other threshold
settings set.
11:31:05 9CD98B90 Drvrs: Helpdesk_GenAcc ST:SubscriptionShim.init()
returned:

Attached is the entire driver start up.

Any help would be great. I've tried many different combinations of the
config trying to get it to work and nothing's helped. I've even created
a brand-new default driver (the one from the trace) and it has the same
issues.

Let me know if you require any further information.


+----------------------------------------------------------------------+
|Filename: post-processor-issues.txt |
|Download: http://forums.novell.com/attachment....achmentid=3421 |
+----------------------------------------------------------------------+

--
aarondickinson
------------------------------------------------------------------------
aarondickinson's Profile: http://forums.novell.com/member.php?userid=8703
View this thread: http://forums.novell.com/showthread.php?t=387752