From: easter <ea...@fr...> - 2004-08-02 12:32:14
|
easter wrote: > No, it's not Mike. > > I have instrumented a Babeldoc core using Java Management Extensions > (JMX, part of JDK1.5) > This allows me to connect to it and manipulate it's exposed management > interface remotely. > So I have a little bootstrap class which correctly sets all the > babeldoc variables such as babeldoc.user etc, and then I run the > > com.babeldoc.init.Main.main(args) to get the babeldoc portion started. > > I then connect from another machine to the running Babeldoc scenario > via the JMX remote interface, and I can inject documents into, and > manipulate all the managed objects from the remote management console. > Two things I need to do are : > 1)Reset the Babeldoc I started by calling the methond > "com.babeldoc.init.Main.main(args)", e.g. stop it, reset > babeldoc.user, and then start it again so it can load a new pipeline > configuration, without exiting the JVM. > 2)Be able to configure a running pipeline configuration to for > example, insert a stage, or remove a stage, without exiting the JVM. > > So for example, how do you stop the thread started by > com.babeldoc.init.Main.main(args)? > > Thanks > s > > > > > McDonald, Bruce wrote: > >> Mike (it is mike?!) >> >> Can you explain about what you want to do? It appears that you are not >> starting babeldoc from the babeldoc script. So you are starting it >> from some kind of development environment? Also, since your pipeline >> is "always on" you must be running a scanner or someother kind of >> feeder... >> >> Can you provide some more details. >> >> But as to changing the pipeline, this should be possible - you might >> need to flush some caches, etc, but this should be doable. >> >> regards, >> Bruce. >> >> -----Original Message----- >> From: bab...@li... >> [mailto:bab...@li...]On Behalf Of easter >> Sent: Monday, August 02, 2004 3:32 AM >> To: bab...@li... >> Subject: [Babeldoc-devel] How to control Babeldoc programmatically? >> >> >> Hi, >> >> I am currently launching Babeldoc using the call : >> com.babeldoc.init.Main.main(args); >> >> But I need to do a bit more advanced maniplation now. Is it possible >> to now do the following : >> 1)Load a new Pipeline, ie. stop the old one (as started above) and >> set a new Babeldoc home and have this new scenario started >> >> 2)Modify the current pipeline, for example inserting or removing >> stages once it's been loaded as above. >> >> Any pointers or hints would be greatly appreciated. >> >> e. >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by OSTG. Have you noticed the changes on >> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >> one more big change to announce. We are now OSTG- Open Source Technology >> Group. Come see the changes on the new OSTG site. www.ostg.com >> _______________________________________________ >> Babeldoc-devel mailing list >> Bab...@li... >> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel >> >> >> >> > > |