This discussion is archived
0 Replies Latest reply: Jan 19, 2013 2:07 AM by 903463 RSS

CA SiteMinder Agent r 12.0 SP2 for Oracle WebLogic Server 10.3 integration

903463 Newbie
Currently Being Moderated
Hi All,

I am doing CA SiteMinder Agent r 12.0 SP2 for Oracle WebLogic Server 10.3 in MS Windows 2003 Server SP2  environment.
I have an issue with WebLogic restart after configuration below steps.

Set the WebLogic Environment for SiteMinder on Windows
To set the environment for the SiteMinder Agent on a standalone WebLogic
Server on Windows, do the following:
■ Define a Java environment variable smasa.home that refers to the directory
where the SiteMinder Agent for WebLogic is installed.
■ Add the following SiteMinder Agent files and directories to the CLASSPATH
variable:
– – ASA_HOME\lib\smagentapi.jar
– ASA_HOME\lib\smjavasdk2.jar
– ASA_HOME\lib\sm_cryptoj.jar


ASA_HOME\conf
ASA_HOME\lib\smclientclasses.jar
Add the following SiteMinder Agent option to the WebLogic execution entry:

-Dsmasa.home=%SMASA_HOME%

xample: Set the Environment for a Standalone WebLogic Server on
Windows
The following procedure is an example of how to set the environment for the
SiteMinder Agent on a standalone WebLogic Server on Windows.
1. Edit the startWebLogic.cmd file.
The startWebLogic.cmd is located in
wl_install\user_projects\domains\your_domain\bin
where wl_install is the installed location of the WebLogic application server,
and your_domain is the name of the WebLogic domain where the SiteMinder
Agent is installed.
2. Define SMASA_HOME as follows:
set SMASA_HOME=ASA_HOME
ASA_HOME
Specifies the installed location of the SiteMinder Agent.
3. Define SMASA_CLASSPATH as follows:
set SMASA_CLASSPATH=%SMASA_HOME%\conf;
%SMASA_HOME%\lib\smagentapi.jar;
%SMASA_HOME%\lib\smjavasdk2.jar;
%SMASA_HOME%\lib\sm_cryptoj.jar;
%SMASA_HOME%\lib\smclientclasses.jar;
4. Add %SMASA_CLASSPATH% to the beginning of the CLASSPATH definition.
The modified CLASSPATH variable should resemble the following:
set CLASSPATH=%SMASA_CLASSPATH%;%CLASSPATH%

5. Define the SM_JAVA_OPTIONS variable as follows:
set SM_JAVA_OPTIONS= -Dsmasa.home=%SMASA_HOME%
6. Add %SM_JAVA_OPTIONS% to the execution entry.
The modified execution entry should resemble the following:
if "%WLS_REDIRECT_LOG%"=="" (
echo Starting WLS with line:
echo %JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%
%SM_JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME%
-Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %PROXY_SETTINGS%
%SERVER_CLASS%
%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%
%SM_JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME%
-Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %PROXY_SETTINGS%
%SERVER_CLASS%
) else (
echo Redirecting output from WLS window to %WLS_REDIRECT_LOG%
%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS%
%SM_JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME%
-Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %PROXY_SETTINGS%
%SERVER_CLASS% >"%WLS_REDIRECT_LOG%" 2>&1
)
7. Save startWebLogic.cmd.
8. Restart the WebLogic Application Server for changes to take effect.

When restarted WebLogic Server, it showing below error:

* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
***************************************************
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)
Starting WLS with line:
C:\bea\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Xverify:none -da -Dplat
form.home=C:\bea\WLSERV~1.3 -Dwls.home=C:\bea\WLSERV~1.3\server -Dweblogic.home=
C:\bea\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeD
ev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea\patc
h_wls1030\profiles\default\sysext_manifest_classpath;C:\bea\patch_cie660\profile
s\default\sysext_manifest_classpath
'-Dsmasa.home' is not recognized as an internal or external command,
operable program or batch file.
'-Djava.security.policy' is not recognized as an internal or external command,
operable program or batch file.
'weblogic.Server' is not recognized as an internal or external command,
operable program or batch file.
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-jrockit to select the "jrockit" VM
-client to select the "client" VM
-server to select the "server" VM [synonym for the "jrockit" VM]
The default VM is jrockit.

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument

-splash:<imagepath>
show splash screen with specified image
'-Dsmasa.home' is not recognized as an internal or external command,
operable program or batch file.
'-Djava.security.policy' is not recognized as an internal or external command,
operable program or batch file.
'weblogic.Server' is not recognized as an internal or external command,
operable program or batch file.

Please suggest where i made a mistake.

regards
user11339768

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points