Webstart for ADF UIX JClient app - large memory fooprint

Hi everyone,
I am running a three-tier model jclient app with java webstart. java sdk 5.0 with jvm 5.0 - it creates a large footprint and then it says no more memory left to allocate to the app.
i looked at if the jvm was the cause but i am using java hotspot virtual machine. now what i am wondering is where the problem is? is it the model .... etc ?
Any help would be appreciated. Thanks!

Thanks Frank. I posted the question here:
Signing Java Webstart apps with Oracle Certificate Authority
for anyone who wants to follow the progress.
Mark

Similar Messages

  • Schema sychronization for ADF/UIX

    Question...
    What are the steps necessary in propagating schema changes throughout my ADF/UIX web application.
    I ask because we've added a new column to our database, and I thought that I synchronized my project everywhere. However, my UIX control can read the data from the new column, but any updates don't seem to be committed.

    is this an input-form ?
    I think you need to create a binding for the new attribute in the UIModel file.
    the easiest way is to drag'n'drop the new attribute on to your form.

  • How tos - Multi Struts Config for ADF UIX (JDev10.1.2)

    Has anyone tried the OTN How-tos for Multi Struts Config?
    http://www.oracle.com/technology/products/jdev/howtos/10g/StrutsMultiConfigs/struts_multiconfig_howto.html
    Well I tried doing it and am facing a lot of problems.
    1. When I try to create a page in the child, it creates a duplicate page and hence two UIModels are created.
    2. Also there is an extra directory created in the common public_html folder as child1/child1.
    Could some one work that link out. I have failed to figure out what's going wrong.
    My problem doesn't end there. The link tells us that we can create multi struts app, but how do we link the pages created in these applications together?
    Regards,
    Vineet

    Goran,
    a smarter way would be to use Virtual Private
    Databases if the database is Oracle. This way you
    don't have to bother within your application to do
    this. We do have a VPD example in teh howtos for
    JDeveloper 9i.Tnx for the suggestion, but I needed a solution within ADF.
    If you want to do this on teh middle tier, use a bind
    variable in the BC query and populate this through an
    exposed method on the AM. I found even simpler solution... I let user choose an employee and fix this employee's id with a setCurrentRowWithKeyValue operation (drag-n-drop to a Data Action). Afterwards all the screens based on child view objects in the Data Control Palette hierarchy display only data from a fixed employee.

  • URGENT -- Help wanted for ADF/UIX

    Hi,
    I am a newbie in this field -- so any help would be greatly appreciated. Following is the scenario that I am struggling with:
    I've two tables, Customer(ID and Name are the columns) and Address (ID (foreign key from customer), address, city are the columns).
    I want to be able to display all the fields of Customer and Address table on the same page as a input form and let the user have the ability to enter the customer and address at the same time. On Submit, I want to first save the data into the customer table and then the address information in the address table.
    I tried to use UIX and tried dropping in CustomerAddress View in the page, but all I get are the labels, no input fields.
    Can anyone please suggest what should I do?? Thanks in advance.
    Jatinder

    Did you ever figure this out?
    Jeanne

  • ADF UIX doSelect override with PL/SQL fails to allow insert

    I've been trying to create an ADF-UIX web app for simple insert/update/delete of records to a table.
    The schema simply has 2 tables - master and detail where the detail pk is made up of the master id and a start date:
    CREATE TABLE master (
    id NUMBER NOT NULL,
    name VARCHAR2 (10) NOT NULL,
    CONSTRAINT pk_master
    PRIMARY KEY ( id ));
    CREATE TABLE detail (
    id NUMBER NOT NULL,
    start_date DATE NOT NULL,
    name VARCHAR2 (10) NOT NULL,
    description VARCHAR2 (100),
    CONSTRAINT pk_detail
    PRIMARY KEY ( id, start_date ));
    ALTER TABLE detail ADD CONSTRAINT d_m_fk FOREIGN KEY (id) REFERENCES master(id)
    This works fine when I create it in a similar manner to that described in the "Complete ADF UIX Application ..." tutorial doc.
    http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    I then tried to override the ADF doSelect and doDML methods as outlined in ADF_BC_StoredProcedures.zip example app allowing me to use PL/SQL stored pkg for dml.
    http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_BC_StoredProcedures.zip
    On trying to insert a new row my web app now fails with a null pointer exception when I press the Submit button. The app calls doSelect->handleStoredProcSelect which fails to get the value of a column.
    void handleStoredProcSelect() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN test_api.do_select(?,?,?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    ## This line works, I'm guessing because the value is populated from the master record I've selected in the form ...
    st.setLong(1,getTestId().longValue());
    ##FAILS HERE st.setDate(2,getStartDate().dateValue());
    Update,delete still work ok. And if I run the test app (right click on AppModule and select Test) all works ok.
    I'm not sure why doSelect is called on an insert so I commented out:
    doSelect
    handleStoredProcSelect
    handleStoredProcLock
    compareOldAttrTo
    Web App now lets me insert as expected.
    So finally ....my question is:
    Whilst the app now works does commenting out the doSelect leave me open to problems I haven't thought off
    and if not if you did want to use it how can you allow inserts?
    Any thoughts or similar experiences appreciated ...
    Cheers
    Ian

    I've been trying to create an ADF-UIX web app for simple insert/update/delete of records to a table.
    The schema simply has 2 tables - master and detail where the detail pk is made up of the master id and a start date:
    CREATE TABLE master (
    id NUMBER NOT NULL,
    name VARCHAR2 (10) NOT NULL,
    CONSTRAINT pk_master
    PRIMARY KEY ( id ));
    CREATE TABLE detail (
    id NUMBER NOT NULL,
    start_date DATE NOT NULL,
    name VARCHAR2 (10) NOT NULL,
    description VARCHAR2 (100),
    CONSTRAINT pk_detail
    PRIMARY KEY ( id, start_date ));
    ALTER TABLE detail ADD CONSTRAINT d_m_fk FOREIGN KEY (id) REFERENCES master(id)
    This works fine when I create it in a similar manner to that described in the "Complete ADF UIX Application ..." tutorial doc.
    http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    I then tried to override the ADF doSelect and doDML methods as outlined in ADF_BC_StoredProcedures.zip example app allowing me to use PL/SQL stored pkg for dml.
    http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_BC_StoredProcedures.zip
    On trying to insert a new row my web app now fails with a null pointer exception when I press the Submit button. The app calls doSelect->handleStoredProcSelect which fails to get the value of a column.
    void handleStoredProcSelect() {
    CallableStatement st = null;
    try {
    String stmt = "BEGIN test_api.do_select(?,?,?,?,?); END;";
    DBTransaction tr = getDBTransaction();
    st = tr.createCallableStatement(stmt,1);
    ## This line works, I'm guessing because the value is populated from the master record I've selected in the form ...
    st.setLong(1,getTestId().longValue());
    ##FAILS HERE st.setDate(2,getStartDate().dateValue());
    Update,delete still work ok. And if I run the test app (right click on AppModule and select Test) all works ok.
    I'm not sure why doSelect is called on an insert so I commented out:
    doSelect
    handleStoredProcSelect
    handleStoredProcLock
    compareOldAttrTo
    Web App now lets me insert as expected.
    So finally ....my question is:
    Whilst the app now works does commenting out the doSelect leave me open to problems I haven't thought off
    and if not if you did want to use it how can you allow inserts?
    Any thoughts or similar experiences appreciated ...
    Cheers
    Ian

  • BUG? ADF-UIX uix-configuration.xml template-import

    My UIX file works fine when I use templateImport:
      <templates xmlns="http://xmlns.oracle.com/uix/ui">
        <templateImport source="tmpl/library.uit"/>
      </templates>
    ...but I get the following error, when I try to make this templatelibrary global by adding the bold line in my uix-config.xml
      <application-configuration debug="false">
        <default-expression-language>el</default-expression-language>
        <ui-extensions>
          <extension-class>
            oracle.cabo.adf.rt.AdfUiExtension
          </extension-class>
          <extension-class>
            oracle.cabo.servlet.struts.StrutsUIExtension
          </extension-class>
          <template-library>tmpl/library.uit</template-library>
        </ui-extensions>
      </application-configuration>
    java.lang.IllegalArgumentException: Could not find ExpressionParser with name:null as specified in the ApplicationConfiguration
         at oracle.cabo.share.xml.XMLUtils.getDefaultExpressionParser(Unknown Source)
         at oracle.cabo.share.xml.XMLUtils.getDefaultExpressionParser(Unknown Source)
         at oracle.cabo.servlet.xml.parse.UIExtensionsConfigParser._loadTemplateLibrary(Unknown Source)
         at oracle.cabo.servlet.xml.parse.UIExtensionsConfigParser.addCompletedChild(Unknown Source)
         at oracle.cabo.share.xml.TreeBuilder$Handler.endElement(Unknown Source)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1211)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:300)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:267)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
         at oracle.cabo.share.xml.TreeBuilder.parse(Unknown Source)
         at oracle.cabo.share.config.ApplicationConfigurationParser.createInstance(Unknown Source)
         at oracle.cabo.share.config.ApplicationConfiguration.getInstance(Unknown Source)
         at oracle.cabo.share.error.ServletErrorLog.createErrorLog(Unknown Source)
         at oracle.cabo.servlet.BaseBajaContext.createErrorLog(Unknown Source)
         at oracle.cabo.servlet.BaseBajaContext.<init>(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.createBajaContext(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:310)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:226)
         at oracle.cabo.ide.addin.preview.UIXRenderThread._reallyLoad(UIXRenderThread.java:274)
         at oracle.cabo.ide.addin.preview.UIXRenderThread.runImpl(UIXRenderThread.java:205)
         at oracle.cabo.ide.addin.preview.BasePreviewThread.run(BasePreviewThread.java:112)

    Hi MatLee,
    I follow the guide on chapter Configuration for ADF UIX to redefine paths for uit files and uix files but it doesn't work. I created a new uix page and it keep saving the page in the default root directory (public_html) instead of the path that I specified.
    Could you please show me very detail <uix-path> example and uit path example that redefine the default paths for those two type of files. I need a working code examples, not a generic or shortcut ones. I need to store those files in their respective directories and relative to the root directory because the application is big and have many modules; each module's uix pages should be saved in their own directories and also separate from the template files directory.
    Also, can I specify more than one paths in the <uix-path> tag? and is this tag used for redefining the path for uit templates file location as well or there is other tag for it?
    Thanks
    Tom

  • ADF UIX WebStart - large memory footprint

    Hi everyone,
    I am running a three-tier model jclient app with java webstart. java sdk 5.0 with jvm 5.0 - it creates a large footprint and then it says no more memory left to allocate to the app.
    i looked at if the jvm was the cause but i am using java hotspot virtual machine. now what i am wondering is where the problem is? is it the model .... etc ?
    Any help would be appreciated. Thanks!

    Hi there,
    This observation may be coming little late to be of use to you. But, we thought we'd post it here for others benefit.
    We've encountered similar situation with our ADF application. In the end, the following tweaking helped reduce the heap size and brought back our app's GUI performance.
    1. Added the following options to Sun JDK.
    -XX:SoftRefLRUPolicyMSPerMB=100 -XX:+ParallelRefProcEnabled
    This did the magic. Over and above this, we have also tried the following option setting to tune ADF Security, but it didn't seem to give any further improvement.
    -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.authz=ACC -Djbo.debugoutput=silent
    2. Alternatively, we also tried JRockIt JVM and interestingly enough, JRockIt handled the soft references clearing very well out of box. No tweaking was required on this.
    We suspect this could an issue with configuration of security in our app. As of now, we are not sure yet. But, we have a temporary workaround.

  • Deploying JClient App using Java Webstart

    I've got a BC4J/JClient app that I'm ready to deploy. I read the May 2004 white paper "Deploying Oracle ADF JClient Applications with Java Web Start" by Frank Nimphius. In the white paper it says that you must sign the jar files in order for the webstart deployment to the client to succeed. Since this will be an intranet only application, my plan is to use the Oracle Certificate Authority to generate my trusted certificate chain for code signing. I've figured out how to generate code signing certificates using OCA and I've signed code in the past using Sun's keytool utility. However, when I use keytool to generate my certificate request(CSR) and use OCA to approve it, I can't import it back into the keystore. I am assuming that I need to include the "-provider" switch on the "-import" command for keytool. If I'm correct, does anyone know what the provider is for OCA?
    I also thought about not using keytool and generating a new CSR using Oracle Wallet Manager. I'm guessing that wallet mgr should already know about the OCA certificate formats. Since a wallet file is just a PKCS#12 keystore, I'm assuming that the jarsigner utility shouldn't have any problems using it as a code signing certificate store. My problem with wallet mgr is that I can only find it on the machine that has 10gAS installed on it. Is there any way I can install just the wallet mgr on another PC?
    Thanks,
    Mark Brown

    Thanks Frank. I posted the question here:
    Signing Java Webstart apps with Oracle Certificate Authority
    for anyone who wants to follow the progress.
    Mark

  • JBO-30011 on running JClient Applet for ADF (10g)

    After starting an (JClient) Applet created using "Swing/JClient for ADF" for an existing BC4J project following exception is thrown on startup:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30011: A null session cookie application id, session id, or application pool reference (null, null, bcpackage.AppModuleLocal) was specified during cookie construction. The cookie could not be constructed.
    at oracle.jbo.common.ampool.SessionCookieImpl.<init>(SessionCookieImpl.java:112)
    at oracle.jbo.common.ampool.SessionCookieImpl.<init>(SessionCookieImpl.java:149)
    at oracle.jbo.common.ampool.DefaultSessionCookieFactory.createSessionCookie(DefaultSessionCookieFactory.java:32)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.createSessionCookie(ApplicationPoolImpl.java:415)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:154)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createDataControl(JUMetaObjectManager.java:678)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:629)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:399)
    at form.AppletUserlog.startApp(AppletUserlog.java:253)
    at form.AppletUserlog.start(AppletUserlog.java:229)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Generated forms or panels are working well. Does anybody have the same problem ?

    I believe my problem is that the jbo.ampool.minavailablesize is higher than the normal load on the system. This is stopping app modules to be removed once the jbo.ampool.maxinactiveage time is reached, therefore the only time an AM is removed is when the jbo.ampool.timetolive limit is reached.
    e.g.
    * 35 users log into the application in the morning. The AM pool contains 35 AM's
    * GC on the pool happens. If an AM has reached the jbo.ampool.maxinactiveage then they will not be removed because it would mean that the pool (currently 35) drops below the jbo.ampool.minavailablesize (50)
    * GC happens again and the jbo.ampool.timetolive threshold is now reached on all AM's so they are all removed from the pool.

  • ADF mobile Client App: Issue about using db sequence for populating row_id

    Hi,
    I'm working on an ADF mobile client app POC project. In the mobile app, new record can be created, the column type for row_id is VARCHAR2(15), I used the db sequence created in MC db, converted the seq number to a string, then set row_id via initDefaults method.
    The new records are created and row_ids are set with the proper sequence numbers when first time launching the client app in blackberry simulator. But if I exit the app and re-launch the app again, I got net.rim.device.api.database.DataTypeExpection when trying to create a new record.
    Could anyone please help me and let me know what could cause this issue? What should be the proper way to populate the row_id? Appreciate your response in advance!
    Jdev/ADFMobile extension version:
    11.1.1.4.0 build 5860
    mobile server version:
    10.3.0.3
    blackberry version:
    BlackBerry JDE 5.0.0
    BlackBerry Smartphone Simulators 6.0.0.141 (9800)
    Code:
    public class SOrgExtEOImpl extends EntityImpl {
    protected void initDefaults() {
    super.initDefaults();
    SequenceImpl seq = new SequenceImpl("S_SIEBELMOBILE_S_ORG_EXT", getDBTransaction());
    populateAttributeAsChanged(ROWID1, seq.getSequenceNumber().toString());
    Log:
    First time launching the MC app:
    [FINE - adfnmc.bindings - BC4JIteratorBinding - createRow]
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 6 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 7 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 8 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 9 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 10 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 11 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 12 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to 2010-12-20 14:58:13.0
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to 2010-12-20 14:58:13.0
    [FINE - adfnmc.model - SequenceImpl - create] Database SQLite doesn't support sequences natively; creating TableSequenceImpl for
    S_SIEBELMOBILE_S_ORG_EXT
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to 73501
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.CreatedBy at index 2
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to 1-11ZQ
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.LastUpdBy at index 4
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to 1-53Y
    [FINE - adfnmc.model - EntityImpl - getAttribute] Retrieved from siebel.mobile.SOrgExtEO.BuId at index 5
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to 1-1DG
    [INFO - adfnmc.model - MetaObjectManager - findOrLoadMetaObject] MetaObject siebel.mobile.AccountAddressFKAssoc not found in cache, so
    loading it from XML
    [INFO - adfnmc.model - MetaObjectManager - findOrLoadMetaObject] MetaObject siebel.mobile.ActivityAccountFKAssoc not found in cache, so
    loading it from XML
    [FINE - adfnmc.bindings - BC4JIteratorBinding - notifyRowInserted]
    [FINE - adfnmc.bindings - IteratorExecutableBindingImpl - rowInserted] IterBinding - AccountPageDef:AccountAddressView1Iterator
    [FINE - adfnmc.bindings - IteratorExecutableBindingImpl - notifyRowInserted] IterBinding - AccountPageDef:AccountAddressView1Iterator
    [FINE - adfnmc.bindings - RangeBindingImpl - rowInserted] AccountAddressView1
    [FINE - adfnmc.bindings - RangeBindingImpl - notifyNewElement] AccountAddressView1, index:0
    [FINE - adfnmc.ui - BBTable - newElement] relativeIndex = 0
    [FINE - adfnmc.bindings - RangeBindingImpl - setVariableIndex] Begin, AccountAddressView1, listener: oracle.adfnmc.component.ui.BBTable$1
    [FINE - adfnmc.bindings - SimpleContext$Variables - setVariable] Setting variable "row" to expression #
    {AccountPageDef_AccountAddressView1_rowAlias}
    [FINE - adfnmc.ui - BBOutputText - endInit]
    Re-launching the MC app:
    INFO - adfnmc.bindings - BC4JOperationBinding - execute] Preparing to execute OperationBinding id:'CreateInsert'
    [FINE - adfnmc.bindings - BC4JIteratorBinding - createRow]
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 0 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 2 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 4 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 5 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 6 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 7 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 8 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 9 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 10 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 11 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 12 to
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 1 to 2010-12-20 15:08:35.0
    [FINEST - adfnmc.model - EntityImpl - populateAttribute] Setting value at index 3 to 2010-12-20 15:08:35.0
    [FINE - adfnmc.model - SequenceImpl - create] Database SQLite doesn't support sequences natively; creating TableSequenceImpl for
    S_SIEBELMOBILE_S_ORG_EXT
    [INFO - adfnmc.ui - ErrorHandlerImpl - reportException] BindingContainer: AccountPageDef, exception: oracle.adfnmc.AMCJboException
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] [oracle.jbo.server.SequenceImpl$TableSequenceImpl.retrieveSequenceParamsFromDB]
    oracle.adfnmc.AMCJboException: ADF-MNC-60109: Error retrieving sequence parameters for sequence S_SIEBELMOBILE_S_ORG_EXT
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] oracle.adfnmc.java.sql.SQLException:
    net.rim.device.api.database.DataTypeException:Datatype mismatch
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException] Unable to retrieve String at index 2
    [WARNING - adfnmc.ui - ErrorHandlerImpl - reportException]
    [FINE - adfnmc.ui - MessageBox - show] message=oracle.adfnmc.AMCJboException: ADF-MNC-60109: Error retrieving sequence parameters for
    sequence S_SIEBELMOBILE_S_ORG_EXT
    [FINE - adfnmc.ui - MessageBox - show] oracle.adfnmc.java.sql.SQLException: net.rim.device.api.database.DataTypeException:Datatype mismatch
    [FINE - adfnmc.ui - MessageBox - show] Unable to retrieve String at index 2

    >
    >
    using 10gR2 on Sun-Solaris. Getting consistently "db file parallel read" over 35 ms as an average wait for the past few months. No performance issues as such.
    Using RAID 1+0. DB Size is 2 TB. Transactions are OLTP/Batch
    Is this metric high or normal. How to justify that..
    Looking at your results it's not really possible to say.
    db file parallel read is a request for a number of randomly distirbuted blocks, and the time for a read is the time for the last block of the set to be returned.
    Without knowing how many blocks are being requested at a time you can't really determine what constitutes a reasonable time. Given that you say OLTP + Batch, and have a large volume of scattered reads, it's quite possible that you have some queries on the Batch side doing very large index range scans - which would allow for some very large db file parallel reads.
    I take it from the use of statspack that you're not licensed for the diagnostic and performance packs; it would be easy to query v$active_session_history to get some idea of the number of blocks per request as this is given by the P2 parameter. As it is. you may be able to get a rough idea by messing about with the various "physical read" numbers in the Instance Activity section of statspack.
    Regards
    Jonathan Lewis

  • BC4J Application Module Pooling for JClient App

    Helo,
    i wonder why all documentation about bc4j application module pooling available is for Web app ? (jsp) . I'm creating swing JClient app and i need some doc about how the application module pooling works in this kind of application.
    anybody know where can i get those docs ?
    Need help and Thank you,
    Ricky H.P.

    Connection pooling can be achieved when a JVM instance manages the pool, in 3tiers the Java App. Server has that task.
    If you are 2tiers that means that you are communicating with the database through JDBC.
    When a user launches your JClient app in fact he lauches his own JVM instance so I don't how he could share a pool with other users.
    In your case you have at most 2 open transactions per user.
    You can achieve that by sharing a same binding context with n forms composed of m panels.
    Let's say:
    1 main form
    connection 1: forms a,b,c
    connection 2: forms x,y,z
    In your main form your open your 2 connections and share them.
    You can achieve that by:
    1) in our main form, initialize 2 binding containers
    Example of one:
    DCBindingContainer bc1 = this.createBindingContainer("package name","model name");
    private DCBindingContainer createBindingContainer(String packageName, String panelModelName)
    StringBuffer sb = new StringBuffer(packageName);
    sb.append(ViewConstants.STRING_DOT);
    sb.append(panelModelName);
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject(sb.toString()); //NOTE THE NAME.
    if (bcdef == null)
    throw new JboException("System error, "+getClass().getName()+".createBindingContainer, DCBindingContainerDef: "+sb.toString()+" not found");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(panelModelName);
    panelBinding.getBindingContext().put(panelModelName, bc);
    return bc;
    2) Before that the jbInit method gets called in the called form, set the binding context:
    form1 = new Form1(...);
    form1.setBindingContainer(bc1) ;
    Example of methods in form 1 and form 2:
    public void setBindingContainer(DCBindingContainer ctr)
    this.panelBinding = (JUPanelBinding)ctr;
    setBindingContext(ctr.getBindingContext());
    public void setBindingContext(BindingContext bindCtx)
    if (panelBinding.getPanel() == null)
    panelBinding = panelBinding.setup(bindCtx, this);
    registerProjectGlobalVariables(bindCtx);
    panelBinding.refreshControl();
    try
    System.out.println("Form setBindingContext calling jbInit");
    jbInit();
    panelBinding.refreshControl();
    // FL added
    isBindingContextSet = true;
    System.out.println("Form isBindingContextSet true");
    catch(Exception ex)
    System.out.println("Form setBindingContext exception caught");
    panelBinding.reportException(ex);
    Regards
    Fred

  • Enable AutoCommit for JClient App

    Hello all,
    who can tell me how to enable AutoCommit for a JClient Application? I read a lot in this forum about enabling AutoCommit for JSP pages. But I think this doesn't help me at all.
    My JClient App should save its current record each time I move the focus from one control to an other (and of course, if there is something to save).
    Thanks for your hints.
    Axel

    From one control to another? Wow!
    I'd probably start by looking to see if I could listen for when a transaction becomes dirty. (The navigation bar does it somehow, I guess.) Or maybe I'd use my own EntityImpl class so I can see when any attributes are changed....
    MWM

  • Is there new "Complete ADF UIX Application" for 10G Production?

    Is there a new version the tutorial "Complete ADF UIX Application (Browse, Create, Update, Delete)".
    The one I found
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    is for 10G preview.
    Or is this version still current enough for production?
    Thanks, Steve

    Hi Steve -
    As far as I can tell, this is the new (production) version of the UIX tutorial:
    http://otn.oracle.com/obe/obe9051jdev/uixTutorial/lesson_UIX.htm
    Andy

  • URGENT: Deployment of ADF UIX application to Oracle App Server 10g

    Hi,
    Please let me know of documentation of how to deploy an ADF UIX application developed using Jdeveloper9.0.5.2 to Oracle Application Server 10g.
    I have already created an WAR and EAR deployment profile. and also an ORacle APp server connection from the connections tab in Jdeveloper.
    Thanks a lot.

    Have a look at the JDeveloper online help (F1) there is a complete chapter about deploying:
    http://helponline.oracle.com/jdeveloper/help/state/content/destination.2%7E9%7E1%7E6%7E/navSetId.jdeveloper/oldNavId.0/navId.0/oldNavSetId.jdeveloper/
    Basically you need to deploy the ADF runtime libraries (use the ADF Runtime Installer), and then deploy your WAR.

  • My MacBook Air tells me I'm out of memory.  to my knowledge I use only 65 GB for documents, photos, videos, apps, and it tells me that 75 GB is taken by "other"  What is in other, and how can I fix it?

    my MacBook Air tells me I'm out of memory.  to my knowledge I use only 65 GB for documents, photos, videos, apps, and it tells me that 75 GB is taken by "other"  What is in other, and how can I fix it?

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Ask for instructions in that case.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

Maybe you are looking for

  • Fan speed problem Power Mac G5 Dual 1.8 GHz PowerPC - please help

    Please HELP, I have a fan speed problem with my Power Mac G5 Dual 1.8 GHz PowerPC This is a NOT an Intel machine. I am running Mac OS X v10.5.8 Power Mac G5 - PowerMac 7,2 - Power PC 970 (2.2) - 1.8 GHz with 2 CPUs - L2 Cache (per CPU) 512 KB - Memor

  • XSLT linefeeds problem

    Hi, I have a XML and I wrote a XSL to transform the XML to another XML. The problem is of linefeed in the generated XML. See the output XML where everything comes in one line when I open the XML in notepad whereas my XSL is properly indented. What is

  • QN reference to purchase order with item task

    Intention: Wanted to run a report to have the following information: - QN number - Item task - Reference document: Purchase order Is there any way to run such report? Have tried QM13 but it does not contains purchase order

  • Map viewer is not able to parse WMS map request

    I am experimenting with using Mapviewer to deliver WMS data using the built-in WMS support as documented in appendix D of the manual. The Mapviewer version is 10.1.2.0.2. Using the following arguments in a browser window, I am able to receive a map i

  • Message not seen in SXMB_MONI

    Hello Experts, We are sending MATMAS IDoc from ECC system through PI 7.1 to third party using HTTP. When Material is sent using  transaction BD10 an IDoc gets triggered and is visible in transaction WE02 in green status.The Port used to send the IDoc