Kbase P20819: SonicMQ: How to store the JNDI Naming Services command within Explorer
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
GOAL:
How to store the JNDI Naming Services command within SonicMQ Explorer
FACT(s) (Environment):
SonicMQ 4.x
FIX:
Like documented within SonicMQ V4 CONFIGURATION & ADMINISTRATION GUIDE (admin.pdf) page 262 you can specify default JNDI connection properties in the script that brings up Explorer, explorer.bat (Windows) or explorer.sh (UNIX or
Linux).
Example for added lines within explorer.bat:
set SONICMQ_JNDI=-Djava.naming.factory.initial="com.sonicsw.jndi.mfcontext.MFContextFactory" -Djava.naming.provider.url="pcrwe2:2506" -Dcom.sonicsw.jndi.mfcontext.domain="Domain1" -Djava.naming.security.principal="Administrator" -Djava.naming.security.credentials="Password"
E:\jre14\bin\java.exe %SONICMQ_JNDI% %CLIENT_JVM_ARGS% %JVM_ARGS_EXT% %SONICMQ_SSL_CLIENT% %PROTOCOL_HANDLER_PKGS% %SONICMQ_SERVICE_ADMIN% -cp "%SONICMQ_CLASSPATH%" progress.message.tools.Explorer