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 JAN 2010 10:41:39PM Patrick McCann wrote:

Hi, I have moved from my old XP Pro system to a new Windows Vista Ultimate (64 bit) system running OI 9.1.1. I have been trying to get everything up and running and now am working on trying to get WEBOI working. I am using the document "59-934 WebOI 9.1 Quick Start Guide". I used the document "Configure IIS for WebOI Vista" that I found on this site to set-up the IIS 7 server. The workstation is both the client and the server. When I click on the "Launch Application using OECGI2" I get the following error " - 1 Login failed -1003" and when I try, "Launch Application using OECGI", I get "OECGI RevCreateEngine failed, error 3." (I do get the login screen and am able to enter the user name e.g. "Administrator" and password). Has anyone gone down this road that can offer some suggestions and/or advice? Thank you, Patrick


At 08 JAN 2010 09:54AM Jared Bratu wrote:

Did you configure the correct registry branch for OECGI2?

Because the machine is 64 bit the registry path is:

HKLM\SOFTWARE\Wow6432Node\RevSoft\OECGI2

Notice the Wow6432Node branch. If you don't have this branch import the OECGI2_WOW6432.reg file into your registry. You can find it in the root OI directory.

Another thought, did you install the 32 or 64bit Java jre/jdk? Try stopping the OEngineServer and start it manually from a CMD prompt. Change the the root OI directory and type:

java -jar OESocketServer.jar -d 3

You should see requests from OECGI2 appear in the console screen.

Once you check these two items the results will help direct the troubleshooting process to the next step.


At 08 JAN 2010 09:23PM Patrick McCann wrote:

Hi Jared, Thank you for your assistance. The 64 bit registry path was not set-up. I found the .reg file you identified and imported it into the registry. I was not sure how to identify the Java version as I did not see it in the "About" information. I went to the website and did download and install the 64 bit version. It mentioned that if you move back and forth between a 32 bit and 64 bit browser you needed both. I stopped the OEngineserver and started it manually. Here is the output I received -

c:\Revsoft\TFG]java -jar OESocketServer.jar -d 3

Version: 1.0.0d - Licensed for use to CN=Revelation Software

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Revsoft\TFG\revjap

i.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

      at java.lang.ClassLoader$NativeLibrary.load(Native Method)
      at java.lang.ClassLoader.loadLibrary0(Unknown Source)
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at com.revelation.oesocketserver.OEngine.(Unknown Source)
      at com.revelation.oesocketserver.Main.main(Unknown Source)

I attempted to login to Weboi. There was no message in the CMD window. In the browser tab it shows "Loading…" and in the status line on the bottom it says "Waiting for localhost…"

Thank you,

Patrick


At 08 JAN 2010 09:25PM Patrick McCann wrote:

Jared, some additional information. After waiting it finally returned the following -

HTTP Error 502.1 - Bad Gateway

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

Detailed Error Information

Module CgiModule

Notification ExecuteRequestHandler

Handler CGI-exe

Error Code 0x00000000

Requested URL http://localhost:80/weboi/oecgi2.exe/inet_WebOI

Physical Path C:\Revsoft\TFG\Inetsrv\oecgi2.exe\inet_WebOI

Logon Method Anonymous

Logon User Anonymous


At 10 JAN 2010 09:01PM Bryan Shumsky wrote:

Hi, Patrick. I believe Jared mentioned that you should install and run the _32_ bit java, even though you're on a 64 bit platform; this is required for the OEngineServer to function properly.

Without the OEngineServer running properly, you should not expect the OECGI2.exe to run, as it relies on the OEngineServer for its ability to communicate with OpenInsight.

After you download and install the 32 bit version of the Java Runtime Environment, you should perhaps see some different results.

Hope that helps,

- Bryan Shumsky

Revelation Software


At 11 JAN 2010 02:42AM Patrick McCann wrote:

Hi Bryan, I have uninstalled and installed Java more times than I care to admit this weekend, but believe I have the 32 bit version running now. I removed ALL java and then installed "jdk-1_5_0_22-windows-i586-p". I then opened a dos window. Executing "java -version" from my OI directory does not work but I am guessing that the directory is not set in the PATH variable? Anyhow I am now receiving the following..

C:\Revsoft\TFG]"C:\Program Files (x86)\Java\jre1.5.0_22\bin\java" -jar oesocketserver.jar -d 3

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$100(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClassInternal(Unknown Source)

C:\Revsoft\TFG]path

PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\QuickTime\QTSystem\

C:\Revsoft\TFG]


At 11 JAN 2010 02:51AM Patrick McCann wrote:

A little more information -I did add the java path and here is more information that may be helpful…

C:\Users\Patrick]java -version

java version "1.5.0_22"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)

Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)

C:\Users\Patrick]

Thank you,

Patrick


At 11 JAN 2010 03:21AM Patrick McCann wrote:

Bryan and Jared,

I continued to work on the problem and researched the error message and found the following -

" Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file"

this is because the code was compiled on a new version of java and u r trying to run it onthe older version of java. Please make sure that both the versoins are same"

I downloaded the latest java "jre" file "jre-6u17-windows-i586-s" and installed it. I then opened a dos window but this time changed my path as seen here -

C:\Revsoft\TFG]"C:\Program Files (x86)\Java\jre6\bin\java" -jar oesocketserver.jar

Version: 1.0.0d - Licensed for use to CN=Revelation Software

And received no errors. I then tried launching Weboi from the Examples application and was successful.

I do have a question. Do I need the JDK java installed? If no should I leave it installed or remove it?

I am going to change my environment variable PATH and try to get the service running…

Thank you for your help and I am sure i will be back soon! :)

Patrick


At 11 JAN 2010 02:32PM Jared Bratu wrote:

You do not need the JDK (Java Developers Kit) installed, the JRE (Java Runtime Environment) is sufficient. I would uninstall the JDK to prevent confusion in the future.

Good work on getting the correct path and Java installed. Java has some nice features but class and path dependencies can be uncomfortable if you aren't familiar with it.


At 11 JAN 2010 07:35PM Bryan Shumsky wrote:

] Java has some nice features but class and path dependencies can be uncomfortable if you aren't familiar with it.

And (I can say from experience) even if you _are_! :-)


At 12 JAN 2010 01:33AM Patrick McCann wrote:

Jared, Thank you for your help and Thank you to Bryan for his input as well. I wouldn't have been able to get it working without it.

Patrick

View this thread on the Works forum...

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