Problem in grid control

Hi all,
I am facing below problem in our grid control
Target Name=emrep
Target type=Database Instance
Host=tfoisapp2
Occurred At=Jan 20, 2012 3:11:50 PM IST
Message=Failed to connect to database instance: ORA-12519: TNS:no appropriate service handler found (DBD ERROR: OCIServerAttach).
Severity=Critical
Acknowledged=No
Notification Rule Name=TEST
Notification Rule Owner=SYSMAN
Our management repository database is up & running. Unable to stop OMS services
With Regards,
Jenny John

Hi;
After hid & trail solved the problem.. thank uYour welcome If you think you have your answer for your theard; please change thread status to answered if it possible, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios

Similar Messages

  • Problems installing Grid Control on sparc 5.8

    problems installing Grid Control on sparc 5.8......After entering the parent directory and clicking next, the "preparing to install, Please wait, this will take a moment" screen comes up. It seems like this goes into an infinite loop. Any ideas?

    Using paramFile: /u02/10gEM/10gEM_R2/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be 5.6, 5.7, 5.8, 5.9 or 5.10. Actual 5.8
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 1777 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 1798 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 256 Passed
    All installer requirements met.
    Checking operating system patches: 108652-66,108921-16,108940-53,108773-18,111310-01,109147-24,111308-03,111111-03,112396-02,110386-03,111023-
    02,108987-13,108528-21,108989-02,108993-18 Passed
    Checking for patch 108652-66; found 108652-66
    Checking for patch 108921-16; found 108921-21
    Checking for patch 108940-53; found 108940-63
    Checking for patch 108773-18; found 108773-18
    Checking for patch 111310-01; found 111310-01
    Checking for patch 109147-24; found 109147-30
    Checking for patch 111308-03; found 111308-05
    Checking for patch 111111-03; found 111111-03
    Checking for patch 112396-02; found 112396-02
    Checking for patch 110386-03; found 110386-03
    Checking for patch 111023-02; found 111023-03
    Checking for patch 108987-13; found 108987-13
    Checking for patch 108528-21; found 108528-29
    Checking for patch 108989-02; found 108989-02
    Checking for patch 108993-18; found 108993-18
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-46-21AM
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.oui/10.2.0.1.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-46-21A
    M
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.oui.core/10.2.0.1.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-4
    6-21AM
    The number of files bootstrapped for the jre is 640.
    The number of files bootstrapped for the oui is 94.
    Execvp of the child jre : the cmdline is /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java, and the argv is
    /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui/lib/solaris
    -Doracle.installer.oui_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/u02/10gEM/10gEM_R2/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=5.8
    -Djava.net.preferIPv4Stack=true
    -mx150m
    -cp
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.oui.core/10.2.0.1.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-4
    6-21AM
    The number of files bootstrapped for the jre is 640.
    The number of files bootstrapped for the oui is 94.
    Execvp of the child jre : the cmdline is /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java, and the argv is
    /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui/lib/solaris
    -Doracle.installer.oui_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/u02/10gEM/10gEM_R2/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=5.8
    -Djava.net.preferIPv4Stack=true
    -mx150m
    -cp
    /tmp/OraInstall2007-03-14_10-46-21AM:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/j
    lib/oneclick.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/srvm.jar:/tmp/Ora
    Install2007-03-14_10-46-21AM/oui/jlib/share.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2007-03-14_10
    -46-21AM/oui/jlib/xml.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/or
    ai18n-mapping.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/emCfg.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/ojmisc.jar:/tmp/OraIns
    tall2007-03-14_10-46-21AM/oui/jlib/InstImages.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2007-03-14_10-46-2
    1AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstH
    elp_fr.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_ja.jar:/tmp/Or
    aInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2007-03
    -14_10-46-21AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2007-03-14_10-46-21
    AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/help4.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/help4-nls.jar
    :/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/ewt3.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2007
    -03-14_10-46-21AM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/swingaccess.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui
    /jlib/classes12.jar::/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/jewt4.jar:/tmp/
    OraInstall2007-03-14_10-46-21AM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help.jar:/tmp/OraInstall2007-03
    -14_10-46-21AM/ext/jlib/em_1click_help_de.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_es.jar:/tmp/OraInstall2007-03-14_10
    -46-21AM/ext/jlib/em_1click_help_fr.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_it.jar:/tmp/OraInstall2007-03-14_10-46-21
    AM/ext/jlib/em_1click_help_ja.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_ko.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext
    /jlib/em_1click_help_pt_BR.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_zh_CN.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext
    /jlib/em_1click_help_zh_TW.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/cfmlogger_properties.jar
    oracle.sysman.emgc.oneclick.OneStartup
    -scratchPath
    /tmp/OraInstall2007-03-14_10-46-21AM
    -sourceLoc
    /u02/10gEM/10gEM_R2/install/../stage/products.xml
    -sourceType
    network
    -timestamp
    2007-03-14_10-46-21AM
    -nowelcome

  • Data Guard Summary problem using Grid Control.

    I setup data guard using Grid Control and after completion, the console of the standby database shows: "Unable to determine Data Guard information." under the Data Guard Summary section. The primary database is not showing the standby. I'm using Red Hat Linux Server 5.7 (64bit) and Oracle 10.2.0.5. This is a standalone (no RAC or ASM involved). When I run show configuration, the following comes up:
    DGMGRL> SHOW CONFIGURATION;
    Configuration
    Name: PRODDB_ghph@ora01
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    ghph - Primary database
    gsbh - Physical standby database (disabled)
    Current status for "PRODDB_ghph@ora01":
    SUCCESS
    I tried searching online and metalink but nothing. Any help in solving this problem would be appreciated. TIA
    Edited by: Gensis2001 on Jan 8, 2013 3:08 PM

    Gensis2001 wrote:
    Does this make any sense?
    SYS@gsbh> SELECT * FROM V$ARCHIVE_GAP;
    no rows selected
    SYS@gsbh> select process, status, sequence# from v$managed_standby;
    PROCESS STATUS SEQUENCE#
    ARCH CLOSING 60353
    ARCH CLOSING 60352
    RFS IDLE 60354
    MR(fg) WAIT_FOR_GAP 58673
    4 rows selected.Currently standby is waiting for the sequence *58673* but the later on archives of series 60353... are already archived.
    Can you confirm that only archive sequence * 58673* is missing or any more? If you have less number of archives are missing then see how the parameters you configured. like FAL_SERVER, LOG_ARCHIVE_CONFIG, LOG_ARCHIVE_DEST_n so on.
    Check below command and see any errors with remote destinations
    select severity,error_code,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') "timestamp" , message from v$dataguard_status where dest_id=2;Source: http://www.oracle-ckpt.com/dataguard_troubleshoot_snapper/
    If the archives are missing so many and you do not have backup, then certainly you have to choose incremental roll forward to synchronize the primary database, then only you can see the configuration status of Broker as valid. You can refer this article to perform incremental roll forward http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/

  • A problem for grid control agent installation.

    Hi, All:
    I am installing EM grid control agent installation in wanted server...
    after agent installation and excuting root.sh, OUI start to run automatically Agent Configuration Assistant... then got an error, the reason for error from the log is :
    Requesting an Oracle Wallet and Agent Key from the OMS... Failed.
    Invalid Agent Registration Password.
    The Agent has not been secured.
    that means I put wrong agent registration password,
    so how can I fix this in the mid way?
    thanks a lot in advance.

    I tried
    emctl secure agent
    when prompt for password:
    (just type enter, leave it empty)
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Stopping agent...
    seems like that process is never ending....
    then I typed CTL+C
    ..............................Failed to stop agent.

  • Download problems with grid control zip file

    Hello,
    Does anyone have any insight as to why I am having problems fully downloading the first zip file for linux? I was able to download file 2 and file 3 completely without any problems but the first file always stops at around 600 MB.
    I have tried three different computers.
    Thanks in advance.
    A/A

    Downloaded about 1 month ago without any problem. If it fails again, let me know. I can test it again.

  • Time zone problem in grid control

    hi
    my management server (10g) is on windows 2000 and windows is running on time zone GMT+5
    Iinstalled agent 10g on Red Hat Linux Advance Server 4 and during instalation it sucessfully detects the OMS running on windows. After installation, it doesnt start the agent.
    I tried manually starting agent butfailed and in log file i found the following error
    2006-03-22 07:05:21 Thread-16384 Starting Agent 10.2.0.1.0 from /opt/oracle/product/10.2.0/agent10g (00701)
    2006-03-22 07:05:27 Thread-16384 <Ping Manager> Invalid TIMEZONE for agent not compatible with OMS timezone, Agent will shutdown. Update agentTZRegion property in /opt/oracle/product/10.2.0/agent10g/sysman/config/emd.properties file (00900)
    2006-03-22 07:05:28 Thread-16384 [E-Mail IMAP Server] InstanceProperty (imap_host) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:29 Thread-16384 [Database Instance] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:31 Thread-16384 [E-Mail POP Server] InstanceProperty (pop_host) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:31 Thread-16384 [Cluster Database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:32 Thread-16384 [Load Balancer Switch] InstanceProperty (snmpTimeout) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:32 Thread-16384 [E-Mail SMTP Inbound Server] InstanceProperty (smtp_host) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:32 Thread-16384 [E-Mail SMTP Outbound Server] InstanceProperty (smtp_host) is marked OPTIONAL but is being used (00506)
    2006-03-22 07:05:39 Thread-16384 No such metric sqlnetParams (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric ha_flashrecovery (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric ha_recovery (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric ha_rac_intrconn (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric db_options (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric linuxProvision (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric ProgramResourceUtilization (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric LogFileMonitoring (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric storage_reporting_data (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric storage_reporting_keys (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric storage_reporting_alias (00400)
    2006-03-22 07:05:39 Thread-16384 No such metric storage_reporting_issues (00400)
    2006-03-22 07:05:39 Thread-16384 EMAgent started successfully (00702)
    2006-03-22 07:05:39 Thread-16384 EMAgent abnormal terminating (00704)
    The time zone for agent and my linux system is Asia/Karachi with is GMT+5. can you give me a clue how to resolve this?
    Regards

    # perl executable directory
    perlBin=/opt/oracle/product/10.2.0/agent10g/perl/bin
    # script directory
    scriptsDir=/opt/oracle/product/10.2.0/agent10g/sysman/admin/scripts
    # emd Root directory(read-only location). Metrics should not create files
    # under this directory
    emdRoot=/opt/oracle/product/10.2.0/agent10g
    # agent Root directory(writeable).
    # Use this property to base any temporary file creation.
    agentStateDir=/opt/oracle/product/10.2.0/agent10g
    # Chronos root directory
    chronosRoot=/opt/oracle/product/10.2.0/agent10g/sysman/emd/chronos
    # OMS Upload URL
    # if there is no receiving OMS or if you wish to disable the UploadManager
    # please set this value to empty or comment out below line
    REPOSITORY_URL=http://lhrpc419:4889/em/upload/
    # Proxy settings used for fetchlets. not applicable for uploader.
    #proxyHost=www-proxy.us.oracle.com
    #proxyPort=80
    #dontProxyFor=.us.oracle.com
    # If it is necessary to go through an http proxy server to get to the
    # repository, uncomment the following two lines
    #REPOSITORY_PROXYHOST=
    #REPOSITORY_PROXYPORT=
    #REPOSITORY_PROXYREALM=%EM_REPOS_PROXYREALM%
    #REPOSITORY_PROXYUSER=%EM_REPOS_PROXYUSER%
    #REPOSITORY_PROXYPWD=%EM_REPOS_PROXYPWD%
    # This string is used by the agent to connect to remote targets
    # ***IMPORTANT*** Do not change the contents of this setting. Only the
    # install should modify this value.
    agentSeed=144455808
    # This string is used by the agent to determine which algorithm to use for encrypted data
    # The string value will be same as the release version
    agentVersion=10.2.0.0.0
    # How long, in minutes, collector will wait until next load.
    UploadInterval=15
    # If an upload fails, we want to backoff by UploadFailBackoff
    # percentage more each time for each successive upload failure
    # e.g. if we start the retry at 1 minute. If we fail in our next
    # upload attempt, we try again 1minute 12 seconds later etc.
    UploadFailBackoffPct= 20
    # Maximum amount of time, in seconds, upload will wait for response from
    # repository before timing out.
    # 0 means infinite.
    UploadTimeout=1800
    # Timeout for upload a file, HealthMonitor will abort the EMD process if
    # UploadManager does not finish uploading one file within this time
    # Unit is minite, the default value is 1 hour ( 15 Min)
    #UploadMaxTime=30
    # How big the file the collector will upload (in KB)
    # the actual file size could be slightly bigger.
    # This is only a guidance.
    UploadFileSize=2048
    # The maximum number of megabytes(MB) the upload manager will support in the
    # upload directory before temporarily disabling collections, logging and tracing
    UploadMaxBytesXML=50
    # The maximum number of files the upload manager will support in the
    # upload directory before temporarily disabling collections, logging and tracing
    UploadMaxNumberXML=5000
    # The maximum amount (%) of disk space that can be used on the EMD filesystem
    # before the following is disabled:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPct=98
    # The amount (%) of disk space that can be used on the EMD filesystem
    # before the following is re-enabled after being disabled previously:
    # - Collection of data (upload manager)
    # - Logging and tracing
    UploadMaxDiskUsedPctFloor=95
    # Time out for the Agent to think that the access to the database could be
    # hung. The Agent would not allow more threads to go and hang with a database
    # if any one access to the database does not return within DbHangTimeout
    # seconds.
    # The more the timeout more the possibility of allowing more threads
    # to be hung in the EMD with a bad database.it is specified in seconds.
    #DbHangTimeout=200
    # The script to run if disk space usage exceeds parameters or if certain other
    # error conditions occur.
    #emdFailureScript=emdfail.command
    # The location of the file that contains the root certificate.
    emdRootCertLoc=/opt/oracle/product/10.2.0/agent10g/sysman/config/b64LocalCertificate.txt
    internetCertLoc=/opt/oracle/product/10.2.0/agent10g/sysman/config/b64InternetCertificate.txt
    # The download URL for the EMD Oracle Wallet and its local file location.
    # Note: Ensure that this URL references a valid port number at which the
    # console is available on http
    emdWalletSrcUrl=http://lhrpc419:4889/em/wallets/emd
    emdWalletDest=/opt/oracle/product/10.2.0/agent10g/sysman/config/server
    # The email address for out-of-band notifications
    emd_email_address=_NOT_AVAILABLE_
    emd_email_gateway=_NOT_AVAILABLE_
    # The return email address for out-of-band notifications
    emd_from_email_address=_NOT_AVAILABLE_
    # EMD main servlet URL
    EMD_URL=http://nisar.lhr.systemsltd.com:3872/emd/main/
    # Whether the EMD should listen on all NICs on the current host (the default)
    # or just the NIC associated with the hostname in EMD_URL
    AgentListenOnAllNICs=TRUE
    # This parameter indicates the thread model to use. uncomment one of the
    # following ThreadPoolModel line to indicate the model, agent need to use.
    # SMALL if number of targets is less than 11.
    # MEDIUM if number of targets is from 11 to 50.
    # LARGE if number of targets is greater than 50.
    # This parameter can be overriden by 'MaxThreads' which indicates the maximum
    # number of threads that CEMD can have running at any point of time. User can
    # mostly use the other parameter ThreadPoolModel to indicate what model for the
    # agent to use.
    # ThreadPoolModel = SMALL
    # ThreadPoolModel = MEDIUM
    # ThreadPoolModel = LARGE
    # This parameter indicates the stack size, threads have to be created with.
    # we can set it to 0 to use the OS default value.
    # In some version of solaris(such as 2.9 ) specify a stack size may cause Java Hotspot warning
    # when JVM is used.
    NormalThreadStackSize=0
    #Signals that users want to ignore.
    #It can be one or combination of SIGTERM, SIGINT
    # The signals can listed with ',' as delimiter.
    #IgnoreSignals=
    # This property is NO LONGER USED for host config collection (instead, hostConfigClasspath is used).
    # If noone else uses it, it can be removed.
    ouiLoc=/opt/oracle/product/10.2.0/agent10g/oui
    # Classpath for host config collection
    # VERY IMPORTANT NOTE: If you change the host config classpath entries in this section, you HAVE
    # to change the HOST_CONFIG_TEST_CLASSPATH entry in the utl/emdwqaenv file too.
    # NOTE: if the location of log4j-core.jar is changed
    # make sure that appropriate changes are also made
    # to the CLASSPATH variable in this file if necessary
    # PORTING NOTE: Check OUI-required jar files for OUI APIs to work. They could be different on your platform.
    # Also, our version of xmlparserv2.jar must be compatible with the one OUI expects (both OUI and ECM use XML parser).
    hostConfigClasspath=/opt/oracle/product/10.2.0/agent10g/oui/jlib/xmlparserv2.jar:/opt/oracle/product/10.2.0/agent10g/oui/jlib/OraInstaller.jar:/opt/oracle/product/10.2.0/agent10g/oui/jlib/srvm.jar:/opt/oracle/product/10.2.0/agent10g/oui/jlib/share.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/emcoreAgent.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/emagentRT.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/emagentSDK.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/log4j-core.jar
    # JAVA HOME required for JavaExt metric calls
    JAVA_HOME=/opt/oracle/product/10.2.0/agent10g/jdk/jre
    # CLASSPATH required for JavaExt metric calls
    CLASSPATH=/opt/oracle/product/10.2.0/agent10g/jdbc/lib/ojdbc14.jar:/opt/oracle/product/10.2.0/agent10g/lib/xmlparserv2.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/log4j-core.jar:/opt/oracle/product/10.2.0/agent10g/jlib/http_client.jar:/opt/oracle/product/10.2.0/agent10g/jlib/share.jar:/opt/oracle/product/10.2.0/agent10g/jlib/jssl-1_1.jar:/opt/oracle/product/10.2.0/agent10g/jlib/javax-ssl-1_1.jar:/opt/oracle/product/10.2.0/agent10g/jlib/ojmisc.jar:/opt/oracle/product/10.2.0/agent10g/jlib/repository.jar:/opt/oracle/product/10.2.0/agent10g/opmn/lib/optic.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/emagentRT.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/emagentSDK.jar:/opt/oracle/product/10.2.0/agent10g/lib/dmsEmd.jar:/opt/oracle/product/10.2.0/agent10g/sysman/jlib/emcoreAgent.jar
    # this is the java option
    #JAVA_OPTIONS=-Xmx128m
    #JAVA_OPTIONS=-Djava.awt.headless=true
    # These are the optional Java flags for the in-process Java
    # Native Interface (JNI)
    agentJavaDefines=-Doracle.dms.refresh.wait.time=1000 -DUrlTiming.UseJSSE=true -Dnetworkaddress.cache.ttl=1800 -Djava.awt.headless=true
    # When set to true, the emd.log and emd.trc file will be appended by a pid
    # For example:
    # emd_15789.log
    # emd_15789.trc
    # By default, it is not set for regression test purpose.
    # After installed, please uncomment this line because when EMD is restarted,
    # previous log information will be lost if not set to true.
    #LogFileWithPID=true
    # Default log file maximum size before rolling in Kilobytes
    LogFileMaxSize=4096
    # Maximum number of log file roll files to maintain before deletion
    LogFileMaxRolls=4
    # Default trace file maximum size before rolling in Kilobytes
    TrcFileMaxSize=4096
    # Maximum number of trace file roll files to maintain before deletion
    TrcFileMaxRolls=4
    # To enable the metric browser, uncomment the following line
    # This is a reloadable parameter
    #enableMetricBrowser=true
    # To disable Remote operations (non-reachable agent) uncomment the following
    # line:
    #disableRemoteOperations=true
    # How long (in secs) until a remote operation sumbitted via the dispatcher can
    # take before the agent in bounced by the watchdog. This timeout applied to only
    # those operation which ought to finish within a certain interval of time
    RemoteAPITimeout=300
    # add an additional admin path from which the agent will read additional
    # target metadata. The specified path should have the mandatory 4 directories
    # under it. 1. metadata 2. scripts 3. default_collection 4. discover
    #altAdminPath=<additional admin path>
    # The health monitor executes callbacks in a separate thread. if for some
    # reason the threads spawned from health monitor to execute callbacks are
    # hung, the agent could run out of resource and freeze.
    # so when the current thread count spawned from the Health monitor reaches
    # this limit, the agent is bounced. the default is set to 5.
    #MaxHealthMonitorThreads=5
    # SSL session cache flag
    #SSLSessionCache=TRUE
    # emagent perl tracing levels
    # supported levels: DEBUG, INFO, WARN, ERROR
    # default level is WARN
    EMAGENT_PERL_TRACE_LEVEL=WARN
    # other optional parameters for perl tracing
    # EMAGENT_PERL_TRACE_DIR default to $ORACLE_HOME/sysman/log
    #EMAGENT_PERL_TRACE_DIR=
    # EMAGENT_PERL_TRACE_FILESIZE default to 5M
    #EMAGENT_PERL_TRACE_FILESIZE=5
    # this section define the logging level for each component,
    # it is "reloadable", you can change the level at runtime to reset
    # the logging level, but if you remove the line, it will not be
    # changed.
    tracelevel.main=WARN
    tracelevel.emSDK.xml=WARN
    tracelevel.emSDK.utl=WARN
    tracelevel.Dispatcher=WARN
    tracelevel.ThreadPool=WARN
    tracelevel.pingManager=WARN
    tracelevel.collector=WARN
    tracelevel.http=WARN
    tracelevel.http.client=WARN
    tracelevel.browser=WARN
    tracelevel.ssl=WARN
    tracelevel.ssl.io=WARN
    tracelevel.blackouts=WARN
    tracelevel.upload=WARN
    tracelevel.command=WARN
    tracelevel.reload=WARN
    tracelevel.scheduler=WARN
    tracelevel.Authentication=WARN
    tracelevel.metadata=WARN
    tracelevel.targets=WARN
    tracelevel.TargetManager=DEBUG
    tracelevel.engine=WARN
    tracelevel.javaproc=WARN
    tracelevel.vpxoci=WARN
    tracelevel.javavm=WARN
    tracelevel.fetchlets=WARN
    tracelevel.fetchlets.os=WARN
    tracelevel.fetchlets.osline=WARN
    tracelevel.fetchlets.oslinetok=WARN
    tracelevel.fetchlets.snmp=WARN
    tracelevel.fetchlets.UDM=WARN
    tracelevel.fetchlets.PropsFromAssocTgt=WARN
    tracelevel.fetchlets.sql=WARN
    tracelevel.fetchlets.url=WARN
    tracelevel.fetchlets.urllines=WARN
    tracelevel.fetchlets.urllinetoken=WARN
    tracelevel.fetchlets.URLTiming=WARN
    tracelevel.fetchlets.OJMX=WARN
    tracelevel.fetchlets.propEcho=WARN
    tracelevel.fetchlets.readFromFile=WARN
    tracelevel.fetchlets.readMultFromFile=WARN
    tracelevel.fetchlets.throwable=WARN
    tracelevel.fetchlets.resourceGrab=WARN
    tracelevel.fetchlets.statusHang=WARN
    tracelevel.fetchlets.emSDK=WARN
    tracelevel.recvlets=WARN
    tracelevel.recvlets.snmp=WARN
    tracelevel.credproviders=WARN
    tracelevel.utl=WARN
    tracelevel.NLS=WARN
    tracelevel.util.dates=WARN
    tracelevel.util.emdprops=WARN
    tracelevel.util.files=WARN
    tracelevel.util.fileops=WARN
    tracelevel.resman.socket=WARN
    tracelevel.resman.process=WARN
    tracelevel.ResMonitor=WARN
    tracelevel.emtgtctl=WARN
    # The following three properties are for HTTP timeout
    # Timeout value for reading Http primary header, default is 30 seconds.
    httpTimeoutPrimaryHeader=30
    # Timeout value for reading http secondary headers, default is 30 seconds
    httpTimeoutSecondaryHeaders=30
    # Timeout value for reading http body, default is 60 seconds.
    httpTimeoutBody=60
    # Timeout used by ping manager
    #PingTimeout=30
    #Timeout for Dynamic property evaluation. This is provided in seconds.
    #The dynamicPropsComputeTimeout value applies to all target types unless if a
    #target type specific value is provided using the
    #dynamicPropsComputeTimeout_<targetType>= syntax
    #dynamicPropsComputeTimeout=30
    #Requested by RAC team in bug 4423072
    dynamicPropsComputeTimeout_rac_database=120
    #bug 4595094
    dynamicPropsComputeTimeout_oracle_database=120
    agentTZRegion=Asia/Karachi

  • Grid Control showing excessive amount of disk utilization.

    Hi Folks,
    I understand that Oracle doesn't support their products 100% on non Oracle VMs, but I thought I might take a stab at it.
    I decided to stick with a simple installation of Oracle Grid Control running on a Windows 2003 R2 32 bit os, here are the steps I took.
    1. Run Guest OS Windows 2003 R2 32 bit on a Windows 2008 x64 running Hyper-V (Yes I know why not EL5 running XEN, long story)
    2. Install Grid Control with Database and Agent versions 10.2.0.2.1
    3. Patch agent and oms to 10.2.0.5.0
    4. Some minor issues, but managed to get by those.
    - First off EM Website shows down, got to take a look at that, probably need to fix the beacon, not sure!
    Problem:
    - Grid shows that the host running em is over 100% disk utilization.
    - According to Metalink this is a known bug in Windows 2000 Performance Counters (not 2003?)
    - More specially Microsoft KB article Q310067.
    - Metalink Doc Id: 303788.1
    - Note, I'm running 2003 on a Hyper-V Guest, so anything can go wrong!
    The specific error is:
    Metric               Disk Device Busy (%)
    Disk Device               0 C:
    Severity               Critical
    Alert Triggered          Jun 3, 2009 7:57:54 PM
    Last Updated          Jun 4, 2009 3:48:48 PM
    Acknowledged          No
    Acknowledged By     n/a
    Message               Disk Utilization for 0 C: is 587.86%, crossed warning (80) or critical (95) threshold.
    More info:
    - Guest is running on a Dual Quad Core Xeon System with 16 GB of RAM
    - Guest has dedicated 4096MB of ram
    - Guest has dedicated 2 CPUS
    - Guest is configured with a Virtual Disk (specifically partition c:\) to be on local Hyper-V disk array
    - Windows 2008 Hyper-V host disk array is in a RAID 5 configuration running 10k SAS drives
    - Windows 2008 Hyper-V host utilization is literary at most 5% (current is 1%)
    - Windows 2008 Hyper-V disk utilization according to graphs is showing 100KB/s usage (less than 1%)
    Temporary solution is to turn off the metric, but not sure if that's such a good idea.
    - Note that 11g EM and 10g EM running on Hyper-V server had the same issue.
    - Note that 11g EM and 10g EM running without visualization had no issues.
    Any thoughts?

    It may be related to Bug 8677212: BACKUP INFORMATION FOR SOME DATABASES SHOWS INCORRECTLY
    Although bug info says it for HP-UX, I've also seen the same problem on Grid Control 10.2.0.5 running on Solaris.
    You may want to apply 10.2.0.5.4 Grid Control Patch Set Update (PSU) [ID 1139563.1] to fix it.
    Best Regards,
    Gokhan Atil
    If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. Thanks

  • Grid Control 에서 새 target node를 추가한 이후에 기존OMS와 새 Agent 간의 HeartBeat fail 해결방

    Grid Control 에서 새 target node를 추가한 이후에 기존OMS와 새 Agent 간의 HeartBeat fail 해결방법
    =========================================================================
    다음은 Grid Control 을 설치한 이후에 node를 관리해 오다가 새로운 관리할 Target node를
    추가한 이후에 Grid Control 이 있는 node의 OMS와 새로 추가한 node의 Agent가 HeartBeat 통신
    실패 시에 해결책을 소개하고 있습니다.
    Problem Description
    Grid Control 에서 새로운 node를 추가한 다음에 그 새로운 node 에서
    emctl status agent 명령 수행 시 다음과 같은 에러가 발생합니다.
    Environment :
    mesdev01 : 새로 추가한 Agent가 있는 node명
    mesdev02 : 'Central Grid Agent' 존재 & 'Repository database가 존재하는 node'
    새로 추가한 node에서 아래와 같이 emctl status agent 명령을 수행합니다.
    그런데, OMS에 대한 HeartBeat fail 이 발생했음을 알 수 있습니다.
    [mesdev01:/oracle/app/oracle/product/agent10g/bin] emctl status agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Proto Version : 10.2.0.2.0
    Agent Home : /oracle/app/oracle/product/agent10g
    Agent binaries : /oracle/app/oracle/product/agent10g
    Agent Process ID : 10526
    Parent Process ID : 10511
    Agent URL : http://mesdev01:3872/emd/main/
    Repository URL : http://mesdev02:4889/em/upload/
    Started at : 2007-12-28 10:36:59
    Started by user : oracle
    Last Reload : 2007-12-28 10:36:59
    Last successful upload : (none)
    Last attempted upload : (none)
    Total Megabytes of XML files uploaded so far : 0.00
    Number of XML files pending upload : 287
    Size of XML files pending upload(MB) : 26.40
    Available disk space on upload filesystem : 40.44%
    Last attempted heartbeat to OMS : 2007-12-28 14:13:36
    Last successful heartbeat to OMS : unknown <===
    여기서 주목할 만한 에러는 Last successful heartbeat to OMS 체크 시 status가
    unknown 으로 보인다는 것입니다.
    에러 증상
    emctl status agent 수행 시 Last successful heartbeat to OMS : unknown
    또는 agent 에서 OMS의 Status를 알 수 없다는 아래의 에러가 보이는 경우임.
    Note: "The OMS status is Unknown"
    Explanation
    이러한 에러는 주로 agent가 node에 새로(newly) install 된 경우 발생합니다.
    원래 communication 이 정상적으로 보인다면 다음과 같이 수행 결과가 나와야 합니다.
    다음은 Repository database가 존재하는 mesdev02 node에서 emctl status agent를 수행한 결과
    성공적으로 보이는 결과입니다.
    mesdev02:/u01/app/oracle/OracleHomes/agent10g/bin$ emctl status agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Proto Version : 10.2.0.2.0
    Agent Home : /u01/app/oracle/OracleHomes/agent10g
    Agent binaries : /u01/app/oracle/OracleHomes/agent10g
    Agent Process ID : 29307
    Parent Process ID : 29300
    Agent URL : https://mesdev02:3872/emd/main/
    Repository URL : https://mesdev02:1159/em/upload
    Started at : 2007-12-27 11:29:22
    Started by user : oracle
    Last Reload : 2007-12-27 17:57:18
    Last successful upload : 2007-12-28 15:02:09
    Total Megabytes of XML files uploaded so far : 48.78
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 38.29%
    Last successful heartbeat to OMS : 2007-12-28 15:02:59 <====
    Agent is Running and Ready
    원인
    이 에러가 발생하는 원인은 새로 추가한 database의 Agent process가 GRID Control 이
    install된 main server의 OMS와 연결되지 않기 때문인데, 이렇게 새로운 node를 추가한 이후에
    수행해줘야 할 절차가 있습니다.
    OMS_HOME/sysman/log 의 secure.log 를 확인해 보면 OMS is "secure locked" 라는 에러가 보입니다.
    The OMS is "secure locked", then the agent also needs to be secure.
    [ 사전 check 사항 ]
    1. 두 node 모두 DNS server에 등록되어 있는지 확인한다.
    2. 두 node 모두 쌍방 간에 /etc/hosts file에 서로의 ip address와 hostname을 넣어준다.
    위 두가지 check 사항이 충족된 경우에도 발생한다면 새로 추가한 node 쪽에서 자신의 정보를
    OMS(즉, Repository node) 에게 정보를 upload하지 않았기 때문입니다.
    Upload를 하는 방법은 간단하게 아래와 같은 emctl upload agent 라는 명령으로 가능합니다.
    emctl upload agent
    Upload를 하게 될 때 그 정보는 XML 형태로 중앙 Repository에 저장됩니다.
    Solution Description
    아래 절차 중에 1번만 Grid Control이 설치된 OMS server에서 수행을 하고,
    2번~7번까지는 새로 추가한 Agent node에서 수행합니다.
    1. On oms server: (Grid Control 이 설치된 서버에서 수행)
    <OMS_HOME>/bin/emctl status oms -secure
    OMS node인 mesdev02 node에서 우선 emctl status oms -secure 를 수행합니다.
    mesdev02:/u01/app/oracle$$OMS_HOME/bin/emctl status oms -secure
    Oracle Enterprise Manager 10g Release 3 Grid Control
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Checking the security status of the OMS at location set in /u01/app/oracle/OracleHomes/oms10g/sysman/config/emoms.properties... Done.
    OMS is secure on HTTPS Port 1159
    2. Stop Agent: Agent를 설치한 node에서 수행합니다.
    <AGENT_HOME>/bin/emctl stop agent
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]./emctl stop agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Stopping agent ... stopped.
    3. Verify no residue emagent processes running:
    이와 같은 명령으로 남아 있는 emagent process가 있는지 확인합니다.
    ps -ef|grep emagent
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]ps -ef|grep emagent
    oracle 4353 3125 0 16:19:34 pts/tb 0:00 grep emagent
    4. If running secure please resecure agent on :
    <AGENT_HOME>/bin/emctl secure agent
    emctl secure agent 를 수행하는 목적은 모든 agent에 대해서 secure communication 을
    하기 위해 필요합니다.
    [ 주의사항 ]
    emctl secure agent 명령은 Grid Control installation 과정에서
    --> 'Specify Security Options' 단계에서
    --> Management Service Security 항목에서
    --> OMS와 함께 Secure Communication을 하고자 하는 agent에 password 설정을 하는데,
    --> Require Secure Communication for all agents 를 check 표시하였다면
    install 이후에 아래와 같이 emctl secure agent 명령을 수행하여야 합니다.
    (기본적으로 Require Secure Communication for all agents는 enable되어야 함).
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]./emctl secure agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Enter Agent Registration password :
    Agent is already stopped... Done.
    Securing agent... Started.
    Requesting an HTTPS Upload URL from the OMS... Done.
    Requesting an Oracle Wallet and Agent Key from the OMS... Done.
    Check if HTTPS Upload URL is accessible from the agent... Done.
    Configuring Agent for HTTPS in CENTRAL_AGENT mode... Done.
    EMD_URL set in /oracle/app/oracle/product/agent10g/sysman/config/emd.properties
    Securing agent... Successful.
    5. 4번 단계가 정상적으로 완료되면 이제 Agent를 기동합니다.
    Start Agent
    <AGENT_HOME>/bin/emctl start agent
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]./emctl start agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Starting agent ................................. started but not ready.
    6. Then verify upload works
    <AGENT_HOME>/bin/emctl upload agent
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]./emctl upload agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    EMD upload error: Upload timedout before completion
    ==> timedout 메시지는 warning으로 보이며, 운영에는 지장이 없습니다.
    7. 다시 확인 차 emctl status agent 명령을 수행해 봅니다.
    Then run status of agent
    <AGENT_HOME>/bin/emctl status agent
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]./emctl status agent
    Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.3.0
    OMS Version : 10.2.0.3.0
    Proto Version : 10.2.0.2.0
    Agent Home : /oracle/app/oracle/product/agent10g
    Agent binaries : /oracle/app/oracle/product/agent10g
    Agent Process ID : 4618
    Parent Process ID : 4609
    Agent URL : https://mesdev01:3872/emd/main/
    Repository URL : https://mesdev02:1159/em/upload
    Started at : 2008-01-02 16:21:03
    Started by user : oracle
    Last Reload : 2008-01-02 16:21:03
    Last successful upload : 2008-01-02 16:25:37
    Total Megabytes of XML files uploaded so far : 54.28
    Number of XML files pending upload : 40
    Size of XML files pending upload(MB) : 0.97
    Available disk space on upload filesystem : 37.22%
    Collection Status : Disabled by Upload Manager
    Last successful heartbeat to OMS : 2008-01-02 16:24:49 <== success!
    Agent is Running and Ready
    [mesdev01:/oracle/app/oracle/product/agent10g/bin]
    8. 만약 Last successful heartbeat to OMS 에 위와 같은 success로 보이지 않으면
    step 1부터 7까지 수행된 모든 output 을 수집하여 문의를 합니다.
    9. 그리고, debugging을 위해 다음의 log 화일들을 보관하시기 바랍니다.
    <OMS_HOME>/sysman/log
    <OMS_HOME>/sysman/log 의 secure.log가 특히 중요합니다.
    <AGENT_HOME>/sysman/log
    References
    Note 458033.1
    Title:Problem: Agent Upload Fails: OMS Is Locked and Agent not Secured

  • OMS error during install Grid control 10gR2 on Windows 2003

    He,
    I get this error during install Grid control 10gR2 on a new server win2003.
    "oracle.sysman.emcp.agent.AgentPlugIn"
    What I see in forums is that I have to stop my listener and continue my installation.
    But I still have the same error !!
    Can you please help?
    Many thanks

    There are some guidelines here:
    Subject:      OracleAS Install Error When Configuring AS Console Agent - "oracle.sysman.emcp.agent.AgentPlugIn has failed"
         Doc ID:      Note:386308.1
    The solution stated is "Check the contents of the hosts of file and ensure that every entry is correct. All hostname / ip addresses have to be valid."
    When installing AS 9i R2 there was an issue with the names, those were supposed not to hava a hypen, so may be something was inherited from those kernels.
    There is another metalink note that document hosts issues:
    Problem: AgentCA: Grid Control Release 2 install fails with java.lang.Exception: 6 during Agent Configuration Assistant
         Doc ID:      Note:358640.1
    ~ Madrid.

  • 10g grid control installation (hanging problem) on RHEL AS 4.0

    Iam trying to install enterprise manager 10g(10.2.0.1.0) grid control on RHEL AS 4.0. At a stage after specifying security options the OUI hangs for long time (for about 15 mins) then it works fine till 100% installation then hanged for all day which i nevar see - (execute configuration scripts step). After a huge frustration i stopped the installation. Did anyone has come across this kind of problem..can anyone help me out of this problem...thanks in advance..
    The last few lines from logfile shows:
    *** End of Installation Page***
    The installation of Oracle Enterprise Manager Repository Database was successful.
    INFO: Path To 'globalcontext.xml' = /u01/app/oracle/product/10.2.0/db10g/install/chainedInstall/globalcontext

    Please paste the install action log and config log

  • Problem setting up the Software Library in Grid Control

    Hi,
    I installed Grid Control version 10.2.0.2 and patched it to 10.2.0.4 (on Win2003 Server Enterprise Edition 32 bit). After the installation i was advised to configure/add the software library. So i did as it was specified:
    "To configure the Software Library, click on the 'Provisioning' sub-tab and set the path for the Software Library from the 'Administration' page. After setting the path, run the following command from any one of the OMShosts: "${OMS_ORACLE_HOME}/bin/PARDeploy -action deploy -parDir ${OMS_ORACLE_HOME}/sysman/prov/paf -force" on Unix, or "${OMS_ORACLE_HOME}\bin\PARDeploy.bat -action deploy -parDir ${OMS_ORACLE_HOME}\sysman\prov\paf -force" on Windows."
    The problem is that when i set the path under the 'Provisioning', i get the following message:
    Successfully added Software Library Directory :
    C:\OracleOEM\swlib\, but Par files deployment failed
    And if i run the PARDeploy script, i get the following error:
    SQL> DECLARE
    ERROR at line 1:
    ORA-00001: unique constraint (SYSMAN.MGMT_PAF_APPS_UNIQ) violated
    ORA-06512: at "SYSMAN.MGMT_PAF_UTL", line 234
    ORA-06512: at line 4
    No errors.
    SQL>
    PL/SQL procedure successfully completed.
    SQL>
    PL/SQL procedure successfully completed.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    16 [main] DEBUG oracle.sysman.eml.swlib.DBEntity - SWLIB error=ORA-01400: cannot insert NULL into ("SYSMAN"."MGMT_SWLIB_DIRECTORI
    ES"."NAME")
    ORA-06512: at "SYSMAN.MGMT_SWLIB", line 1097
    ORA-06512: at line 1
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSMAN"."MGMT_SWLIB_DIRECTORIES"."NAME")
    ORA-06512: at "SYSMAN.MGMT_SWLIB", line 1097
    ORA-06512: at line 1
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3076)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4273)
    at oracle.sysman.eml.swlib.DBEntity.insertDirectory(DBEntity.java:526)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.saveDirectory(LibraryServiceImpl.java:742)
    at oracle.sysman.eml.swlib.xml.XMLLoader.retrieveDirectory(XMLLoader.java:364)
    at oracle.sysman.eml.swlib.xml.XMLLoader.processEntity(XMLLoader.java:178)
    at oracle.sysman.eml.swlib.xml.XMLLoader.process(XMLLoader.java:148)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.importEntities(LibraryServiceImpl.java:398)
    at oracle.sysman.pp.paf.par.PARFile.executeSwlib(PARFile.java:978)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:951)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:821)
    at oracle.sysman.pp.paf.par.Main.uploadPar(Main.java:238)
    at oracle.sysman.pp.paf.par.Main.main(Main.java:144)
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSMAN"."MGMT_SWLIB_DIRECTORIES"."NAME")
    ORA-06512: at "SYSMAN.MGMT_SWLIB", line 1097
    ORA-06512: at line 1
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3076)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4273)
    at oracle.sysman.eml.swlib.DBEntity.insertDirectory(DBEntity.java:526)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.saveDirectory(LibraryServiceImpl.java:742)
    at oracle.sysman.eml.swlib.xml.XMLLoader.retrieveDirectory(XMLLoader.java:364)
    at oracle.sysman.eml.swlib.xml.XMLLoader.processEntity(XMLLoader.java:178)
    at oracle.sysman.eml.swlib.xml.XMLLoader.process(XMLLoader.java:148)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.importEntities(LibraryServiceImpl.java:398)
    at oracle.sysman.pp.paf.par.PARFile.executeSwlib(PARFile.java:978)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:951)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:821)
    at oracle.sysman.pp.paf.par.Main.uploadPar(Main.java:238)
    at oracle.sysman.pp.paf.par.Main.main(Main.java:144)
    oracle.sysman.eml.swlib.exception.LibraryException: A database error has occurred. See administrator or logs for details.
    at oracle.sysman.eml.swlib.exception.LibraryException.databaseError(LibraryException.java:71)
    at oracle.sysman.eml.swlib.DBEntity.insertDirectory(DBEntity.java:543)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.saveDirectory(LibraryServiceImpl.java:742)
    at oracle.sysman.eml.swlib.xml.XMLLoader.retrieveDirectory(XMLLoader.java:364)
    at oracle.sysman.eml.swlib.xml.XMLLoader.processEntity(XMLLoader.java:178)
    at oracle.sysman.eml.swlib.xml.XMLLoader.process(XMLLoader.java:148)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.importEntities(LibraryServiceImpl.java:398)
    at oracle.sysman.pp.paf.par.PARFile.executeSwlib(PARFile.java:978)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:951)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:821)
    at oracle.sysman.pp.paf.par.Main.uploadPar(Main.java:238)
    at oracle.sysman.pp.paf.par.Main.main(Main.java:144)
    Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSMAN"."MGMT_SWLIB_DIRECTORIES"."NAME")
    ORA-06512: at "SYSMAN.MGMT_SWLIB", line 1097
    ORA-06512: at line 1
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3076)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4273)
    at oracle.sysman.eml.swlib.DBEntity.insertDirectory(DBEntity.java:526)
    ... 10 more
    java.lang.NullPointerException
    at oracle.sysman.eml.swlib.LibraryServiceImpl.importEntities(LibraryServiceImpl.java:404)
    at oracle.sysman.pp.paf.par.PARFile.executeSwlib(PARFile.java:978)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:951)
    at oracle.sysman.pp.paf.par.PARFile.deploy(PARFile.java:821)
    at oracle.sysman.pp.paf.par.Main.uploadPar(Main.java:238)
    at oracle.sysman.pp.paf.par.Main.main(Main.java:144)
    java.lang.NullPointerException
    Actually this is the same behavior as described in bug 6822086 on metalink - but I couldn't find any solution there. I also searched through the forum but couldn't find anything....
    Thank you in advance for any answer/suggestion.
    Jure

    Hi,
    Issue solved.The workaraound was to manually upload the *.par files.
    Procedure:
    Under Deployments Tab click on the Provisioning Link in the Top Left section of the Page. In the Administration Tab go to the bottom and ensure that a location to the Software Library Configuration is setup. Then go back to the Deployments Page by clicking again the Deployments tab and click in Deployment Procedures link on the bottom. Using the 'Upload' button upload one at a time the files located under the OMS's $ORACLE_HOME/sysman/prov/paf directory.
    Once all .par files are uploaded, all components, directives and deployment procedures should be visible from the Deployments tab in the Grid Control console.
    Regards,
    Jure

  • Multiple ALV Grid Controls per report - problem with default displ.variant

    Hi,
    I have a report with few screens called sequentialy. Each one of the screens has implemented own instance of ALV Grid Control within custom container, means:
    - screen 100 has container Cont100 and grid control "grid100",
    - screen 110 has container Cont110 and grid control "grid110"
    - screen 120 has container Cont120 and grid control "grid120"
    and so on...
    Each one of the grid controls is initialized with own field catalog table, with own layout and variant structure definitions. My problem occurs when the user changes the display variant for some of the grid controls and save the layout variant using "default setting" checkbox. In this case next time the program is started all other grid controls behaves like they don't have their own variant definitions, but uses the default setting of the mentioned screen. This leads (usualy) to unsuable grid controls by default, because usualy different controls have no equal field-definition tables. I have the same behaviour even when there are more than 1 ALV grids on a single screen (for example - 2).
    For now I don't provide variant variables at selection screen, but it seems there is no way to provide such variables for each one of the grid-controls.
    Is anyone aware how to control this? Means no matter if there is default setting in use for some of the grid-controls, how to manipulate other grid-controls not to use this default setting?
    Many thanks in advance.
    Regards,
    Ivaylo Mutafchiev

    check this sample code which displays 4 grids in 4 different tabs and with 4 different handles
    PROGRAM  sapmzsdpp MESSAGE-ID z1.
    Table Declarations                                                   *
    TABLES:
      vbpa,                                " Sales Document: Partner
      kna1,                                " Customer Master
      vbap.                                " Sales Document: Item Data
    Tab Strip Declarations                                              *
    CONTROLS:
      tabstrip_sdpp TYPE TABSTRIP.         " Tabstrip
    Constants declarations                                               *
    CONSTANTS:
      c_rep_zm(2)   TYPE c VALUE 'ZM',     " Outside Sales Representative
      c_rep_ve(2)   TYPE c VALUE 'VE',     " Inside Sales Representative
      c_rep_zi(2)   TYPE c VALUE 'ZI',     " Sales Manager
      c_abgru_08(2) TYPE c VALUE '08',     " Reason for Rej: SO Not Closed
      c_stock_ind_e TYPE c VALUE 'E',      " Stock Idctr : Orders on hand
      c_gauge(5)    TYPE c VALUE 'GAUGE',  " Characteristic Name - GAUGE
      c_width(5)    TYPE c VALUE 'WIDTH',  " Characteristic Name - WIDTH
      c_gauge_metric(12)                   " Character Name - GAUGE_METRIC
                    TYPE c VALUE 'GAUGE_METRIC',
      c_width_metric(12)                   " Character Name - WIDTH_METRIC
                    TYPE c VALUE 'WIDTH_METRIC',
      c_eng_metric(14)                     " Charac Value - ENGLISH_METRIC
                    TYPE c VALUE 'ENGLISH_METRIC',
      c_coil(4)     TYPE c VALUE 'COIL',   " For Value COIL
      c_spec_bf(7)  TYPE c VALUE 'SPEC_BF'," Charac value SPEC_BF
      c_wadat_ist(8)                       " Actual Goods Movement Date
                    TYPE c VALUE '00000000',
      c_mcha(4)     TYPE c VALUE 'MCHA',   " Database Table 'MCHA'
      c_classtype_022(3)
                    TYPE c VALUE '022',    " Class Type : BATCH
      c_pipe(2)     TYPE c VALUE '06',     " Material Pricing Group: Pipes
      c_item_ctgry_ztam(4)
                    TYPE c VALUE 'ZTAM',   " Item Cat:Certificate Mnfctr
      c_lab_result(10)                     " Charac Value LAB_RESULT
                    TYPE n VALUE '0000001392',
      c_none_reqd(10)                      " For Value NONE REQD
                    TYPE c VALUE 'NONE REQD.',
      c_passed(6)   TYPE c VALUE 'PASSED', " For Value PASSED
      c_pending(12) TYPE c                 " For Value TEST PENDING
                    VALUE 'TEST PENDING',
      c_bundling(13)                       " For Value TEST BUNDLING
                    TYPE c VALUE 'TEST BUNDLING',
      c_normal(2)   TYPE c VALUE '01'.     " Priority: Normal
    Internal Table Declarations                                          *
    DATA :
    Internal table to hold common data for all reports
    BEGIN OF t_common_data OCCURS 0,
       kunnr        LIKE vbak-kunnr,       " Customer Number
       vbeln        LIKE vbap-vbeln,       " Sales Document Number
       posnr        LIKE vbap-posnr,       " Sales Document Item Number
       ihrez_e      LIKE vbkd-ihrez_e,     " Mill Order Number
       matnr        LIKE vbap-matnr,       " Material Number
       pstyv        LIKE vbap-pstyv,       " Sales Document Item Category
       kwmeng       LIKE vbap-kwmeng,      " Cumulative Order Quantity
       lprio        LIKE vbap-lprio,       " Delivery Priority
       werks        LIKE vbap-werks,       " Plant
       kondm        LIKE vbap-kondm,       " Material Pricing Group
       aedat        LIKE vbap-aedat,       " Date of Last Change
       cuobj        LIKE vbap-cuobj,       " Configuration
       saldata      LIKE vbap-zzcust_req_avail,
                                           " Required Availability Date
    END OF t_common_data,
    Internal table to hold Customer Number
      BEGIN OF t_cust_temp OCCURS 0,
        kunnr       LIKE vbak-kunnr,       " Customer Number
      END OF t_cust_temp,
    Internal table to hold stock details
      BEGIN OF t_stock OCCURS 0,
       vbeln        LIKE mska-vbeln,       " Sales Document Number
       posnr        LIKE mska-posnr,       " Sales Document Item Number
       matnr        LIKE mska-matnr,       " Material Number
       werks        LIKE mska-werks,       " Plant
       charg        LIKE mska-charg,       " Batch Number
       kalab        LIKE mska-kalab,       " Valuated Stock
       ersda        LIKE mska-ersda,
    END OF t_stock,
    Internal table to hold deliveries
    BEGIN OF t_delivery_data OCCURS 0,
      vbeln         LIKE lips-vbeln,       " Delivery Document Number
      vgbel         LIKE lips-vgbel,       " Document No of Ref Document
      vgpos         LIKE lips-vgpos,       " Item No of Ref Item
    END OF t_delivery_data,
    Internal table to hold released tons & released days
    BEGIN OF t_released_tons_days OCCURS 0,
      vbeln         LIKE likp-vbeln,       " Delivery Document Number
      btgew         LIKE likp-btgew,       " Total Weight
      bldat         LIKE likp-bldat,       " Document Date in Document
    END OF t_released_tons_days,
    Internal table to hold Pre-Production-Pending Orders (Report-1)
    BEGIN OF t_pre_prod_ord OCCURS 0,
       sortl1       LIKE zcustcode-sortl,  " Customer Search Term
       ihrez_e1     LIKE vbkd-ihrez_e,     " Mill Order Number
       salord1(17)  TYPE c,                " Sales Order Document & Item
       descri       TYPE char70,           " Specification of the Item
       speci        TYPE char30,           " Description of the Item
       days_entry   LIKE zlgcyinfo-days_since_entry,
                                           " Days Since Entry
       dept         LIKE zlgcyinfo-bklog,  " Department
       notes1       LIKE zcsimemo-text,    " CSI File Memo Text
    */ Request No. DV2K904687
       chng_date    LIKE vbap-aedat,       " Date of Last Change
    END OF t_pre_prod_ord,
    Internal table to hold Delinquent Orders (Report-2)
    BEGIN OF t_delinquent_ord OCCURS 0,
       sortl2       LIKE zcustcode-sortl,  " Customer Search Term
       ihrez_e2     LIKE vbkd-ihrez_e,     " Mill Order Number
       salord2(17)  TYPE c,                " Sales Order Document & Item
       descri       TYPE char70,           " Specification of the Item
       speci        TYPE char30,           " Description of the Item
       saldata      LIKE vbap-zzcust_req_avail,
       schdate      LIKE vbep-edatu,       " Schedule Line Date
       days_late    LIKE zlgcyinfo-dayslate,
                                           " Days Late
       unit         LIKE zlgcyinfo-unit,   " Status of Consolidation Units
       days_at_unit LIKE zlgcyinfo-daysatunit,
       notes2       LIKE zcsimemo-text,    " CSI File Memo Text
    END OF t_delinquent_ord,
    Internal table to hold Processed Material Orders (Report-3)
    BEGIN OF t_processed_ord OCCURS 0,
       sortl3       LIKE zcustcode-sortl,  " Customer Search Term
       ihrez_e3     LIKE vbkd-ihrez_e,     " Mill Order Number
       salord3(17)  TYPE c,                " Sales Order Document & Item
       descri       TYPE char70,           " Specification of the Item
       speci        TYPE char30,           " Description of the Item
       order_tons   LIKE vbap-kwmeng,      " Cumulative Order Quantity
       fin_tons     LIKE mska-kalab,       " Val.Stock With Unres Usage
       fin_days     TYPE i,                " Finished Days
       rel_tons     LIKE likp-btgew,       " Total Weight
       rel_days     TYPE i,                " No.of.Days Order is Released
       status(15)   TYPE c,                " Status Of Stock
       tb_tons      LIKE zlgcyinfo-tons,   " Tons
       notes3       LIKE zcsimemo-text,    " CSI File Memo Text
    END OF t_processed_ord,
    Internal table to hold Flagged Orders (Report-4)
    BEGIN OF t_flagged_ord OCCURS 0,
       sortl4       LIKE zcustcode-sortl,  " Customer Search Term
       ihrez_e4     LIKE vbkd-ihrez_e,     " Mill Order Number
       salord4(17)  TYPE c,                " Sales Order Document & Item
       descri       TYPE char70,           " Specification of the Item
       speci        TYPE char30,           " Description of the Item
       saldata      LIKE vbap-zzcust_req_avail,
       unit         LIKE zlgcyinfo-unit,   " Status of Consolidation Units
       tons         LIKE zlgcyinfo-tons,   " Tons
       priority     LIKE vbap-lprio,       " Delivery Priority
       notes4       LIKE zcsimemo-text,    " CSI File Memo Text
    END OF t_flagged_ord,
    Internal table to hold CSI memo file data
    BEGIN OF t_csi_memo_data OCCURS 0,
       vbeln        LIKE zcsimemo-vbeln,   " Sales Document Number
       posnr        LIKE zcsimemo-posnr,   " Sales Order line item
       text         LIKE zcsimemo-text,    " CSI File Memo Text
    END OF t_csi_memo_data,
    Internal table to hold Customer Codes
    BEGIN OF t_customer_code OCCURS 0,
       sortl        LIKE zcustcode-sortl,  " Sort Field
       kunnr        LIKE zcustcode-kunnr,  " Customer Number
    END OF t_customer_code,
    Internal table to hold schedule line dates
    BEGIN OF t_schedule_line_date OCCURS 0,
       vbeln        LIKE vbep-vbeln,       " Sales Document Number
       posnr        LIKE vbep-posnr,       " Sales Document Item Number
       edatu        LIKE vbep-edatu,       " Schedule line date
    END OF t_schedule_line_date,
    Internal table to hold Characteristic values
      t_configuration
                    TYPE TABLE OF conf_out
                    WITH HEADER LINE,
    Internal tables to hold legacy data
      t_lgcyinfo    TYPE TABLE OF zlgcyinfo
                    WITH HEADER LINE.
    Work variables declarations                                          *
    DATA:
      gv_parvw      LIKE kupav-parvw,      " Partner function
      gv_abgru      LIKE vbap-abgru,       " Reason to eject sales order
      gv_gauge      LIKE conf_out-atwtb,   " Charac Value Description
      gv_width      LIKE conf_out-atwtb,   " Charac Value Description
      gv_ok_code    LIKE sy-ucomm,         " Usercommand
      gv_okcode     LIKE sy-ucomm,         " User Command
      gv_number     LIKE sy-dynnr
                    VALUE '0101',          " Initial Sub Screen Number
      gv_vbeln      LIKE vbak-vbeln,       " Sales Order
      gv_posnr      LIKE vbup-posnr,       " Sales Item
    */ Request No. DV2K904687
      gv_del_prio   LIKE vbap-lprio,       " Delivery Priority
      gv_obj_key    LIKE inob-objek,       " Object Key
      gv_config     LIKE inob-cuobj,       " Configuration
      gv_lab_result LIKE ausp-atwrt,       " Lab Result Value
      gv_pass_stock LIKE mska-kalab,       " Finished Stock
      gv_fail_stock LIKE mska-kalab,       " Failed Stock
      gv_tp_tons    LIKE mska-kalab,       " Test Pending Tons
      gv_csi_stock  LIKE mbew-lbkum,       " CSI Stock On Hand
      gv_val_stock  LIKE mska-kalab,       " Valuated Stock
      gv_fin_tons   LIKE mska-kalab,       " Finished Tons
      gv_fin_days   TYPE i,                " Finished Days
      gv_rel_tons   LIKE likp-btgew,       " Released Tons
      gv_rel_days   TYPE i,                " Released Days
      gv_no_delivery                       " Number of Delivery Documents
                    TYPE i,
      gv_bund_tons  LIKE zlgcyinfo-tons,   " Bundling Tons
      gv_net_weight LIKE mara-ntgew,       " Net Weight
      gv_tb_tons    LIKE zlgcyinfo-tons,   " Test/Bundling Tons
      gv_date       LIKE mska-ersda,       " Date
      gv_tabix      LIKE sy-tabix,         " Table Index
      gv_flg        TYPE c,                " Flag Variable
      gv_exit       TYPE c.                " For Parameter Exit
    Constant declarations for ALV Grid                                   *
    CONSTANTS:
      c_cont_pre_prod_ord
                     TYPE scrfname VALUE 'CUST_PPP',
                                           " Custom Container for Report-1
      c_cont_delinquent_ord
                     TYPE scrfname VALUE 'CUST_DIP',
                                           " Custom Container for Report-2
      c_cont_processed_ord
                     TYPE scrfname VALUE 'CUST_PMS',
                                           " Custom Container for Report-3
      c_cont_flagged_ord
                     TYPE scrfname VALUE 'CUST_FLGORD',
                                           " Custom Container for Report-4
      c_handle1(3)   TYPE c VALUE 'G_1',   " Handle for PPP rpt Grid
      c_handle2(3)   TYPE c VALUE 'G_2',   " Handle for DIP rpt Grid
      c_handle3(3)   TYPE c VALUE 'G_3',   " Handle for PMS rpt Grid
      c_handle4(3)   TYPE c VALUE 'G_4',   " Handle for FLGORD rpt Grid
      c_true         TYPE c VALUE 'X',     " For value 'X'
      c_save         TYPE c VALUE 'A'.     " User-Defd & Global Variants
    Selection Screen                                                     *
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-014.
    PARAMETERS :
      p_osr       RADIOBUTTON GROUP g1
                  DEFAULT 'X',             " Outside Sales Representative
      p_isr       RADIOBUTTON GROUP g1,    " Inside Sales Representative
      p_s_mgr     RADIOBUTTON GROUP g1.    " Sales Manager
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-005.
    SELECT-OPTIONS:
      s_pernr     FOR vbpa-pernr
                  OBLIGATORY,              " Employee Number
      s_kunnr     FOR kna1-kunnr,          " Customer Number
      s_sortl     FOR kna1-sortl,          " Customer Search Term
      s_kondm     FOR vbap-kondm.          " Material Pricing Group
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-006.
    PARAMETERS:
      p_open      RADIOBUTTON GROUP g2
                  DEFAULT 'X',             " Open Orders
      p_closed    RADIOBUTTON GROUP g2.    " Closed Orders
    SELECTION-SCREEN END OF BLOCK b3.
    SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-007.
    PARAMETERS:
      p_var1      LIKE disvariant-variant, " Variant For Report-1
      p_var2      LIKE disvariant-variant, " Variant For Report-2
      p_var3      LIKE disvariant-variant, " Variant For Report-3
      p_var4      LIKE disvariant-variant. " Varinat For Report-3
    SELECTION-SCREEN END OF BLOCK b4.
    SELECTION-SCREEN END OF SCREEN 500.
    */ Begin of Modification - Request No. DV2K904687
    Selection Screen for Changing Sales Order Priority
    SELECTION-SCREEN BEGIN OF SCREEN 1100 AS WINDOW.
    SELECTION-SCREEN BEGIN OF BLOCK b5 WITH FRAME TITLE text-044.
    PARAMETERS    p_sonum  LIKE vbap-vbeln." Sales Order Number
    SELECT-OPTIONS s_item  FOR  vbap-posnr." Sales Order Item
    PARAMETERS     p_delpr LIKE vbap-lprio." Delivery Priority
    SELECTION-SCREEN END OF BLOCK b5.
    SELECTION-SCREEN END OF SCREEN 1100.
    */ End of Modification - Request No. DV2K904687
    CLASS lcl_gv_event_receiveriver DEFINITION                           *
    CLASS lcl_event_receiver DEFINITION DEFERRED.
    ALV Grid - Work Variables Declarations                               *
    DATA:
      gv_cont_pre_prod_ord   TYPE REF
                               TO cl_gui_custom_container,
                                           " Custom Cont For Report-1
      gv_cont_delinquent_ord TYPE REF
                               TO cl_gui_custom_container,
                                          " Custom Cont For Report-2
      gv_cont_processed_ord  TYPE REF
                               TO cl_gui_custom_container,
                                           " Custom Cont For Report-3
      gv_cont_flagged_ord    TYPE REF
                               TO cl_gui_custom_container,
                                           " Custom Cont For Report-4
      gv_grid_pre_prod_ord   TYPE REF
                               TO cl_gui_alv_grid,
                                           " Grid For Report-1
      gv_grid_delinquent_ord TYPE REF
                               TO cl_gui_alv_grid,
                                           " Grid For Report-2
      gv_grid_processed_ord  TYPE REF
                               TO cl_gui_alv_grid,
                                           " Grid For Report-3
      gv_grid_flagged_ord    TYPE REF
                               TO cl_gui_alv_grid,
                                           " Grid For Report-4
      gv_event_receiver      TYPE REF
                               TO lcl_event_receiver,
                                           " Object For Local Class
      gs_lay_pre_prod_ord    TYPE lvc_s_layo,
                                           " Work Area for Grid layout
      gs_lay_delinquent_ord  TYPE lvc_s_layo,
                                           " Work Area for Grid layout
      gs_lay_processed_ord   TYPE lvc_s_layo,
                                           " Work Area for Grid layout
      gs_lay_flagged_ord     TYPE lvc_s_layo,
                                           " Work Area for Grid Layout
      gs_var_pre_prod_ord    TYPE disvariant,
                                           " Layout Structure
      gs_var_delinquent_ord  TYPE disvariant,
                                           " Layout Structure
      gs_var_processed_ord   TYPE disvariant,
                                           " Layout Structure
      gs_var_flagged_ord     TYPE disvariant,
                                           " Layout Structure
      t_fcat_pre_prod_ord    TYPE lvc_t_fcat
                             WITH HEADER LINE,
                                           " Field Catalog For Report-1
      t_fcat_delinquent_ord  TYPE lvc_t_fcat
                             WITH HEADER LINE,
                                           " Field Catalog For Report-2
      t_fcat_processed_ord   TYPE lvc_t_fcat
                             WITH HEADER LINE,
                                           " Field Catalog For Report-3
      t_fcat_flagged_ord     TYPE lvc_t_fcat
                             WITH HEADER LINE,
                                           " Field Catalog For Report-4
      t_exclude              TYPE ui_functions,
                                           " Function Code Table
      gs_exclude             TYPE ui_func. " Function Code Structure
    CLASS lcl_gv_event_receiver DEFINITION                               *
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
          handle_hotspot
            FOR EVENT hotspot_click OF cl_gui_alv_grid
              IMPORTING e_row_id e_column_id es_row_no,
          handle_top_of_page
                          FOR EVENT print_top_of_page OF cl_gui_alv_grid,
    */ Begin of Modification - Request No. DV2K904687
        handle_toolbar
            FOR EVENT toolbar OF cl_gui_alv_grid
                IMPORTING e_object e_interactive,
        handle_user_command
            FOR EVENT user_command OF cl_gui_alv_grid
                IMPORTING e_ucomm.
    */ End of Modification - Request No. DV2K904687
    ENDCLASS.                              " LCL_EVENT_RECEIVER DEFINITION
    CLASS IMPLEMENTATION                                                 *
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_hotspot.
        CASE e_column_id-fieldname.
          WHEN 'SALORD1'.
            CLEAR t_pre_prod_ord.
            READ TABLE t_pre_prod_ord
                  INTO t_pre_prod_ord
                 INDEX e_row_id-index.
          Call VA03 To View Sales Order Line Item Details
            PERFORM call_va03 USING t_pre_prod_ord-salord1.
          WHEN 'SALORD2'.
            CLEAR t_delinquent_ord.
            READ TABLE t_delinquent_ord
                  INTO t_delinquent_ord
                 INDEX e_row_id-index.
          Call VA03 To View Sales Order Line Item Details
            PERFORM call_va03 USING t_delinquent_ord-salord2.
          WHEN 'SALORD3'.
            CLEAR t_processed_ord.
            READ TABLE t_processed_ord
                  INTO t_processed_ord
                 INDEX e_row_id-index.
          Call VA03 To View Sales Order Line Item Details
            PERFORM call_va03 USING t_processed_ord-salord3.
          WHEN 'SALORD4'.
            CLEAR t_flagged_ord.
            READ TABLE t_flagged_ord
                  INTO t_flagged_ord
                 INDEX e_row_id-index.
          Call VA03 To View Sales Order Line Item Details
            PERFORM call_va03 USING t_flagged_ord-salord4.
          WHEN 'SORTL1'.
            CLEAR t_pre_prod_ord.
            READ TABLE t_pre_prod_ord
                  INTO t_pre_prod_ord
                 INDEX e_row_id-index.
        Call ZSD11 for Customer Search Term
            PERFORM call_zsd11_cust_code USING t_pre_prod_ord-sortl1.
          WHEN 'SORTL2'.
            CLEAR t_delinquent_ord.
            READ TABLE t_delinquent_ord
                  INTO t_delinquent_ord
                 INDEX e_row_id-index.
          Call ZSD11 for Customer Search Term
            PERFORM call_zsd11_cust_code USING t_delinquent_ord-sortl2.
          WHEN 'SORTL3'.
            CLEAR t_processed_ord.
            READ TABLE t_processed_ord
                  INTO t_processed_ord
                 INDEX e_row_id-index.
          Call ZSD11 for Customer Search Term
            PERFORM call_zsd11_cust_code USING t_processed_ord-sortl3.
          WHEN 'SORTL4'.
            CLEAR t_flagged_ord.
            READ TABLE t_flagged_ord
                  INTO t_flagged_ord
                 INDEX e_row_id-index.
          Call ZSD11 for Customer Search Term
            PERFORM call_zsd11_cust_code USING t_flagged_ord-sortl4.
          WHEN 'IHREZ_E1'.
            CLEAR t_pre_prod_ord.
            READ TABLE t_pre_prod_ord
                  INTO t_pre_prod_ord
                 INDEX e_row_id-index.
          Call ZSD11 for Mill Order
            PERFORM call_zsd11_millorder USING t_pre_prod_ord-ihrez_e1.
          WHEN 'IHREZ_E2'.
            CLEAR t_delinquent_ord.
            READ TABLE t_delinquent_ord
                  INTO t_delinquent_ord
                 INDEX e_row_id-index.
          Call ZSD11 for Mill Order
            PERFORM call_zsd11_millorder USING t_delinquent_ord-ihrez_e2.
          WHEN 'IHREZ_E3'.
            CLEAR t_processed_ord.
            READ TABLE t_processed_ord
                  INTO t_processed_ord
                 INDEX e_row_id-index.
          Call ZSD11 for Mill Order
            PERFORM call_zsd11_millorder USING t_processed_ord-ihrez_e3.
          WHEN 'IHREZ_E4'.
            CLEAR t_flagged_ord.
            READ TABLE t_flagged_ord
                   INTO t_flagged_ord
                  INDEX e_row_id-index.
          Call ZSD11 for Mill Order
            PERFORM call_zsd11_millorder USING t_flagged_ord-ihrez_e4.
          WHEN 'NOTES1'.
            CLEAR t_pre_prod_ord.
            READ TABLE t_pre_prod_ord
                  INTO t_pre_prod_ord
                 INDEX e_row_id-index.
          Call zsd00087 program to edit CSI Memo Text
            PERFORM edit_notes USING t_pre_prod_ord-salord1.
          WHEN 'NOTES2'.
            CLEAR t_delinquent_ord.
            READ TABLE t_delinquent_ord
                  INTO t_delinquent_ord
                 INDEX e_row_id-index.
          Call zsd00087 program to edit CSI Memo Text
            PERFORM edit_notes USING t_delinquent_ord-salord2.
          WHEN 'NOTES3'.
            CLEAR t_processed_ord.
            READ TABLE t_processed_ord
                  INTO t_processed_ord
                 INDEX e_row_id-index.
          Call zsd00087 program to CSI Memo Text
            PERFORM edit_notes USING t_processed_ord-salord3.
          WHEN 'NOTES4'.
            CLEAR t_flagged_ord.
            READ TABLE t_flagged_ord
                  INTO t_flagged_ord
                 INDEX e_row_id-index.
          Call zsd00087 program to CSI Memo Text
            PERFORM edit_notes USING t_flagged_ord-salord4.
        ENDCASE.                           " CASE E_COLUMN_ID ...
      ENDMETHOD.                           " HANDLE_HOTSPOT
      METHOD handle_top_of_page.
        PERFORM write_report_header.
      ENDMETHOD.                           " METHOD HANDLE_TOP_OF_PAGE
    */ Begin of Modification - Request No. DV2K904687
      METHOD handle_toolbar.
        DATA: ls_toolbar  TYPE stb_button.
      append a separator to normal toolbar
        CLEAR ls_toolbar.
        MOVE 3 TO ls_toolbar-butn_type.
        APPEND ls_toolbar TO e_object->mt_toolbar.
        CLEAR ls_toolbar.
      append a button for Change Delivery Priority
        MOVE 'CHNG_PRIO' TO ls_toolbar-function.
        MOVE 'Change SO Delivery Priority'(048)
             TO ls_toolbar-quickinfo.
        MOVE 'Change SO Priority'(049) TO ls_toolbar-text.
        MOVE 0 TO ls_toolbar-butn_type.
        APPEND ls_toolbar TO e_object->mt_toolbar.
      ENDMETHOD.                           " handle_toolbar
      METHOD handle_user_command.
        DATA: t_sel_row  TYPE lvc_t_roid,
              gs_sel_row TYPE lvc_s_roid,
              gs_flagged_ord LIKE t_flagged_ord,
              lv_lines   TYPE i.
        CASE e_ucomm.
          WHEN 'CHNG_PRIO'.
            REFRESH t_sel_row.
            CLEAR e_ucomm.
            CALL METHOD gv_grid_flagged_ord->get_selected_rows
              IMPORTING
                et_row_no = t_sel_row.
            CLEAR: t_flagged_ord,
                   gv_vbeln,
                   gv_posnr,
                   gv_del_prio.
            DESCRIBE TABLE t_sel_row LINES lv_lines.
            IF lv_lines GT 1.
              MESSAGE i001 WITH 'Select only one row'(043).
            ELSEIF lv_lines EQ 1.
              READ TABLE t_sel_row INTO gs_sel_row INDEX 1.
              READ TABLE t_flagged_ord INTO gs_flagged_ord
                   INDEX gs_sel_row-row_id.
              IF sy-subrc EQ 0.
                SPLIT gs_flagged_ord-salord4 AT '-' INTO gv_vbeln gv_posnr.
                gv_del_prio = gs_flagged_ord-priority.
                CLEAR: s_item, s_item[].
                p_sonum    = gv_vbeln.
                p_delpr    = gv_del_prio.
                s_item-low = gv_posnr.
                APPEND s_item TO s_item.
                CLEAR  s_item.
              ENDIF.                       " IF sy-subrc EQ 0
            ENDIF.                         " IF lv_lines GT 1
            IF lv_lines LE 1.
              CALL SELECTION-SCREEN '1100' STARTING AT 30 2
                                           ENDING   AT 110 7.
              LEAVE TO SCREEN 100.
            ENDIF.
        ENDCASE.                           " CASE e_ucomm
      ENDMETHOD.                           " handle_user_command
    */ End of Modification - Request No. DV2K904687
    ENDCLASS.                              " LCL_EVENT_RECEIVER
    " IMPLEMENTATION
    Form  WRITE_REPORT_HEADER                                            *
    This subroutine displays Report Header which includes                *
    Report Name, Executed by, Execution date, Execution Time             *
    There are no parameters to be passed to this subroutine              *
    FORM write_report_header.
      DATA lv_rep_tit(72) TYPE c.
      FORMAT COLOR COL_KEY.
      MOVE sy-title TO lv_rep_tit.
      CONDENSE lv_rep_tit.
      SKIP 1.
      WRITE: /3  sy-repid,
              25 'California Steel Industries, Inc.'(040),
              75 'Page'(041),
              80(4) sy-pagno.
      WRITE: /3  sy-uzeit,
              25 lv_rep_tit,
              75 sy-datum.
      FORMAT RESET.
    ENDFORM.                               " WRITE_REPORT_HEADER
    At selection-output                                                  *
    AT SELECTION-SCREEN OUTPUT.
      CLEAR sy-ucomm.
      IF sy-dynnr EQ '0500'.
      Initialize layout variant for report-1
        CLEAR gs_var_pre_prod_ord.
        gs_var_pre_prod_ord-report = sy-cprog.
        gs_var_pre_prod_ord-handle = c_handle1.
        PERFORM initialize_layoutvariant CHANGING gs_var_pre_prod_ord.
        p_var1 = gs_var_pre_prod_ord-variant.
      Initialize layout variant for report-2
        CLEAR gs_var_delinquent_ord.
        gs_var_delinquent_ord-report = sy-cprog.
        gs_var_delinquent_ord-handle = c_handle2.
        PERFORM initialize_layoutvariant CHANGING gs_var_delinquent_ord.
        p_var2 = gs_var_delinquent_ord-variant.
      Initialize layout variant for report-3
        CLEAR gs_var_processed_ord.
        gs_var_processed_ord-report = sy-cprog.
        gs_var_processed_ord-handle = c_handle3.
        PERFORM initialize_layoutvariant CHANGING gs_var_processed_ord.
        p_var3 = gs_var_processed_ord-variant.
      Initialize layout variant for report-4
        CLEAR gs_var_flagged_ord.
        gs_var_flagged_ord-report = sy-cprog.
        gs_var_flagged_ord-handle = c_handle4.
        PERFORM initialize_layoutvariant CHANGING gs_var_flagged_ord.
        p_var4 = gs_var_flagged_ord-variant.
    */ Begin of Modification - Request No. DV2K904687
      ELSEIF sy-dynnr EQ '1100'.
        DATA t_exclude  TYPE TABLE OF sy-ucomm.
        SET PF-STATUS 'MENU_1100'.
      To use your own GUI status for a selection screen
        CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
          EXPORTING
            p_status  = 'MENU_1100'
          TABLES
            p_exclude = t_exclude.
      ENDIF.                               " IF sy-dynnr EQ '0500'
    */ End of Modification - Request No. DV2K904687
    At Selection Screen                                                  *
    AT SELECTION-SCREEN.
    */ Begin of Modification - Request No. DV2K904687
      CASE sy-dynnr.
        WHEN '1100'.
          IF sy-ucomm IS INITIAL.
            CLEAR sy-ucomm.
            LEAVE TO SCREEN 1100.
          ENDIF.                           " IF sy-ucomm IS INITIAL
          CASE sy-ucomm.
            WHEN 'SAVE'.
              CLEAR sy-ucomm.
            Change Delivery Priority using BAPI method
              PERFORM change_del_priority.
              CLEAR: sy-ucomm,
                     gv_vbeln,
                     gv_posnr,
                     gv_del_prio,
                     p_sonum,
                     s_item,
                     s_item[],
                     p_delpr.
              LEAVE TO SCREEN 0.
            WHEN 'CANCEL'.
              CLEAR: sy-ucomm,
                     gv_vbeln,
                     gv_posnr,
                     gv_del_prio,
                     p_sonum,
                     s_item,
                     s_item[],
                     p_delpr.
              LEAVE TO SCREEN 0.
          ENDCASE.                         " CASE sy-ucomm
        WHEN '0500'.
          IF sy-ucomm EQ 'CRET'.
            LEAVE TO SCREEN 100.
          ELSEIF sy-ucomm IS INITIAL.
            LEAVE TO SCREEN 500.
          ENDIF.                           " IF SY-UCOMM EQ 'CRET'
      ENDCASE.                             " CASE sy-dynnr
    */ End of Modification - Request No. DV2K904687
    Selection Screen: Validations                                        *
    AT SELECTION-SCREEN ON s_pernr.
    Validate Employee Number
      PERFORM validate_employee_number.
    AT SELECTION-SCREEN ON s_kunnr.
    Validate Customer Number
      IF NOT s_kunnr IS INITIAL.
        PERFORM validate_customer_number.
      ENDIF.                               " IF NOT S_KUNNR IS INITIAL
    AT SELECTION-SCREEN ON s_sortl.
    Validate Search Term
      IF NOT s_sortl IS INITIAL.
        PERFORM validate_search_term.
      ENDIF.                               " IF NOT S_SORTL IS INITIAL
    AT SELECTION-SCREEN ON s_kondm.
    Validate Product
      IF NOT s_kondm IS INITIAL.
        PERFORM validate_product.
      ENDIF.                               " IF NOT S_KONDM IS INITIAL
    Validate p_var1
    AT SELECTION-SCREEN ON p_var1.
      CLEAR gs_var_pre_prod_ord.
      gs_var_pre_prod_ord-report  = sy-cprog.
      gs_var_pre_prod_ord-handle  = c_handle1.
      gs_var_pre_prod_ord-variant = p_var1.
      IF p_var1 IS NOT INITIAL.
        PERFORM validate_variant CHANGING gs_var_pre_prod_ord.
      ENDIF.                               " IF P_VAR1 IS NOT INITIAL
    Validate p_var2
    AT SELECTION-SCREEN ON p_var2.
      CLEAR gs_var_delinquent_ord.
      gs_var_delinquent_ord-report  = sy-cprog.
      gs_var_delinquent_ord-handle  = c_handle2.
      gs_var_delinquent_ord-variant = p_var2.
      IF p_var2 IS NOT INITIAL.
        PERFORM validate_variant CHANGING gs_var_delinquent_ord.
      ENDIF.                               " IF P_VAR2 IS NOT INITIAL
    Validate p_var3
    AT SELECTION-SCREEN ON p_var3.
      CLEAR gs_var_processed_ord.
      gs_var_processed_ord-report  = sy-cprog.
      gs_var_processed_ord-handle  = c_handle3.
      gs_var_processed_ord-variant = p_var3.
      IF p_var3 IS NOT INITIAL.
        PERFORM validate_variant CHANGING gs_var_processed_ord.
      ENDIF.                               " IF P_VAR3 IS NOT INITIAL
    Validate p_var4
    AT SELECTION-SCREEN ON p_var4.
      CLEAR gs_var_flagged_ord.
      gs_var_flagged_ord-report  = sy-cprog.
      gs_var_flagged_ord-handle  = c_handle4.
      gs_var_flagged_ord-variant = p_var4.
      IF p_var4 IS NOT INITIAL.
        PERFORM validate_variant CHANGING gs_var_flagged_ord.
      ENDIF.                               " IF P_VAR4 IS NOT INITIAL
    Selection Screen: Value Request for ALV GRID Variants                *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var1.
      CLEAR gs_var_pre_prod_ord.
      gs_var_pre_prod_ord-report = sy-cprog.
      gs_var_pre_prod_ord-handle = c_handle1.
      PERFORM f4_variant CHANGING gs_var_pre_prod_ord
                                  gv_exit.
      IF gv_exit NE c_true.
        p_var1 = gs_var_pre_prod_ord-variant.
      ENDIF.                               " IF GV_EXIT NE c_true
    F4 help for variant p_var2
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var2.
      CLEAR:
        gs_var_delinquent_ord,
        gv_exit.
      gs_var_delinquent_ord-report = sy-cprog.
      gs_var_delinquent_ord-handle = c_handle2.
      PERFORM f4_variant CHANGING gs_var_delinquent_ord
                                  gv_exit.
      IF gv_exit NE c_true.
        p_var2 = gs_var_delinquent_ord-variant.
      ENDIF.                               " IF GV_EXIT NE c_true
    F4 help for variant p_var3
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var3.
      CLEAR:
        gs_var_processed_ord,
        gv_exit.
      gs_var_processed_ord-report = sy-cprog.
      gs_var_processed_ord-handle = c_handle3.
      PERFORM f4_variant CHANGING gs_var_processed_ord
                                  gv_exit.
      IF gv_exit NE c_true.
        p_var3 = gs_var_processed_ord-variant.
      ENDIF.                               " IF GV_EXIT NE c_true
    F4 help for variant p_var4
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var4.
      CLEAR:
        gs_var_flagged_ord,
        gv_exit.
      gs_var_flagged_ord-report = sy-cprog.
      gs_var_flagged_ord-handle = c_handle4.
      PERFORM f4_variant CHANGING gs_var_flagged_ord
                                  gv_exit.
      IF gv_exit NE c_true.
        p_var4 = gs_var_flagged_ord-variant.
      ENDIF.                               " IF GV_EXIT NE c_true
    Form  validate_employee_number                                       *
    This subroutine validates Employee Number                            *
    There are no parameters to need be passed to this subroutine         *
    FORM validate_employee_number.
      DATA lv_pernr LIKE vbpa-pernr.
      SELECT SINGLE pernr
        INTO lv_pernr
        FROM vbpa
       WHERE pernr IN s_pernr.
      IF sy-subrc NE 0.
        MESSAGE e001 WITH text-010.
      ENDIF.                               " IF SY-SUBRC NE 0
      CLEAR lv_pernr.
    ENDFORM.                               " VALIDATE_EMPLOYEE_NUMBER
    Form  validate_customer_number                                       *
    This subroutine validates Customer Number                            *
    There are no parameters need to be passed to this subroutine         *
    FORM validate_customer_number.
      SELECT SINGLE kunnr
        INTO t_common_data-kunnr
        FROM kna1
       WHERE kunnr IN s_kunnr.
      IF sy-subrc NE 0.
        MESSAGE e001 WITH text-011.
      ENDIF.                               " IF SY-SUBRC NE 0
      CLEAR t_common_data-kunnr.
    ENDFORM.                               " VALIDATE_CUSTOMER_NUMBER
    Form  validate_search_term                                           *
    This subroutine validates Search Term                                *
    There are no parameters need to be passed to this subroutine         *
    FORM validate_search_term.
      SELECT SINGLE sortl
        INTO t_customer_code-sortl
        FROM kna1
       WHERE sortl IN s_sortl.
      IF sy-subrc NE 0.
        MESSAGE e001 WITH text-012.
      ENDIF.                               " IF SY-SUBRC NE 0
      CLEAR t_customer_code-sortl.
    ENDFORM.                               " VALIDATE_SEARCH_TERM
    Form  validate_product                                               *
    This subroutine validates Product                                    *
    There are no parameters need to be passed to this subroutine         *
    FORM validate_product.
      SELECT SINGLE kondm
        INTO t_

  • Problem in handling double click in the second alv grid control

    Hi all,
    I have a screen. In the screen , I have 2 custom container and each custom container has 1 alv grid control.
    I need to handle double click event for both of alv grid controls in my screen.
    I defined 2 local event handler class for each alv grid and defined 2 handle_double_click event.
    In the first Alv grid double click works fine , everything is ok, world is peaceful.
    But in the second alvgrid, the row parameters (E_ROW, E_COLUMN, ES_ROW_NO) comes initial so i cannot handle it.
    All i need is to call a different transaction (displaying the equipment-IE03) when user double-click on a field in the second alv grid control. I tried to use hotspot_click event too but it does'nt give the row id either.
    I read some posts in the forms ([Double click event of alv grid control|Double click event of alv grid control]).
    I tried everything but nothing works.
    Please help. Your answers will be appreciated.

    Hello Eagle
    I am not sure where the problem lies in your case but sample report ZUS_SDN_THREE_ALV_GRIDS_01 shows that you can always find out the current cell after the double-click event (in any case you have the current cell already as IMPORTING parameters of the event):
    *& Report  ZUS_SDN_THREE_ALV_GRIDS_01
    *& Flow logic of screen '0100' (no screen elements, ok-code => GD_OKCODE):
    **    PROCESS BEFORE OUTPUT.
    **      MODULE STATUS_0100.
    **    PROCESS AFTER INPUT.
    **      MODULE USER_COMMAND_0100.
    *& Thread: problem in handling double click in the second alv grid control
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1172052"></a>
    REPORT  zus_sdn_three_alv_grids_01.
    DATA:
      gd_okcode        TYPE ui_func,
      gd_repid         TYPE syst-repid,
      go_docking       TYPE REF TO cl_gui_docking_container,
      go_splitter      TYPE REF TO cl_gui_splitter_container,
      go_splitter_2    TYPE REF TO cl_gui_splitter_container,
      go_cell_top      TYPE REF TO cl_gui_container,
      go_cell_bottom   TYPE REF TO cl_gui_container,
      go_cell_left     TYPE REF TO cl_gui_container,
      go_cell_right    TYPE REF TO cl_gui_container,
      go_grid1         TYPE REF TO cl_gui_alv_grid,
      go_grid2         TYPE REF TO cl_gui_alv_grid,
      go_grid3         TYPE REF TO cl_gui_alv_grid.
    DATA:
      gt_outtab        TYPE STANDARD TABLE OF vbak,
      gt_outtab_2      TYPE STANDARD TABLE OF vbap,
      gt_outtab_3      TYPE STANDARD TABLE OF vbep.
    **PARAMETERS:
    **  p_bukrs          TYPE bukrs  DEFAULT '1000'.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA:
          ms_row      TYPE lvc_s_row,
          ms_col      TYPE lvc_s_col.
        CLASS-METHODS:
          handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
            IMPORTING
              e_row
              e_column
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_double_click.
    *   define local data
        DATA:
          ls_outtab      TYPE vbak,
          ls_outtab_2    TYPE vbap,
          ls_outtab_3    TYPE vbep.
        "   Initialize class data
        CLEAR: ms_row,
               ms_col.
        CASE sender.
          WHEN go_grid1.
            ms_row = e_row.
            ms_col = e_column.
    *       Triggers PAI of the dynpro with the specified ok-code
            CALL METHOD cl_gui_cfw=>set_new_ok_code
              EXPORTING
                new_code = 'GET_ITEMS'
    *          IMPORTING
    *            rc       =
          WHEN go_grid2.
            ms_row = e_row.
            ms_col = e_column.
    *       Triggers PAI of the dynpro with the specified ok-code
            CALL METHOD cl_gui_cfw=>set_new_ok_code
              EXPORTING
                new_code = 'GET_SCHEDULE_LINES'
    *          IMPORTING
    *            rc       =
          WHEN go_grid3.
    **        READ TABLE gt_vbap INTO ls_vbap INDEX e_row-index.
    **        CHECK ( ls_vbap-matnr IS NOT INITIAL ).
    **        SET PARAMETER ID 'MAT' FIELD ls_vbap-matnr.
    **        CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
          WHEN OTHERS.
            RETURN.
        ENDCASE.
      ENDMETHOD.                    "handle_double_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
      SELECT        * FROM  vbak INTO TABLE gt_outtab UP TO 100 ROWS.
      PERFORM init_controls.
    * Display data
      CALL METHOD go_grid1->set_table_for_first_display
        EXPORTING
          i_structure_name = 'VBAK'
        CHANGING
          it_outtab        = gt_outtab
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      REFRESH: gt_outtab_2.
      CALL METHOD go_grid2->set_table_for_first_display
        EXPORTING
          i_structure_name = 'VBAP'
        CHANGING
          it_outtab        = gt_outtab_2    " empty !!!
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      REFRESH: gt_outtab_3.
      CALL METHOD go_grid3->set_table_for_first_display
        EXPORTING
          i_structure_name = 'VBEP'
        CHANGING
          it_outtab        = gt_outtab_3    " empty !!!
        EXCEPTIONS
          OTHERS           = 4.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Link the docking container to the target dynpro
      gd_repid = syst-repid.
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = gd_repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * NOTE: dynpro does not contain any elements
      CALL SCREEN '0100'.
    * Flow logic of dynpro:
    *PROCESS BEFORE OUTPUT.
    *  MODULE STATUS_0100.
    *PROCESS AFTER INPUT.
    *  MODULE USER_COMMAND_0100.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.  " contains push button "ORDERS"
    *  SET TITLEBAR 'xxx'.
    * Refresh display of detail ALV list
      CALL METHOD go_grid2->refresh_table_display
    *    EXPORTING
    *      IS_STABLE      =
    *      I_SOFT_REFRESH =
        EXCEPTIONS
          OTHERS         = 2.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Refresh display of detail ALV list
      CALL METHOD go_grid3->refresh_table_display
    *    EXPORTING
    *      IS_STABLE      =
    *      I_SOFT_REFRESH =
        EXCEPTIONS
          OTHERS         = 2.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK' OR
             'END'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        " Double-click on first or second ALV grid
        WHEN 'GET_ITEMS'  OR
             'GET_SCHEDULE_LINES'.
          PERFORM get_details.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  INIT_CONTROLS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM init_controls .
    * Create docking container
      CREATE OBJECT go_docking
        EXPORTING
          parent = cl_gui_container=>screen0
          ratio  = 90
        EXCEPTIONS
          OTHERS = 6.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Create splitter container
      CREATE OBJECT go_splitter
        EXPORTING
          parent            = go_docking
          rows              = 1
          columns           = 2
    *      NO_AUTODEF_PROGID_DYNNR =
    *      NAME              =
        EXCEPTIONS
          cntl_error        = 1
          cntl_system_error = 2
          OTHERS            = 3.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Get cell container
      CALL METHOD go_splitter->get_container
        EXPORTING
          row       = 1
          column    = 1
        RECEIVING
          container = go_cell_left.
      CALL METHOD go_splitter->get_container
        EXPORTING
          row       = 1
          column    = 2
        RECEIVING
          container = go_cell_right.
    * Create 2nd splitter container
      CREATE OBJECT go_splitter_2
        EXPORTING
          parent            = go_cell_left
          rows              = 2
          columns           = 1
    *      NO_AUTODEF_PROGID_DYNNR =
    *      NAME              =
        EXCEPTIONS
          cntl_error        = 1
          cntl_system_error = 2
          OTHERS            = 3.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Get cell container
      CALL METHOD go_splitter_2->get_container
        EXPORTING
          row       = 1
          column    = 1
        RECEIVING
          container = go_cell_top.
      CALL METHOD go_splitter_2->get_container
        EXPORTING
          row       = 2
          column    = 1
        RECEIVING
          container = go_cell_bottom.
    * Create ALV grids
      CREATE OBJECT go_grid1
        EXPORTING
          i_parent = go_cell_top
        EXCEPTIONS
          OTHERS   = 5.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CREATE OBJECT go_grid2
        EXPORTING
          i_parent = go_cell_bottom
        EXCEPTIONS
          OTHERS   = 5.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CREATE OBJECT go_grid3
        EXPORTING
          i_parent = go_cell_right
        EXCEPTIONS
          OTHERS   = 5.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Set event handler
      SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid1.
      SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid2.
      SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid3.
    ENDFORM.                    " INIT_CONTROLS
    *&      Form  GET_DETAILS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_details .
    * define local data
      DATA: ls_row      TYPE lvc_s_row,
            ls_col      TYPE lvc_s_col.
      data: ls_outtab   type vbak,
            ls_outtab_2 type vbap,
            ls_outtab_3 type vbep.
      BREAK-POINT.
      CASE gd_okcode.
        WHEN 'GET_ITEMS'.
          CALL METHOD go_grid1->get_current_cell
            IMPORTING
    *          e_row     =
    *          e_value   =
    *          e_col     =
              es_row_id = ls_row
              es_col_id = ls_col
    *          es_row_no =
          read TABLE gt_outtab into ls_outtab index ls_row-index.
          refresh: gt_outtab_2,
                   gt_outtab_3.
          SELECT        * FROM  vbap into TABLE gt_outtab_2
                 WHERE  vbeln  = ls_outtab-vbeln.
        WHEN 'GET_SCHEDULE_LINES'.
          CALL METHOD go_grid2->get_current_cell
            IMPORTING
    *          e_row     =
    *          e_value   =
    *          e_col     =
              es_row_id = ls_row
              es_col_id = ls_col
    *          es_row_no =
          READ TABLE gt_outtab_2 into ls_outtab_2 index ls_row-index.
          refresh: gt_outtab_3.
          SELECT        * FROM  vbep into TABLE gt_outtab_3
                 WHERE  vbeln  = ls_outtab_2-vbeln
                 AND    posnr  = ls_outtab_2-posnr.
        WHEN OTHERS.
          RETURN.
      ENDCASE.
      IF ( lcl_eventhandler=>ms_row = ls_row  AND
           lcl_eventhandler=>ms_col = ls_col ).
        MESSAGE 'Current cell identical'  TYPE 'I'.
      ELSE.
        MESSAGE 'Current cell NOT identical'  TYPE 'I'.
      ENDIF.
    ENDFORM.                    " GET_DETAILS
    Regards
      Uwe

  • Problems installing 10.2.0.5.0 grid control agent on Solaris 9

    I'm getting the following error when attempting to install the 10.2.0.5.0 grid control on Solaris 9:-
    java.util.zip.ZipException: invalid entry size (expected 1590760 but got 1589445 bytes)
    at java.util.zip.ZipInputStream.readEnd(Unknown Source)
    at java.util.zip.ZipInputStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1460)
    at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1426)
    at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1315)
    at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1274)
    at oracle.sysman.oii.oiix.OiixFileOps.copyStream(OiixFileOps.java:1229)
    at oracle.sysman.oii.oiix.OiixFileOps.copyStreamFromJar(OiixFileOps.java:1160)
    at copyActionHelper.copyFile(copyActionHelper.java:1688)
    at copyActionHelper.copyFileFromStream(copyActionHelper.java:722)
    at copyActionHelper.copyFileFromJar(copyActionHelper.java:632)
    at copyActionHelper.copyDefaultFiles(copyActionHelper.java:545)
    at copyActionHelper.copyGroupFromJar(copyActionHelper.java:173)
    at copyActionHelperux.installCopyGroupAction(copyActionHelperux.java:158)
    at sscopyGroupFromJarux.installAction(sscopyGroupFromJarux.java:89)
    at oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(OiisCompActions.java:2074)
    at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.java:1731)
    at oracle.sysman.oii.oiis.OiisCompActions.copyGroupActionInner(OiisCompActions.java:1400)
    at oracle.sysman.oii.oiis.OiisCompActions.copyGroupAction(OiisCompActions.java:1128)
    at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:863)
    at Components.oracle.jdk.v1_5_0_17_0.CompActions.doAction(Unknown Source)
    at Components.oracle.jdk.v1_5_0_17_0.CompInstallPhase1.doActionP1copyGroup4(Unknown Source)
    at Components.oracle.jdk.v1_5_0_17_0.CompInstallPhase1.stateChangeActions(Unknown Source)
    at Components.oracle.jdk.v1_5_0_17_0.CompActions.stateChangeActions(Unknown Source)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentIP1WCCE.performStateChangeActions(OiifwInstallPhaseWCCE.java:1686)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentInstallPhaseWCCE.doOperation(OiifwInstallPhaseWCCE.java:1083)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentIP1WCCE.doOperation(OiifwInstallPhaseWCCE.java:1655)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE.doOperation(OiifwInstallPhaseWCCE.java:612)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
    at oracle.sysman.oii.oiif.oiifw.OiifwActionsPhaseWCDE.doOperation(OiifwActionsPhaseWCDE.java:607)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:147)
    at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelCompsInstall.doOperation(OiicInstallSession.java:3878)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1286)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:572)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:962)
    at oracle.sysman.emgc.oneclick.OneClickWizard.runOuiInstaller(OneClickWizard.java:458)
    at oracle.sysman.emgc.oneclick.OneClickDirectory.runInstaller(OneClickDirectory.java:165)
    at oracle.sysman.emgc.oneclick.OneClickInstaller.runInstaller(OneClickInstaller.java:209)
    at oracle.sysman.emgc.oneclick.OneClickInstaller.doCompletion(OneClickInstaller.java:243)
    at oracle.sysman.emgc.oneclick.OneClickInstaller.process(OneClickInstaller.java:269)
    at oracle.sysman.emgc.oneclick.OneStartup.startup(OneStartup.java:383)
    at oracle.sysman.emgc.oneclick.OneArgs.main(OneArgs.java:700)
    at oracle.sysman.emgc.oneclick.OneStartup.main(OneStartup.java:391)
    Before the installer gets to this stage there are o/s prerequisite checks that fail. Has anyone encountered this before ?

    Thanks, I was going to say that there should not be any problems with my zip file having used it to successfully install the agent on Solaris 10, however havign run teh cksum again, it would appear that the file has somehow got corrupted. Thanks for pointing me in the right direction.

  • 11g Grid Control - Host Configuration Collection Problems

    Hi Guys,
    I just installed Oracle 11g Grid Control and it has been running for 2 weeks until I recently tried to walk through the parts of it.
    My intention was to clear off all the error messages, critical warnings, alerts, and policy warnings.
    When I arrived at the development summary box, on the home tab, I can see that there is 1 collection problem.
    When I clicked it, I saw that apparently the problem is with the host where I installed the grid control.
    Problem type: Warning during collection of Oracle Software
    message: Unknown WLS Home Location or WLS Version in Middleware Home /u01/app/oracle/product/middleware
    I tried clicking on the "Refresh Host" button, but it didn't solve the problem at all.
    I have also tried to take a look at the targets.xml however it seems the configuration in there are already pointing to the correct path to the weblogic home.
    Please let me know if anyone has a suggestion for this.
    Searching from google doesn't really return anything closely matched to this.
    Thanks,
    Adhika

    What is the intent/timeline for fixing this bug? On MOS, it appears to have a status of "Status 33 - Suspended, Req'd Info not Avail". We are encountering this bug also and I would glady provide information from our systems in order for the issue to be resolved.
    Thanks.
    PostScript: FWIW, Google yielded a blog referencing this error and Doc ID 1433113.1. I am unable to access that document (as was the blogger). Because of this, and another major caveat (our machines with this collection error do not have WLS installed on them), I'm thinking this probably needs to be an SR rather than a forum discussion.
    Edited by: JeriF on Feb 4, 2013 12:00 PM

Maybe you are looking for

  • Photoshop CC 2014 Crashes When Opening or Saving PNG Files

    I'm having an issue where opening or saving PNG files causes my copy of Photoshop CC 2014 to crash. I've updated to the latest version, restarted my computer and have no plugins installed. I have also re-installed the program from the Creative Cloud

  • Mp4 (h.264) movie stucks during playing

    Hello, there is a problem with my Premiere CS 5.5 (Master Collection): after I export my project to h.264 (HDTV 1080p 25), it stucks in my media player (vlc) for a few seconds in the beginning, around 10 sec: it freezes for a moment and than jumps 2

  • How to fetch geometry of values

    How to fetch geometry of values, I wanted to fetch the 4th positioned n 5th positioned values from the SDO_ORDINATE_ARRAY and one unique Column ID, sample data for the same follows SQL> desc TEST Name Null? Type GEOMETRY MDSYS.SDO_GEOMETRY ID NUMBER

  • MP3 player opens in rescue mode and will not function from that m

    My Normad Zen Xtra 30gb opens with rescue mode but when I try to open any of the functions it appears to be working but takes me back to the main rescue mode screen. This player has worked for almost a year and this happened recently during a battery

  • Unknown host exception when weblogic is a https client to another server

    Hi, I have weblogic 6.1 sp2. My program connects as a client using https protocol. For this the classes provided by wls are used . The key , cert and ca files are of weblogic available in wlserver6.1\config\mydomain demokey.pem, democert.pem and ca.p