If your question is not answered here, please contact us at OmniMark customer support

OmniMark 8

Question:

Is OmniMark impacted by leap seconds, or by changes to daylight savings time?

Answer:

No. OmniMark gets the time from the operating system. OmniMark has no a priori knowledge of such things as leap seconds or daylight savings time.

Question:

I am using Microsoft IIS as a webserver. How do I configure it to run CGI scripts written in OmniMark?

Answer:

  1. In Windows Explorer, create a new directory (for instance C:\InetPub\cgi-bin).
  2. Open the Internet Information Services console by:
    1. Open Control Panel
    2. Open Administrative Tools
    3. Open Internet Information Services
  3. In the IIS console, browse to “Default Web Site”:
    1. Expand “Internet Information Services”
    2. Expand “YourComputer (local computer)”
    3. Expand “Web Sites”
  4. Open Virtual Directory wizard
    1. Right click on “Web Sites”
    2. Select “New”
    3. Select “Virtual Directory …”
  5. Use the Wizard to create a virtual directory:
    1. Click “Next” to get to Virtual Directory Alias
    2. Type an Alias (I used “cgi-bin”) and click “Next”
    3. Use the Browse… button to select the directory you created in step 1, and click “Next”
    4. Make sure that the access permissions “Read” and “Run scripts” are checked.
    5. Click “Next” to complete the wizard.
    6. The virtual directory should now be visible under “Default Web Site”
  6. Set the properties for the new Virtual Directory
    1. In the IIS console, right click on the new virtual directory
    2. Select “Properties…”
    3. Click the “Virtual Directory” tab
    4. Make sure “Read” is checked.
    5. Make sure Execute Permissions says “Scripts and Executables”
    6. Click “Configuration”
    7. Add or Edit the entry for “.xar”
      1. In “Executable” enter your pathname to the omnimark executable followed by ‘-f “%s”‘. For me: C:\Applications\omnimark.exe -f “%s”
      2. Under Verbs, select “Limit to:” and enter GET,POST,HEAD
      3. Check “Script engine”
      4. Check “Check that file exists”
      5. Click “OK”
    8. Configure .xvc files in a similar way.
    9. Click OK to return to the virtual directory properties.
    10. Click OK.
  7. Test.


OmniMark Libraries

Question:

Code that uses an OmniMark library, that ran fine in the previous version, does not work in the new version. Why?

Answer:

One possibility is that there was an error in packaging the library in question. Check your CD or the ftp account where you downloaded your software for an updates folder, and see if there is an updated version available.

Question:

I get this error message when trying to use WSB…

omnimark --
OmniMark Error 5008 on line 7 in file Default1.xom:
External function returned with one or more uncaught throws.
OMXF001
An unsupported external function was called
On line 7 in file Default1.xom.

Answer:

Make sure that an authorization key for the library is installed.

Question:

I get this error when trying to call xslt.* from the omxslt module in v8.1…

omStudio --
OmniMark Error 6124 on line 54 in file omxslt.xmd:
Unable to load library 'omxslt': 
The specified module could not be found.
There was 1 Interpreter error detected.

Answer:

The Xalan XSLT processor is not tightly coupled as per the documentation and needs to be installed separately. The download is available from http://xalan.apache.org/. Xalan also relies on Xerces so this also needs to be installed (http://xerces.apache.org/). After installation add both bin directories to the windows path so that OmniMark can find the DLLs.

Question:

I get this error when using Oracle with OmniMark Studio for Eclipse on Windows:

omStudio --
OmniMark Error 6124 on line 9 in file <filename>
Unable to load library 'omdb_oci10g':
 The specified module could not be
found.

I think my libraries are in the right place; what is the problem?

Answer:

The Windows “path” environment variable should contain a path to Oracle libraries. Adding the path to Oracle dlls, such as

  C:\Oracle\product\10.1.0\Client_1

via “Control Panel” -> “System” -> “Advanced” -> “Environment Variables” -> “Path” will fix this.

You will need to restart Eclipse Studio for this change to take effect.


OmniMark Studio for Eclipse

Question:

After installing Eclipse and OmniMark 7 Eclipse Studio, I start on Eclipse and click on the word “paths”. I get an error message with the following text:

Unable to create the selected preference page.
Plug-in com.omnimark.eclipse.debug.gui 
was unable to load class 
com.omnimark.eclipse.debug.gui.preferences.
PathsPreferencePage

Answer:

Eclipse was probably downloaded from eclipse.org. OmniMark 7 is closely coupled to the Eclipse 3.0M5 version. You can download that from ftp.omnimark.com:

  • USER: professional7
  • PASSWORD: WheatSand
  • path: 7.1.2/windows/eclipse-3.0M5-win32-platform.zip, or the equivalent for your platform.

OmniMark 8 is built for Eclipse 3.1.2. You can download that version from ftp.omnimark.com as well, using the following credentials:

  • USER: omnimark81
  • PASSWORD: 8b^Urex8U
  • path: 8.1/MSWindows/eclipse-SDK-3.1.2-win32.zip, or the equivalent for your platform.

Question:

Installed Studio for Eclipse but it does not show up when I start up Eclipse. Why is that?

Answer:

Sometimes Eclipse does not register new plugins, so you need to clean out its cache. To do this run, Eclipse with the -clean command line option, like this:

 <eclipse-filepath.exe> -clean

If that does not work, then make sure that the OmniMark plugin was installed in your eclipse plugin directory. For example, the path might be: C:\apps\Eclipse\3_1\eclipse\plugins. In this directory, you should see the following OmniMark directories:

  • com.omnimark.eclipse.core_8.0.1
  • com.omnimark.eclipse.debug.core_8.0.1
  • com.omnimark.eclipse.debug.gui_8.0.1
  • com.omnimark.eclipse.docs.lang_8.0.1
  • com.omnimark.eclipse.gui_8.0.1

If you do not see them, then you there was a problem with your install and you need to reinstall.


Licensing and Installation

Question:

I tried to access ftp.omnimark.com using Internet Explorer. I can’t get to it. What can I do?

Answer:

Internet Explorer is no longer supported. Try using an FTP application like FileZilla.

 

Question:

How do I transfer a license?

Answer:

Fill out this form, print and sign it, and fax it back to us at +1 613 745 5560. We will issue you a new serial number.