Consultor Eletrônico



Kbase P102: NameServer 9.1x does not start from a Win32 command prompt on Pentium IV
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/20/2009
Status: Verified

SYMPTOM(s):

NameServer does not start

Broker does not start

ERROR: cannot start server. (8100)

Timeout while listening for server : java.io.InterruptedIOException: Accept timed out

Exception unbinding broker (not bound) : wsbroker1 (8525)

Machine with WebSpeed has P-IV P-4 processor

WebSpeed broker without any agents starts fine

.() failure: (8171)

[AdminServer]SvcControlCmd.connectToService() failure: Unable to connect to the service process at rmi://xxxx:20931/NS1(after 10 retries) (8171)

error in admserv.log

Chipset is Pentium 4.

NameServer query ('nsman -i ns1 -q') returns Java Exception error

exception in thread main java.lang.excetionInInitializer

jni panic:could not build argument list for main

AdminServer query ('proadsv -query') returns AdminServer is alive.

FACT(s) (Environment):

Progress 9.1A
Progress 9.1B
Progress 9.0X
Windows 2000
Windows NT 32 Intel/Windows 2000

CAUSE:

The problem occurs due to the enabled Java JIT compiler. It does not handle the Pentium IV set of instructions. The same error behavior can occur with any of the other broker/agent processes defined in ubroker.properties.

FIX:

1. Edit 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%

2. Edit ubconfig.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%" %JARGS% -DInstall.Dir="%DLC%" -DWork.Dir="%WRK%" -Djava.security.policy="%JPOLICY%" %UBUTILPKG%.%UBUTILCLASS% %PARMS%

3. Edit Registry keys;
HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\9.1x\JAVA\JVMARGS

HKEY_CURRENT_USER\Software\PSC\PROGRESS\9.1x\JAVA\JVMARGS

Add -nojit at the end of the entire entry(s).