Db sequence work in bc4j tester but not at jsp editform? !

According to "HOWTO#:Use BC4J With or Without DB Triggers",i use db trigger and db sequence to realize insert primary key value from sequence.
It work fine at bc4j tester ,however at jsp it produce error. error information:
Error Message: ORA-01401: 2eHk5DV56TSZAP9}4s ORA-06512: TZline 1
oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO FYZ_YZJBK(DZ,DG,BZ,FDZYF,FXF) VALUES (:1,:2,:3,:4,:5) RETURNING BH, BZ INTO :6, :7; END;".
     void oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(oracle.jbo.server.EntityImpl, int, oracle.jbo.server.TransactionEvent)
     void oracle.jbo.server.EntityImpl.doDML(int, oracle.jbo.server.TransactionEvent)
     void YFGLBC4J.YFJCImpl.doDML(int, oracle.jbo.server.TransactionEvent)
     void oracle.jbo.server.EntityImpl.postChanges(oracle.jbo.server.TransactionEvent)
     void oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(oracle.jbo.server.TransactionEvent, com.sun.java.util.collections.ArrayList, com.sun.java.util.collections.HashMap, com.sun.java.util.collections.ArrayList, boolean, boolean)
     void oracle.jbo.server.DBTransactionImpl.postChanges(oracle.jbo.server.TransactionEvent)
     int oracle.jbo.server.DBTransactionImpl.commitInternal(boolean)
     void oracle.jbo.server.DBTransactionImpl.commit()
     int oracle.jbo.html.jsp.datatags.CommitTag.doStartTag()
     void tagcomponent.DataHandlerComponent._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
     void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.GetParametersRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.EvermindPageContext.include(java.lang.String)
     int oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag()
     void yfgl.yfjc__browse._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
     void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
     void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
     void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
     boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
     void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
     void com.evermind.util.ThreadPoolThread.run()
Who can tell me why? Thank in advance! Urgent!

David:
Your exception should include the stack trace of "## Detail" exception. Could you post that for us to look at? If you don't have a detail exception, let me know as well and we'll see what we can do.
Thanks.
Sung

Similar Messages

  • Order by date clause works in dataset test but not in actual page.

    I have a page where I am trying to display the name ,date, and location of our next event by sortig the data
    by date and using a where clause to exclude previous events.
    I set up the recordset in DW cs4 and push test and it works fine.
    Here is the mysql query :
    SELECT events.NAME, events.LOCATION, events.`DATE`, events.EDATE
    FROM events
    WHERE events.EDATE > now()
    ORDER BY events.EDATE
    date field is just string data
    edate is actual date I want to sort on
    I have tried using edate=> currdate() and that returns the same incorrect results.
    I am using Dreamweaver CS4 and mysql 5.1.
    When I use my web host utility for mysql 5.1 the same query works there also.
    It also works inside my localhose mysql 5.1
    The only place it doesn't work is in the page.
    link to page
    http://www.taasports.org/test.php
    I temporarily have the full dataset on the lower part of the page and it is not ordered.
    Please let me know if I need to add more info etc. I am really stuck with this.
    Thanks in advance
    Keith
    [email protected]

    Thank you very much Bregent. That fixed it. I was
    not looking at the code and it appears dreamweaver was adding a new statement everytime I change the s
    ql statement. I deleted all of them except the correct one and now it works.
    Thanks again
    Keith

  • Me edge animate project works when I test, but not when I publish. Please help.

    I feel like this has happened to me in the past, but I just cannot get the thing to work when I post it online. It's just a blank page, all white. I think there might be something in the code of one of the .js files that I need to change.
    ??  I saw something about the phrase 'use strict' but I can't find that code anywhere.
    There must be something I'm forgetting. I put all of the published files up on the server, and I just can't access it. Any help would be seriously appreciated.
    Thanks.

    Can you share the website link so that we can see what the issue is?
    Regards,
    Vivekuma

  • 3rd gen iPod Nano will not sync with latest version of iTunes. It passes the connectivity test but not the sync test under diagnostics.  Worked fine on old Windows 7 laptop but not new one.  From Control Panel it shows up as an Apple iPod USB Device...

    3rd gen iPod Nano will not sync with latest version of iTunes on new laptop. It passes the connectivity test but not the sync test under diagnostics.  Worked fine on old Windows 7 laptop but not new one.  From Control Panel it shows up as an Apple iPod USB Device...

    Never mind, I think. I think I figured it out. There was 1 song (out of > 900!) that somehow had been purchased with the other ID - I have no idea how. Once I deleted that song, it stopped asking.
    There may be something with the newest iTunes version too. I didn't think in older versions that the "On this iPod" list of songs was greyed out. But at least it syncs ok.

  • BAPI works in test but not in production

    3rd party software uses BAPI to input data into SAP. This works in test but not in production. We have checked that user 3rd party software uses have same rights in both systems. BAPI is standard SAP BAPI. We can connect to production with SM59.
    Is there anything in SAP that could cause this?

    No. Better you check with the PATCH Levels.. etc to know is there any changes in the BAPI (BASIS people can help you) > Otherwise go to SYSTEM in the MENUBAR> STATUS--> Compare the Status there
    After that check the data once...
    Reward if helpful...

  • Site works in the app, but not in the browser.

    Hello iWeb experts,
    I've got problems.
    Last night I published my site. And while it appears, and functions, properly in my iWeb app, it doesn't do the same in Safari, Firefox, and Internet Explorer.
    Two issues...
    FONTS
    I chose Bellamie, Univers Condensed, and Marydale as my fonts. From reading these forums, I've discovered those won't wysiwyg on other computers if the fonts aren't available and open on them. So my two choices are to make every bit of text a graphic or to use a set of more universal fonts, correct? So my questions are...One, is there a list somewhere of fonts that will work in any browser? And, two, is there a short-cut, or easy way to transform type into a graphic without having to create image files?
    FUNCTIONS
    Here are the functions that work fine in iWeb but have gone haywire in all of the browsers I tested...
    • The type in one nav link appears smaller than all the rest.
    • Some links are active, others are not.
    • Rollover highlighting works on some links, but not others.
    • Most of the rollover links appear in the proper static color, a few do not.
    I've tested these functions on three Macs, one PC, and in the three browsers mentioned above. All of them show the exact same problems. So something must be going wrong with iWebs coding, or my host server musn't like iWeb.
    Any thoughts, suggestions on these two issues? Thanks much for any advice.
    John
    PS - For reference, see: www.johnrunk.com

    Fascinating, Kirk (+he types with one raised eyebrow+).
    QuickTimeKirk wrote:
    When I drag across your page most of your links do not change. The "text" portion of them doesn't change, either. Something is covering them.
    I can see that. But for the life of me, I don't know what could be covering those links. In my app, when I click in the area of the links, the type is the first item selected. Unless, possibly, it could somehow be the faint reflection of my black-and-white image (me & the ground I stand on). Hmmm...
    QuickTimeKirk wrote:
    Single click (outside the boundaries of your page contents) and an "outline" will appear. It shows the image file dimensions and locations.
    This I don't see. An outline? As in "an object outline," or as in "a list of dimensions and locations?" When I click outside my page contents, I get nothing.
    Thanks, QTK. I truly appreciate your troubleshooting here.
    John

  • G4 iBook works in Safe Mode, but not in regular mode (stuck on blue screen)

    14" iBook G4 1.2GHz with 1 gig of RAM.
    I recently had an issue with this machine in that the image on the screen would freeze but the cursor would be able to move around. This was narrowed down to an issue with the logic board. I wanted something a little more permanent than a shim, so I sent the board in to have it reballed.
    After installing the maching back into my iBook, it seemed to work fine until I applied a software update to the machine.
    It was then that I got to experience the first of many kernel panics.
    Restarting at different times always brought me to the dialog box which states that the machine needed to be restarted in multiple languages.
    Running the Apple Hardware Test off my install disks yielded this error code: 2ATI/2/4:113-xxxxx-125
    I have no idea what that means. I do know that just before I got the results of the test, the screen changed to all kinds of colors. It was only for a few seconds and then the results (with the error code) were displayed.
    Still, not sure what to do next, I tried resetting the PRAM. I also tried resetting the NVRAM.
    I also tried booting up into Safe Mode which actually worked. There were no issues with the machine and everything seemed to be working fine.
    When I tried to restart the machine in regular mode, I'm taken to the infamous blue screen and the machine just stays there. When I let the machine stay off overnight, it booted up normal, but after applying the software update, the machine was in kernel panic again.
    I've tried running fsck, but nothing changes.
    I'm still not sure why it seems to work in Safe Mode but not in regular mode.
    I'd appreciate any suggestions or ideas.

    Hi,
    A couple of the things that are disabled in safe mode are AirPort and non Apple startup items. The easiest thing for you to test is the AirPort card. Shut down and remove the AE card under the keyboard. See if it starts. If it does your AE card is bad. If not, start in safe mode and go to System Preferences>Accounts>youraccount and disable all non Apple startup (LOgin) items by clicking on them and then the minus sign. Restart normally and see if it will start.
    John

  • Dynamic properties working in "normal KM" but not in XML forms

    Hi all,
    (EP 6.0 SP13)
    I've implemented a Metadata Extension that returns a list of properties. The list is dynamically generated based on the folder the document is located in. I've tested the Metada Extension on both existing documents and new documents and it works fine in "normal" KM scenarios ( Word documents, file uploads, etc.).
    The problem arises when I want to use these Dynamic properties in XML forms. I've added my property to a combox  in the XML Forms project. When accessing the Metadata Extension from XML forms the resource path is always null. Since all my business logic is based on knowing where in the KM structure the document is, I have a small problem...
    If I go to Details->Properties on the xml forms document and accesses my property there, the path is correct..
    To get the resource path I use these two methods:
    folder = metaContext.getResourcePath();
    (for newly created documents)
    folder = metaContext.getResource().getParentCollection().getRID().getPath();
    (for existing documents)
    these are null when calling my Metadata Extension from a XML Form.
    Any ideas?
    Vegard

    Hi Vegard,
    Could you post the code that loads/create the property objects dynamically?
    Maybe you can post it at this forum Dynamic properties working in "normal KM" but not in XML forms
    so I can award you some points.
    Thanks in advanced,
    André

  • Actionscript works in IDE,projector but not SWF

    Hello, I'm atempting to create a swf that loads in a
    controller swf and accesses some of the information contained
    within the load swf. My main timeline is pretty simple.
    var preloader_mc:MovieClip =
    this.createEmptyMovieClip("preloader_mc",
    this.getNextHighestDepth());
    var labelcontainer:MovieClip =
    this.createEmptyMovieClip("container", this.getNextHighestDepth());
    var label:TextField = labelcontainer.createTextField("label",
    1, 0, 365, 150, 20);
    var TOCcontainer:MovieClip =
    this.createEmptyMovieClip("TOCcontainer",
    this.getNextHighestDepth());
    var TOClabel:TextField =
    TOCcontainer.createTextField("TOClabel", 1, 0, 300, 150, 20);
    then I have an onenter frame function that access the
    variable contained within the loaded swf.
    loadMovie("xml_controller.swf", preloader_mc);
    onEnterFrame = function () {
    vTime =
    this.preloader_mc.container.controlBar.timeView.label.value;
    this.label.text = vTime
    When I test the movie I see the time displayed and everything
    is ok. When I create a projector file I see the time display. When
    I try to run the swf, in a browser or straight from explorer All I
    see is undefined for the values.
    Anybody have any ideas why this would work in two
    environments but not the third?

    I saw this issue with a website I did. Sometimes the code
    would work no problem in the projector but fail when I published to
    the site.
    Does the xml_controller.swf refer to _root anywhere? If you
    have not locked the root and there is something it needs to access
    locally it won't be able to find the item because the _root it is
    referring to is now the load.swf movie

  • Scrolling Header works in Visual Studio but not on Report Server 2008

    2008 R2 Reporting Services. My scrolling header works in Visual Studio but not when deployed to the Report Server and viewed in IE 9. I have read most every post on this issue and can't find a solution. I have the fixed data properties
    set correctly. Any suggestions?
    Help appreciated! 
    Linda

    Hi Linda,
    As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
    If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

  • Trouble playing .swf - works offline in browser but not online on website

    Hi there,
    I'm having trouble displaying a flash .swf file properly on my website: http://dreamriderproductions.com/fun/game-test/
    When I view the .swf file locally on Chrome, I get a text box to enter my name and I can click Go and keep playing the game. For some reason, when it's up on the website, there's no text box so I can't progress. Can you?
    Background: The game did used to connect to a database, but the upgrade of our website (and relocation of the swf) seems to have broken the database connection. People couldn't progress past the first screen presumable because the information on which city they were in couldn't be submitted to the database. We've got a version of the game with the database connection disabled and so the game should now work - it works locally for me but not on the website!
    Any ideas?
    Thanks
    Sion

    The code you have posted is not the same code as used in:
    <div id="gallery">
    in the link above.
    The reason that the Flash is not displaying in FF is that the portion of the code used by FF was omitted. The code currently used on the page only works in IE.
    I'm no great fan of the IE conditional statements used in the code you posted so I don't blame you for not using it. But you do need to provide something for FF.... the old, out dated method would be to add and <embed> for FF... here's the newer method..
    So either use code you posted above or better yet, get rid of that and replace the current <object> with
    <div id="gallery">
    <object id="FlashID" data="flash/201.swf" type="application/x-shockwave-flash" width="958" height="242">
       <param name="movie" value="flash/201.swf">
       <param name="quality" value="high" />
         <param name="wmode" value="opaque" />
         <param name="swfversion" value="6.0.65.0"/>
    </object>
    </div>
    Give that a try. Will work in both FF and newer IE versions.
    Best wishes,
    Adninjastrator

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • Can get the AirPlay to work off my computer, but not my iPhone or iPad. I have the latest software.  Airplay logo never appears on iPhone or iPad.

    Can get the AirPlay to work off my computer, but not my iPhone or iPad. I have the latest software.  Airplay logo never appears on iPhone or iPad.

    Try here  >  http://support.apple.com/kb/TS1538

  • HT5787 How can I change an old email to a new one? For some reason my old email comes up on my iPhone - and I don't get access to change to my new email which I have on my iCloud account on my pc. My AppleID works on my pc, but not on my iPhone!

    How can I change an old email adress on my iCloud accout to my new email (the same as on my pc), as long as my Apple ID works on my pc but not on my iPhone?
    Br
    Finn

    You would have to change it back to your old email address in order to turn off "Find My iPhone" on your devices. After you changed it back to your old address and deactivated "Find My iPhone" (activation lock) you could change your Apple ID to your new address again. Now it should wok on all your devices.

  • LR 5.6 on Mac desktop all of a sudden will not read any card from any reader but will work on my laptop. I can work on previous images but not import new ones. Even if I create a catalog on laptop and import to my desktop on a thumb drive, the images are

    LR 5.6 on Mac desktop all of a sudden will not read any card from any reader but will work on my laptop. I can work on previous images but not import new ones. Even if I create a catalog on laptop and import to my desktop on a thumb drive, the images are only accessible as long as the thumb drive is inserted.

    Sounds like you may need to repair the Disk Permissions on your drive where your images are stored.

Maybe you are looking for

  • How to access a jar file in EAR file?

    I have a EAR file which contains EJB.jar file and util.jar file. Outside of EAR, I mean in client side, I need to reference util.jar file. How can I access it? EAR structure is |--+META-INF/ |--|---application.xml |--|---manifest.mf |--EJB.jar |--|--

  • Business Area Wise Payment in F-53

    Hi Frnds., We are using ECC 6 and have document splitting functionality active. I have  created an invoice using FB60, with debiting 2 exps  belonging to 2 Business Areas and crediting one vendor. In the GL view, two vendor line items are generated f

  • Bandwidth controlling problem

    i have a 3550 catalyst and i configured it for bandwidth controlling i have used POLICE command its work fine and i saw it limit the bandwidth but there is a little problem when i limit the bandwidth at 1024000 and i useing all the bandwidth and moni

  • Intangible item management & SAP best practice

    All, I am wondering what is the best way to handle intangible flow within SAP. As a definition, intangible Items are any kind of assets or products that cannot be touched. As an exemple, it can be software / License / License keys. In this question,

  • Plz help me to get Projects for Practice

    hi,      I am vijay recently completed SAP In SD module.Plz help me to get projects for practice