Dynamic configuration of listener in 10g

how can i dynamically configure listener?
if using Oracle configuration tools, then how can i start Oracle configuration tools?
Thanks in advance

See http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14212/listenercfg.htm#i490264
Cheers,
Colin

Similar Messages

  • OEM configuration issue in Oracle 10g

    Hi,
    I am trying to manually configure OEM on oracle 10g solaris platform (5.10). Earlier I have configured the OEM manually on the same server and then due to customer request de-configure it. But now again, I need to re-configure OEM on same server and facing issue.
    Steps which I am following are :-
    -> Listener is started
    -> Database is up and running.
    -> Creating repository through command emca -repos create
    -> Configuring the dbconsole through command emca -config dbcontrol db
    At this step after providing the information of database name, listener port, Password for SYS user,Password for DBSNMP user,Password for SYSMAN user,Email address for notifications (optional): [email protected],Outgoing Mail (SMTP) server for notifications (optional): wbmlir1.mail.xerox.com, it is giving the below error that db console cannot be started.
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 22, 2011 10:18:38 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log.
    Aug 22, 2011 10:18:43 AM oracle.sysman.emcp.ParamsManager getLocalListener
    WARNING: Error retrieving listener for usa7061ux300
    Aug 22, 2011 10:18:44 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Securing Database Control (this may take a while) ...
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsoleINFO: Database Control secured successfully.
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMSINFO: Starting Database Control (this may take a while) ...
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database ControlRefer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
    Could not complete the configuration. Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
    Below is the content of logfile :-
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
    INFO: Database Control secured successfully.
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
    CONFIG: Securing Database Control completed successfully .
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.DBControlUtil startOMS
    INFO: Starting Database Control (this may take a while) ...
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [BKUPDIR=/data, CLASSPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emca.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmasm.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/emConfigInstall.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldapjclnt10.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/ldap.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/share.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/srvmhas.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jlib/netcfg.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib/xmlparserv2.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/assistants/jlib/assistantsCommon.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/sysman/jlib/emCORE.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraInstaller.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereq.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/inventory/prereqs/oui/OraPrereqChecks.jar:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, EDITOR=vi, HOME=/rdwq/ap01/rdwsdba, HZ=, LC_COLLATE=en_US.ISO8859-1, LC_CTYPE=en_US.ISO8859-1, LC_MESSAGES=C, LC_MONETARY=en_US.ISO8859-1, LC_NUMERIC=en_US.ISO8859-1, LC_TIME=en_US.ISO8859-1, LD_LIBRARY_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc/client:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/jdk/jre/../lib/sparc:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/usr/SUNWspro/lib:/usr/openwin/lib:/usr/dt/lib, LIBPATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, LOGNAME=rdwsdba, MAIL=/usr/mail/rdwsdba, MANPATH=/local/man:/usr/share/man, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/rdwq/ap01/rdwsdba, ORACLE_BASE=/rdwq/apps/oracle, ORACLE_DOC=/rdwq/apps/oracle/doc, ORACLE_HOME=/rdwq/apps/oracle/product/10.2.0.4.2011Q1, ORACLE_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin, ORACLE_SID=rdwq, ORACLE_TERM=xsun5, ORAENV_ASK=NO, ORATAB=, ORA_NLS=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/ocommon/nls/admin/data, PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin:/opt/local/scripts:/opt/local/bin:/opt/local/xns:/opt/X11:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/etc:/usr/ccs/bin:/usr/ucb:/usr/openwin:/usr/openwin/bin:/usr/bin/X11:/usr/openwin/bin/X11:/usr/openwin/lib:/usr/lib:/usr/sbin:/usr/local/bin:/app/oracle/local/dba/utilities:/opt/bin:/opt/EDSsrm/bin:/usr/bin, PWD=//rdwq/apps/oracle/product/10.2.0.4.2011Q1/network/admin, SHELL=/bin/bash, SHLIB_PATH=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib32:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/lib:/rdwq/apps/oracle/product/10.2.0.4.2011Q1/perl/lib, SHLVL=1, TERM=vt100, TNS_ADMIN=, TZ=US/Pacific, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emca]
    Aug 22, 2011 10:19:01 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    https://usa7061ux300:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
    Logs are generated in directory /rdwq/apps/oracle/product/10.2.0.4.2011Q1/usa7061ux300_rdwq/sysman/log
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /rdwq/apps/oracle/product/10.2.0.4.2011Q1/bin/emctl start dbconsole
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error starting Database Control
    Refer to the log file at /rdwq/apps/oracle/product/10.2.0.4.2011Q1/cfgtoollogs/emca/rdwq/emca_2011-08-22_10-17-04-AM.log for more details.
    Aug 22, 2011 10:24:21 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
    at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646)
    at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224)
    at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:486)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1142)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:470)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:419)
    Please guide me to resolve this issue.
    Thanks

    Hi,
    Content of emagent.trc :-
    2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
    2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
    2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
    Content of emagent.trc :-
    2011-08-22 11:37:07 Thread-1 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=125)
    2011-08-22 11:37:07 Thread-1 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://usa7061ux300:3938/emd/main
    2011-08-22 11:37:07 Thread-1 ERROR main: nmehl_startHttpListener failed starting http listener
    rdwsdba$ tail -100 emdctl.trc
    2011-08-23 07:01:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:01:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:01:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:01:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:02:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:02:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:02:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:02:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:04:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:04:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:04:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:04:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:05:49 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:05:49 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:05:49 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:05:49 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:07:19 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:07:19 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:07:19 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:07:19 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:08:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:08:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:08:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:08:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:10:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:10:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:10:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:10:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:11:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:11:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:11:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:11:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:13:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:13:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:13:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:13:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:14:50 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:14:50 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:14:50 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:14:50 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:16:20 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:16:20 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:16:20 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:16:20 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:17:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:17:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:17:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:17:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:19:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:19:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:19:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:19:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:20:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:20:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:20:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:20:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:22:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:22:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:22:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:22:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:23:51 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:23:51 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:23:51 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:23:51 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:25:21 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:25:21 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:25:21 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:25:21 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:26:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:26:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:26:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:26:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:28:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:28:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:28:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:28:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:29:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:29:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:29:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:29:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:31:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:31:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:31:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:31:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:32:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:32:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:32:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:32:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:34:22 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:34:22 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:34:22 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:34:22 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:35:52 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:35:52 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:35:52 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:35:52 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    2011-08-23 07:37:23 Thread-1 WARN http: nmehl_readAgentKey: File access failure
    2011-08-23 07:37:23 Thread-1 ERROR ssl: Open wallet failed, ret = 28759
    2011-08-23 07:37:23 Thread-1 ERROR ssl: nmehlenv_openWallet failed
    2011-08-23 07:37:23 Thread-1 ERROR http: 256: Unable to initialize ssl connection with server, aborting connection attempt
    There is no secure.log file.
    Thanks

  • Listener ORACLE 10g

    How can i configure my listener, i can't connect with my appilcation
    please help ??
    i have oracle 10G , and i don't know nothing about the listner

    837218 wrote:
    Thnak's for the answer,
    how can i find a status , i don't know nothing about the listener :( i have a problem and the solution is by configuring the listener !!How do you know the is to configure the listener? Nowhere in this thread (as of this writing) have you given a single error message or a single statement of exactly what you did to produce the problem.
    So far all we have is, in effect:
    My car won't start
    Please tell me how to change the battery.
    I don't no nothing about cars.
    Edited by: EdStevens on Feb 16, 2011 9:21 AM

  • Getting an error in Dynamic Configuration

    Hi Guys,
    I need to dynamically post the file into different directories based on the file in the source payload.
    In Receiver File Communication Channel
    Target Directory : *
    Filename : *
    Checked the ASMA Attributes for filename and directory
    Iam refering this weblog
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    In the mapping
    <filename> ---> UDF --> topnode of target message.
    My UDF is as below
    public String Directory(String a,Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key  = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "Directory");
    String FileName = conf.get(key);
    FileName = a;
    conf.put(key, FileName);
    String Directory = conf.get(key1);
    Directory = "/SAPInterface/XI/PPD/DHX/out";
    conf.put(key1, Directory);
    return " ";
    But in runtime(moni) iam getting  error as
    com.sap.aii.af.ra.ms.api.MessagingException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    Please suggest me how to correct this.
    Thanks
    Srinivas

    Hi Srinivas,
    You said you are having dynamic directories to post the file. But I see you hardcorded or put constant for directory which is /SAPInterface/XI/PPD/DHX/out. I think you need to put //SAPInterface/XI/PPD/DHX/out.
    Try this in udf:
    public String Directory(String a,Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key  = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "Directory");
    String FileName = conf.get(key);
    FileName = a;
    conf.put(key, FileName);
    Directory = "//SAPInterface/XI/PPD/DHX/out";
    conf.put(key1, Directory);
    return " ";
    Put FileName and Directory in file name and directory paramters in receiver communication cahnnel and cehck.
    Regards,
    --Satish

  • Two FileName in Dynamic Configuration

    Hi All,
    I have a very rare problem. In an interface which uses BPM, where file is the sender and Proxy is the target,
    there is an ABAP Class in the mapping which uses Dyanmic Configuration to retrieve the FileName and create a Proxy structure and posts it to the ECC. In this scenario, Multiple files are picked from different folder using advanced Selection and sent to BPM which uses the ABAP Class.
    When i run the interface with 5 different files placed at source, In SXMB_MONI, I can see that after 3 files are processed successfully with a single filename in the Dynamic Configuration, the 4th or the 5th one wil have 2 filenames in the dynamic configuration out of which the first filename will be the copy of the earlier processed filename and the second one wil be the actual required filename. The above behaviour keeps on chainging.
    How can this be possible as the Context Object 'FileName' can have only single filename through out the interface instance, as there is no setting of the filename done in dynamic configuration.
    Please reply if anyone has a solution to the above problem.
    Thanks.

    Hi Jaideep..
    Thanks for the reply.
    Yes.. its a serial processing. Let me explain a bit more.
    as i said above, after the 3rd BPM instance (Just as an example.. keeps on chainging), the 4th instance has a unique filename compared to before 3. but after processing, the Dynamic Configuration in SXMB_MONI will have 2 fileNames. which will have a copy of any one of the earlier filenames along with actual filename.

  • Acces dynamic configuration variable (e.g. filename) in ABAP mapping class

    Hi experts
    I am searching for a possibility to acces a dynamic configuration variable (DCV) in an ABAP mapping class. Since I could not find a solution in SDN and other sources, I hope somebody in this forum can help me.
    What I already found is the following code which can be used to set a DCV, but what I would be interested in is how to read a DCV.
    Any help is appreciated.
    Markus
    METHOD if_mapping~execute.
    DATA l_record type mpp_dynamic.
    * copy payload
    result = source.
    * add an adapter specific attribute
    l_record-namespace = 'http://sap.com/xi/XI/System/File'.
    l_record-name = 'FileName'.
    l_record-value = 'test.xml'.
    dynamic_configuration->add_record( l_record ).
    ENDMETHOD.

    Hi Markus,
    you can find everything in my blogs
    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
    Regards,
    michal

  • Dynamic configuration required in sender file - Adapter Module

    Hi Everybody,
    I am developing an Adapter Module in the file adapter (sender) using Adapter Specific Message Attributes.
    I am using Dynamic configuration inside the Module Process method in the adapter module.
    We are getting an error saying Dynamic Configuration cannot be resolved.
    Can anybody tell me the package to be used.
    Thanks,
    Zabiulla

    You can access the dynamic configuration in adapter module like this:
    Message msg = (Message) inputModuleData.getPrincipalData();
    String fileName = msg.getMessageProperty("http://sap.com/xi/XI/System/File", "FileName");
    You do not need any addition library besides the adapter module API.
    Hope that helps
    Stefan

  • Configure webutil in forms 10g

    Hi all,
    can anybody help me how to configure webutil in forms-10g (10.1.2)
    software config:
    OS: windows XP
    same system is itself application server
    Forms: oracle developer suite-10g
    database oracle 10g
    and i installed java 1.6.30
    while i am trying to sign the webutil following error is occured
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    ...successfully done.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
    s\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    plese help me how to resolve this

    nagaraj wrote:
    Hi all,
    can anybody help me how to configure webutil in forms-10g (10.1.2)
    software config:
    OS: windows XP
    same system is itself application server
    Forms: oracle developer suite-10g
    database oracle 10g
    and i installed java 1.6.30
    while i am trying to sign the webutil following error is occured
    D:\DevSuiteHome_1\forms\webutil>sign_webutil.bat d:\devsuitehome_1\forms\java\frmwebutil.jar
    Generating a self signing certificate for key=webutil2...
    ...successfully done.
    Backing up d:\devsuitehome_1\forms\java\frmwebutil.jar as d:\devsuitehome_1\form
    s\java\frmwebutil.jar.old...
    1 file(s) copied.
    Signing d:\devsuitehome_1\forms\java\frmwebutil.jar using key=webutil2...
    'jarsigner' is not recognized as an internal or external command,
    operable program or batch file.
    There were warnings or errors while signing the jar. Please review them.
    follow this
      Open a DOS command prompt.
      Add C:\DevSuiteHome_1\jdk\bin to the PATH:
         set PATH=C:\DevSuiteHome_1\jdk\bin;%PATH%
      Sign the files, and check the output for success:
         C:\DevSuiteHome_1\forms\webutil\sign_webutil C:\DevSuiteHome_1\forms\java\frmwebutil.jarhope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • Dynamic Configuration File Names

    Hi,
    I have a RFC->XI->File scenario.
    I have to put the target files names based on the calculation of values in 2 fields in the input.
    I tried using Dynamic Configuration in my message mapping for this.
    This is the code:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String MyFileName = a + "_" + b +".xml";
    conf.put(key, myFileName);
    I checked ASMA in both the sender RFC adapter as well as the receiver file adapter.
    But it never works.
    I saw the dynamic configuration tab in SXMB_MONI but i can see only the RFC destination parameter.
    Cant see the file filename parameter.
    What is the problem here?

    No need enable ASMA on RFC sender adapter.
    See if the file channel is activated after selecting ASMA with FileName.
    The UDF might not be use in the mapping. Check this.
    Edited by: Praveen Gujjeti on Feb 23, 2010 1:05 AM

  • File name cant be fetched from Dynamic configuration...mutli-mapping used

    In a scenario, i have a BPM which has a transformation step which contains a mutimapping ...means 2 messages mapped to 1 messgaes, here in the mapping i m using an UDF and written code to extract the file name from dynamic configuration.....
    the problem is ...the same BPM contains another transformation step which contains a message mapping (which is not multi mapping), and here the code (UDF) works to fetch the file name...
    the code is all correct....and it looks like
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(key);
    if (sourceFileName == null ){
    sourceFileName = "ErrorFile.xml";}
    return sourceFileName;

    Hi,
    Yes u r correct it will show error in operation mapping.. bcoz u cannot check the DynamicConfiguration in Operation mapping...
    It will throw Exception..
    The parameter to UDF depends on ur requirement.... Let us know ur requirements exactly...
    If u r doing for file to file means no UDF required,, just check ASMA on both sides....
    Babu

  • Problem in Dynamic Configuration bean

    Hi
    I am trying to dynamically change the filename using Dynamic Configuration bean with some constant value but target file is having same name as source.  In communication channel logs I can see the successul pro

    Hi,
    M not sure what will be the error with this when u r using dynamic configuration bean.But same functionality can be better achieved by using this dyanamic configuartion UDF :
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    return value;
    Regards,
    Anoop

  • Doubt om Dynamic Configuration of receiver file

    Hello ,
      for Acheiving the Dynamic configuration of receiver file name ,adapter specific message attribute is used...But how to suppress the name of file in the content of the Received file...
    Is my question correct..do we get the file name in content of the receiver file,while using the Adapter specifc message attribute.
    And another question ,in the Variable substitution ...do we get the above problem,then how to tackle the situation to suprress the file name in the payload of receiver file.

    HI,
    You can handle the dynamic file name via Dynamic configuration or with the help of Variable Substitution.
    Please refer
    have a look
    Dynamic File Name using XI 3.0 SP12 Part - I --> Dynamic File Name using XI 3.0 SP12 Part u2013 I
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II --> Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
    With Variable Substituion, you may need to supress the filename
    Dynamic File Name - Suppress the Substitue varible
    Let me know if you need anymore info.
    Thanks
    Swarup

  • Problem facing in Dynamic configuration in SAP PI 7.3

    Hello,
    I am doing dynamic configuration in sap pi 7.3. I am using the following UDF.
    String devFileName="'a.vc'";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
    conf.put(FileName, devFilename);
    I am using this UDF in message mapping and mapped this UDF in the message header.
    I have selected the adapter specific message attribute in receiver communication channel also.
    Still I am getting the folowing error.
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but was not supplied in the XI Message header
    Exception caught by adapter framework: The Adapter Message Property 'FileName' was configured as mandatory element, but was not supplied in the XI Message header
    'Transmitting the message to endpoint using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException:  The Adapter Message Property 'FileName' was configured as mandatory element, but was not supplied in the XI Message header.
    Please help me what to do.
    Thanks & Regards,
    Moumita

    Hi, try this code:
    String devFileName="a.vc";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(FileName, devFilename);
    ASMA checkbox and respective parameter should be enabled in the required Adapter.
    Best Regards

  • How to configure JMS listener in separate jvm

    Hi Guys,
    I am new to this forums so please let me know if iam making any mistake.
    I have 2 instances of tomcat running on different port numbers. I am using apache ActiveMq as my message broker for sending the jms message using queue. Code for sending the message is present in a servlet. So when I run that servlet message gets sent.
    In my other tomcat i retrieve this jms message. But for me issue is this messsage gets retrieved only if i write this code in a servlet and I run that servlet.
    Is there any way where i can configure a listener for my class present in tomcat 2. So that when message gets sent that piece of code gets triggered automatically and I can read that message.

    Sounds like you want basic JMS message consumer functionality.
    http://docs.oracle.com/javaee/1.4/tutorial/doc/JMS4.html#wp79145

  • Dynamic configuration in integration process using abap mapping

    Hi everybody,
    i have the following scenario:
    file adapter -> integration process -> file adapter
    The integration process uses an ABAP mapping and sets the filename in dynamic configuration as follows:
    *-- Set Parameter
        clear ls_dyn_record.
        ls_dyn_record-name      = gc_dyn_config_name.
        ls_dyn_record-namespace = gc_dyn_config_ns.
        ls_dyn_record-value     = <new_file_name>
    *-- Write configuration
        ir_dyn_config->add_record( ls_dyn_record ).
    But now the new filename is not reflected in the file adapter (receiver). In the integration monitor (SXMB_MONI) i still find the old filename.
    Whats wrong?
    Elko

    The ABAP mapping is more complex, setting filename in Dyn. Conf. is just one step in mapping.
    If I check the Workflow protocol of the Integration Process, I find the following in the Trace of the ABAP-Mapping:
    The filename has been set to 3233340.SWNF00HW.P10I. The Suffix P10I has been added in the ABAP mapping.
    When I check the subsequent message in SXMB_MONI I find:
    The added suffix is missing in the filename !!
    Elko

Maybe you are looking for

  • Uninstall CS6?

    After I confirm that all my CC applications are working correctly is it Ok to use the un-istallers on all the CS6 programs?

  • Question about multiple servlet comms

    all, Ok here is the setup: Let�s say I have 3 servlets (A, B, C) A is started and then responsible for polling a database to check for updates since last poll until it is destroyed on server shutdown B is an intermediary servlet C is responsible for

  • I forgot The answer of security question ? What can I do I want to download someone

    I forgot The answer of security question ? What can I do I want to download someone

  • PLEASE somethings wrong..i cant add my songs

    I have had my ipod video since christmas and have never had any problems with it. i just downloaded the new ipod software and the new itunes and i cant add any songs to it, and when i hook it up to transfer a couple of songs from my brothers computer

  • Slow tranfer rates for Time Machine Backup

    I have a 2012 Macbook Air, a Netgear N600 (WNDR3400v2) wireless router, and a WD My Book Live 2 TB NAS Hard Drive (does not have a usb port).  I tried doing the setup for the new backup (32GB) of info over Wifi N (5GHz) and it said it would take 50 h