[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: RE: xmlBlaster adapter



Dear Marcel,

Fred trying to XMLBlaster component for openadapter.
Would you please to assist Fred ? If you don't mind....

Best Regards,
Budi Wiyono

Mailing-List: contact dev-help at openadaptor.openadaptor.org; run by ezmlm
list-post: <mailto:dev at openadaptor.openadaptor.org>
Reply-To: dev at openadaptor.openadaptor.org
Delivered-To: mailing list dev at openadaptor.openadaptor.org
From: "fred" <jonathan.perry at iomartdsl.com>
To: <dev at openadaptor.openadaptor.org>
Date: Fri, 15 Jun 2001 09:27:40 +0100
Subject:  RE: xmlBlaster adapter

Hi Budi,

> Is there anyone with a xmlBlaster adapter who is willing to share it ?
> About xmlBlaster: http://www.xmlblaster.org/

I guess not.

I downloaded and played around - the simple examples work out of the box but
I am having a problem running an XmlBlasterSink that I threw together...

It seems to be environment related but I can't see what I am doing
differently, when I run the clientSub example it connects to the ORB based
on defaults some defaults.

> 15-Jun-01 09:15:56 INFO  CorbaConnection-ClientSub: Accessing xmlBlaster
AuthServer IOR using builtin
> http connection, host 212.38.190.197 and port 7609

But when I run an adaptor with XmlBlasterSink if fails.

> [01/06/15 09:26:55.822] FATAL: RunAdaptor: Failed to construct new
RunAdaptor with C2 failed to connect > to server org.omg.CORBA.INITIALIZE:
can't instantiate default ORB implementation jacorb.orb.ORB  minor > code: 0
completed: No

Are you familiar with this product? Do you want to help create XmlBlaster
components?

fred
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at openadaptor.openadaptor.org
For additional commands, e-mail: dev-help at openadaptor.openadaptor.org

Attachment: XmlBlasterSink.java
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>
<openadaptor>
  <!-- Created using the openadaptor Adaptor Framework Editor on -->
  <!---->
  <!--     Fri Jun 15 08:52:56 GMT+01:00 2001 -->
  <!---->
  <!-- To run this adaptor framework use the following command: -->
  <!---->
  <!--     java org.openadaptor.adaptor.RunAdaptor A.props <adaptor-name> -->
  <!---->
  <!---->
  <!-- To look at this adaptor framework using the openadaptor Adaptor Framework Editor -->
  <!-- use the following command: -->
  <!---->
  <!--     java org.openadaptor.adaptor.editor.AFEditor A.props -->
  <!---->
  <A>
    <!-- Adaptor A - Adaptor Properties -->
    <MillisToTimeout>0</MillisToTimeout>
    <Controller>
      <Name>Controller</Name>
      <ClassName>org.openadaptor.adaptor.SimpleController</ClassName>
      <!-- Adaptor A - Component Controller -->
      <!-- Adaptor A - Component Controller SimpleController -->
      <ExitWhenSourcesDry>true</ExitWhenSourcesDry>
      <ForceGarbageCollection>0</ForceGarbageCollection>
      <UsingEtxTxManager>false</UsingEtxTxManager>
    </Controller>
    <Logging>
      <Name>Logging</Name>
      <!-- Adaptor A - Component Logging -->
      <LogLinesToCache>10</LogLinesToCache>
      <LoggingPackageInfo>false</LoggingPackageInfo>
      <LoggingThreadInfo>false</LoggingThreadInfo>
      <LoggingTimeInfo>true</LoggingTimeInfo>
      <RemoteLogSetting>FATAL</RemoteLogSetting>
    </Logging>
    <!-- Adaptor A - Component Names -->
    <Component1>
      <Name>C1</Name>
    </Component1>
    <Component2>
      <Name>C2</Name>
    </Component2>
    <C1>
      <ClassName>org.openadaptor.adaptor.benchmark.BenchmarkSource</ClassName>
      <LinkTo1>C2</LinkTo1>
      <!-- Adaptor A - Component C1 BenchmarkSource -->
      <AttType>OneOfEverything</AttType>
      <BatchSize>1</BatchSize>
      <DataObjectType>Test</DataObjectType>
      <ExitOnError>true</ExitOnError>
      <Frequency>3000</Frequency>
      <NestingLevel>0</NestingLevel>
      <NumAttributes>1</NumAttributes>
      <NumToSend>0</NumToSend>
      <SequentialValues>false</SequentialValues>
      <UseUnicodeStrings>false</UseUnicodeStrings>
    </C1>
    <C2>
      <ClassName>org.openadaptor.adaptor.xmlblaster.XmlBlasterSink</ClassName>
      <!-- Adaptor A - Component C2 FileSink -->
      <CreateOutputFile>false</CreateOutputFile>
      <DOStringWriter>org.openadaptor.dostrings.DelimitedStringWriter</DOStringWriter>
      <MessageWriter>
        <MessageFormat>V2</MessageFormat>
        <!-- Adaptor A - Component C2 MessageWriter.MessageFormat.V2 -->
        <V2>
          <DO2XMLConvertor>basicdo</DO2XMLConvertor>
          <MetadataGenerator>NDCD</MetadataGenerator>
        </V2>
      </MessageWriter>
      <MoveExistingOutputFile>false</MoveExistingOutputFile>
      <WriteMode>Overwrite</WriteMode>
      <!-- Adaptor A - Component C2 DelimitedStringWriter -->
      <FieldDelimiter>44</FieldDelimiter>
    </C2>
  </A>
</openadaptor>