Kbase P7114: errorException in thread main java.lang.NoClassDefFoundError
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/28/2003 |
|
Status: Unverified
SYMPTOM(s):
errorException in thread "main" java.lang.NoClassDefFoundError:
Files\PROGRESS\CLIENT_NET91D\java\java/policy
The error comes up when stop, start or query the broker from the DOS command prompt
The proenv prompt works fine
Have all of the following environment variables in the system environment variables along with others:
DLC=C:\Program Files\PROGRESS\CLIENT_NET91D\
IDLC=C:\Program Files\PROGRESS\CLIENT_NET91D\
IPROMSGS=%PROMSGS%
JARGS=@{JAVA\\JVMARGS}
JCP=@{JAVA\JRECP};@{JAVA\PROGRESSCP}
JPOLICY=@{JAVA\\JAVAPOLICY}
JVM=@{JAVA\JREHOME}\bin\@{JAVA\JVMEXE}
JVMSTRT=C:\Program Files\PROGRESS\CLIENT_NET91D\\bin\jvmStart.exe
PROMSGS=C:\Program Files\PROGRESS\CLIENT_NET91D\\PROMSGS
UBUTIL=C:\Program Files\PROGRESS\CLIENT_NET91D\\java\com\progress\ubroker\tools\UBCmdClient
UBUTILBAT=C:\Program Files\PROGRESS\CLIENT_NET91D\\bin\ubutil.bat
UBUTILCLASS=UBCmdClient
UBUTILPKG=com.progress.ubroker.tools
WRK=@{WorkPath}
CHANGE:
Added the progress and its related environment variables in the system environment.
CAUSE:
Some of the environment variables were wrong by having the double dashes since they were directly copied from the registry.
FIX:
Delete all the progress and its related environment variables from the system environment, and let the windows registry handle the path.