problem calling sql code when creating the record.

Hi all

I have an oracle form code where a fire trigger When_Create_Record in the code to trigger as follows:
declare
                v_cnt  number:=0;
                v_frdt date;
                v_todt date;
                Y1     CHAR(2);
                Y2     CHAR(2);
                V_ID      PAY_APPLY_HDR.APPLY_NO%TYPE;
                C      VARCHAR2(10);
                
begin
                C:=FA_PKG_MST.FUN_FINYR(:PAY_APPLY_HDR.APPLY_DATE,V_FRDT,V_TODT);
                
                Y1:=TO_CHAR(V_FRDT,'YY');
                Y2:=TO_CHAR(V_TODT,'YY');
                
                SELECT nvl(MAX(TO_NUMBER(SUBSTR(APPLY_NO,9))),0)+1 INTO V_CNT FROM PAY_APPLY_HDR
                WHERE DIVN=:PAY_APPLY_HDR.DIVN AND SUBSTR(APPLY_NO,3,2)=:PARAMETER.P_PURPOSE_CD
                AND APPLY_DATE BETWEEN V_FRDT AND V_TODT;
                                                                                                                 
                V_ID:=:PAY_APPLY_HDR.DIVN||:PARAMETER.P_PURPOSE_CD||Y1||Y2||LPAD(V_CNT,6,'0');
  :PAY_APPLY_HDR.APPLY_NO:=V_ID; 
END;
How can I do this in class entity adf impl substitute create method.

Is probably the simplest solution to this:

(a) correction of your original code so that it uses a sequence number, and not the SQL courses

(b) transform your original code in a PLSQL function in the database, and then in your EntityImpl create a JDBC wrapper function to call the stored procedure in database and call it from your create() EntityImpl and apply it to the Set accessor of the identification. This will fill the ID attribute that the folder is created.

You do not forget however of this sequence number.

CM.

Tags: Java

Similar Questions

  • Error - 21 code when create the installer for windows platform

    Hi experts, I am a beginner on labview, encounter this error when the application install build could any body help me on the error - 21, as shown below.

    what might be the cause? Thank you very much!

    CDK_Item_OnDblClick.VI.ProxyCaller > CDK_Item_OnDblClick.vi > CDK_InstallerConfiguration_Editor.vi > CDK_Build_Invoke.vi > CDK_Engine_Main.vi > CDK_Engine_BuildDevPart.vi > NI_MDF.lvlib:MDFBuildDevPart_SetOtherProperties.vi

    Loading information of product deployment
    Loading information of product deployment
    Loading information of product deployment
    Loading information of product deployment
    Adding files to install
     
    **************
    Internal error: A tool or the library returned an error. (Error code - 21)
    Final report of the error
    **************
     
     
    **************
    Error: Windows SDK function returned an error. (Error code - 12)
    Final report of the error
    **************

    Hi chenghao,.

    The error messages you provided are in fact rather generic, and as such, it is quite difficult to troubleshoot the problem only on that basis. I would like to ask you some questions to help me understand your problem better.

    What version of LabVIEW are you using? Also, the VI (or screws) you want to compile into an executable running on its own LabVIEW?

    Perhaps, it would be useful that you have downloaded your file VI and LabVIEW project (if you have one) as well as all other relevant records. If you do not have a LabVIEW project, please submit your application configuration settings.

    Thank you and looking forward to your response.

  • BUG: Wrong Getting sql code when generating types in jDeveloper 1.1.1.3.0

    I am getting fake SQL code when generating types in JDevelper 11.1.1.3.0.

    Process:

    1. create a new application: Test
    2. create a new project: Project1
    3. create the database offline: ECIS
    4. create a contact schema
    5 create a type:
    CREATE OR REPLACE TYPE HAS_REASON_OF_CETYPE AS OBJECT
    (
    has_reason_of varchar2 (36)
    )

    6 create a table based on the previous type type:
    CREATE OR REPLACE TYPE HAS_REASON_OF_CETYPE_LIST
    AS THE contact.has_reason_of_cetype TABLE;

    7. generate SQL script. Results:

    CREATE THE HAS_REASON_OF_CETYPE_LIST TYPE
    AS_REASON_OF_CETYPE_LIST <-this is the wrong code
    AS THE contact.has_reason_of_cetype TABLE;
    /

    CREATE THE HAS_REASON_OF_CETYPE TYPE
    AS_REASON_OF_CETYPE AS OBJECT <-fact here too
    (
    has_reason_of varchar2 (36)
    )
    /

    I have not seen this error with type names in our project, or this error in the previous version. Someone has seen this before and knows a way around it?

    Published by: user13324293 on July 20, 2010 11:48

    It's a regression in the PS2 (11.1.1.3.0) during our generation of DDL has been rewritten. The problem, in a nutshell, is that while determining if the generated DDL must precede the name of the object with a differnet scheme, there are some erroneous (simpler) made of string manipulation. So if the name (or schema.name) in the source contains the token of what follows (ie the ACE or IS) has the problem. This problem is fixed in 11.1.2.0.0 and 11.1.1.4.0 streams.

    There are two possible solutions.

    You can use instead OF as in the above case (in the STATE does not appear in the name) or simply change the case of ACE so that it is not the same as in the name - that is to say use "beneath", 'As' or 'Sub '.

    I hope this helps.

    Pete - team JDeveloper DB

  • Assignment of roles to the user when creating the user

    Hi all

    I gave a roll deposited (< dsp:input bean = "ProfileFormHandler.value.roles.role" maxsize = "30" size = "30" type = "text" / > on the registration page.) After registration, each field in db except role (table dps_role).
    Pls let me know what I am doing wrong.

    Thank you

    You should not assign roles to the user as 'ProfileFormHandler.value.roles.role' of 's profile. You can link formhandler property to which you can pass the name or id of the role that you want to assign role assignment must always route through safety ATG API in order to properly update the mappings of Homeland Security. Because of these dependencies, you should not try the role of simply call profile.setPropertyValue ('roles',...) The code cannot fail this way, but if you assign the role in this way then it may not work as expected when checking for role based privileges. Here's one possible way to do it:

    1. in your file properties formhandler declare a dependency on the directory of the default user, which by default points to the profile database:

    userDirectory = / atg/userprofiling/ProfileUserDirectory

    So, in the form Manager, you declare corresponding setUserDirectory() and getUserDirectory().

    2 then in the formhandler, get the DirectoryPrincipal objects associated with the user profile and the role you want to assign and then assign the role to the user:

    import atg.userdirectory.UserDirectory;
    import atg.userdirectory.DirectoryPrincipal;
    import atg.userdirectory.User;
    import atg.userdirectory.Role;
    import atg.userdirectory.DirectoryModificationException;
    
    import java.util.Collection;
    import java.util.Iterator;
    
    ..
    ..
    
    private boolean assignRoleToUser(String roleName, String userId) {
    
      UserDirectory userDirectory = getUserDirectory();
      DirectoryPrincipal userPrincipal = userDirectory.findUserByPrimaryKey(userId);
      DirectoryPrincipal rolePrincipal = userDirectory.getRoleByPath(roleName);
    
      User user = (User)userPrincipal;
    
      Collection collection = userDirectory.getRoles();
    
      boolean status = false;
    
      Iterator iter = collection.iterator();
      while(iter.hasNext())
      {
        Object obj = iter.next();
        if(obj instanceof Role) {
          Role role = (Role)obj;
          if(roleName.equals( role.getName() ) && user!=null) {
            try {
              status = user.assignRole(role);    //will return true if the role was added otherwise false
            }
            catch (DirectoryModificationException e) {
           //handle exception
            }
            break;
          }
        }
      }
      return status;
    }
    

    In the code above 'roleName' parameter is the name of the role to be assigned to the profile with the id as "userId". If you want to do the role assignment when creating the user, then you can do the things above in postCreateUser() so that you can get the Principal associated with the profile. For more information about the interfaces and classes used here, you can refer to the documentation of the API of the ATG.

    http://docs.Oracle.com/CD/E26180_01/platform.94/APIDoc/ATG/userDirectory/package-summary.html

  • ODI-40837 ERROR: an error occurred when creating the schema

    Hi I'm testing a file xml server and receive the following error message.

    ODI-40837 ERROR: an error occurred when creating the schema: ODI-40738: SAXException has been surprised by reading the model saying: expected 'DOCTYPE '.


    JDBC URL jdbc:snps:xml?f=C:/Projects/prd.xml & ro = true & DOD = YES

    could someone help because I can not find any blog or documentation on this error?

    Thank you

    Published by: user626688 on May 31, 2013 13:26

    There seems to be a problem with your xml file. Please work with channel support to investigate this issue.
    You can also view the details of settings xml driver to http://docs.oracle.com/cd/E28280_01/integrate.1111/e12644/appendix_xml_driver.htm#CHDECBHH

  • Having problems with SQL Developer connection to the database on a LINUX machine

    Having problems with SQL Developer connection to the database on a LINUX machine
    Hello
    I am trying to connect my machine to windows 7 Home premium to an oracle database 11 g on RedHat 5 machine using SQL Developer. I got this error on SQL Developer
    Status: Failed - Test has failed: the network adapter could not establish the connection


    on Linux
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                03-APR-2013 16:13:13
    Uptime                    7 days 22 hr. 16 min. 41 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.X.X.X)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orc11g" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11gXDB" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    Service "orc11g_XPT" has 1 instance(s).
    Instance "orc11g", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    and TNSPING
    tnsping 172.x.x.x
    
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 11-APR-2013 14:32:17
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    
    Used EZCONNECT adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.x.x.x))(ADDRESS=(PROTOCOL=TCP)(HOST=172.x.x.x)(PORT=1521)))
    OK (0 msec)
    [oracle@ltebilling ~]$
    Tnsnames.ora on Linux,
    ORC11G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orc11g)
    )
    )
    Listner on Linux,
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (PROGRAM = extproc)
    )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.x.x.x)(PORT = 1521))
    )
    )
    hosts/ect/Linux,
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1               localhost.localdomain localhost
    172.x.x.x             LTEBilling
    and there is no problem to ping linux from windows

    Published by: user11309581 on April 11, 2013 15:16

    user11309581 wrote:
    as I have already desciped earlier, I can't connect to the server throw Linux my Windows SQL Server, with error message below.
    tatus: failed - Test has failed: the network adapter could not establish the connection

    It's too generic to mean anything. The application is hidden the real error message. You got when you did the tnsping and obtained "TNS-12535: TNS:operation has expired. Now THAT's an error.

    This indicates a problem firewall and routing. You said earlier you could ping the server, but now we see tnsping fails. Two different protocols of usage, so that both the successful ping turns out a valid physical path, it guarantees not that all traffic will pass. What happens with

    c:\ telnet 172.x.x.x 1521
    
  • Win2k3 Server IIS SChannel event 36871 "a fatal error occurred when creating the SSL server credential information."

    To make a long story short, I went to use client software that I use a few times a week and it would not connect to the server, complaining not found or number of SSL.  When research various dcom, schannel errors errors in the event logs and a few others, I systematically over the last 24 hours cleared up the boot is so now clean (no time starting network on startup and no message on the service could not start).  It seems that something has happened a month ago after that the server crashed where at least the first DCOM messaged presented themselves, but everything has been working well until it didn't.  The dcom patches end up having to do with the ...\rsa\machinekeys (and the way that it) had a few "account unknown" in it, I cleaned everything that (at a time since I removed all items in this folder, but then put their subsequent return (by crushing all except 2 after creating a new certificate), had to reinstall virtual server and iis 6) , at some point as well.  In any case, I'm at the point where everything works (no event log errors/etc) from startup until you try to connect to the IIS 6 Server using https:... at this point, you get the event SChannel 36871 "a fatal error occurred when creating the SSL server credential information." (no additional information) is connected and the client browser cannot access the site (you can keep trying and it does not work but no event log entry more).  So that's where I'm sitting, http: works fine, https: No.  Certificate appears in the default Web site correct, said valid and possesses the private key, port 443 is there, all addresses by default, netstat shows port 443 same process id as the port 80.  I can't find a copy of SSLDiag do test to see if that prove something?

    So I need help what is not going to get this new job of fixing.  What should I do?

    Thank you!

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums. Please post your question in the TechNet forums.

    You can follow the link below to ask your question:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

    I hope that helps!

  • Error in SQL syntax when creating record insertion form

    Nice day

    I was hoping that someone could help me.  I am creating a form of registration on a website to insert data into a database table.  When you try to create the form, I get the following error:

    You have an error in your SQL syntax; consult the manual for your version of the MySQL server for the right syntax to use near ' organization, office, phone, EmailAddress, JobTitle, 'OfficialMaili' at line 1

    Do not know what is happening.  I am running windows 8 and cs5 DW w / MYSQL.  I'm testing on a local server before pushing to the remote server.

    I thank you for your help and please indicate any code you want to send me.


    M.I.,

    "OfficialMailing address".

    The table names, column names, etc. must not contain punctuation, space or special characters. Difficulty of these column names, and then try again.

  • How the sql query to sort the records by variable

    Feel like using PHP to know how to write the query SQL ORDER BY
    value time from list/menu form field ("sort_menu") and the values in the list are the columns of the database

    SELECT *.
    OF rentals_info
    WHERE rentals_info.active = 'yes '.

    Thanks for your help,
    Jim balthrop

    JBWebWorks wrote:
    > Using fault PHP to know how to write the query to sql ORDER BY
    > run time value from list/menu form field ("sort_menu") and the list
    > values of the database columns

    Unfortunately, you can not use the Dreamweaver Recordset dialog box to set
    a column of the table as a variable. You need to adapt the code by hand, and
    Once you do, the recordset can be is no longer recognized by
    Dreamweaver. Thus, you must have first page in case the
    Bindings panel shows more the fields in your recordset.

    Begin by creating the Recordset without the ORDER BY clause and have
    your page as you want it. When everything is done, add the following
    code at the top of the page:

    <>
    create a table of column names that can be used for sorting
    $permitted = array ("price", "space");
    checks if the sort_menu variable contains a valid column name
    If (isset($_GET['sort_menu']) & in_array ($_GET ['sort_menu'], $permitted)) {}
    $sort = $_GET ['sort_menu'];
    } else {}
    the value of a default column for sorting
    $sort = "price".
    }
    ?>

    This assumes that the sort columns are called price and region.
    Change these values according to your configuration.

    You can now add ORDER BY $sort to the SQL of the Recordset.

    --
    David powers
    Adobe, Dreamweaver community expert
    http://foundationphp.com

  • Examples of code to create the connection of BWS

    Hi I started using BWS (Blackberry Web Services) recently after the use of BAA (Blackberry Administration API) for some time. I would get a tutorial or sample code showing the initialization of the connection to the BWS and then use it to call the getUsersDetail method. I have the below code is missing the connection of BWS.

    import java.util.List;
    
    import com.rim.ws.enterprise.admin.*;
    public class BWSTest {
    
        public static String locale = "en_US";
        public static void main(String[] args){
    
            RequestMetadata requestMetadata = new RequestMetadata();
            requestMetadata.setLocale(locale);
            GetUsersDetailRequest userRequest = new GetUsersDetailRequest();
            userRequest.setMetadata(requestMetadata);
            userRequest.setLoadDevices(true);
            userRequest.setLoadAccounts(true);
            userRequest.setLoadITPolicies(true);
            userRequest.setLoadSWConfigs(true);
    //      List allUsers=userRequest.getUsers(); this method reflects users added as part of the request, not resulting from it
            GetUsersDetailResponse response = bws.getUsersDetail(request);
    
            if (response.getReturnStatus().getCode().compareTo("SUCCESS") !=0){
                System.out.println("Error occurred: "+response.getReturnStatus().getMessage() );
            }
    
            for(GetUsersDetailIndividualResponse individualResponse:response.getIndividualResponses()){
                individualResponse.getUserDetail().getDisplayName();
            }
    
        }
    
    }
    

    I found this code on the following link in a zip file:

    BWS Java sample

    import java.net.MalformedURLException;
    import java.net.URL;
    
    import javax.xml.ws.BindingProvider;
    
    import com.rim.ws.enterprise.admin.BWS;
    import com.rim.ws.enterprise.admin.BWSService;
    import com.rim.ws.enterprise.admin.BWSUtil;
    import com.rim.ws.enterprise.admin.BWSUtilService;
    import com.rim.ws.enterprise.admin.GetEncodedUsernameRequest;
    import com.rim.ws.enterprise.admin.GetEncodedUsernameResponse;
    import com.rim.ws.enterprise.admin.GetUsersRequest;
    import com.rim.ws.enterprise.admin.GetUsersResponse;
    import com.rim.ws.enterprise.admin.GetUsersSearchCriteria;
    import com.rim.ws.enterprise.admin.GetUsersSortBy;
    import com.rim.ws.enterprise.admin.RequestMetadata;
    import com.rim.ws.enterprise.admin.User;
    
    /**
     * This simple program finds users on the BlackBerry Administration Server,
     * and displays the existing users in the Console output.
     *
     * @author gbeukeboom
     *
     */
    
    public class TestMain {
    
        public static BWSService _myBWSService;
        public static BWS _bws;
        public static BWSUtilService _myBWSUtilService;
        public static BWSUtil _bwsUtil;
        private static String _locale = "en_US";
        private static String _clientVersion = "5.0.3"; //The version of BAS this application was created for
        private static RequestMetadata _meta = new RequestMetadata();;
    
        private static boolean setup() {
            String strBASURL=System.getProperty("basurl");
            URL serviceUrl = null;
            URL utilServiceUrl=null;
    
            //The Metadata object includes information about this application, it is included with every call
            _meta.setClientVersion(_clientVersion);
            _meta.setOrganizationUid("0"); //Not used currently, set to "0"
            _meta.setLocale(_locale);
    
            try {
                serviceUrl = new URL("https://" + strBASURL + "/enterprise/admin/ws?wsdl");
                utilServiceUrl = new URL("https://" + strBASURL + "/enterprise/admin/util/ws?wsdl");
            } catch (MalformedURLException e) {
                System.err.println("Cannot initialize the wsdl");
                return false;
            }
    
            //Initialize our web service stubs that will be used for all calls
            _myBWSService = new BWSService(serviceUrl);
            _bws = _myBWSService.getBWS();
            _myBWSUtilService = new BWSUtilService(utilServiceUrl);
            _bwsUtil = _myBWSUtilService.getBWSUtil();
    
            String username=System.getProperty("username");
            String password=System.getProperty("password");
    
            GetEncodedUsernameRequest request=new GetEncodedUsernameRequest();
            request.setMetadata(_meta);
            request.setUsername(username);
            request.setDomain(strBASURL);
    
            //The BAS expects the username to be encoded, this call returns the encoded value
            GetEncodedUsernameResponse geurResponse = _bwsUtil.getEncodedUsername(request);
    
            if (geurResponse.getReturnStatus().getCode().compareTo("SUCCESS") != 0){
                System.out.println("Error occurred: " + geurResponse.getReturnStatus().getMessage());
                return false;
            }
    
            String myEncodeUsername = geurResponse.getEncodedUsername();
    
            //Set http basic authentication on the web service
            BindingProvider bp = (BindingProvider)_bws;
            bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, myEncodeUsername);
            bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, password);
    
            return true;
        }
    
        public static void getUsers() {
    
            GetUsersRequest request = new GetUsersRequest();
            request.setMetadata(_meta); //Assign our Metadata to the call
    
            //This criteria object could be used to specify search parameters
            GetUsersSearchCriteria searchCriteria = new GetUsersSearchCriteria();
    
            request.setSearchCriteria(searchCriteria);
            request.setPageSize(500);
    
            GetUsersSortBy sortBy = new GetUsersSortBy();
            sortBy.setEMAILADDRESS(true);
            sortBy.setValue("EMAIL_ADDRESS");
            request.setSortBy(sortBy);
            request.setSortAscending(true);
    
            GetUsersResponse response = _bws.getUsers(request);
    
            //If the result returned from the call is SUCCESS then we loop through all returned users
            //outputting their information to the console.
            if (response.getReturnStatus().getCode().compareTo("SUCCESS") != 0){
                System.out.println("Error occurred: " + response.getReturnStatus().getMessage());
            } else if (response.getUsers() != null) {
                for (User itr: response.getUsers()) {
                    System.out.println("Display name: " + itr.getDisplayName());
                    System.out.println("User ID: " + itr.getUid());
                    for (String emailAddress :itr.getEmailAddresses() ){
                        System.out.println("Email Address: " + emailAddress);
                    }
                    System.out.print("\n");
                }
            }
        }
    
        /**
         * @param args
         */
        public static void main(String[] args) {
            System.out.println("Starting to intiialize credentials...");
            if (!setup()){
                System.out.println("Problem occurred while setting up credentials.");
                System.exit(0);
            }
            System.out.println("Credentials initialized.\n");
            System.out.println("Starting to retrieve users...");
            getUsers();
        }
    
    }
    
  • installation quick error when creating the control file

    Hai all,

    I have faced the problem when im installing fresh ebs R12

    my environment:

    Sun sparc 64-bit

    Solaris 11

    This happens when I try to install R12 charge

    rapidwiz, the error ORA-00821 say: sga_target 1024M value is too small, must be at least 2100 m

    and when you create it control file does not,

    no idea is that with this problem?


    all prior references to doc:

    R12.1.1: Oracle eBusiness Suite Installation and Notes version upgrade 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1()


    the journal of details below

    Logfile located at /oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_SMJKT-PRFND01/ApplyDatabase_11071358.log

    ^ M

    |      0% complete ^ M

    / 0% completed ^ M

    -0% complete ^ M

    ------0% complete RC-50004: Fatal: error in ApplyDatabase:

    Creating control files is not

    Cannot run configuration database using RapidClone

    RW-50010: error:-script returned an error: 1

    RW-50004: Error Code when you run the external process.  Check the log file for more details.

    Install the driver database for the PROD instance running

    Connect to an instance is idle.

    ORACLE instance stops.

    Connect to an instance is idle.

    ORA-00821: sga_target 1024M value is too small, must be at least 2100 m

    ORA-01078: failure in the treatment of system settings

    CREATE CONTROLFILE REUSE SET DATABASE "PROD".

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01034: ORACLE not available

    Process ID: 0

    Session IDs: serial number 0: 0

    Hello

    Please consult the following notes, because it deals with workarounds:

    R12.1.1: Oracle eBusiness Suite Installation and upgrade version Notes 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1)

    See article: known issues

    and

    ORA-00821 during create Controlfile in the ApplyDatabase Phase of the R12.1.1 Installation on Solaris (Doc ID 1116525.1)

    HTH!

    Thank you &

    Best regards

  • Problems with SQL Server availability at the time of the instant withdrawal

    I use VMware VCB to backup a virtual computer that is running SQL Server 2005. Hang it works very well when the snapshot was taken, but I'm getting errors in my web applications .NET at the same time that the deletion of the snapshot is in progress. The errors indicate that the SQL Server is not available. Thus, the network does not respond for the snapshot validation process or e/s SQL Server gets interrupted (perhaps through an another quiesce?), when the snapshot is removed. Anyone know why that would happen? Do not hang the OS VMware at time of the instant withdrawal as well?

    No patch I know which would cause instant removal to pause the plu VM.  3.5 U2 introduced VSS in the virtual machine, but components that should affect only when a snapshot is created.  Also create the snapshot with smack memory made a break the considerably longer VM, but still affects only the creation of the snapshot not the elimination.

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '.

  • Paraller error query server when creating the database using DBCA on UNIX

    Hi all
    I'm trying to create the database on UNIX platform of database 11g R1.
    At the end of the creation of the database using DBCA, I got the error:

    ORA - 12801:error reported in the parallel query P077 Server
    ORA-00018: maximum number of sessions exceeded
    ORA-06512: at "SYS." UTL_RECOMP", line 760
    ORA-06512: at "SYS." UTL_RECOMP", line 773
    ORA-06512: at line 1

    Please suggest what I can do to remove this problem.

    Concerning
    Girish Sharma

    He doesn't have to run in parallel, but it is probably

    Bug 8343487: UTLRP. PARALLEL EXECUTION, REGARDLESS OF THE CONFIGURATION OF SQL

    Werner

  • Auto how to grant additional on a workspace rights when creating the workspace

    Hello

    We use APEX 5.0 and I want to GRANT additional rights on EACH workspace when it was created.

    So that I need, after you create a new workspace, perform the following Manual :-(

    GRANT CREATE SYNONYM, CREATE VIEW, CREATE the LINK DATABASE, CREATE the PUBLIC DATABASE LINK xxx where 'xxx' = Workspacename

    However still a manual task is not a good approach
    I wish I had the default GRANTS and others above, automatic!

    Is there a feature or setting that can do it for me?

    Maybe there's a default template that I can modify for my needs?

    Thanks in advance for your help

    concerning

    Detlef

    Detlef salvation,

    If you use the Admin app Instance to provide patterns and new workspaces, you can simply add grants to the APEX_GRANTS_FOR_NEW_USERS_ROLE role. When APEX creates the workspace schema, he travels all privilege that has been granted to this role and he gives to the new user. You may need to grant privileges WITH GRANT OPTION to APEX_050000 (and again when the power to APEX_050100, etc.).

    Kind regards

    Christian

  • import problem ORA-01658: unable to create the STARTING point for the segment in your

    I created the above tablespace

    create tablespace SAMPLEDATA
    DataFile ' / u01/app/oracle/oradata/sample/sampledata01.dbf' size 50 M autoextend on next 10 M maxsize unlimited
    logging
    Local extended management
    segment space management auto
    Flashback on;

    create SAMPLE user identified by usrmringnew
    SAMPLEDATA default tablespace
    tablespace temporary temp;


    Import from 9 to 10r2

    IMP fromuser = touser = sample indexfile=/home/oracle/import/production/export/import_productionddl_20081007.log file=/home/oracle/import/production/export/production_export_20081007.dmp log=/home/oracle/import/production/export/production_import_20081007.log production system

    Unfortunately, it gives the error

    ORA-01658: unable to create the measure INITIAL segment in tablespace

    could someone kindly help me on this?

    Thank you very much!

    Hello

    As you can see, your data file specifications need to increase of 10 M, but your file system has only 3.7 M of available, that is why the server is unable to increase the size and you get this error message.

    Solution - you can use one of following:

    1. move the data file to a point of editing with sufficient space.
    2 - Add a new data file for the tablespace and host this data on a new mount point file with sufficient space.

    Published by: sanjayIndia on October 8, 2008 09:02

Maybe you are looking for

  • New contact not connect because it says the password and ID cannot be used, but that's OK. How to sign it now?

    MY brother bought a new key and without realizing that he could have two devices on one account make a new address from iCloud, the password doesn't work so reset it on the computer. Now it connect but it does not say the details of the bad but only

  • Unable to download the update of applications...

    Hi, I have the palm pre Sprint and I noticed that some of the Apps I already own do not appear in App catalog as an update as they used, as a new download and if I click to select the application, I have only the "Tap to launch" option, not installat

  • Fixing Winsows XP system

    How can I get a disk to load once a person has worked on my computer.  I think he took something that he shouldn't have. I can't burn a CD or a record of information allows you to download any type of program. Is it possible to replace thate never wh

  • I can't turn on Windows Defnder

    For a few weeks I noticed that my computer is not protected because (perhaps due to virus), Windows Defender is disabled.  I followed the instructions to wake it up, but I can't do as much as Windows Defender does not appear on 'Turn Windows features

  • didn't test hardware

    I received the error message following test for my lap top. DST short: failed. Failure ID rqdu7s-53a6sf-xd0021-60w503 ID wa781ua #aba. Hard drive 1. What should I do?