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

[xmlblaster] publishing without key [Update]



Oops, I copied a wrong example, this is the right one:

java org.xmlBlaster.client.feeder.PublishFile \
   -xmlKey "<key contentMime='text/plain'> <target name='system99'/> </key>" \
   -hostname uhura \
   -name heinrich \
   -content "Hello xmlBlaster world"

On Fri, 8 Nov 2002, Heinrich Götzger wrote:

> Hey,
>
> would it be ok if i would publish a message using the feeder like:
> java org.xmlBlaster.client.feeder.PublishFile \
>   -xmlKey "< contentMime='text/plain'> <target name='system99'/> </key>" \
>   -hostname uhura \
>   -name heinrich \
>   -content "Hello xmlBlaster world"
>
> Or is spending an oid compelling?
>
> I'm getting an automatically created oid from the feeder:
> [08.11.2002 14:45:50 INFO  PublishFile] Success: Publishing done:
> <qos>
>   <state id='OK'/>
>   <key oid='http_192_168_10_201_3412-1036763150500-29'/>
> </qos>
>  [ 27 millis ]
>
> but I'm getting warnings and errors and even a stacktraces while trying to
> subscribe using XPATH in the gui: (//target[ at name='system99'])
>
> [08.11.2002 14:47:01 WARN  XmlKeyDom.InternalKeyOid] Internal getKeyOid()
> error
> id=XmlKeyDom.InternalKeyOid reason=Internal getKeyOid() error
>         at
> org.xmlBlaster.engine.xml2java.XmlKeyDom.getKeyOid(XmlKeyDom.java:219)
>         at
> org.xmlBlaster.engine.xml2java.XmlKeyDom.getKeyOid(XmlKeyDom.java:201)
>         at
> org.xmlBlaster.engine.xml2java.XmlKeyDom.parseKeyOid(XmlKeyDom.java:152)
>         at
> org.xmlBlaster.engine.RequestBroker.parseKeyOid(RequestBroker.java:821)
>         at org.xmlBlaster.engine.RequestBroker.get(RequestBroker.java:658)
>         at org.xmlBlaster.MainGUI$GuiQuery.get(MainGUI.java:737)
>         at
> org.xmlBlaster.MainGUI$XPathKeyListener.keyPressed(MainGUI.java:642)
>         at java.awt.Component.processKeyEvent(Component.java:3672)
>         at java.awt.Component.processEvent(Component.java:3548)
>         at java.awt.TextComponent.processEvent(TextComponent.java:560)
>         at java.awt.TextField.processEvent(TextField.java:484)
>         at java.awt.Component.dispatchEventImpl(Component.java:2588)
>         at java.awt.Component.dispatchEvent(Component.java:2492)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
>         at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
> [08.11.2002 14:47:01 ERROR XmlKeyDom] id=XmlKeyDom.InternalKeyOid
> reason=Internal getKeyOid() error
>
>
> What's wrong with my application?
>
> cheers
>
> Heinrich
>

Mit freundlichen Grüßen

Heinrich Götzger
--
Heinrich Götzger, Dipl.-Inform. (FH)              Exploding Systems GmbH
fon: +49-0170-9334400                                  Rheingutstraße 45
mailto:Heinrich.Goetzger at Exploding-Systems.de             78462 Konstanz
http://www.Exploding-Systems.de