Locking problem in adf with jheadstart

I use jheadstart 10.1.2.0.19 and jdeveloper 10.1.2 latest patch and the same oc4j server
I got the following error , I have already changed the locking mode on the application module
with pessimistisch locking mode I got the following error
05/11/14 14:17:49 [82167] DCUtil.findSpelObject(217) DCUtil.findSpelObject - Tokenizer : HoofdGebeurtenissenChildUIModel
05/11/14 14:17:49 [82168] DCUtil.findSpelObject(275) DCUtil.RETURNING oracle.jbo.uicli.binding.JUFormBinding
05/11/14 14:17:49 [82169] DCBindingContainer.refreshControl(1460) **** refreshControl() for BindingContainer :HoofdGebeurtenissenChildUIModel
05/11/14 14:17:49 [82170] DCBindingContainer.refreshControl(1460) **** refreshControl() for BindingContainer :HoofdGebeurtenissenChildUIModel
05/11/14 14:17:49 [82171] OracleSQLBuilderImpl.doEntitySelect(556) OracleSQLBuilder Executing Select on: GEBEURTENISSEN (true)
05/11/14 14:17:49 [82172] OracleSQLBuilderImpl.buildSelectString(2382) Built select: 'SELECT ID, GBT_ID, UITVOERINGSDATUM, SUB_TYPE, KORTE_OMSCHRIJVING, OMSCHRIJVING, CATEGORIE, GROEP, PUB_DAGRAP, GEPARAFEERD, GEPARAFEERD_DOOR, GEPARAFEERD_OP, CRE_DT, CRE_DOOR, MUT_DT, MUT_DOOR FROM GEBEURTENISSEN Gebeurtenissen'
05/11/14 14:17:49 [82173] OracleSQLBuilderImpl.doEntitySelect(591) Executing LOCK...SELECT ID, GBT_ID, UITVOERINGSDATUM, SUB_TYPE, KORTE_OMSCHRIJVING, OMSCHRIJVING, CATEGORIE, GROEP, PUB_DAGRAP, GEPARAFEERD, GEPARAFEERD_DOOR, GEPARAFEERD_OP, CRE_DT, CRE_DOOR, MUT_DT, MUT_DOOR FROM GEBEURTENISSEN Gebeurtenissen WHERE ID=:1 FOR UPDATE NOWAIT
05/11/14 14:17:49 [82174] OracleSQLBuilderImpl.doLoadFromResultSet(1130) LoadFromResultSet failed (1)
05/11/14 14:17:49 [82175] JUCtrlValueBinding.setInputValue(1773) CtrlAttrs: Caching exception :oracle.jbo.AttributeLoadException: JBO-27021: Kan waarde voor CustomDatum niet laden bij index 1 met Java-object van type oracle.jbo.domain.Number vanwege java.sql.SQLException.
05/11/14 14:17:49 [82176] OracleSQLBuilderImpl.doEntitySelect(556) OracleSQLBuilder Executing Select on: GEBEURTENISSEN (true)
05/11/14 14:17:49 [82177] OracleSQLBuilderImpl.doEntitySelect(612) Reusing prepared LOCK statement
05/11/14 14:17:49 java.sql.SQLException: Definities ontbreken.
05/11/14 14:17:49      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
05/11/14 14:17:49      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
05/11/14 14:17:49      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
05/11/14 14:17:49      at oracle.jdbc.driver.NumberCommonAccessor.getBytes(NumberCommonAccessor.java:5437)
05/11/14 14:17:49      at oracle.jdbc.driver.OracleResultSetImpl.getBytes(OracleResultSetImpl.java:660)
05/11/14 14:17:49      at oracle.jbo.domain.Number$1$facClass.createDatum(Number.java:103)
05/11/14 14:17:50      at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1085)
05/11/14 14:17:50      at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1519)
05/11/14 14:17:50      at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:692)
05/11/14 14:17:50      at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5150)
05/11/14 14:17:50      at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3464)
05/11/14 14:17:50      at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2191)
05/11/14 14:17:50      at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:2115)
05/11/14 14:17:50      at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1780)
05/11/14 14:17:50      at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:1033)
05/11/14 14:17:50      at org.tennet.bobs.frontoffice.model.adfbc.businessobjects.GebeurtenissenImpl.setOmschrijving(GebeurtenissenImpl.java:301)
with optimistisch locking mode
05/11/14 14:40:49 [15487] OracleSQLBuilderImpl.setSavepoint(1300) OracleSQLBuilder: SAVEPOINT 'BO_SP'
05/11/14 14:40:49 [15488] OracleSQLBuilderImpl.doEntitySelect(556) OracleSQLBuilder Executing Select on: GEBEURTENISSEN (true)
05/11/14 14:40:49 [15489] OracleSQLBuilderImpl.buildSelectString(2382) Built select: 'SELECT ID, GBT_ID, UITVOERINGSDATUM, SUB_TYPE, KORTE_OMSCHRIJVING, OMSCHRIJVING, CATEGORIE, GROEP, PUB_DAGRAP, GEPARAFEERD, GEPARAFEERD_DOOR, GEPARAFEERD_OP, CRE_DT, CRE_DOOR, MUT_DT, MUT_DOOR FROM GEBEURTENISSEN Gebeurtenissen'
05/11/14 14:40:49 [15490] OracleSQLBuilderImpl.doEntitySelect(591) Executing LOCK...SELECT ID, GBT_ID, UITVOERINGSDATUM, SUB_TYPE, KORTE_OMSCHRIJVING, OMSCHRIJVING, CATEGORIE, GROEP, PUB_DAGRAP, GEPARAFEERD, GEPARAFEERD_DOOR, GEPARAFEERD_OP, CRE_DT, CRE_DOOR, MUT_DT, MUT_DOOR FROM GEBEURTENISSEN Gebeurtenissen WHERE ID=:1 FOR UPDATE NOWAIT
05/11/14 14:40:49 [15491] OracleSQLBuilderImpl.doLoadFromResultSet(1130) LoadFromResultSet failed (1)
05/11/14 14:40:49 [15492] OracleSQLBuilderImpl.rollbackToSavepoint(1330) OracleSQLBuilder: ROLLBACK WORK TO SAVEPOINT 'BO_SP'
05/11/14 14:40:49 [15493] DCBindingContainer.reportException(154) DCBindingContainer.reportException :oracle.jbo.AttributeLoadException
05/11/14 14:40:49 [15494] Diagnostic.printStackTrace(405) oracle.jbo.AttributeLoadException: JBO-27021: Kan waarde voor CustomDatum niet laden bij index 1 met Java-object van type oracle.jbo.domain.Number vanwege java.sql.SQLException.      
at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(OracleSQLBuilderImpl.java:1132)      
at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:1519)      
at oracle.jbo.server.OracleSQLBuilderImpl.doEntitySelect(OracleSQLBuilderImpl.java:692)      at oracle.jbo.server.EntityImpl.doSelect(EntityImpl.java:5150)      
at oracle.jbo.server.EntityImpl.lock(EntityImpl.java:3464) at oracle.jbo.server.EntityImpl.beforePost(EntityImpl.java:3925)      
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4066)      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2937)      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2748)      
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1922)      
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2115)      
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:962)      
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1215)      
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:954)      
at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.onCommit(JhsDataAction.java:1579)      
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)      
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)      
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)      
at java.lang.reflect.Method.invoke(Method.java:324)      
at oracle.adf.controller.lifecycle.PageLifecycle.handleEvent(PageLifecycle.java:544)      
at oracle.adf.controller.struts.actions.StrutsPageLifecycle.handleEvent(StrutsPageLifecycle.java:252)      
at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleEvent(StrutsUixLifecycle.java:249)      
at oracle.adf.controller.lifecycle.PageLifecycle.processComponentEvents(PageLifecycle.java:477)
thanks edwin

Edwin,
The following erro in the log:
05/11/14 14:40:49 [15494] Diagnostic.printStackTrace(405) oracle.jbo.AttributeLoadException: JBO-27021: Kan waarde voor CustomDatum niet laden bij index 1 met Java-object van type oracle.jbo.domain.Number vanwege java.sql.SQLException.
seems to be the problem. May be your EO attribute definitions do not match corrcetly with underling table column types?
What steps do you perform in the application (first insert, then update?) before you get the error?
Can you reproduce this in the ADF BC Tester?
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • File access/locking problems, most notably with AutoCAD

    A number of sporadic problems of AutoCAD users who've been working away
    suddenly not able to write to the file they've been working on. If
    multiple people try to use the same Xrefs, often some will get that the
    file is corrupted report by AutoCAD.
    What is reproducible is one of the Xref problems and it has given us a
    bit of a work around to keep working.
    To Reproduce:
    Start AutoCAD(2009), open a file with base(Xref)
    Save the base (no change needed) without closing, and refresh
    the base disappears from view, and when we look in the 'Xref Manager'
    we see that the Base has a status of 'Needs Recovery'. This applies
    even when multiple people had the Xref in read only view, that it is
    now unavailable, but when the full drawing is shut down and reopened
    by the one who had saved, the Xref is just fine.
    Autosave is not triggering the problem.
    This has been reproduced on the newest version of ACAD as well, just
    slightly different wording of errors.
    OES2 sp3 servers (in VMWare) with mostly XPsp3 clients but a few
    Windows 7 ones as well. The clients mostly have the newest clients
    installed, but there are some of the XP boxes with 4.91.4 still on
    them.
    Just migrated the main data volume from NetWare 6.5.8 to OES2 Linux and
    immediately started having the problem. 100% of file access is via
    NCP. no CIFS is configured, to the point we have cross-protocol-locks
    set to 0 (Zero, i.e. Off).
    I think I've been through every combination of file locking settings of
    server vs workstation without any apparent change.
    Still working out different tests to do to find what makes a
    difference.
    Observations that might just lead to clues toward the root cause:
    - On NetWare, if a user left files open over night, we could still see
    those being listed as opened in Monitor. Past history with these users
    is that there was always several showing as open every night even when
    we were sure they'd all been gone for hours. Now when we check the all
    the volumes late in the evening, they've been showing no files open.
    perhaps that is a clue to a problem in lock tracking.
    - While still at OES2 sp2, the pilot team kept giving vague
    descriptions of problems using ACAD against files on OES2, but those
    all went away after applying SP3, so after 2 months of one small group
    running ACAD against files stored on OES2-linux, we migrated the bulk
    of the data as the last volume from a failing NetWare 6.5.8 cluster
    (recreating SBDs was getting tiring).
    Andy Konecny
    KonecnyConsulting.ca in Toronto
    Andy's Profile: http://forums.novell.com/member.php?userid=75037

    Originally Posted by HvdHeuvel
    On Tue, 19 Jul 2011 14:19:33 +0000, Andy Konecny wrote:
    > In article <NvZTp.3150$[email protected]>, Hans van den
    > Heuvel wrote:
    >> This sounds as bug #691870
    >>
    > yup, it is, and that bug has actually been marked as a duplicate of
    > another and has been merged. The other related to opening and saving
    > PDF files, which we were also hitting as well. One user who had to
    > generate many PDFs off of a set of drawings was particularly nailed by
    > this.
    >
    > I have the FTF and applied it last night, just had to chase a few
    > stragglers to take a break to activate it since doing so does briefly
    > break links (reports/broadcasts as server 'down', but only for a
    > minute). The users are much happier this morning, got very nice
    > greetings as I arrived on-site. So far no sign of any other related
    > issues.
    Glad to hear that your (and our) customer's life became less complicated.
    Keep up doing the good work !
    Best regards
    Hans
    Hi Hans,
    i have just helped a customer to migrate their data from NW65SP8 to OES2SP3 and hit the same problem with the CAD group using AutoCAD 2004 on Windows XP with NC491SP3 + some Postpatches
    Do we have a release date for the next OES2 SP3 Scheduled Maintenace Patch?
    The last available is from May and has been apparently released the 31st of May.
    Do we have a chance to get the ftf in someway?
    Many thanks in advance and best regards,
    Stefano Barello
    LANworks AG - IT Engineering

  • Transaction Locking Problem in JDBC with ResultSet : ORA-17090.

    I have a locking concern using JDBC. I select a set of records to determine if they
    need to to be updated by a set of generated results (from else where in the program).
    If the results are not in this cursored set of records selected they are to be INSERTED
    else they (if they are in the select set) they are to be UPDATED.
    I set up a ResultSet using concurrancy parameters so that I can scroll through them for
    each of the program results to check. If I set up the ResultSet with TYPE_SCROLL_INSENSITIVE,
    CONCUR_UPDATABLE, I get a possible race condition if I am accessing teh same records
    through some other program such as toad. As such the first record is not checked (if my
    cursor in toad is on this first record) and as such is duplicated.
    If I set up the ResultSet with TYPE_SCROLL_SENSITIVE, CONCUR_READ_ONLY. This fixes this
    concurrancy problem but occassionally I get the following error which is Oracle based and
    not documented:
    java.sql.SQLException: operation not allowed: Unsupported syntax for refreshRow()
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:251) at
    oracle.jdbc.driver.SensitiveScrollableResultSet.refreshRow(SensitiveScrollableResultSet.java:171)
    at oracle.jdbc.driver.SensitiveScrollableResultSet.handle_refetch(SensitiveScrollableResultSet.java:239)
    at oracle.jdbc.driver.SensitiveScrollableResultSet.next(SensitiveScrollableResultSet.java:83)
    at sfwmd.hisa.oneflow.TimeSeries.load(TimeSeries.java:2502)
    at sfwmd.hisa.oneflow.OneParameter.main(OneParameter.java:808)
    which translates to an ORA-17090 (operation not allowed)
    {NOTE: I do NOT call ResultSet.refreshRow() anywhere in my program}
    I do not see any methods in ResultSet for record locking, outside of the mentioned parameters
    in the constructor. The database (updates and inserts) changes are all batched and executed
    AFTER this ResultSet is released.
    -James Fox
    [email protected]

    post ur code..

  • Locking problem - unique documents with external numbers

    Hello,
    I have following problem:
    In external system documents are generated with unique numbers. When they come to SAP (via RFC calls) corresponding documents in SAP are created with internal SAP numbering (the external document number is saved in "Ref. Doc No." field).
    Recently we had a situation when the external documents were posted twice (with two different internal SAP numbers). There is a check if the document with "Ref. Doc No." already exists in database table but it doesn't work when double posting is performed in very short period of time (the document from first posting is not yet written in DB while the second posting checks if it is already there - in result the second posting is also performed).
    I thought about using ENQUEUE/DEQUEUE mechanism but it seems to work only on records which are already in DB table.
    Do you have any idea what "lock mechanism" could be used in this case?

    Boinjour,
    You said :
    "I thought about using ENQUEUE/DEQUEUE mechanism but it seems to work only on records which are already in DB table."
    My point of view is that you can lock an entry that is not already existing in the DB.                                          
    Example : in the transaction code se11 try to create a LOCK OBJECT named eztest. During this creation and before saving, open an other sap session and try to create the same object. You will have an error message because a lock already exist.
    The entry is locked but does not exist in DB.
    "Do you have any idea what "lock mechanism" could be used in this case?"
    Create a specific lock object with Lock parameter = a sap field to will correspond to the external number.
    ==&gt; It will generate 2 function modules (ENQUEUE and DEQUEUE).
    In the abap that is integrating incoming data :
    add a CALL to the "ENQUEUE" function module ===&gt; try to lock an entry
    If the lock was OK (return code of enqueue function module is 0)
    Then you continue
    Else.
    The entry that you are trying to lock is already locked.
    ENDIF.
    Cordialement,
    Chaouki.
    It is easy to test :
    Cordialement,
    Chaouki.

  • Problem in using nested dependent items with jheadstart 1013

    Dear JHeadstart Team,
    Suppose we We have 3 following tables ( z is child of y and y is child of x) and we have a view object which have joined all 3 tables together. we have
    mad a page on this view.
    x (
    code1 PK
    ,Name
    y ( code2 PK
    ,x_code
    Z ( code3 PK
    , y_code2
    MyViewObject contains the following fields : z.code3,z.y_code2,y.x_code,y.code2,x.name,x.code
    I want that when a user enter a valid value in y_code2 field it automatically retrieve related information of that code and show it. we set "depends on
    item property" of x_code ,code2,name ,code1 to y_code2 but when user enters value for y_code2, only code2,x_code get correct value and
    code1,name remain null. I also set "depends on item property" of code1,name to code2. I hoped that with changing the value of code2, these field got
    correct value but again these fields remained null.
    To simplify the situation I removed the x table from view object and add a transient field to view object (which use a database function with this format
    getXName (y.x_code) ) but surprisingly enough It did not work either.
    These seemed to me something like bug. Am I right? Is there any workaround for these problems ?
    What is the best solution for implementing this functionality ?
    Best Regards,
    Navid
    P.S. We are using JHeadsart 10.1.3 Service update 1 and jdeveloper 10.1.3

    Dear Steven,
    Thank you very much for your paying attention to this matter. I checked the adf bc tester and I realized that when I filled y_code2 only the fields in the y table were automatically updated. To simplify the problem I made a simple project based on the HR schema objects using JHeadstart . I add country and location to department view object and checked it with adf bc tester. I realized that when I enter value in locationId in the department view only location fields are automatically updated and country fields remain null. I also used your techniques in the "What to do when ADF BC Tester does not update the lookup item" section but it does not work either. I think that maybe the normal behavior of ADF is to just fetch only the first level lookup information and ADF does not care to fetch information of lookup of lookup ( I mean nested lookup).
    I understand now that my problem is not a JHeadstart related issue however any help,reference or link to implement such functionality would be highly appreciated.
    Best Regards,
    Navid

  • Problem in using JDeveloper 10g with JHeadstart

    I am using JDeveloper 9.0.3 and jheadstart 9.0.4.5 and I would like to test jdeveloper 10g preview with JHeadstart.
    So, I have downloaded the JDeveloper 10g to test it with my old application.
    Having run the Jdeveloper for the first time, I realized that Jdeveloper
    installed the jheadstart automatically and following message was shown in the message window :
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\PrjWizard.jar!\META-INF\jdev-ext.xml
    Error: <Line 12, Column 24>: XSD-2034: (Error) Element 'description' not expected.
    Error: <Line 13, Column 17>: XSD-2034: (Error) Element 'help' not expected.
    Error: <Line 17, Column 27>: XSD-2034: (Error) Element 'dependency_addin' not expected.
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JhsShare.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\MvcFrameworkServiceFileViewer.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JHeadstartDesignerGenerator.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JAGLauncher.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\Bc4jPropertyEditor.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    E:\Software\10g\JDev10g\jdev\lib\ext\jheadstart\JASEditor.jar!\META-INF\jdev-ext.xml
    Converting JDeveloper 9.0.3 extension manifest to 9.0.5
    So I try to test one of my old application with this configuration. After Jdeveloper migrated my workspace and projects and business componenet
    to the newer version, I run the application generator. It worked fine without any problem but after running the application, I got an error page showing
    that my bc4j.xcfg is not in the path.
    On the other hand, I found out that when I wanted to view my UIX pages, 2 dialog boxes appeared. The first one asked to upgrade
    to UIX 2.2's new expression language syntax and the other which is on the top of the first one, showing that UIX runtime failed to render the page
    with following detail :
    javax.servlet.ServletException: No page broker found!
         at oracle.cabo.servlet.PageBrokerHandler.handleRequest(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:305)
         at oracle.cuervo.share.servlet.PreviewServletContainer.handleRequest(PreviewServletContainer.java:229)
         at oracle.cabo.ide.addin.preview.UIXRenderThread._reallyLoad(UIXRenderThread.java:263)
         at oracle.cabo.ide.addin.preview.UIXRenderThread.runImpl(UIXRenderThread.java:203)
         at oracle.cabo.ide.addin.preview.BasePreviewThread.run(BasePreviewThread.java:79)
    I think that I should have set some setting before use JHeadstart with JDeveloper.
    Could anybody help me ?

    Alex,
    The document Sandra referred to applies to JDeveloper 10g preview (9.0.5.0). JHeadstart 9.0.4.5 will NOT work with JDeveloper 109 production (9.0.5.1).
    We plan to release a new version end of april that is compatible with 9.0.5.1. See this thread for more info: JDeveloper 10g production, status JHeadstart?
    Steven Davelaar,
    JHeadstart Team.

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • Pessimistic lock problem with Sybase

    I am having a problem with performing pessimistic lock
    using Toplink and Sybase/HSQLDB.
    Code example:
    Object o = uow.readObject(...
    uow.refreshAndLock(o);
    //Change o
    uow.commitAndResume();
    ==========================
    I receive an Exception:
    Local Exception Stack:
    Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: Unexpected token: FOR in statement [SELECT t0.CLASSIDENTIFIER, t0.DB_VERSION, t0.OBJECTID, t1.OBJECTID, t1.NAME, t1.DESCRIPTION, t1.TYPE, t2.OBJECTID, t2.MULTIPLE_SERVERS_POLICY, t2.OUTAGE_POLICY, t2.INCOMING_SCRIPT, t2.OUTGOING_SCRIPT, t2.OUTAGE_SCRIPT FROM ROOT t0, LDAPSERVICE t2, SERVICE t1 WHERE ((t0.OBJECTID = 252) AND (((t2.OBJECTID = t0.OBJECTID) AND (t1.OBJECTID = t0.OBJECTID)) AND (t0.CLASSIDENTIFIER = 'ORM.LdapService'))) [b]FOR UPDATE OF * NOWAIT]
    =================
    As you can see Toplink is trying to execute illegal statement : "....FOR UPDATE OF * NOWAIT"
    Do you have any idea what I'm doing wrong?

    Duplicate posting Pessimistic lock problem with Sybase

  • My Mac Book pro recently started in safe boot mode and ever since I have had endless problems - To start with the keyboard will only input capitals and symbols althougth no locks are on and now I have a green wave on all white backgrounds! HELP!

    My Mac Book pro recently started in safe boot mode and ever since I have had endless problems - To start with the keyboard will only input capitals and symbols althougth no locks are on and now I have a green wave on all white backgrounds! HELP!

    Hi it's puzzled of Evesham....I didn't ask the question but have experienced exactly the same. I switched the computer on and it went straight to safe mode

  • Integrating ADF with Tiles - Facing some problem with ViewHandler

    Hi,
    I am trying to integrate ADF with Tiles. I am able to use tiles and display one or more JSF files using ADF components on a single tile using this thread, ADF Faces Access Denied But the issue is, the functionality of the pages are not getting included, for example, I have an action on click of a command link in one of the tiles, which is not working, its not even refreshing the page. When I tried using plain jsp:include, it works.
    I doubt its b'coz of Tiles - committing the response and forwarding the page, rather than including the page. Does anybody tried on this and have some work around?
    -Manju

    The example for AJAX and JSP with database is
    http://jspcodes.elementfx.com/forums/viewquestion.php?question=11&category=7&name=AJAX
    It works for me. Plz correct the + operator

  • Business/Technical Decision - ADF or JHeadStart/ADF?

    Hi all.
    I'm posting this topic on both JDeveloper and JHeadStart forums.
    I'm planning to develop a system based on Oracle ADF framework (using ADF UIX or JSP as the view).
    I started developing some evaluating applications, and found that, although very powerfull, the ADF itself lacks some functionality regarding multi-row page handling.
    So a started looking at the JHeadStart 10g product, and found that it has many funcionalities the ADF framework itself does not provide.
    I'm really in a doubt about what technology to use, so I'd like you guys here to share experiences about the pros and cons of using one or other.
    If we have a product like JHeadStart, why some might decide not to use it? It's a matter of price constraint, or technical constraint, or both?
    What kind of problems I might face by using this "extended framework layer", and not my own extensions?
    I'll have to use in my project a lot of pages with multi-row insert, update and delete. If I do not use JHeadStart, I'll have to hand code many of the funcionalities that alreary exist in JHeadStart.
    Unfortunatelly, the examples regarding multi-row processing provided by the OTN tutorials are very poor in funcionality and easy-of-use, and are not comparable to the superiority of the one provided by JHeadStart.
    Thanks.
    Denis Ievenes

    Hi Denis,
    I work for AMIS, a software consultancy organisation in The Netherlands. We have used JHeadstart on 7 different projects and for different customers, ever since 2003. I think you make some important observations: JHeadstart offers you a lot of functionality through a combination of generation and run time libraries that you would otherwise have to develop yourself. And mind you, these pieces of code are definitely not the easiest ones: they require a thorough understanding of ADF (and ADF BC) and will take quite some time to develop. Using those pieces as provided by JHeadstart will yield a huge benefit. And then I am talking months of advanced development time.
    Another huge benefit from using JHeadstart is that developers who are not very experienced with ADFor Java and Web technology in general for that matter, can quickly become productive. JHeadstart through the declarative application design and the generation provides an easy entry level for all developers. Besides, it bundles many best practices of working with ADF in its runtime code. We have had developers with no prior knowledge of ADF Business Components, ADF Binding Framework or even UIX work along one or two experienced developers, and they were productive within two weeks time.
    The main reason I can see for NOT using JHeadstart is the fact that it is not an official product from Oracle. There is no official support and you may feel that it is not as safe to bet your money on as is perhaps the database or the application server. After all, would can promise that in 10 years time we will still have JHeadstart?
    While this is a valid argument, I should immediately put it in perspective. JHeadstart has been around since 2001, so it has definitely proven itself in terms of stability. What's more: we have been able to migrate (regenerate) applications from the earliest versions of JHeadstart up to the latest. But most importantly: JHeadstart comes with all run-time source code. And this is really accessible code with lots of comments etc. So if for some reason JHeadstart would no longer be supported by Oracle Consulting, you will have the run time code - Java middle tier as well as JavaScript Client Side. That is the code you would otherwise have had to build yourself. And you can pretend you did in fact develop it yourself and take it from there.
    Especially given the fact that you have a lot of multi-row handling in your application, I would not hesitate in recommending you would use JHeadstart.It will save weeks and weeks of development time, allowing you to focus on the business oriented functionality rather than the ADF oriented plumbing and wiring of the application.
    If you have more questions about our experiences with JHeadstart, you can always drop me an email ([email protected]).
    Best Regards and lots of luck,
    Lucas Jellema

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Problems sending emails with iPhone 3G and outlook exchange

    I have a problem sending email with exchange. Receiving and answering mail works fine and calender updates work fine. However when I initiate an email from the phone it syncs and ends up in the sent folder in the computer but never reaches the recipient. I have tried this many times with different recipients and phones. It only happens from my iphone and ipad. Any suggestions?
    Any help much appreciated

    The iPhone you returned is still syncing against your server and locking out your account. Someone possibly has access to your mail data. I'd recommend having your Exchange Administrator install the Microsoft Exchange Server ActiveSync Web Administration Tool (http://www.microsoft.com/downloads/details.aspx?FamilyID=E6851D23-D145-4DBF-A2CC -E0B4C6301453&displaylang=en) and attempt to wipe/delete/block that other iPhone.
    Message was edited by: ethanm

  • Locking problem in VL02N at the time Post Goods issue

    Hi,
    We have implemented 2 BADIs to change qty in delivery and in subsequent documents. Once we receive an IDoc with batches, then we need to change subitems qty according to no of batches.
    Once IDoc has updated, then PGI will do automatically.
    1. LE_SHP_DELIVERY_PROC     - Change qty in delivery (Method SAVE_DOCUMENT_PREPARE)
    2. LE_SHP_GOODSMOVEMENT - Change qty in material document.
    Now, we have a locking problem at the time of posting.
    Please let us know, due to these BADI implementation this problem or any other cause? And provide required to solve this problem.

    hi ,
    do i need to do step 2....?
    i dont think u need step2 ( change qty of MBLNR),bcos ,
    say ur Del.qty is 100, now u want to do del. of 50, then just u will change its qty & do PGI ? so whats the need of changing MBLNR.
    while doing PGI , program will take changed qty of del. only ?
    let me know if i'm wrong.
    regards
    Prabhu

  • Problem in Safari with pull-down menus

    My current version of Safari, Version 7.0.3 (9537.75.14), is the buggiest software I have ever had from any Apple--bar none.  The problem is dealing with pull-down menus.
    The first such problem is in dealing with pull-down menus on websites.   Some of these menus are quite long.   On one particular menu the choice that I routinely need is way down near the bottom.   Routinely Safari stops scrolling before I can get that far down the pull-down menu.
    And, always, when Safari stops scrolling on a pull-down menu on a webpage, it refuses to allow me to scroll down again.   To get the webpage's pull-down menu to operate then, I have to re-load the webpage.   That is a big problem for one website that I MUST use.  This website has three pull-down menus on one webpage.  Because Safari always locks up on the first menu, this crucial website is unusable in Safari.  I have to use Firefox for this absolutely essential website.
    And Safari has trouble with one of its own pull-down menus.  This is the PDF menu in the printer window.  Not always, but too often, when I pull down that menu to print to PDF, Safari crashes.   I have to wait for a dialog box to come up and click "send report to Apple" in order to get Safari to reopen.   I don't know how many such reports I have sent to Apple.  I get the feeling that Apple is not listening.
    Does anyone have any suggestions for these problems?  TIA

    Launch the Console 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 Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
    SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
    View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
    DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    ☞ If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    ☞ Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

Maybe you are looking for

  • Blank White Screens After Installing Lion in Software

    Before I start, I have a Macbook Pro 5,1 -- 2.66Ghz Core2Duo with 8GB of RAM, 500GB 7200rpm HDD, and an nVidia 9600GT M Graphics card I installed Lion. This install was an UPGRADE from 10.6.8. Most of my apps arent working at all. Adobe CS 5.5 Master

  • ALV Display - Error in field catalog

    Hi , I am facing a problem in ALV... Field catalot is not getting populated... I am getting a message field catalog not found... Can anyone please help me....... <URGENT DOES NOT EXIST HERE>... I am enclosing my code also.. please go thourh it and he

  • Recording from LPs, cassettes, CDs, radio, VCR, etc.

    My iMac finally died after six years of service, and I replaced it with a MacBook. I think I have made a mistake in buying a laptop (For one thing, I hate the keyboard), but I'll just have to make the best of it. Anyway, I need to learn how to transf

  • Html files in jar file

    Hi! i have put some html files in my jar file,but i cant open the html files when i un the jar file.what should i do?

  • Air Update Problem

    Hi everyone, i just wanted to update an AIR Application for a client. But when the update framework (i'm using the ApplicationUpdaterUI) has downloaded the AIR file and wants to install it, it says that the AIR file is damaged. When i'm installing th