Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 06 JUN 2007 02:36:26AM Christopher B Crous wrote:

Hi there,

I am having problems with OECGI2. I followed all the instructions in the help file on how to install it and I got it working. When ever I type in http://localhost/oi/oecgi2.exe/inet_trace then is comes up with what it should. My problem is that I can only get programs to run from SYSPROG. I have changed the registry entry and eserver.cfg to point to my application but I can only run my Inet_test from SYSPROG. Does anyone know where I have gone wrong?

Thanks

Chris


At 06 JUN 2007 08:05AM Sean FitzSimons wrote:

Christopher,

Are running the OEngineServer as a service? Have you restarted the service and then tried access INET_TRACE through a non-SYSPROG application?

Sean


At 07 JUN 2007 01:08AM Richard Bright wrote:

Chris,

If you are using an early release of OECGI2.exe you should replace with the updated model shipped with OIv 8. (I had trouble with the early stuff but with the latest is is real great.

With OECGI2 you can do all sorts of stuff - such as specify multiple applications / locations in the registry settings on the web server ie below is an OECGI2.reg export which has multiple applications. Note how Apps can be specied by subkeys to allow individual settings -

* Contents of Regkey as displayed in Notepad Windows Registry Editor Version 5.00 HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI2 "UserName"=ARK" "UserPassword"=" "ApplicationName"=ARK" "ServerURL"=Bright4" "ServerPort"=7777" "ProcedureName"=RUN_OECGI_REQUEST" "EngineName"=" "FileName"=" HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI2\ARK "ApplicationName"=ARK" "EngineName"=" "ProcedureName"=RUN_OECGI_REQUEST" "UserName"=USER" "UserPassword"=" "ServerPort"=7777" "ServerURL"=192.168.3.3" "FileName"=" "FilePath"=" HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI2\ATHLETICS "ProcedureName"=RUN_OECGI_REQUEST" "ApplicationName"=ATHLETICS" "UserName"=ATHLETICS" "UserPassword"=" "EngineName"=" "ServerPort"=7777" "ServerURL"=192.168.3.3" "FileName"=" "FilePath"=" HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI2\EXAMPLES "ApplicationName"=EXAMPLES" "EngineName"=" "UserName"=EXAMPLES" "UserPassword"=" "ServerPort"=7777" "ServerURL"=192.168.3.3" "ProcedureName"=RUN_OECGI_REQUEST" "FileName"=0" "FilePath"=\" HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI2\Palm "ProcedureName"=RUN_OECGI_REQUEST" "EngineName"=" "ApplicationName"=PALM" "UserName"=PALM" "UserPassword"=" "ServerPort"=7777" "ServerURL"=192.168.3.3" "FileName"=" "PathName"=" * End of Record ***

NB In this senarion the ServerPort setting was consistent with firewall setting between database server and web server. The Web server (IIS6) has virtual directories as per ApplicationName.

Also you may wish to modify the eserver.cfg for the database server - I think the suggested alteration is:

IdleTimeout=5

Regards

Richard Bright


At 07 JUN 2007 02:53AM Christopher B Crous wrote:

Hi there,

Yes. I am running it as a service and it is started. I do run the inet_trace and it only works from SYSPROG. I am currently using OI8. This is the upgrade that just came out. How do you run other applications? I thought you just have to change the application, Username and password values in the registry.

Thanks for the response.


At 07 JUN 2007 03:04AM Christopher B Crous wrote:

hi there,

Thanks for the example. I had no idea you could do that with OECGI2. What are the "FileName" and "FilePath" registry keys for? I am using the new OECGI2. I upgraded my OI7.2 to version 8. How does the multiple OECGI2 work? How does OECGI tell which website needs which username and password?

Thanks for the response.


At 07 JUN 2007 03:53AM Christopher B Crous wrote:

Hi There,

Maybe this is a silly question but how do I use different applications for OECGI2? The only application I get working is SYSPROG. Is there a different way to call different applications from your browser like http://localhost/OI/oecgi.exe/ATC*INET_TRACE,

ATC being your application or how do I go about it?

Chris


At 07 JUN 2007 04:01AM Christopher B Crous wrote:

Hi All,

OK i figured out what the problem is. DONT INSTALL ANYTHING BUT jre-1_5_0_07-windows-i586-p.exe (Java JRE 5 Upgrade 7). This can be found on the Java site. I thought i would install the latest JRE (Java Runtime Environment) which was version 6 but thats what gave all the problems. ONLY install JRE 5 Upgrade 7.

Thanks for all the help


At 07 JUN 2007 10:22AM Richard Bright wrote:

For loading up / down files.

How does the multiple OECGI2 work? How does OECGI tell which website needs which username and password?

See the previous registry key settings. If there is only one OECGI2 set the this becomes default; add subkey sets for specific flavours. The ApplicationName value paired with a Virtual directory mapping in IIS6 sorts that out plus the UserName / password are set accordingly for that subkey set.

Of cause you could have two subkey sets pointing to the same application; you could have subkeys pointing to replicated application / systems in different directories on the database server ie where you are hosting a number of client systems. Lots of possibilities.


At 07 JUN 2007 11:57AM Warren Auyong wrote:

Where do the virtual directories map to? Where the OECGI2.EXE is?


At 08 JUN 2007 08:13AM Richard Bright wrote:

On the Web Server (using IIS6) we might have -

C:\Inetpub\AdminScripts

(where AdminScripts is equivalent to cgi-bin)

I dare say you could set your virtual directory to AdminScripts; or wwwroot or whatever. This is where you will place your home page etc and relative point for ccs stylesheets etc? I'm just groping round at the primer for HTML for Dummies stage - and I'm sure someone else will chip in with a more authorative response.

For my multi-application test I have sub-directories off AdminScripts for each application and these have virtual directory mappings with virtual directorym just a bumbling apprentice; look out for some really great stuff being put together by David Goddard, Bob Cartin etc. I'm in rapture with what I think I can now do with OIv8 and OECGI2 - a whole new web dimension is opening up.


At 08 JUN 2007 04:25PM Warren Auyong wrote:

I'll have to play with it.

OECGI2 and v8.0 is a vast improvement over OEGCI which sometimes needs a voodoo or something to get it to run. Trying to get OECGI.EXE to connect to OI running on another server with the proper access rights can be a trial. Especially if the server running IIS is not on a domain.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/973be5137861129e852572f200244b9b.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1