Urgent Please.. ejbStore is not called after ejbCreate..

Hi all,
In one of the beanmanaged entity bean, the ejbStore is not called after ejbCreate. I am using wblogic 6.1 server. I've also coded similar types of entity bean and those are working perfectly.
I am getting the following exception message when I call the create method from the client.
java.lang.NullPointerException
at weblogic.ejb20.locks.ExclusiveLockManager.unlock(ExclusiveLockManager.java:222)
at weblogic.ejb20.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:466)
at weblogic.ejb20.internal.TxManager$TxListener.afterCompletion(TxManager.java:421)
at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:466)
at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2105)
at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2077)
at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1938)
at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1882)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:219)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:188)
at weblogic.ejb20.internal.BaseEJBHome.postHomeInvoke(BaseEJBHome.java:373)
at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:210)
at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl.create(CCustomerBean_g1748h_HomeImpl.java:86)
at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Thanks in advance

To answer your question partly -- as per the EJB specification, the ejbStore is called after the invokation of the business method and not ejbCreate method.

Similar Messages

  • URGENT PLEASE HELP CURSOR NOT MOVING AFTER UPDATE

    after I downloaded Itunes 5 i restarted my computer and after i logged into the computer the cursor totally froze. I was able to move it in the log in screen and before i made the update please help and please explain in simple words because I am not that much of a computer wizz

    not urgent anymore i logged on a different account on my computer and started using that and it worked fine

  • DefaultTableCellRenderer is not called after fireTableStructureChanged()

    I have a simple JTable application, the data model gets changed and fireTableStructureChanged() is called which repaints the table and I see the modifications.... However the DefaultTableCellRenderer is not called for each row in the modler. So, if I have any colors, or text size differences from the default, this all goes away as the renderer process is not called when the jtable is repainted. Is there anything Im missing? I have tried calling repaint and varous other "repaint" things on the table etc... Note initially when the JTable is displayed all works fine, the DefaultCellRenderer routine is called on each row.... Its only after fireTableStuctureChanged is called it doesn't happen... Thanks for your response.., Jay Schrock

    I had the same problem and the following solved it to some extent.
    Before creating the table I created a DefaultTableColumnModel and added TableColumns to it using
    the TableColumn(int index, int width, TableCellRenderer renderer, TableCellEditor editor) constructor.
    Then I created the JTable with the JTable(TableModel, TableColumnModel) constructor. This works fine and does not lose the renderer and editor when the model data is changed.
    Please let me know if you find anything wrong with the above way.

  • ADF VO Row Fetch Range Issue: Action is not called after 10th row

    Hi People!
    I am working with an Application here in which one page has a table based on a view object. This table has range navigation, and the VO configuration for Tuning is to fetch rows in batches of 1000, all in one fetch. Now, i have a single selection configured in this table, and also a button on the <tableActions> facet which calls a method on the backing bean.
    The problem is, for the first 10 rows of this table, the method is called (seen through the debugger), but when we move the selection to the 11th row or further, the page only refreshes but does not call the method.
    This is not a problem with the data, because we tried two other approaches:
    1) removed the range navigation and shown all the records in the same page: the error persists for the 11th row ahead
    2) changed the VO query to return only the 11th row from the previous test using its ID: the action is called, now that the row is the first on the rowset.
    Have you experienced similar behavior? Why the Action is not executed when the selected row comes after the tenth row?
    Any help is greatly appreciated!
    Regards
    Thiago Souza

    Hi Frank, thanks for the reply.
    I have assembled a step-by-step based on the HR schema. For this example, i have created an EmployeesVO based on the EMPLOYEES table, and an App Module to provide a data control. From then on:
    1) Create a JSF JSP to list the Employees VO
    1.1) Bind the JSF Page to a Backing bean
    1.2) Create an af:page element on the page
    2) Drag the EmployeesVO from the Data Control Palette to the af:page
    2.1) Read-Only Table, Selection Enabled
    2.2) Do not include table navigation.
    3) Double-Click the automatically created submit button on the TableSelectOne section
    3.1) Bind it to a method on the Backing Bean
    3.2) Add some code to it, in my case i tested:
         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage("Teste"));
    4) Run the example and try two approaches:
    4.1) select one of the first ten rows and click on the button: The action is fired.
    4.2) select the eleventh row and click on the button: The action is not fired.
    4.3) select one of the first ten rows again and click on the button: The action is fired.
    This example didn't even include range navigation, but if you want to test you will see the result is the same.
    Please let me know if you want further info.
    Thanks a lot!
    Thiago Souza

  • ViClose session not called after Read operation Timeout in an IVI COM driver

    Hi everybody
    I have a small VI sample that is initializaing an IVI COM driver for an OPM instrument, set some parameters into the instrument then is doing a single Read power measurement. My Read operation receives a single parameter called MaxTimeout that user could change depending on his own interest. Inside the Read function I change temporarily the VISA query timeout to user timeout but at the end of Read operation the original VISA session timeout is reverted to its original value before Read operation was called. If the Read operation timeout is long enough for the Read operation to complete ( 100 ms or more) the VI is doing its job and when finished the viClose is called twice for DefaultHandler and for OpenHandler.
    If the Read operation timeout value decrease ( 50 ms) then Read operation could not be completed and a Read Operation Timeout error is thrown from inside this method. This error is then propagated trough Error path until the VI end in a Simple Error Handler. Now on my VI I close all open references to my driver interfaces but I don't know why VISA itself is not calling viClose on the DefaultHandler and OpenHandler as in the case when was no VI error. I could see all these diferences in my NI Spy window and I could post this if that could be of any help. Bear with me cause I am more a C, C++, VB programmer and much less of a LabVIEW programmer. BTW the Error Handling from LabVIEW looks a a little weird and the only sure thing is that I wired in Error In and Error Out path in all my VI calls. What kind of error handling should I perform on the Read method in order for VISA to close properly both OpenHandlers even if there is an error in my VI?
    Thansk
    sorinvalea

    So viClose is not called by VISA after an error takes place in a VI that is calling some operations on an IVI COM driver.
    I discovered that all VI sessions opened trough VI that encountered a timeout error in Read operation and that were not properly closed after VI completed are in fact viClose by the LabView itself when I am closing LabVIEW application.
    So these left over open vi sessions are kept aside by LabVIEW until it closes itself and then clean them one by one by calling viClose on them....

  • ADF - ReturnListener not called after many clicks in dialog window

    Hi all,
    I´m using ADF dialog framework to implement a re-usable pop-up search window. Everything works fine except when the user performs serveral (more than 8) searches in the pop-up window.
    When this happens the returnListener is not called and the selection is not made.
    I´m using ADF with MyFaces.
    JSP # 1:
    <af:commandLink id="btn_buscar" styleClass="lin1" partialSubmit="true" useWindow="true" windowHeight="400" windowWidth="400"
    action="#{bean1.buscarAction}" returnListener="#{bean1.cargarAL}" immediate="true" text="#{bundle.abm_general_buscar}">
    </af:commandLink>
    Bean1:
    public String buscarAction() {
    return "dialog:busqueda";
    public void cargarAL(ReturnEvent evento) {
    long idSeleccion = (Long) evento.getReturnValue();
    try{
    if (idSeleccion!=0){
    getFormulario().setId(idSeleccion);
    getFormulario().cargarRegistro(FacesUtils.getUsuarioBean().getUsuario(),true);
    }else {
    inicializar();
    catch (IExcepcion e) {
    FacesUtils.addErrorMessage(e,true);
    inicializar();
    refrescarFormulario();
    JSP # 2 (Dialog):
    <af:commandLink actionListener="#{bean2.elegirAL}" text="#{bundle.abm_general_elegir}"/>
    Bean2:
    public void elegirAL(ActionEvent e){
    AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
    afContext.returnFromDialog(getValorElegido(),null);
    afContext.getProcessScope().clear();
    I read lots of tutorials about ADF dialog framework with no luck.
    Any help will be apreciated,
    Thanks in advance.
    Gabriel

    Please see post [SOLVED] Re: ADFFaces: returnFromDialog fails to invoke return listener aft for resolution.

  • Help Please - X200 will not boot after Bios Upgrade - keeps asking for power on password

    Hi there,
    I am new to this forum and please let me say a big Thank You for your help in advance.
    I am using a lenovo thinkpad x200 running windows vista with service pack 1. 
    The laptop has always been running fine and has never given me any issues. Unfortunately, all this came to an end yesterday when I ran the system assistant which did a round of updates and it prompted me to reflash my bios. 
    I did what was instructed and closed all open applications and after the laptop restarted, there was a noise from the harddisk (the sound was basically like what happens if the harddisk suddenly loses power). Then, all i got was a black screen, no harddisk acitvity with only the power cable LED and another LED (with the shape of a N tiled at 20 degrees) on. 
    I searched the forum and did what was suggested in this entry: http://forum.lenovo.com/t5/X-Series-ThinkPad-Laptops/Blank-screen-after-Bios-Upgrade-on-X200/ta-p/29... 
    This is what I did so far"
    I turned off the power, took out the backup battery and waited for about 30 minutes (repeated this step several times, also removing the harddisk) but to no avail.
    I removed the RAM and tried booting and there was that characteristic beeping sound. 
    I replaced the RAM, redid the CMOS clearing, and now there is the Lenovo startup screen. However, there would be an error code 0271 (no date time) and 0251 (something about default configuration). Then, these disappear and all I am left with is the Bios Power On password prompt. Somehow no matter what I type nothing can be input into the field (and I did not create any password as far as I can remember).
    I redid the clearing for the power on password by removing the backup battery as suggested at the bottom of this page http://support.lenovo.com/en_US/detail.page?LegacyDocID=migr-59377   but it is no use. Each time I restart, even if I press the blue Think Vantage button or F1 or F11, I still get the same 0271 and 0251 error messages and am left with the power on password prompt. 
    I am really desperate as I really like my lenovo x200 and there is important data on the laptop. I would appreciate any suggestions on how I can solve this. Its amazing how a simple update can turn into such a disaster. Now i know i should never upgrade or update my Bios (or at least proceed with extreme caution).
    Anyone can provide some help to get my laptop workin again?
    Thank you very much,
    Mark

    try reflashing your bios?
    http://support.lenovo.com/en_US/downloads/detail.page?&LegacyDocID=MIGR-70348
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Urgent!! Process not invked after using javascript validation

    hi,
    I have created a javascript form validation and finally (if its passes the validation) I am setting the :REQUEST as doSubmit('GO');
    I am calling a conditional process with condition as request = expression1
    with expression 1 as GO.
    The javascript is as follows
    function message_name_not_null(){
    if(document.getElementById('P14_MESSAGE_NAME').value.length==0)
    alert("Message Name is Mandatory!!");
    return;
    else if(document.getElementById('P14_MESSAGE_TEXT').value.length==0)
    alert("Message Text is Mandatory!!");
    return;
    else
    doSubmit('GO');
    My problem is my process is not getting called in button click(I have called the javascript from this button as javascript:message_name_not_null(); in Optional URL Redirect section)
    I have specified the :REQUEST value in the branches also.
    Any sort of help please..
    Thanks in Advance
    Kaushik

    Hi Kaushik,
    this thread should help you:
    Validation with javascript
    greetings,
    Jochen

  • Urgent Please :- TNS Could not resolve service name (VB 6.0 & NT 4.0)

    Hi Everyone,
    I am using VB 6.0's ADO control to connect to Oracle 8i. After I create the basic Oracle table I am able to connect to Oracle without any problems. But after I install OEM I get the error. I tried using MS-OLEDB, but that too fails throwing the same error.
    Oracle OLEDB does work, however, there are certain functions of VB that are beyond the scope of Oracle OLEDB.
    OEM alone works very well, so does the SQL Plus.
    If I do a total uninstall of Oracle & install only the database CD, I am able to connect.
    Please give advice on this issue.
    Your's faithfully,
    Trevor

    Sounds like the classic "multiple tnsNames.ora" files in your Oracle directory. If you are completely not using TNS Names, then I think removing or renaming them to something completely different should help.
    In addition, verify in your SQLNet.ora that ONames before TNSNames e.g.
    it should NOT be:
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME, ONAMES)
    rather (again if you don't use tnsNames):
    NAMES.DIRECTORY_PATH= (ONAMES,HOSTNAME)
    HTH.
    Raj Suchak
    [email protected]

  • Urgent - please help - content not able to open AGAIN

    Please respond urgently - how do I contact adobe directly? I have a deadline and am yet again unable to open my project.
    Olivia @adobe

    More information needed for someone to help... please click below and provide the requested information
    -Premiere Pro Video Editing Information FAQ http://forums.adobe.com/message/4200840

  • Add_drv fails to attach: probe not called after init

    i am trying to add_drv a simple pseudo-device driver. i have basically
    copied the pio sample driver code available elsewhere on this website.
    i've compiled using forte c5.0, and am trying to load on an ultra 5 running solaris 8.
    i have tried loading both 32 bit and 64 bit versions.
    as this is a pseudo driver (there is no real device yet... i just want to test the load/unload stuff), i have an xxprobe routine which always returns DDI_PROBE_SUCCESS.
    let's say the driver executable is named relidrv, which i copied to /usr/kernel/drv or drv/sparcv9 (depending on 32 vs 64 bit'ness of the build)
    i have a simple relidrv.conf which simply contains name="relidrv", parent="pseudo" and instance=0.
    then, as root:
    add_drv -v relidrv
    gives me:
    exit status = 0
    devfsadm: driver failed to attach: relidrv
    exit status = 11
    Warning: Driver (relidrv) successfully added to system but failed to attach
    i put some cmn_err(CE_WARN,...) calls in init(), probe(), and attach(). the init() call returns 0, all well and good. however, according to my cmn_err output, probe is never called, neither is attach.
    suggestions?

    in a previous thread by murraystokely, the answer appears. a very big thanks to both mause and murray...
    the problem was that the driver itself lived in /usr/kernel/drv/sparcv9, but the conf file should have gone into /usr/kernel/drv.
    hint for whoever writes the next revision to the Writing Device Drivers manual... mention this!

  • Help please! Keyboard not working after installing windows XP sp3 on T61

    I just changed to windows XP sp3 in last weekend on my T61. From then on, when I turn on the T61 every morning, the key board is not working, sometimes I could not type password. I need reboot several times to make it work. I installed the keyboard customizer utility from some online information, however, it's not helping. I searched the lenovo support website, but there are lots of drivers there,I don't know which to pick. Does anyone had met the similar issue or know how to solve it? Thanks a million!

    I have exactly the same problem. It is not related to docking for me - just regular standby/resume. A reboot solves the problem. Not exactly what you'd expect from a high-end business model. This is the first time in my over 22 years history of using computers that the keyboard fails randomly. Fix this IMIDIATELY Lenovo!
    Message Edited by Chigu on 06-13-2009 12:39 PM

  • TextBox.onInputMethodTextChanged not called after focus is lost

    Hello!
    I'm using NetBeans 6.9 Beta.
    I have declared the following function:
    function onInputTextChanged(ime:InputMethodEvent):Void
            println("Called");
            var str = ime.node.id.split(":")[2] ;
            var mal:Double = Double.parseDouble(str);
            var num:Double = Double.parseDouble(ime.committed);
            dto.setMassa(mal,num);       
            var tbPRA:TextBox = scene.lookup("tb:PRA:{str}:mm") as TextBox ;
            tbPRA.text =  (dto.getPRA(mal)*100).toString();   
       }Which is associated to onInputMethodTextChanged event for the following TextBox components:
           tbP2mm.onInputMethodTextChanged = onInputTextChanged ;
           tbP15dmm.onInputMethodTextChanged = onInputTextChanged;
           tbP06dmm.onInputMethodTextChanged = onInputTextChanged;
           tbP03dmm.onInputMethodTextChanged = onInputTextChanged;
           tbP15cmm.onInputMethodTextChanged = onInputTextChanged;
           tbP75mmm.onInputMethodTextChanged = onInputTextChanged;According to [http://java.sun.com/javafx/1.3/docs/api/javafx.scene.control/javafx.scene.control.TextBox.html] it should be called when the component looses focus. But it isn't called in the test run when I TAB or mouse out of any of the textboxes.
    Howcome?
    TIA
    Rafael Felix

    You need to re-examine the logic of handling nulls. You can only change one of the spinners at a time. So if the one spinner is null then the other will also be set to null.

  • Please help - Battery not recognized, after totally drained

    Dear all, need some advice on how solving this issue. My macbook just had its battery totally drained and now it is not recognized by it.
    I have tried all "tips" from the FAQ, but none of them worked out
    It seems this is a "common" issue as apple guys are listing as top 3 in the FAQs...
    Need help as I am travelling outside US on a project and will be dead without baterries.
    For those who cannot help, find my tip: DO NOT LET YOUR MACBOOK BATTERY FULLY DRAIN!
    Thanks

    Macbooks have worldwide warranties - so maybe if you have your warranty card with you - and perhaps even if you don't - you can go into an Apple shop and get it replaced - go to the genius bar and give 'em a big smile...

  • Urgent Please Help::File size reduced after Dom Parsing

    CODE
    public class Domtest {
    public static void main(String[] args) {
         String resDir = "c:\\res\\";
         Document doc = null;
         try{
         File docFileIn =new File("c:\\test\\test3.jdf");
         DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
         dbf.setIgnoringElementContentWhitespace(true);
         DocumentBuilder db = dbf.newDocumentBuilder();
         doc = db.parse(docFileIn);
         TransformerFactory transformerFactory = TransformerFactory.newInstance();
         Transformer transformer = transformerFactory.newTransformer();
         transformer.transform( new DOMSource(doc ),
         new StreamResult( new FileOutputStream(
         resDir+"response123.jdf") ) );
         catch(Exception e){}
    1.file3.jdf is 35 kb
    2.response123.jdf is 32 kb
    File size is reduced .
    thanks in advance.

    Thanks very much
    That was the reason .
    I have noticed many white spaces in the file and ignore white spaces worked.

Maybe you are looking for