Does anyone know whether it's possible to invoke Omniscope programatically via Java? Assuming Omniscope.jar is in the classpath I would expect this to be possible but I've not had any luck so far.
I'm using with the integration that you offer with Calypso. Where I am currently working they would like to offer all non power users the ability to view .iok files without having to deploy the Visokio client to each individual desktop. Since the Calypso client is already offered out via Java Webstart I tried to bundle the Linux omniscope jar into our Webstart package. This doesn't work because Calypso issue generator-api-genapi-v1.0-b6.jar as part of their release bundle. From the looks of things you use the same code obfuscator on both the generator jar and the omniscope jar.
So from one Java webstart app you want to launch Omniscope as a popup frame, within the same JVM, but can't because there are class conflicts between the Calypso client and the JAR from our website?
I'm afraid we do not support launching Omniscope from within a Java application. Omniscope manages the JVM lifecycle and is not designed to support operation in this way. Have you considered launching Omniscope Online externally by invoking a link to the dynamically produced JNLP file as configured in the Omniscope Online link builder?
Visit http://tc.visokio.com/webstart/ and populate the "File to open" field. Customise the memory field if needed, and click Submit. Either use the link containing "link.jsp" (giving the user the option to use the installed client or web start), or experiment with the link to the JNLP file (forcing web start). You should be able to build this link dynamically from your app.
Thanks for the workaround. That looks like a good solution for us.
However there is a problem. I have generated a jnlp that loads Omniscope without a problem, but when I try and pass in the name of a file, Omniscope opens but the file is not loaded.
Could you also give me the full JNLP source (mask anything confidential)? Are you using full permissions or sandboxed? Try showing the console (see Java in Control Panel) and see if you get any relevant output.