Failed to allocate port(s) in the specified range(s) for the following....

Hi,
I'm attempting to install oracle 10.2.0 on Solaris 10.
When I create a database i get the error:
Failed to allocate port(s) in the specified range(s) for the following process(es): .....
So I look at the logs and there looks like to be some configuration issues but i'm not sure where to start.
I've changed the port from NULL to 1521 in listener.ora.
It worried me that it was set to null.
Ive tried running emca -config -all db ( not sure what central agent home should be set it as /app/oracle/product/10.2.0/Db_1 seemed to accept that)
This gives me the same above error.
Any help is greatly appreciated. Please note im both a novice solaris and oracle user
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /app/oracle/product/10.2.0/Db_1/cfgtoollogs/dbca/test2/emConfig.log.
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: DBSNMP
Nov 22, 2006 3:29:41 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 691205234
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYSMAN
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test2, oracleHome: /app/oracle/product/10.2.0/Db_1, and user: SYS
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: test2
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties to /app/oracle/product/10.2.0/Db_1/sysman/config/emd.prop
erties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties has been copied to /app/oracle/product/10.2.0/Db_1/s
ysman/config/emd.properties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.properties to /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.
properties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/config/emoms.properties has been copied to /app/oracle/product/10.2.0/Db_1
/sysman/config/emoms.properties.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml to /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml.emca.
tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /app/oracle/product/10.2.0/Db_1/sysman/emd/targets.xml has been copied to /app/oracle/product/10.2.0/Db_1/sysman/
emd/targets.xml.emca.tmp
Nov 22, 2006 3:29:42 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 agentHome: null isCentral: false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 isDBC: false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: test2 Host: honeyeater Node: null OH: /app/oracle/product/10.2.0/Db_1 isDBC: false
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_test2.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /app/oracle/product/10.2.0/Db_1/oui
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [app/oracle/product/10.2.0/Db_1]
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /app/oracle/product/10.2.0/Db_1
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from /app/oracle/product/10.2.0/Db_1/oc4j/j2ee/OC4J_DBConsole
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from /app/oracle/product/10.2.0/Db_1/sysman/config/emd.properties
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /app/oracle/product/10.2.0/Db_1/install/staticports.ini
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Contro
l [5500-5519],EM Agent [3938] | [1830-1849]
Refer to the log file at /app/oracle/product/10.2.0/Db_1/cfgtoollogs/dbca/test2/emConfig.log for more details.
Nov 22, 2006 3:29:43 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [55
40-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2266)
at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:670)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:233)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:141)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:426)
at java.lang.Thread.run(Thread.java:534)
Also got thie error in another log
Cluster Error Message: PRKH-1010 : Unable to communicate with CRS Services

thanks mathias,
but i have already done, netstat -na |grep portnumber
but nothing no port in range are set
thanks howevar
regards

Similar Messages

  • Oracle 11g install failure, error, Failed to allocate port(s)

    I'm having a very hard time reinstalling Oracle 11gR1 x64 bit after the hard drive where I first installed it failed and had to be replaced. The database I'm trying to setup is for personal use on this system only. I'm running Windows XP professional 64 bit edition and have .net framework version 1.1.4322.573 installed.
    During installation the process hangs at the Database Configuration Assistant stage and will not progress till I manually end the lsnrctl.exe process in taskmanager. During the completing database process at the end I get this error -
    SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    My first thoughts were the ports in question were in use or closed but I've been using both netbios and a port monitor program called currports to check and as far as I can tell the ports listed are open and not in use.
    I did reconfigure the tnsnames.ora and listener.ora files to include valid port addresses (1521) and I can get the lsnrctl.exe to start manually now but still can't connect to the database using an open SQL command prompt.
    I also tried running the emca.bat but still no change. I need help, I'm beating my head against the wall now.
    Here are my etc/hosts, etc/services, and emconfig.log files
    etc/hosts
    # Copyright (c) 1993-1999 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host
    127.0.0.1 localhost
    172.23.153.30     gcihq1

    emconfig.log
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Mar 22, 2010 5:48:04 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: LOG_FILE value: G:\MainDB\cfgtoollogs\dbca\MainDB\emConfig.log
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: HOST value: gcihq1
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1521
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: MainDB
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: LISTENER value: LISTENER
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: LISTENER_OH value: G:\MainDB\DBHousing
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: G:\MainDB\DBHousing
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MainDB
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: MainDB
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: G:\MainDB\DBHousing
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to false
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-backup' set to false
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to false
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :G:\MainDB
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file G:\MainDB\cfgtoollogs\emca\emca_2010_03_22_17_48_04.log to G:\MainDB\cfgtoollogs\emca\MainDB\emca_2010_03_22_17_48_04.log
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at G:\MainDB\cfgtoollogs\dbca\MainDB\emConfig.log.
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:53 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: DBSNMP
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MainDB
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: MainDB
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: MainDB
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 1536995688
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYSMAN
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: MainDB, oracleHome: G:\MainDB\DBHousing, and user: SYS
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: MainDB
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file G:\MainDB\DBHousing\sysman\config\emd.properties to G:\MainDB\DBHousing\sysman\config\emd.properties.emca.tmp
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file G:\MainDB\DBHousing\sysman\config\emd.properties has been copied to G:\MainDB\DBHousing\sysman\config\emd.properties.emca.tmp
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file G:\MainDB\DBHousing\sysman\config\emoms.properties to G:\MainDB\DBHousing\sysman\config\emoms.properties.emca.tmp
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file G:\MainDB\DBHousing\sysman\config\emoms.properties has been copied to G:\MainDB\DBHousing\sysman\config\emoms.properties.emca.tmp
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file G:\MainDB\DBHousing\sysman\emd\targets.xml to G:\MainDB\DBHousing\sysman\emd\targets.xml.emca.tmp
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file G:\MainDB\DBHousing\sysman\emd\targets.xml has been copied to G:\MainDB\DBHousing\sysman\emd\targets.xml.emca.tmp
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: MainDB Host: 172.23.153.30 Node: null OH: G:\MainDB\DBHousing agentHome: null isCentral: false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: MainDB Host: 172.23.153.30 Node: null OH: G:\MainDB\DBHousing isDBC: false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: MainDB Host: 172.23.153.30 Node: null OH: G:\MainDB\DBHousing isDBC: false
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_MainDB.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_MainDB.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_MainDB.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_MainDB.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [G:\MainDB\DBHousing]
    Mar 22, 2010 5:51:54 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME G:\MainDB\DBHousing
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from G:\MainDB\DBHousing\oc4j\j2ee\OC4J_DBConsole
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from G:\MainDB\DBHousing\oc4j\j2ee\OC4J_DBConsole
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from G:\MainDB\DBHousing\oc4j\j2ee\OC4J_DBConsole
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from G:\MainDB\DBHousing\sysman\config\emd.properties
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file G:\MainDB\DBHousing\install\staticports.ini
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
    Refer to the log file at G:\MainDB\cfgtoollogs\dbca\MainDB\emConfig.log for more details.
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]
         at oracle.sysman.emcp.EMDBPreConfig.checkPorts(EMDBPreConfig.java:2481)
         at oracle.sysman.emcp.EMDBPreConfig.performConfiguration(EMDBPreConfig.java:744)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:251)
         at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:178)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:221)
         at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:460)
         at java.lang.Thread.run(Thread.java:595)
    Mar 22, 2010 5:51:55 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
    CONFIG: Restoring oracle.installer.oui_loc to G:\MainDB\DBHousing\oui
    ------------------------------------------------------------------------------------------------------------------------------

  • Emca: Failed to allocate port(s) in the specified range...

    Hi,
    this is Suse Professional 9.2 and Oracle 10.1.0.3.
    When we try to start emca to configure the enterprise manager manually, we get the error message:
    SEVERE: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
    But those ports are not in use...
    Anyone experienced the same thing?
    ./emca
    STARTED EMCA um Thu Mar 17 14:34:24 CET 2005
    Geben Sie die folgenden Informationen für die zu konfigurierende Datenbank ein
    Listener-Port-Nummer: 1521
    Datenbank-SID: fhoracle
    Service-Name: fhoracle
    E-Mail-Adresse für Benachrichtigung: ff
    E-Mail-Gateway für Benachrichtigung: ff
    Kennwort für dbsnmp:
    Kennwort für sysman:
    Kennwort für sys: :
    Sie haben die folgenden Einstellungen angegeben
    ORACLE_HOME von Datenbank ................ /home/fhserver/product/10.1.0/Db_2
    ORACLE_HOME von Enterprise Manager ................ /home/fhserver/product/10.1.0/Db_2
    Host-Name von Datenbank ................ linux.site
    Listener-Port-Nummer ................ 1521
    Datenbank-SID ................ fhoracle
    Service-Name ................ fhoracle
    E-Mail-Adresse für Benachrichtigung ............... ff
    E-Mail-Gateway für Benachrichtigung ............... ff
    Möchten Sie fortfahren? [ja/nein]: ja
    17.03.2005 14:34:50 oracle.sysman.emcp.EMConfig checkParameters
    SCHWERWIEGEND: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
    Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden Sie in der Log-Datei
    Thanks,
    Helmut

    Hi,
    I'm joining this thread late as I've just encountered the same problem.
    None of the ports specified in the error message are in the etc/services file, and none of them are in use according to netstat either. sysctl.conf and ip_local_port_range are both correct too.
    SEVERE: Failed to allocate port(s) in the specified range for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM agent [1830-1849]
    Werner Puschitz has something about this on his Suse installation page in the Troubleshooting section (http://www.puschitz.com/InstallingOracle10gOnSUSE.shtml ) , but is does not seem to have got into his Red Hat page:
    The problem is that ports listed in /etc/services are discounted.
    The workaround is to specify the ports manually, see emca -h.
    Use the following options and use the port ranges as specified in the above error message:
    emca -RMI_PORT <port> -JMS_PORT <port> -AGENT_PORT <port> -DBCONSOLE_HTTP_PORT <port>
    so it may be worth giving that a try.

  • System.InsufficientMemoryException: Failed to allocate a managed memory buffer of 268435456 bytes. The amount of available memory may be low. --- System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    Appfabric 1.1 server setup on 3 Windows server 2008 R2 machines.
    Client windows 7 64 bit.
    Because there is no bulkupdate ,we are trying to persist around 4000 objects wrapped in a CLR object.
     [Serializable]
        public class CacheableCollection<T> : ICacheable, IEnumerable<T>
            where T : class, ICacheable
            [DataMember]
            private Dictionary<string, T> _items;
            public IEnumerator<T> GetEnumerator()
                return _items.Values.GetEnumerator();
            IEnumerator IEnumerable.GetEnumerator()
                return _items.Values.GetEnumerator();
            [DataMember]
            public string CacheKey { get; private set; }
            public T this[string cacheKey] { get { return _items[cacheKey]; } }
            public CacheableCollection(string cacheKey, T[] items)
                if (string.IsNullOrWhiteSpace(cacheKey))
                    throw new ArgumentNullException("cacheKey", "Cache key not specified.");
                if (items == null || items.Length == 0)
                    throw new ArgumentNullException("items", "Collection items not specified.");
                this.CacheKey = cacheKey;
                _items = items.ToDictionary(p => p.CacheKey, p => p);
    We tried with the following options on server and client
    Server:
     <advancedProperties>
                <partitionStoreConnectionSettings leadHostManagement="false" />
                <securityProperties mode="None" protectionLevel="None">
                    <authorization>
                        <allow users="[email protected]" />
                        <allow users="[email protected]" />
                    </authorization>
                </securityProperties>
                <transportProperties maxBufferSize="500000000" />
            </advancedProperties>
    Client: 
     <transportProperties connectionBufferSize="131072" maxBufferPoolSize="500000000"
                           maxBufferSize="838860800" maxOutputDelay="2" channelInitializationTimeout="60000"
                           receiveTimeout="600000"/>
    I see different people experiencing different memory size issues. What is the actual memory limit of an  object that can be pushed to Appfabric. 
    Can some one please help ?
    Stack trace:
    Test method Anz.Cre.Pdc.Bootstrapper.Test.LoaderFuncCAOTest.AppFabPushAndRetrieveData threw exception: 
    System.InsufficientMemoryException: Failed to allocate a managed memory buffer of 268435456 bytes. The amount of available memory may be low. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    System.Runtime.Fx.AllocateByteArray(Int32 size)
    System.Runtime.Fx.AllocateByteArray(Int32 size)
    System.Runtime.InternalBufferManager.PooledBufferManager.TakeBuffer(Int32 bufferSize)
    System.Runtime.BufferedOutputStream.ToArray(Int32& bufferSize)
    System.ServiceModel.Channels.BufferedMessageWriter.WriteMessage(Message message, BufferManager bufferManager, Int32 initialOffset, Int32 maxSizeQuota)
    System.ServiceModel.Channels.BinaryMessageEncoderFactory.BinaryMessageEncoder.WriteMessage(Message message, Int32 maxMessageSize, BufferManager bufferManager, Int32 messageOffset)
    System.ServiceModel.Channels.FramingDuplexSessionChannel.EncodeMessage(Message message)
    System.ServiceModel.Channels.FramingDuplexSessionChannel.OnSendCore(Message message, TimeSpan timeout)
    System.ServiceModel.Channels.TransportDuplexSessionChannel.OnSend(Message message, TimeSpan timeout)
    System.ServiceModel.Channels.OutputChannel.Send(Message message, TimeSpan timeout)
    Microsoft.ApplicationServer.Caching.WcfClientChannel.SendMessage(EndpointID endpoint, Message message, TimeSpan timeout, WaitCallback callback, Object state, Boolean async)
    Microsoft.ApplicationServer.Caching.WcfClientChannel.Send(EndpointID endpoint, Message message, TimeSpan timeout)
    Microsoft.ApplicationServer.Caching.WcfClientChannel.Send(EndpointID endpoint, Message message)
    Microsoft.ApplicationServer.Caching.DRM.SendRequest(EndpointID address, RequestBody request)
    Microsoft.ApplicationServer.Caching.RequestBody.Send()
    Microsoft.ApplicationServer.Caching.DRM.SendToDestination(RequestBody request, Boolean recordRequest)
    Microsoft.ApplicationServer.Caching.DRM.ProcessRequest(RequestBody request, Boolean recordRequest)
    Microsoft.ApplicationServer.Caching.DRM.ProcessRequest(RequestBody request, Object session)
    Microsoft.ApplicationServer.Caching.RoutingClient.SendMsgAndWait(RequestBody reqMsg)
    Microsoft.ApplicationServer.Caching.DataCache.SendReceive(RequestBody reqMsg)
    Microsoft.ApplicationServer.Caching.DataCache.ExecuteAPI(RequestBody reqMsg)
    Microsoft.ApplicationServer.Caching.DataCache.InternalPut(String key, Object value, DataCacheItemVersion oldVersion, TimeSpan timeout, DataCacheTag[] tags, String region)
    Microsoft.ApplicationServer.Caching.DataCache.Put(String key, Object value, String region)
    Anz.Cre.Pdc.DataCache.DataCacheAccess.Put[T](String cacheName, String regionName, T value) in C:\SVN\2.3_Drop3\app\Src\Anz.Cre.Pdc.DataCache\DataCacheAccess.cs: line 141
    Anz.Cre.Pdc.DataCache.DataCacheAccess.Put[T](String cacheName, String regionName, Boolean flushRegion, T value) in C:\SVN\2.3_Drop3\app\Src\Anz.Cre.Pdc.DataCache\DataCacheAccess.cs: line 372
    Anz.Cre.Pdc.Bootstrapper.Test.LoaderFuncCAOTest.AppFabPushAndRetrieveData() in C:\SVN\2.3_Drop3\app\Src\Anz.Cre.Pdc.Bootstrapper.Test\LoaderFuncCAOTest.cs: line 281

    Essentially what we are trying to do is the following.
    we have different kinds of objects in our baseline. Objects of type CAO, Exposures, Limits that change everyday after close of business day. 
    We wanted to push these different objects in to respective named regions in the cache. 
    Region Name     Objects
    CAO                   ienumerable<caos>
    Exposures           ienumerable<exposures>
    Limits                ienumerable<limits>
    we have a producer that pushes this data in to the cache and consumers of this data acting on the data when its available.
    Now the issue we are facing is when we try to push around 4000 cao objects (roughly in the size of 300MB when serialized using xml) ,we are getting the above error. Increasing the size on the client and cache cluster didnt help.
    The other alternative we were thinking about is chunking and pushing because appfabric doesnt support streaming. We might be able to push this data successfuly if we chunk. But how about the consumers ? wouldnt they face the same memory issue when we use
    getallobjectsinregion ?
    We thought if there was a way to figure out the keys in the region then probably the consumers can get one by one. However there is no such API. 
    The only option i see is using Appfabric notifications which msdn says isnt a reliable way.
    Please help.

  • ChangeConfigurationByName fails with "The specified configuration settings for Settings are invalid."

    Hello,
    I am tryint to update deployment and always have following error
    "The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers."
    Have found similar
    thread  and
    stack overflow - without any success. I am not chaning anyting. Just reading deployment configuration and tryint to update with the same settings. I use .net azure sdk  wrappers to generate requests. Code looks like:
    var deployment = client.Deployments.GetByName(location.DataCenter, location.Cluster);var result = client.Deployments.ChangeConfigurationByName(location.DataCenter, location.Cluster, new DeploymentChangeConfigurationParameters{  Configuration = deployment.Configuration});
    Catched request response from fiddler:
    POST https://management.core.windows.net/[subscription-id]/services/hostedservices/[service-name]/deployments/[deployment-name]/?comp=config HTTP/1.1
    x-ms-version: 2013-11-01
    User-Agent: Microsoft.WindowsAzure.Management.Compute.ComputeManagementClient/0.9.0.0
    client-tracking-id: 2
    Content-Type: application/xml
    Host: management.core.windows.net
    Content-Length: 544
    Expect: 100-continue
    Connection: Keep-Alive
    <ChangeConfiguration xmlns="http://schemas.microsoft.com/windowsazure">
    <Configuration>PFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iPiAgPFJvbGUgbmFtZT0ieWF1aGVuLWNjaXMyIj4gICAgPEluc3RhbmNlcyBjb3VudD0iMSIgLz4gIDwvUm9sZT48L1NlcnZpY2VDb25maWd1cmF0aW9uPg==</Configuration>
    <ExtendedProperties />
    </ChangeConfiguration>
    Response
    HTTP/1.1 400 Bad Request
    Cache-Control: no-cache
    Content-Length: 351
    Content-Type: application/xml; charset=utf-8
    Server: 1.0.6198.51 (rd_rdfe_stable.140226-1543) Microsoft-HTTPAPI/2.0
    x-ms-servedbyregion: ussouth
    x-ms-request-id: dcb1c5aedb5872d4aaf90acfede2de0b
    Date: Tue, 04 Mar 2014 13:38:10 GMT
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>BadRequest</Code><Message>The specified configuration settings for Settings are invalid. Verify
    that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message></Error>
    the same data returned by operation status. Decoded base-64 encoded string looks like
    <ServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
    <Role name="yauhen-ccis2">
    <Instances count="1" />
    </Role>
    </ServiceConfiguration>
    Have tried without new line symbols, without xmlns, updating by production. without any success

    Hi,
    The configuration file is a file with extension .cscfg. If you have Visual Studio, the file is automatically generated when you create the project, and automatically updated when you modify the project's properties.
      >> Not sure were could I get content of this file from api?
    It's needed to encode this file's content use base64, and put the result in the body of your request. (Please refer to
    http://msdn.microsoft.com/en-us/library/windowsazure/ee758710.aspx for more information.) 
      >> <ChangeConfiguration xmlns="http://schemas.microsoft.com/windowsazure">
    <Configuration>PFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iPiAgPFJvbGUgbmFtZT0ieWF1aGVuLWNjaXMyIj4gICAgPEluc3RhbmNlcyBjb3VudD0iMSIgLz4gIDwvUm9sZT48L1NlcnZpY2VDb25maWd1cmF0aW9uPg==</Configuration>
    However, may I know how you find the body for your request? (It seems you do a base64 decoding, you find it is a valid configuration file, but it doesn't have any configuration settings.) Actually, the settings defined in csdef needed to
    be contained in the configuration file.
    Best Regards,
    Ming Xu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error 58 The specified server cannot perform the requested operation

    Hello,
    I will try to explain the situation as brief as possible. Next to our current existing MDT environment (MDT2010 on Windows 2008 R2) we are no building a new system (MDT2013 on WIndows 2012 R2). We have multiple sites and the MDT deployment share is setup
    in DFRS share so every site is getting the same deployment information and replication is done automatically. This has been working firn for 3 years with the old system and also with the new environment it was working fine in our own subnet. But when after
    i have setup the remote MDT and WDS servers it is not working in these remote sites. The images are loading fine but for some reason the win PE is not connecting to the shares on the windows 2012 server in our site. When i manuualy connect from a remote win
    PE to our server i always get the error: system error 58 has occured. The specified server cannot perform the requested operation.
    I have been doing some troubleshooting and it seems i only got this issue when i connect from win PE 5.0 to a windows 2012 R2 server in a remote subnet.
    When i use win PE 5.0 and connect to a windows 2012 R2 share in the same subnet it connects fine. 
    When i use win PE 5.0 and connect to a windows 2008 R2 share in a remote subnet it connects fine
    When i use an older win PE and i connect to a windows 2012 R2 share in a remote subnet it connects fine
    When i use win PE 5.0 and connect to a windows 2012 R2 share in a remote subnet it does NOT connect and gives the above error
    The problem is that this problem also does not occure in Windows 7, after the machine was build by MDT and get into the OS i can connect without a problem to the windows 2012 R2 shares.
    Checking the event viewer on the 2012 R2 server that is hosting the shares i see that the following events are created:
    4624: An account was successfully logged on.
    Subject:
    Security ID:
    NULL SID
    Account Name:
    Account Domain:
    Logon ID:
    0x0
    Logon Type: 3
    Impersonation Level: Impersonation
    New Logon:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Logon GUID:
    {8e360e91-001b-c726-84a6-e7281a4bcac8}
    Process Information:
    Process ID:
    0x0
    Process Name:
    Network Information:
    Workstation Name:
    Source Network Address:
    x.x.x.x
    Source Port:
    60077
    Detailed Authentication Information:
    Logon Process:
    Kerberos
    Authentication Package:
    Kerberos
    Transited Services:
    Package Name (NTLM only):
    Key Length:
    0
    This event is generated when a logon session is created. It is generated on the computer that was accessed.
    The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
    The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
    The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
    The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
    The impersonation level field indicates the extent to which a process in the logon session can impersonate.
    The authentication information fields provide detailed information about this specific logon request.
    - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
    - Transited services indicate which intermediate services have participated in this logon request.
    - Package name indicates which sub-protocol was used among the NTLM protocols.
    - Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
    5140: 
    A network share object was accessed.
    Subject:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Network Information:
    Object Type:
    File
    Source Address:
    x.x.x.x
    Source Port:
    60077
    Share Information:
    Share Name:
    \\*\Captures
    Share Path:
    \??\D:\Captures
    Access Request Information:
    Access Mask:
    0x1
    Accesses:
    ReadData (or ListDirectory)
    4634: 
    An account was logged off.
    Subject:
    Security ID:
    domain\username
    Account Name:
    username
    Account Domain: domain
    Logon ID:
    0x1F1FC0
    Logon Type: 3
    This event is generated when a logon session is destroyed. It may be positively correlated with a logon event using the Logon ID value. Logon IDs are only unique between reboots on the same computer.
    Anyone an idea why this is happening?

    Hi,
    We can refer to the following blog for MDT troubleshooting:
    http://blogs.technet.com/b/askcore/archive/2012/05/08/mdt-2010-amp-2012-my-deployment-failed-what-and-where-are-logs-i-should-review.aspx
    Best Regards,
    Vincent Wu
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • 12c agent install fails with error - The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed

    Hi,
    I am trying to install 12c agent on windows 7 64 bit server by following m.note   .
    It is failing with Agent Configuration failed, please see below error message.
    INFO: length of temp is2
    INFO: Return value:C:\/Oracle/12.1.0.3.0_AgentCore_233/core
    INFO: ** Agent Port Check completed successfully.**
    INFO: ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log C:\Oracle\12.1.0.3.0_AgentCore_233\core\install\logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
    INFO:
    INFO: perform - mode finished for action: configure
    INFO:
    INFO: You can see the log file: C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\cfgtoollogs\oui\configActions2014-10-03_08-48-15-AM.log
    INFO:
    INFO: C:\Oracle\12.1.0.3.0_AgentCore_233>exit /b 3
    INFO: Plugin homes:
    INFO: Plugin homes:
    INFO: C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\oui\bin\runConfig.bat ORACLE_HOME=C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0 RESPONSE_FILE=C:\Oracle\12.1.0.3.0_AgentCore_233\core\12.1.0.3.0\agent.rsp ACTION=configure MODE=perform COMPONENT_XML={oracle.sysman.top.agent.11_1_0_1_0.xml} RERUN=true completed with status=3
    SEVERE: ERROR: Agent Configuration Failed
    Thanks,

    Looks like , J2EE is having a problem connecting to the DB.Pls. chk. the following
    -If you have configured the loop-back adapter , if installing on a local system & updated the /etc/host file with your ip address and host name.
    or if the system is part of some n/w group and has ip address assigned ?
    -Jdk 1.4 version is installed in your system
    -Enough free Disk space available in the system
    -How much RAM your system has which windows version you are using  ?
    -Is the DB is coming up properly ? its error related to this. check the logs.
    -If the ports used by sap install / run used by other services running on the system ? & user have admin. privileges on the system .
    Pls. update with your findings on above same , for the step next ...
    Thanks ,
    Uppal

  • I can't save the setting for dowloads to go to the specified folder (such as the desktop). It restores to default when I close Forefox.

    I can't save the setting for downloads to go to the specified folder (such as the desktop). It works once but it restores to default next time I open Firefox.
    == This happened ==
    Every time Firefox opened

    Make sure that you not run Firefox in [[Private Browsing]] mode.
    In Private Browsing mode some menu items are disabled (grayed) and some features like visited links and others are disabled and not working.
    You are in Private Browsing mode if you see "Tools > Stop Private Browsing".
    See [[Private Browsing]] and http://kb.mozillazine.org/Issues_related_to_Private_Browsing
    See also http://kb.mozillazine.org/Preferences_not_saved and [[Preferences are not saved]]

  • Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s) for the following reason: The handle is invalid.

    I'm stuck here trying to figure this error out.  
    2003 domain, 2012 hyper v core 3 nodes.  (I have two of these hyper V groups, hvclust2012 is the problem group, hvclust2008 is okay)
    In Failover Cluster Manager I see these errors, "Cluster network name resource 'Cluster Name' failed registration of one or more associated DNS name(s) for the following reason:  The handle is invalid."
    I restarted the host node that was listed in having the error then another node starts showing the errors.
    I tried to follow this site:  http://blog.subvertallmedia.com/2012/12/06/repairing-a-failover-cluster-in-windows-server-2012-live-migration-fails-dns-cluster-name-errors/
    Then this error shows up when doing the repair:  there was an error repairing the active directory object for 'Cluster Name'
    I looked at our domain controller and noticed I don't have access to local users and groups.  I can access our other hvclust2008 (both clusters are same version 2012).
    <image here>
    I came upon this thread:  http://social.technet.microsoft.com/Forums/en-US/85fc2ad5-b0c0-41f0-900e-df1db8625445/windows-2012-cluster-resource-name-fails-dns-registration-evt-1196?forum=winserverClustering
    Now, I'm stuck on adding a managed service account (mas).  I'm not sure if I'm way off track to fix this.  Any advice?  Thanks in advance!
    <image here>

    Thanks Elton,
    I restarted 3 hosts after applying the hotfix.  Then I did the steps below and got stuck on step 5.  That is when I get the error (image above).  There
    was an error repairing the active directory object for 'Cluster Name'.  For more data, see 'Information Details'.
    To reset the password on the affected name resource, perform the following steps:
    From Failover Cluster Manager, locate the name resource.
    Right-click on the resource, and click Properties.
    On the Policies tab, select If resource fails, do not restart, and then click OK.
    Right-click on the resource, click More Actions, and then click Simulate Failure.
    When the name resource shows "Failed," right-click on the resource, click More Actions, and then click Repair.
    After the name resource is online, right-click on the resource, and then click Properties.
    On the Policies tab, select If resource fails, attempt restart on current node, and then click OK.
    Thanks

  • Adjusting Portal Pages throws "Specify a value for the property {0}"

    I found (with the help of our friends at OSS) the setting I need to change with to adjust the Runtime frame size for Guided Procedures.
    It's quite logical really, since GP is just a bunch of pages in the portal it would make sense to find them in the Portal Content option ... So there it was.
    Content Administration > Portal Content
    Search for content and go to Process Instance. The following part shows the 3 main content parts of the GP Runtime window. As you can see in the third container are the two elements that contain your content. "Content Area" and "Public Content Area".
    Open those two areas (scroll down in the list in the middle, select one and press open) and change the value of Height Type from "Fixed" to "Automatic" or "Full Page".
    This is where I get my error (see the link below for a screenshot as well): When I try to change a value, any value or just open for modifying and try saving again (without changing anything) I get this error:
    [http://wow.telenet.be/delaware/property0.jpg]
    Specify a value for the property
    Now I don't know if there any portal expert watching this thread, but it seems as though all those pages have been wrongly configured from the start. And until I figure out the right configuration I won't be able to save them either way.
    My question is two-fold:
    1) Can anyone provide me with all the settings he has for this component so I can compare them to mine?
    2) How do I fix this error? I'm assuming every page in the portal gives the same error?
    Thanks in advance,
    Frederik-Jan
    Edited by: Frederik-Jan Roose on Apr 1, 2008 11:33 AM
    Edited by: Frederik-Jan Roose on Apr 1, 2008 11:33 AM

    I found (with the help of our friends at OSS) the setting I need to change with to adjust the Runtime frame size for Guided Procedures.
    It's quite logical really, since GP is just a bunch of pages in the portal it would make sense to find them in the Portal Content option ... So there it was.
    Content Administration > Portal Content
    Search for content and go to Process Instance. The following part shows the 3 main content parts of the GP Runtime window. As you can see in the third container are the two elements that contain your content. "Content Area" and "Public Content Area".
    Open those two areas (scroll down in the list in the middle, select one and press open) and change the value of Height Type from "Fixed" to "Automatic" or "Full Page".
    This is where I get my error (see the link below for a screenshot as well): When I try to change a value, any value or just open for modifying and try saving again (without changing anything) I get this error:
    [http://wow.telenet.be/delaware/property0.jpg]
    Specify a value for the property
    Now I don't know if there any portal expert watching this thread, but it seems as though all those pages have been wrongly configured from the start. And until I figure out the right configuration I won't be able to save them either way.
    My question is two-fold:
    1) Can anyone provide me with all the settings he has for this component so I can compare them to mine?
    2) How do I fix this error? I'm assuming every page in the portal gives the same error?
    Thanks in advance,
    Frederik-Jan
    Edited by: Frederik-Jan Roose on Apr 1, 2008 11:33 AM
    Edited by: Frederik-Jan Roose on Apr 1, 2008 11:33 AM

  • REST API: Create Deployment throwing error BadRequest (The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.)

    Hi All,
    We are trying to access the Create Deployment method stated below
    http://msdn.microsoft.com/en-us/library/windowsazure/ee460813
    We have uploaded the Package in the blob and browsing the configuration file. We have checked trying to upload manually the package and config file in Azure portal and its working
    fine.
    Below is the code we have written for creating deployment where "AzureEcoystemCloudService" is our cloud service name where we want to deploy our package. I have also highlighted the XML creation
    part.
    byte[] bytes =
    new byte[fupldConfig.PostedFile.ContentLength + 1];
                fupldConfig.PostedFile.InputStream.Read(bytes, 0, bytes.Length);
    string a = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
    string base64ConfigurationFile = a.ToBase64();
    X509Certificate2 certificate =
    CertificateUtility.GetStoreCertificate(ConfigurationManager.AppSettings["thumbprint"].ToString());
    HostedService.CreateNewDeployment(certificate,
    ConfigurationManager.AppSettings["SubscriptionId"].ToString(),
    "2012-03-01", "AzureEcoystemCloudService", Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot.staging,
    "AzureEcoystemDeployment",
    "http://shubhendustorage.blob.core.windows.net/shubhendustorage/Infosys.AzureEcoystem.Web.cspkg",
    "AzureEcoystemDeployment", base64ConfigurationFile,
    true, false);   
    <summary>
    /// </summary>
    /// <param name="certificate"></param>
    /// <param name="subscriptionId"></param>
    /// <param name="version"></param>
    /// <param name="serviceName"></param>
    /// <param name="deploymentSlot"></param>
    /// <param name="name"></param>
    /// <param name="packageUrl"></param>
    /// <param name="label"></param>
    /// <param name="base64Configuration"></param>
    /// <param name="startDeployment"></param>
    /// <param name="treatWarningsAsError"></param>
    public static
    void CreateNewDeployment(X509Certificate2 certificate,
    string subscriptionId,
    string version, string serviceName, Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot deploymentSlot,
    string name, string packageUrl,
    string label, string base64Configuration,
    bool startDeployment, bool treatWarningsAsError)
    Uri uri = new
    Uri(String.Format(Constants.CreateDeploymentUrlTemplate, subscriptionId, serviceName, deploymentSlot.ToString()));
    XNamespace wa = Constants.xmlNamespace;
    XDocument requestBody =
    new XDocument();
    String base64ConfigurationFile = base64Configuration;
    String base64Label = label.ToBase64();
    XElement xName = new
    XElement(wa + "Name", name);
    XElement xPackageUrl =
    new XElement(wa +
    "PackageUrl", packageUrl);
    XElement xLabel = new
    XElement(wa + "Label", base64Label);
    XElement xConfiguration =
    new XElement(wa +
    "Configuration", base64ConfigurationFile);
    XElement xStartDeployment =
    new XElement(wa +
    "StartDeployment", startDeployment.ToString().ToLower());
    XElement xTreatWarningsAsError =
    new XElement(wa +
    "TreatWarningsAsError", treatWarningsAsError.ToString().ToLower());
    XElement createDeployment =
    new XElement(wa +
    "CreateDeployment");
                createDeployment.Add(xName);
                createDeployment.Add(xPackageUrl);
                createDeployment.Add(xLabel);
                createDeployment.Add(xConfiguration);
                createDeployment.Add(xStartDeployment);
                createDeployment.Add(xTreatWarningsAsError);
                requestBody.Add(createDeployment);
                requestBody.Declaration =
    new XDeclaration("1.0",
    "UTF-8", "no");
    XDocument responseBody;
    RestApiUtility.InvokeRequest(
                    uri, Infosys.AzureEcosystem.Entities.Enums.RequestMethod.POST.ToString(),
    HttpStatusCode.Accepted, requestBody, certificate, version,
    out responseBody);
    <summary>
    /// A helper function to invoke a Service Management REST API operation.
    /// Throws an ApplicationException on unexpected status code results.
    /// </summary>
    /// <param name="uri">The URI of the operation to invoke using a web request.</param>
    /// <param name="method">The method of the web request, GET, PUT, POST, or DELETE.</param>
    /// <param name="expectedCode">The expected status code.</param>
    /// <param name="requestBody">The XML body to send with the web request. Use null to send no request body.</param>
    /// <param name="responseBody">The XML body returned by the request, if any.</param>
    /// <returns>The requestId returned by the operation.</returns>
    public static
    string InvokeRequest(
    Uri uri,
    string method,
    HttpStatusCode expectedCode,
    XDocument requestBody,
    X509Certificate2 certificate,
    string version,
    out XDocument responseBody)
                responseBody =
    null;
    string requestId = String.Empty;
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
                request.Method = method;
                request.Headers.Add("x-ms-Version", version);
                request.ClientCertificates.Add(certificate);
                request.ContentType =
    "application/xml";
    if (requestBody != null)
    using (Stream requestStream = request.GetRequestStream())
    using (StreamWriter streamWriter =
    new StreamWriter(
                            requestStream, System.Text.UTF8Encoding.UTF8))
                            requestBody.Save(streamWriter,
    SaveOptions.DisableFormatting);
    HttpWebResponse response;
    HttpStatusCode statusCode =
    HttpStatusCode.Unused;
    try
    response = (HttpWebResponse)request.GetResponse();
    catch (WebException ex)
    // GetResponse throws a WebException for 4XX and 5XX status codes
                    response = (HttpWebResponse)ex.Response;
    try
                    statusCode = response.StatusCode;
    if (response.ContentLength > 0)
    using (XmlReader reader =
    XmlReader.Create(response.GetResponseStream()))
                            responseBody =
    XDocument.Load(reader);
    if (response.Headers !=
    null)
                        requestId = response.Headers["x-ms-request-id"];
    finally
                    response.Close();
    if (!statusCode.Equals(expectedCode))
    throw new
    ApplicationException(string.Format(
    "Call to {0} returned an error:{1}Status Code: {2} ({3}):{1}{4}",
                        uri.ToString(),
    Environment.NewLine,
                        (int)statusCode,
                        statusCode,
                        responseBody.ToString(SaveOptions.OmitDuplicateNamespaces)));
    return requestId;
    But every time we are getting the below error from the line
     response = (HttpWebResponse)request.GetResponse();
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Code>BadRequest</Code>
      <Message>The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message>
    </Error>
     Any help is appreciated.
    Thanks,
    Shubhendu

    Please find the request XML I have found it in debug mode
    <CreateDeployment xmlns="http://schemas.microsoft.com/windowsazure">
      <Name>742d0a5e-2a5d-4bd0-b4ac-dc9fa0d69610</Name>
      <PackageUrl>http://shubhendustorage.blob.core.windows.net/shubhendustorage/WindowsAzure1.cspkg</PackageUrl>
      <Label>QXp1cmVFY295c3RlbURlcGxveW1lbnQ=</Label>
      <Configuration>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0NCiAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KDQogIFRoaXMgZmlsZSB3YXMgZ2VuZXJhdGVkIGJ5IGEgdG9vbCBmcm9tIHRoZSBwcm9qZWN0IGZpbGU6IFNlcnZpY2VDb25maWd1cmF0aW9uLkNsb3VkLmNzY2ZnDQoNCiAgQ2hhbmdlcyB0byB0aGlzIGZpbGUgbWF5IGNhdXNlIGluY29ycmVjdCBiZWhhdmlvciBhbmQgd2lsbCBiZSBsb3N0IGlmIHRoZSBmaWxlIGlzIHJlZ2VuZXJhdGVkLg0KDQogICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCi0tPg0KPFNlcnZpY2VDb25maWd1cmF0aW9uIHNlcnZpY2VOYW1lPSJXaW5kb3dzQXp1cmUxIiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9TZXJ2aWNlSG9zdGluZy8yMDA4LzEwL1NlcnZpY2VDb25maWd1cmF0aW9uIiBvc0ZhbWlseT0iMSIgb3NWZXJzaW9uPSIqIiBzY2hlbWFWZXJzaW9uPSIyMDEyLTA1LjEuNyI+DQogIDxSb2xlIG5hbWU9IldlYlJvbGUxIj4NCiAgICA8SW5zdGFuY2VzIGNvdW50PSIyIiAvPg0KICAgIDxDb25maWd1cmF0aW9uU2V0dGluZ3M+DQogICAgICA8U2V0dGluZyBuYW1lPSJNaWNyb3NvZnQuV2luZG93c0F6dXJlLlBsdWdpbnMuRGlhZ25vc3RpY3MuQ29ubmVjdGlvblN0cmluZyIgdmFsdWU9IkRlZmF1bHRFbmRwb2ludHNQcm90b2NvbD1odHRwcztBY2NvdW50TmFtZT1zaHViaGVuZHVzdG9yYWdlO0FjY291bnRLZXk9WHIzZ3o2aUxFSkdMRHJBd1dTV3VIaUt3UklXbkFrYWo0MkFEcU5saGRKTTJwUnhnSzl4TWZEcTQ1ZHI3aDJXWUYvYUxObENnZ0FiZnhONWVBZ2lTWGc9PSIgLz4NCiAgICA8L0NvbmZpZ3VyYXRpb25TZXR0aW5ncz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
      <StartDeployment>true</StartDeployment>
      <TreatWarningsAsError>false</TreatWarningsAsError>
    </CreateDeployment>
    Shubhendu G

  • [Extend DBI] specify the drill-down report for the custom report column

    Hi,
    I realized two custom reports by using the extend DBI tools:
    1st report displays the sum of invoices amounts grouped by Operating Units.
    2nd report display the details of invoices for all Operating Units
    In the 1st report I specified a link on the column Operating Units to drill-down at 2nd report.
    The problem is how specified the drill-down link so that the 2nd report display only the detail of invoices for the selected Operating Unit?
    Thanks.

    Adding the time dimenstions like Year, Quarter, Period, Week is quite possible.
    Steps would be:
    1. make sure your data source (Table/View has these columns). If you don't have them you can generate them by joining the date of the data table with FIII_TIME_DAY.
    2. Map these new columns to appropriate Dimesnions. (Lile Enterprise Year, Enterprise Quarter etc.)
    Once you have done these two your report will work for the Time Dimensions.
    I dont think its possible to get the Prior Period functionality unless you use a generated datasource.
    Regards,
    Sudeep

  • "The upload has failed. There was a problem running a virus scan for the file."  any ideas???

    "The upload has failed.
    There was a problem running a virus scan for the file. "
    This is the message i get when tryng to update
    any ideas?

    Error: "svr.VirusScanExecutionError"
    An intermittent problem with acrobat.com's underlying virus scan component causes this issue. This issue happens occasionally on a small number of server instances.
    The solution is to update the article again. Trying again typically routes you to a different host in the server array.

  • "The specified server cannot perform the requested operation" when rpc from server 2003 to Windows 7

    I am having problems where all my Windows 2003 servers cannot rpc to 2 of my Windows 7 workstations, error message is "The specified server cannot perform the requested operation".
    All the machines are in workgroup environment.
    Windows 7 workstations: desk1, desk2, desk3, desk4, desk5, desk6
    Windows 2003 servers: server1, server2, server3, server4, server5
    Windows 2008 server: server6
    From any Windows 7 workstation I can rpc to any other machines,
    \\desk1\d$, no problem
    From any Windows 2003 server I can rpc to all the machines exception desk4 and desk5, they give the "The specified server cannot perform the requested operation". However, desk4 and desk5 can rpc to any other machines (including the Windows 2003
    servers), no problem
    From Windows 2008 rpc to desk4 and desk5 also no problem.
    I also have no problem rpc between any of the Windows 2003 servers,
    \\server2\d$ from server3, no problem.
    I turned off the firewall at desk5 and desk4, just to try, but didn't help, same problem. This show firewall is not the cause of the problem.
    Desk4 and Desk5 used to run Windows 2012 for 1 year and recently I downgraded them Windows 7 Professional x64. When they were running as Windows 2012, those Windows 2003 servers have no problem rpc to desk5 and desk4.
    The issue is thus lying between desk4 and desk5 with Windows 2003 only\
    Any suggestions?
    Valuable skills are not learned, learned skills aren't valuable.

    Hi,
    I found a related thread and a hotfix for similar issue:
    Problems Accessing Administrative Shares Remotely - Windows cannot access \\Servername\ShareName
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/9807a799-bea3-46ad-92a5-732779135f98/problems-accessing-administrative-shares-remotely-windows-cannot-access-servernamesharename?forum=winserver8gen
    You cannot access an administrative share on a computer after you set the SrvsvcDefaultShareInfo registry entry to configure the default share permissions for a network share
    https://support.microsoft.com/kb/971277/en-us
    Also please check if it is caused by security program such as antivirus program. 
    If you have any feedback on our support, please send to [email protected]

  • When calling or receiving calls, after a minute or so, is the call, give notice "call failed, THEN RUNS OUT OF SERVICE, then activated" SEARCHING "and then restoring the coverage. THIS FOR THE 100% of calls

    When calling or receiving calls, after a minute or so, is the call, give notice "call failed, THEN RUNS OUT OF SERVICE, then activated" SEARCHING "and then restoring the coverage. THIS FOR THE 100% of calls

    You may have a bad sim, contact your phone carrier and see if you can get a new one.

Maybe you are looking for

  • Skype 4.3.0.37 can't log in with Microsoft account

    I'm using Skype Skype 4.3.0.37 on Archlinux.Today I can't login with my Microsoft account (skype account works as usual). I get this message (translated from italian): We're sorry, your access data were not recognized. Check your skype name and passw

  • How do I use multiple children classes?

    OK, I'm lost. In the image from a shipping example with LabVIEW, I can see how the circled example works. What I want to be able to do is use more than 1 child, in the same way. Do I have to replicate the code for the other child, or can I somehow ha

  • F4 for filename does not behave good in CALL SELECTION_SCREEN?

    I have a F4_File name called on value -request for p_file which was decalred as part of the CALL SELECTION-SCREEN 500 It does bring up the file dialog but gets out of the loop as soon as the EXECUTE button is clicked? How to over come this?

  • Why are some of the browsers not loading?

    Some of the browsers loaded after a while but some, such as Chrome and one of the IE versions just sits there going round and round on 0% loaded.  I accidentally left one trying to load while I went out shopping and on my return found it hadn't chang

  • Outlook 2013 won't sync thru iCloud -- workaround

    On a Windows 8 PC, Outlook 2013 will not sync calendar and contacts with i devices thru iCloud.  Until Apple and/or Microsoft address the compatibility issue, there is a reasonable workaround.  Use Outlook 2013 only for mail.  For calendar  and conta