DBA and SysDBA role

Hi,
I'm very new to Oracle and I want to give my new user/schema the privilege to be a sysdba.
In SQLPlus, when I grant sysdba to myuser, it confirms that the grant is succeeded but when I query DBA_Role_privs there is no row for SysDBA. However, when I grant dba to myuser and query DBA_Role_Privs there is a row for DBA.
My question is that is the DBA role the same as the SysDBA? Why did it confirm that SysDBA was created when it clearly wasn't?
Many thanks for your help

Generally, the "SELECT_CATALOG_ROLE" is granted. However, as this is a Role, it is not visible in stored PLSQL code (because PLSQL ignores Roles). In that case, you need to grant the SELECT privilege explicitly on each Data Dictionary object that is needed.
Alternatively, if your schema needs to able query the entire Data Dictionary there is the "SELECT ANY DICTIONARY" privilege. See Table 18-1 at http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9013.htm#BABEFFEE
However, this means that the user can query all the data dictionary objects. Such a privilege is used for accounts that need to monitor but NOT administer a database. Thus, the privilege does not allow the account to make changes but does allow read access to all data dictionary tables.
Both "SELECT_CATALOG_ROLE" role and (the more expansive) "SELECT ANY DICTIONARY" privilege are to be granted with care only to specific accounts. As a student, you should learn how to grant individual privileges. Table 18-1 is a good starting point for System Privileges. Table 18-3 identifies the Object Privileges that can be granted.
Hemant K Chitale
http://hemantoracledba.blogspot.com

Similar Messages

  • Issue encountered when Login as sysdba role using Thin Oracle JDBC Driver

    Hello all,
    we are now considering to use Thin oracle JDBC driver to create database in our project, but we met one issue when we tried to connect to oracle as sysdba role using Thin driver, and it throws java.sql.SQLException: Io Exception: SO Exception was generated, I have found some tips on oracle jdbc website and it says :
    How do I connect as SYSDBA or SYSOPER?
    The only way to do this is to use the Properties object when connecting, rather than specifying the username and password as strings. Put the username into the "user" property, and the password into the "password" property. Then, put the mode into the "internal_logon" property. Something like the following:
    Properties props = new Properties();
    props.put("user", "scott");
    props.put("password", "tiger");
    props.put("internal_logon", "sysoper");
    Connection conn = DriverManager.getConnection (url, props);
    When connecting as SYSDBA or SYSOPER using the Thin driver, the RDBMS must be configured to use a password file. See "Creating and Maintaining a Password File" in the "Oracle Database Administrator's Guide".
    So, i did execute orapwd command to create a password file and also set remote_login_passwordfile=execlusive in my initxxx.ora initial parameter file, however, when i tried to connect, it failed.
    private static void createEmsdbDatabase(){
    String url = "jdbc:oracle:thin:@localhost:1521:";
    StringBuffer sqlStatement = new StringBuffer();
    sqlStatement.append("create database xxx");
    sqlStatement.append("maxdatafiles 254 ");
    sqlStatement.append("maxinstances 8 ");
    sqlStatement.append("maxlogfiles 32 ");
    sqlStatement.append("character set UTF8 ");
    sqlStatement.append("national character set UTF8 ");
    sqlStatement.append("DATAFILE 'c:\\oracle\\xxx\\system01.dbf' SIZE 18M REUSE ");
    sqlStatement.append("logfile 'c:\\oracle\\xxx\\redo01.log' SIZE 2M REUSE, ");
    sqlStatement.append("'c:\\oracle\\xxx\\redo02.log' SIZE 2M REUSE, ");
    sqlStatement.append("'c:\\oracle\\xxx\\redo03.log' SIZE 2M REUSE ");
    try {
    DriverManager.registerDriver(new OracleDriver());
    Properties props = new Properties();
    props.put("user", "sys");
    props.put("password", "password");
    props.put("database","xxx");
    props.put("internal_logon", "sysdba");
    Connection conn = DriverManager.getConnection(url, props);
    Statement statement = conn.createStatement();
    statement.executeUpdate(sqlStatement.toString());
    statement.close();
    conn.close();
    } catch (SQLException e) {
    e.printStackTrace();
    But what made me puzzled a lot is if i use OCI driver, it did work great, why??? guys, anybody knows, please give me some tips, thanks in advance.
    regards,
    Kaixuan @ Shanghai

    clarify my question in detail:
    Step 1 : create password file using orapwd command
    Step 2 : create database instance using oradim command
    Step 3 : login using sys as sysdba to startup database, e.g startup nomount pfile='...\initxxx.ora'
    Step 4 : create database.
    java code showing below:
    private static void createEmsdbDatabase(){
    String url = "jdbc:oracle:thin:@localhost:1521:";
    StringBuffer sqlStatement = new StringBuffer();
    sqlStatement.append("create database xxx ");
    sqlStatement.append("maxdatafiles 254 ");
    sqlStatement.append("maxinstances 8 ");
    sqlStatement.append("maxlogfiles 32 ");
    sqlStatement.append("character set UTF8 ");
    sqlStatement.append("national character set UTF8 ");
    sqlStatement.append("DATAFILE 'c:\\oracle\\xxx\\system01.dbf' SIZE 18M REUSE ");
    sqlStatement.append("logfile 'c:\\oracle\\xxx\\redo01.log' SIZE 2M REUSE, ");
    sqlStatement.append("'c:\\oracle\\xxx\\redo02.log' SIZE 2M REUSE, ");
    sqlStatement.append("'c:\\oracle\\xxx\\redo03.log' SIZE 2M REUSE ");
    try {
    DriverManager.registerDriver(new OracleDriver());
    Properties props = new Properties();
    props.put("user", "sys");
    props.put("password", "password");
    props.put("database","xxx");
    props.put("internal_logon", "sysdba");
    Connection conn = DriverManager.getConnection(url, props);
    Statement statement = conn.createStatement();
    statement.executeUpdate(sqlStatement.toString());
    statement.close();
    conn.close();
    } catch (SQLException e) {
    e.printStackTrace();
    issue was met here, when i tried to login as sysdba using sys, and in my java code, i use Thin driver, it then thrus exception, but when OCI driver is used, it works great, i don't know why.
    that is, when i use "jdbc:oracle:oci8:@" as database URL and then properties.put("database","xxx"), it works great. but, when i use "jdbc:oracle:thin:@localhost:1521:" as database URL and then properties.put("database","xxx"), it failed. hopefully, i have clarified my question clearly. thanks.

  • The problem of connect and resource role

    Hi,
    As we know, that while crating a new user, we can assign connect and resource so that the user can access the system tablespace.
    The problem that i got is instead of assigning the connect and resource role, i have assigned each and every privilege individually from this role. But, surprisingly, my user has not got the privilege o accessing the system tablespace.
    I was working in oracle 9i database. Can anyone help me in this regard and tell me what is the reason behind this?
    Thanks in advance.

    what huntrex said is quite valid i would like to add some more..
    SQL> create user myuser identified  by myuser
      2  /
    User created.
    SQL> select grantee,privilege
      2    from dba_sys_privs
      3   where grantee='MYUSER'
      4  /
    no rows selected
    SQL> grant resource to myuser
      2  /
    Grant succeeded.
    SQL> select grantee,privilege
      2    from dba_sys_privs
      3   where grantee='MYUSER'
      4  /
    GRANTEE                        PRIVILEGE
    MYUSER                         UNLIMITED TABLESPACEWhen you create a new user, the user is not able to save data until given a tablespace quota.As well when you create user and dont define its default tablespace then it is assigned tablespace what you defined at the time of database creation.If you dont define the tablespace at the time of creating database then it goes to system tablespace.
    When you grant resource role then user get unlimited tablespace over specified tablespace while creating users or
    default when not mentioning tablespace.
    conn myuser/muyuser
    SQL> select * from session_privs;
    PRIVILEGE
    CREATE SESSION
    ALTER SESSION[b]
    UNLIMITED TABLESPACE
    CREATE TABLE
    CREATE CLUSTER
    CREATE SYNONYM
    CREATE VIEW
    CREATE SEQUENCE
    CREATE DATABASE LINK
    CREATE PROCEDURE
    CREATE TRIGGER
    CREATE TYPE
    CREATE OPERATOR
    CREATE INDEXTYPEAs you created the user and i assume you didnt specify the default tablespace ,this user goes for system tablespace
    but you didnt assign resource role then you will have to have assign quota for that user to create any object within
    this created user.
    SQL> conn sys/sys as sysdba
    Connected.
    SQL> drop user myuser
      2  /
    User dropped.
    SQL> create user myuser identified by myuser
      2  /
    User created.
    SQL> grant connect to myuser
      2  /
    Grant succeeded.
    SQL> conn myuser/myuser
    Connected.
    SQL> select * from session_privs;
    PRIVILEGE
    CREATE SESSION
    ALTER SESSION
    CREATE TABLE
    CREATE CLUSTER
    CREATE SYNONYM
    CREATE VIEW
    CREATE SEQUENCE
    CREATE DATABASE LINK
    8 rows selected.
    SQL> create table mytable (a number)
      2  /
    create table mytable (a number)
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'
    SQL> conn sys/sys as sysdba
    Connected.
    SQL> grant unlimited tablespace to myuser
      2  /
    Grant succeeded.
    SQL> conn scott/tiger
    Connected.
    SQL> conn myuser/myuser
    Connected.
    SQL> create table mytable (a number)
      2  /
    Table created.
    SQL> Khurram

  • Difference between oracle 10g dba and oracle 11i apps dba

    hi
    can any one please explain this.
    thank you

    Hi,
    can any one please explain this.An Oracle Applications DBA is very different from a regular Oracle database administrator and requires specialized skills in business administration and Oracle application server architectures. The Oracle Applications DBA job role is less compartmentalized than a traditional Oracle DBA and the Oracle Applications DBA must also have skills in these areas:
    Database Design - Many shops require customized functional extensions and reporting data marts and the Oracle Applications DBA must have outstanding Database design skills.
    Oracle Application Server - The Oracle Applications DBA must understand the internals of the Oracle concurrent manager and understand how to monitor and tune Oracle Applications.
    Functional Expertise - Many shops requires a business degree and a general understanding of the Oracle Applications module. For example, accountants are widely used to support Oracle eBusiness Suite (Oracle Financials), and accountants with an IT background are easily trained in Oracle Applications DBA support.
    http://www.dba-oracle.com/t_how_to_become_oracle_applications_dba.htm
    Hope this helps. . .
    Don Burleson
    Oracle Press author

  • How to create and grant role

    hello all
    I have created a new database called TEST
    I need to create a role for following purposes
    create table
    read access to all the tables, write access to all the tables that the users created.
    and then i need to connect this role to a user (grant)
    how can i do this
    sample script is much of a help?
    Thanks in advance
    PRash

    As DBA :
    SQL> create role my_role;
    Role created.
    SQL> grant CREATE SESSION to my_role;
    Grant succeeded.
    SQL> grant ALTER SESSION to my_role;
    Grant succeeded.
    SQL> grant CREATE TABLE to my_role;
    Grant succeeded.
    SQL> grant my_role to <your user>;
    Grant succeeded.
    SQL>Same way you can grant other privileges to the role, and the user will automatically be granted.

  • Can we create RCU schemas without the SYSDBA role?

    hi,
    I am trying to create the specific schemas for SOA suite on a remote database,
    However, I cannot use the SYSDBA role because i don't have acces to sys user!
    Can I use a normal user (without SYSDBA previliges) such as system to acheave the installation?( it gave me some warning during the creation but i can ignore them )
    if not,do you know an other user with SYSDBA role other than sys?
    regards,,
    Driss
    Edited by: 867232 on 5 juil. 2011 04:32

    No. It is not mandatory to use sys user account. You may have any other user with sysdba privilege to create schema's using RCU. If you using a user other than SYS with SYSDBA privileges, you must grant the user permissions as follows:
    GRANT execute on sys.dbms_lock to user_name with grant option
    For example, if you have created and are using the user named system, you would use the following command to grant the necessary privileges to system:
    GRANT execute on sys.dbms_lock to system with grant option
    Refer to your Oracle database documentation for more information about database users and roles.
    Please refer section "8.2.1 General Oracle Database Requirements" at below link -
    http://download.oracle.com/docs/html/E18558_01/fusion_requirements.htm#CHDGICGE
    Regards,
    Anuj

  • What is Apps DBA and  Core DBA?

    Dear Friends,
    I often come across the terms 'Apps DBA'. I have been trying to get it clarified from many, but I am not convinced. I want to know what is the role of Apps DBA?
    What are the duties performed by Apps DBA? How is it different from core DBA?
    I request you to explain on the above subject.
    Thanks and regards
    Bharath Kumar V

    Hi Bharath,
    I want to know what is the role of Apps DBA?That's a common question! An Oracle Applications DBA is very different from a regular Oracle database administrator and requires specialized skills in business administration and Oracle application server architectures. The Oracle Applications DBA job role is less compartmentalized than a traditional Oracle DBA and the Oracle Applications DBA must also have skills in these areas:
    - Database Design - Many shops require customized functional extensions and reporting data marts and the Oracle Applications DBA must have outstanding Database design skills.
    - Oracle Application Server - The Oracle Applications DBA must understand the internals of the Oracle concurrent manager and understand how to monitor and tune Oracle Applications.
    - Functional Expertise - Many shops requires a business degree and a general understanding of the Oracle Applications module. For example, accountants are widely used to support Oracle eBusiness Suite (Oracle Financials), and accountants with an IT background are easily trained in Oracle Applications DBA support.
    I have my full notes here, on theb Apps DBA job roles:
    http://www.dba-oracle.com/t_how_to_become_oracle_applications_dba.htm
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Some dba and OS related confusions

    Hi All,
    I have few doubts related to database and OS perspective. Could pelase someone let remove my these doubts and clarify below questions:
    Qus1: Can we have two listener.ora file with same default port number 1521?
    Qus2: Why do we create two groups "dba" and "oinstall" while installing oracle database?
    Qus3: If my database is in archive log mode and in case archiver process is killed then redo will be archived or not otherwise what will happen?
    Qus4: If I have catalog database for RMAN metadata. And in case catalog database is crashed. Will I be able to use RMAN backupsets for restore the database?
    Qus5: What is needed to run "some_path/root.sh" script while installing the oracle database at last step?
    Qus6: How can we get to know what are the database running in my server from OS level itself means if any database is shutdown or crashed, can we get to know about those database from OS level itself? If yes then please specify the command?
    Qus7: How can we configure UDP protocol for my listener?
    Qus: If I am updating one table and update query is going on. Inbetween OS gets shutdown then when it is back my transaction will rolledback. Please let me know how it happenes means is there any process to do this or something else?
    Please clarify above questions.
    Regards,
    Michel

    Q1: Can we have two listener.ora file with same default port number 1521?
    A1. If on the same machine then only if they are listening on different virtual IPs, otherwise not on the same machine. As previously stated, you can try this out for yourself.
    Q2: Why do we create two groups "dba" and "oinstall" while installing oracle database?
    A2. For role separation such that if you multiple software installations and/or databases on the same machine, all will have access to the central inventory owned by the primary "oinstall" group, while the other installations/databases can be owned by other secondary groups (i.e. "dba", "dba1", and so on). Taken a step further you can have different oracle software owners with the same primary "oinstall" group but different secondary groups.
    Q3: If my database is in archive log mode and in case archiver process is killed then redo will be archived or not otherwise what will happen?
    A3. I like the idea of testing this out for yourself so I'll leave this to you ;-)
    Q4: If I have catalog database for RMAN metadata. And in case catalog database is crashed. Will I be able to use RMAN backupsets for restore the database?
    A4. This depends on a few things but in the simplest case, assuming you have the control file, only need to recover a datafile, and the backup data is still available (as specified by the CONTROL_FILE_RECORD_KEEP_TIME parameter), then yes.
    Q5: What is needed to run "some_path/root.sh" script while installing the oracle database at last step?
    A5. You must have access to the root account (directly or indirectly via sudo as an example) at the command line.
    Q6: How can we get to know what are the database running in my server from OS level itself means if any database is shutdown or crashed, can we get to know about those database from OS level itself? If yes then please specify the command?
    A6. There are two different questions here, namely check for running databases, and check database status. To check for running databases from the OS there are some options, the most basic is likely the command:
    ps -eaf | grep ora_pmon | grep -v grep
    The above checks for running processes, pipes that output through a 'grep' filter for commands having 'ora_pmon' (Oracle PMON process), which in turn is filtering out the command used to do the check itself (i.e. having 'grep' in the command).
    To check the status you'll need to scrap the alert log file for certain strings. You could also use 'srvctl status database -d <dbname>' if that is available, but it will only give online/offline status.
    Q7: How can we configure UDP protocol for my listener?
    A7. Don't worry about this, it's taken care of auto-magically. Read the Oracle networking documentation for information.
    Q8: If I am updating one table and update query is going on, in between OS gets shutdown then when it is back my transaction will be rolled back. Please let me know how it happens meaning is there any process to do this or something else?
    A9. There's nothing that you need to do, it's handled internally by the database. I highly recommend reading through the concepts documentation for full understanding of this, as well as how things generally work inside the Oracle database.
    Hope this helps.

  • Semantics and its' role in Business Services

    Role and importance of semantics in the context of services and SOA:
    Semantics refer to interpretation of information and not the literal definition of information/ data. Applying semantics to information turns it into “knowledge”. Semantics is the act of applying references and drawing conclusions given a set of more scientific informational constructs. Typically semantics are derived using the context in which information is presented. Transposition on the other hand allows applies the rule of inference where in one can draw conclusions on the implication of truth based on some set of facts.
    Read more about this at <a href="http://entarch.blogspot.com/2007/10/semantics-and-its-role-in-business.html">Surekha Durvasula's</a> blog.
    Surekha is an Enterprise Architecture of a large retail company

    Hi shalini,
            Thanks for the reply and can you please say me the menu path for T.code BUSD
    And can u please say the difference between 4.0 and 5.0 versions
    Regards
    Narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana

  • System and sysdba accounts are locked

    Hi
    System and sysdba accounts are locked I cannot connect
    is there a solution for it??

    no one answered but I could solve it using the user sys.

  • 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

  • What are Azure limitations for Websockets in Cloud Services (web and worker role)?

    A WebSocket Server should be built on Azure platform with OnPrem connections and have questions regarding limitations for Websockets in Azure Cloud Services - web and worker roles.
    Websockets can be configured for Web Sites and limitations are understood, but Azure Websites is not an option. 
    Nevertheless it is planned to run a web service (without UI - no web site) as a Cloud service which has secure websocket (WSS) connections to OnPrem machines. Websocket protocol is enabled for IIS8 on Cloud services web and worker roles. Azure Service Bus Relay
    is not an option.
    Questions:
    1) Are Websockets supported for Azure Cloud services web and worker roles? we assume yes
    2) What are potential limitations from Azure side to support concurrent Websocket connections? We are aware that CPU, memory etc are limitations, but are there additional limitations from MS Azure side? 
     

    Hi,
    As I know, azure cloud service web and worker role support Websockets, users can connect to the role via the special endpoint, if we use Azure cloud service, I think we can monitor the metrics such as CPU, memory, etc... and scale our cloud service via these
    metrics to keep the websockets working, refer to
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/ for more information about how to scale a cloud service.
    Regards

  • Business Role and PFCG Role

    Hi all,
        I am new to CRM 7.0 Can someone explain  What is a Business Role in CRM 7.0 and what is the relationship between Business role and PFCG role. What is the transaction Code to create a Business role.
       And also I heard that there is no PCUI in CRM 7.0. Is it true and if so what is used in place of the PCUI
    Thanks.
    Neha.

    Neha,
    Next time please do a search in this forum on business roles, and you would find many topics discussing this information more completely.  I'm locking this thread due to it fact that this question has been asked many times before by many different people.
    These threads explain the topic in more detail:
    Re: Reg: Business Role
    Assignment pfcg-role to user and assignment pfcg-role to business role
    Thank you,
    Stephen

  • [jsr82] can a j2me app be a Bluetooth server and client role in parallel?

    I want to make my j2me app register a special service channel and listen to it, meanwhile, I also want to start a client to connect to other handset which has the same services. In Bluetooth protocol side, this is obviously OK, but in J2me is this design possible? some people said that in jsr82, the Bluetooth device is exclusive for J2me app, app cannot be both server role and client role at the same time. Can anybody give me a definite answer?

    No this design is not possible with JSR 82. Because when the device acts as a server it can't be used as a client as whenever you will run the client code the server mode will disappear.
    But what maximum you can do is when you need the client to run close the server and switch into the client mode but I think you don't need this solution.
    Shan!!!

  • Confusing definition of My and Partner Role in PartnerLinks

    Assume I create two BPEL processes: One producer and one consumer
    Each of them needs a JMS adapter as partner services.
    When I click in the producer BPEL process on the JMS adapter definition
    then I have to specify:
    Partner Link Type=Produce_Message_plt
    Partner Role=Produce_Message_role
    My role=not specified
    When I click in the consumer BPEL process on the JMS adapter definition
    then I have to specify:
    Partner Link Type=Consume_Message_plt
    Partner Role=not specified
    My role=Consume_Message_role
    The relationship between "My role" and "Partner role" is somehow asymetric and confusing.
    at a first glance I would have said before: The view is always from the BPEL process side.
    But why do I have to specify NO "My role" in the producer ?
    When I try to specify "My role" as "Produce_Message_role" and leave
    "Partner role" as not specified then I get errors.
    Can somehow explain me what the logic behind should be ?
    Peter

    You need to look at it from a message type perspective. Is the message you are calling async, or sync
    If the process is sync you need to specify both, this is calling a sync partner link.
    PartnerRole=Invoke
    MyRole=Receive
    Async can be tricky. When you call a async Partner Link, e.g. JMS Adpater you typically only one operation exists.
    PartnerRole=Invoke
    You are telling the partner to use the Invoke operation.
    Async can be fire and forget or you may want to wait for a response so you have to implement a Receive activity. In this case you are the consumer and there is no Partner Role operation
    MyRole=Receive
    So to keep it simple
    Sync Invoke activity = Both
    Async Invoke activity = PartnerRole
    Async Receive activity = MyRole
    cheers
    James

Maybe you are looking for