Running Inmagic Genie without Content Server

by Peter Tyrrell Thursday, December 13, 2007 10:17 AM

Why not hack Genie this holiday season? Chestnuts roasting on an open fire, Jack Frost nipping at your nose, Genie excised from Content Server and forced to run on DB/Text Webpublisher... Ho ho ho!

This was my first run at getting Genie to work with DB/Text Webpublisher instead of CS Webpublisher. There is definitely room for improvement, but this was the proof of concept.

There are just two tweaks, neither of which involve access to Genie's source code: 1) a redirect from /ics-wpd/exec/icswppro.dll to /dbtw-wpd/exec/dbtwpub.dll, and 2) alteration of Genie SOAP file locations in web.config. Oh, and of course, one must recreate all the Genie textbases in DB/Textworks. Alright, three tweaks.

httpRedirect

I did this on a Vista Ultimate machine, so the specifics are valid for IIS 7 only, but the concept is still applicable to IIS 5 or 6.

Internally, Genie has the CS Webpublisher ISAPI location hard-coded all over the place. Since it is not possible to override these within the Genie application, we have to do it externally, which is where HTTP redirect comes in.  Thus Genie merrily continues to make requests to CS Webpublisher, but we re-route all those requests to DB/Text Webpublisher.

In applicationHost.config, I enabled httpRedirect with a response status of "Temporary" (we'll see why in a minute) and added a wildcard to route CS Webpublisher requests to DB/Text Webpublisher:

<httpRedirect enabled="true" exactDestination="true" httpResponseStatus="Temporary">
    <add wildcard="/ics-wpd/exec/icswppro.dll" destination="/dbtw-wpd/exec/dbtwpub.dll$Q" />
</httpRedirect>

The $Q placeholder sends all querystring variables to the new URL, which covers GET requests. The response status "Temporary" (HTTP status code 307) is the only response status which sends POST requests on to the new URL. Permanent (301) and Found (302) will not. So that covers POST requests.

This redirect is a client-side redirect, and as such is not terrifically efficient, but it works. A server-side URL rewrite would be a vast improvement.

SOAP File locations

When Genie installs, it places a pile of SOAP files for its textbases in CS Webpublisher's \SOAP folder. We move these to DB/Text Webpublisher's \SOAP folder instead.

e.g.

c:\program files\inmagic\icsweb\soap\*.*

to

c:\program files\inmagic\webpubpro\soap\*.*

Then, in Genie's web.config, find the section called <Genie.Properties.Settings> and modify the URLs for the *.icx files to point to DB/TextWebpublisher's /dbtw-wpd/soap/ location:

<setting name="Genie_BorrowerSOAP_BORROWER_SOAP" serializeAs="String">
    <value>http://localhost/dbtw-wpd/soap/BORROWER_input.icx</value>
</setting>

Textbases

To create a DB/Text database from a CS version, create a textbase structure backup, which produces a file with a *.cbb extension. Rename the .cbb extension to .tbb. Create a new textbase from DB/Textworks and restore from the .tbb file. Now you have a DB/Text textbase whose structure matches its CS version exactly.

Then export data from the CS database as a .dmp, and use the "Load Textbase" feature in DB/Text to import it to your new DB/Textworks database. Export form elements from the CS textbase and import them into the DB/Text database.

It takes 5-10 minutes to completely re-create a CS textbase in DB/Textworks.

Conclusion

The above is an intellectual exercise, and I'm not sure what benefit might be gained by doing it, but it proves that it is possible to run Genie on DB/Text instead of Content Server, without access to Genie source code.

Inmagic Webinar: Workflow and Collaboration for Law Libraries

by Administrator Wednesday, December 12, 2007 10:33 AM
Inmagic, Inc. has announced an upcoming webinar on how Fulbright & Jaworski, one of the largest U.S. law firms with more than 1,000 attorneys and 50 integrated practice areas, is using Inmagic to automate its library services and provide 24/7 access to library information across practice areas.

TITLE: Workflow and Collaboration for Law Libraries
DATE: Thursday, January 10th, 2008
TIME: 1:00 p.m EST / 10:00 a.m. PST
PRESENTERS: Ann Patterson, Systems/Reference Librarian, Fulbright & Jaworski; Phil Green, Vice Chairman and Managing Director Library Business, Inmagic, Inc. and Kipo Saysongkham, Pre-Sales Engineer, Inmagic, Inc.

REGISTER ONLINE

We encourage any law firm clients to attend and then to contact us for more information on implementing similar solutions in your organization.


Tags: News

Andornot calendars

by Administrator Wednesday, December 12, 2007 10:24 AM
Our Andornot calendars have now been mailed out to clients. We have included some flyers on our support services and if applicable, various upgrade offers.

Please let us know if you do not receive yours shortly. If you are interested in upgrading or getting back on the maintenance program and have a year end deadline for any purchases, please be sure to contact us as soon as possible.

Tags: News

Mommy, why is there a server in the house?

by Peter Tyrrell Monday, December 10, 2007 10:18 AM

Windows Home Server is a specialized and inexpensive file server aimed at the home market. Oh alright, I'm such a liar. It's a LOT more than a file server, because it handles

  • backups,
  • health monitoring,
  • printer sharing,
  • media streaming,
  • data redundancy,
  • and expandable storage for all the computers in your house, all in one package.

It's out of beta, and I want one for Christmas. (Santa? I've been a good boy. Don't listen to Sarah Parker because I so did not glue her pigtails together and anyway she deserved it for laughing at me when I threw up after eating worms.)

The real reason I'm writing about Windows Home Server is because the marketing campaign is clever and amusing: http://www.stayathomeserver.com.

There's a kind of a CNN ripoff, and this awesome "children's book":

CropperCapture[14]

CropperCapture[15] CropperCapture[16]  CropperCapture[17]

There's more. Go read the book.

Failing "Catastrophically": Installing Adobe Dreamweaver CS3 Trial

by Ted Jardine Wednesday, December 05, 2007 3:55 PM

I'm looking at upgrading Macromedia Studio 8 and Adobe Photoshop CS2 etc. to the latest Creative Suite 3 Design Premium Suite, but no go in testing out the trial version of Dreamweaver. Every attempt to load up what appeared to be a successful install leads to: "A problem was encountered while trying to load the trial period for Adobe Dreamweaver CS3..." followed by something like "you'll have to go online a purchase a license in order to try this out." Apparently, I'm not alone - even paid versions are having install problems. One user even claims to have lost his job because of it. And no, this is not a Vista-specific issue.

Multiple attempts (I'm persistent) to install/reinstall/remove/reinstall/hack the registry/regsvr32 DLLs/etc. all lead to the same result. So why am I writing this up? Eventually it gave up being pretty in response; now every time I attempt to load it up I get the following:

Catastrophic

Just hilariously awesome.

Tags:

Month List