Kbase 20577: Version 9.1B NameServer Does Not Start on Win32
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/04/2002 |
|
SUMMARY:
After you install Progress Version 9.1B on Win32 with Pentium IV processor, the NameServer might not start. A query of the AdminServer ('proadsv -query') returns AdminServer is alive. A NameServer query ('nsman -i ns1 -q') returns the following Java Exception error:
exception in thread main java.lang.excetionInInitializer
jni panic:could not build argument list for main
and you find the following entry in admserv.log:
SvcControlCmd.connectToService() failure: Unable to connect
to the service process at rmi://DHYHX10J:20931/wsbroker1
(8171).
SOLUTION:
The problem occurs due to the enabled Java JIT compiler.
Disable JIT by editing the Registry as follows:
In HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1B\JAVA,
you find the JVMARGS key:
JVMARGS -ms1m
Add (-nojit) so it the key appears as follows:
JVMARGS -ms1m -nojit
NOTE: Before you make any changes to the Registry, make
sure you back it up.
After this you will be able to start the NameServer by using Progress Explorer, however you will still have problems if you start it on command propt. To solve this you have to alter ubutil.bat ($DLC\bin\ubutil.bat)
Add the JVM value '-nojit' in the last line so it will look like the line below:
"%JVMSTRT%" -o stderr -s -m silent "%JVM%" -nojit -classpath "%JCP%"
-DInstall.Dir="%DLC%" -DWork.Dir="%WRK%" %UBUTILPKG%.%UBUTILCLASS%
%PARMS%
**Same for Databases (when managed through Progress Explorer or dbman), AppServer and WebSpeed Transaction servers:
From command prompt:
AppServer and WSTservers use the same $DLC\bin\ubutil.bat than NameServer.
Databases started with dbman, the -nojit has to be added to the "%JVMSTRT%" command in the $DLC\bin\dbman.bat file.