UIData.setVar() not working on backing bean

Hi,
I'm having a problem trying to make setVar() work on my web app. The web app has to create a dynamic nested datatable from a resultset, so the number of columns and/or nested tables are unknown until runtime.
I've searched around the forums as well and i've found only one reference to the sme problem. The thing is, i can't use the workaround placing the var attribute on the jsp since i have to be able to create datatables from the backing bean only. If there a jsf implementation where setVar works? I'm currently using 1.2_04.
Thanks. =)

If you feel there is a bug in the RI, then please log an issue with a test case.

Similar Messages

  • BDC is not working in back ground

    Hi all,
    I have created bdc for F-51 but it is not working in back ground (mod N)  and it is not showing any error in error tab , but  it is working fine in mod A & E .I tried  with mod P  and using CTU_PARAMS but no use..
    I have tested my recording in SHDB , in SHDB I have assigned session ,
    And I executed that session in SM35  .
    In SM35 I given processing mod foreground and error mod both are working fine but while trying in Background mod it is showing below error
    u201CThe difference is too large for clearingu201D
    How can I resolve this problem?

    Hi Rakhi,
    The error which you are getting u201CThe difference is too large for clearingu201D will come if the DEBIT AMT - CREDIT AMT <> 0. So the document which you are trying to select is either not there on the list or it is not getting selected while running in background. If it is not getting selected them the reason may be of you screen resolution, have you selected Default Size while recording ? and have you passed the same to CTU_PARAMS.
    Thanks & Regards,
    Faheem.

  • H:inputText and immediate="true" not updating cached backing bean value

    Hi,
    I am having a problem with h:inputText and immediate="true" when
    returning back to the same page.I looked through the forums but the
    only solution to remove the page from the session works only if I
    don't have to change any button label names in the page I am going back
    to.Unfortunately, I have to change a button name when I go back to the
    same page.The button name change works if i don't remove the page from
    session but then h:inputtext has stale values in it from the backing
    bean.I also need to avoid validation as it is a huge form.
    I have tried looking through the JSF forums but they didn't have any
    answers for a very similar question.
    I am not sure how exactly to use component binding for the input text and update the model values using an actionListener.I have tried puting a binding on an input text field and then used an actionListener instead of immediate="true' in the h:commandLink.But, putting context.renderResponse() in the actionListener method results in the model values not getting updated.
    I have also tried using component.processUpdates(facesContext) as in the UpdateModelValuePhase class -that too doesn't work.
    Thanks for any help,
    Vijay
    Details:
    The <h:inputText ..> does not populate the values back from a backing
    bean when immediate="true" is used when an action is called.
    <h:commandLink id="selectPrincipalId"
    action="#{application.selectPrincipal}" immediate="true">
    Only <h:inputText has the cached values from the first entry.
    <h:inputText id="principalLastName1Id"
    value="#{application.currentPrincipal.lastName}" size="10"/><== this
    has the cached value from the backing bean application.
    <h:outputText gets the new values from the backing bean when the same
    page is reentered.
    <h:outputText value="#{application.currentPrincipal.lastName}"></h:outputText><==
    this refreshes with the new value from the backing bean application.
    Here is the solution to rectify the problem:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExternalContext externalContext = facesContext.getExternalContext();
    Map sessionMap = externalContext.getSessionMap();
    sessionMap.remove("/jsp/befg/tc/apply/enterCreditApplication.jsp");
    <== this is the name of the jsf page as defined in the
    faces-config.xml.

    Hi,I have encountered the same problem as you,and I find a solution myself,which is shown as follows,but I don't know if these is any hidden trouble in the code.
    <h:form>
    <h:commandLink action="#{app.action}" immediate="true" actionListener="#{app.update}">xxxx</h:commandLink>
    <h:inputText id="_id" value="#{app.val}" immediate="true"/> //must set immediate="true" else the model will be not updated
    <h:message for="_id"/>
    </h:form>
    public class App{
    public void update(ActionEvent event){
         FacesContext c = FacesContext.getCurrentInstance();
         UIViewRoot root =c.getViewRoot();
         root.processUpdates(c);//to update model and short-circuit the validators
    in such circumstance,the UIViewRoot's processUpdates method will be called in the actionlistener,and the back bean who titled to immediate(true)'s inputText will be updated, but the one who titled to immdiate(false)'s inputText will not be updated,Why?
    Can anyone tell me way?and how to solve?
    Thanks a lot!

  • RV082 UPnP not working with Back To My Mac

    I have several Mac based applications that are not working with UPnP on my RV082 router. It's not listed as a compatible router on Apple's MobileMe Back To My Mac hardware compatibility list. Is there a way to manually configure port forwarding for this application?
    Another application that requires UPnP that is not working is El Gato EyeTV.
    UPnP is on, and some applications on some computers are clearly able to open ports via UPnP.
    I have firmware version 1.3.98-tm.

    You will need to contact the vendor/manufacturer of the specific non-Cisco applications (Back to My Mac & El Gato EyeTV) for those application instructions, we don't support them on here.  if the RV082 is working with other devices/applications, then I'd believe that it's specific to those non-Cisco apps that you would need to troubleshoot with the specfic vendors on.
    Best Regards,
    Glenn

  • @EJB not working for managed beans in adfc-config

    using adf 11.1.1.3
    We have an application that uses EJB (deployed on the same WLS as our application). We notice that when we create managed beans in the adfc-config and use the @EJB annotation to get an instance of the sessionbean, it is not working.
    The error we get is a simple nullPointerexception pointing to the EJB.
    When we register the bean in faces-config.xml instead of adfc-config.xml, we do get an instance of the EJB.
    I also get a nullpointerException when i add the managed bean to a taskflow instead of the adfc-config.
    This is an example of the bean:
    public class HomeTest {
        @EJB
        MyService service;
        public HomeTest() {
        public List getData(){
          return service.getSomedata();
    }When i register this bean in adfc-config i get a nullpointer on service.
    When i register the same bean in the faces-config, it is working.

    Frank,
    Thanks! I think i managed to implement the workaround:
    This is my bean that has been registered in the faces-config:
    public class BeanHelper {
        @EJB
        private MyEJB myEjB;
        public BeanHelper() {
            super();
        public MyEJB getMyEJB()
              return myEJB;
    }In my adfc managed bean i use
    MyEJB myEJB = (MyEJB)JSFUtils.get("#{BeanHelper.myEJB}");This is working fine.
    This way i no longer need to use a direct lookup and i don't need to know the exact path and so on for the EJB.
    Thanks Frank!
    Is there a way to let Oracle update the bug with this workaround so if other people find the bug, they know how to implement a workaround?

  • Action method not called in Backing Bean

    I am using <x:inputFileUpload> tag inside my jsp page. I am trying to call action method when clicking button, but action method not called.
    My jsp page:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%>
    <html>
         <head>
              <title>File upload Test</title>
         </head>
         <body>
              <f:view>
                   <h:form id="form1" enctype="multipart/form-data">
                        <h:messages id="asdghsda"/>          
                        <h:outputText value="This is file upload page functionlaity POC" />                                   
                        <h:inputText value="#{fileUploadBean.textField}" />
                        <x:inputFileUpload id="myFileId" value="#{fileUploadBean.myFile}" storage="file" required="true"/>                    
                        <h:commandButton action="#{fileUploadBean.storeFile}" value="Enter here" />                    
                        <h:commandLink value="Clicl Here!!" action="#{fileUploadBean.storeFile}"></h:commandLink>
                   </h:form>               
              </f:view>
         </body>     
    </html>
    My backing bean:
    package com.beans;
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import org.apache.log4j.Logger;
    import org.apache.myfaces.custom.fileupload.UploadedFile;
    public class FileUploadBean {     
         private static Logger logger = Logger.getLogger(FileUploadBean.class.getName());
         private String textField;
         private UploadedFile myFile;
         public UploadedFile getMyFile() {
              logger.info("inside get method");
         return myFile;
         public void setMyFile(UploadedFile myFile) {
              logger.info("inside set method");
              this.myFile = myFile;
         public void storeFile(){          
              logger.info("Inside the storeFile method");
              logger.info("The text field value: " + getTextField());
              try {
                   InputStream in = new BufferedInputStream(myFile.getInputStream());
                   logger.info("The string is: " + in.read());
                   System.out.println(in.read());
                   File f = new File("D:\\share\\sample.txt");               
                   OutputStream out = new FileOutputStream(f);
                   out.write(in.read());
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              logger.info("Exit from the storeFile method");
         public String getTextField() {
              return textField;
         public void setTextField(String textField) {
              this.textField = textField;
    My web.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>MyJSFProject</display-name>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <filter>
    <filter-name>ExtensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>10m</param-value>
    </init-param>
    <init-param>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ExtensionsFilter</filter-name>
    <servlet-name>FacesServlet</servlet-name>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    Can someone help me on this? I need urgently.

    One straight and simple answer which i can give you method associated to action attributes always returns a java.lang.String Object.
    REF :
    action:
    =====
    If specified as a string: Directly specifies an outcome used by the navigation handler to determine the JSF page to load next as a result of activating the button or link If specified as a method binding: The method has this signature: String methodName(); the string represents the outcome
    source : http://horstmann.com/corejsf/jsf-tags.html#Table4_15
    therefore
    change
    public void storeFile(){
    logger.info("Inside the storeFile method");
    logger.info("The text field value: " + getTextField());
    try {
    InputStream in = new BufferedInputStream(myFile.getInputStream());
    logger.info("The string is: " + in.read());
    System.out.println(in.read());
    File f = new File("D:\\share\\sample.txt");
    OutputStream out = new FileOutputStream(f);
    out.write(in.read());
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    logger.info("Exit from the storeFile method");
    }to
    public String storeFile(){
    logger.info("Inside the storeFile method");
    logger.info("The text field value: " + getTextField());
    try {
    InputStream in = new BufferedInputStream(myFile.getInputStream());
    logger.info("The string is: " + in.read());
    System.out.println(in.read());
    File f = new File("D:\\share\\sample.txt");
    OutputStream out = new FileOutputStream(f);
    out.write(in.read());
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    logger.info("Exit from the storeFile method");
    return "success";
    }else where you can make use of actionlistener property in the following senario.
    but the method signature has to be void storeFile(ActionEvent ae)
    and could be use like
    <h:commandButton actionlistener="#{fileUploadBean.storeFile}" action="success" value="SUBMIT" /> Hope that might help :)
    REGARDS,
    RaHuL

  • Command button onclick="history.go(-1)" not work as back button

    Hi,
    I'm using Jdev 10.1.3 on WinXP running standalone oc4j.
    Does anyone has experience in implementing command button with onclick="history.go(-1) ? Mine did not work as a back button. It simply stayed on the same page.
    Any idea?

    cor-el, I started Firefox in the Safe Mode as recommended. It looked and worked fine. Same after I closed and reopened it. As suggested, I shut down and restarted and so far it is operating "normally." Pages open on the first try and the back button works just fine. The double headers are gone and all my Bookmarks are in place. I did not change any settings or stop any functions (add-on's, etc).
    Hopefully this has solved the issue. Only time will tell. Thanks for your help. I also have a long list of other things to try from Safe Mode if the issue returns.
    I appreciate your prompt help. Larry.

  • Left side touch note working - took back up with PC companions - repaired with SUS - restore of contacts etc failed - restore error - touch still not working ..... Experts can i get some help ?

    Hi Guys / Experts / Arnab,
    The left side touch of my phone screen was not working. Was not able to type numbers 1, 2 and alphabets Q, W etc.
    I repaired with SUS after taking back up with PC companion.
    While restoring the backup, i got RESTORE ERROR, and almost everything got restore except few apps and CONTACTS, which is the most important thing in a mobile .
    ---> TOUCH IS STILL NOT WORKING <----
    Guys can i expect some help here ?
    Regards,
    Sush
    Solved!
    Go to Solution.

    I see
    this might help
    http://talk.sonymobile.com/message/448070#448070
    https://github.com/nelenkov/android-backup-extractor
    SO HERE IS HOW YOU CAN RESTORE YOUR DATA:
    Get your Fullbackupdata-Contactfile.
    1.  First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
    2. Make a Copy of your backup-File (crtl+c, crtl+v)
    3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
    4. Rename (F2) the file to backup.zip
    5. Open the zip with 7zip or something similar.
    6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
    7. Put this file on your Desktop.
    8.Download this jar-File: http://ge.tt/64TJmne/v/0?c
    9. Put the .jarFile also on your desktop.
    10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
    11. Open the .tarfile with 7Zip
    12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
    13. Copy full_backup_vcard.vcf to the Desktop.
    If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
    If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
    Don't forget to mark the Correct Answers & Helpful Answers
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • @Intertseptors does not work for web bean (for JSF page)

    @Named
    @ConversationScoped
    @Interceptors(MyInterceptor.class)
    public class BeanWeb implements Serializable {
        public String methodThrowException throws Exception() {
            throws new Exception();
    public class MyInterceptor {
        @AroundInvoke
        public Object intercept(InvocationContext ic) throws Exception {
            try {
                return ic.proceed();
            } catch (Exception e) {
                return null;
    }For @Stateless beans interceptor works, but for the BeanWeb interceptor does not work. And we have never entered into "intercept" method.
    1. Why is this happening?
    2. How could intercept method calls in BeanWeb?
    P.S.: All this spin under Glassfish 3.x.

    All the links on this page work for me. Did you empty your browser cache before visiting the published site?

  • LQ02 Transaction not work in Back ground processing

    Hi
    LQ02 transaction working well in forground process but not working for background process. I did the bdc and use call transaction to post WM-IM transaction.
    screen input as follows :
    Warehouse number
    Storage type
    Storage bin
    WM movement type
    Storage Unit
    batch job shows sucessfully completed but category stock status remain unchanged (ie quality to unrestricted.)
    Any body know the alternative function module or bapi to post LQ02 transaction.
    Appriciate your help.
    Best regards
    Pravin

    when you run LQ02 in foreground, do you select anything manually or can you just hit save an everything is done?
    What does job log and spool file tell you?
    Did you flag the box for create mail in case of an error?
    check OSS note 489286

  • Programatically set where clause or view criteria not working in managed bean

    I get a view using finditerator then then apply setwhere or view criteria but it does not filter the original rows. code is as follows
    DCIteratorBinding dcIter3 =
    ADFUtils.findIterator("PlanColorsIterator");    
    ViewObject cvo = dcIter3.getViewObject();
    cvo.setNamedWhereClauseParam("Plno","4000");  // not working
       /*   // not working
    cvo.applyViewCriteria(cvo.getViewCriteriaManager().getViewCriteria("PlanColorsCriteria"));
    cvo.ensureVariableManager().setVariableValue("Plno", "4000");
    cvo.executeQuery();
    /* not working
    cvo.setWhereClause("plan_no = :ThePlanType");
    cvo.defineNamedWhereClauseParam("ThePlanType", null, null);
    cvo.setNamedWhereClauseParam("ThePlanType", "4000");
    cvo.executeQuery();

    thanks for reply.
    Jdeveloper version is 11.1.1.4.0.
    Actually the vo on which I am trying to set set where is used as source to act as cursor  to get values from filtered rows using set where and copy the this cursor values to another target vo. I am not showing these source values just getting values.
    DCIteratorBinding dcIter2 =
    ADFUtils.findIterator("PlotDtl2Iterator");     
    ViewObject dvo = dcIter2.getViewObject();
    // colors to copy 
    DCIteratorBinding dcIter3 =
    ADFUtils.findIterator("PlanColorsIterator");    
    ViewObject cvo = dcIter3.getViewObject();
    cvo.setNamedWhereClauseParam("Plno","4000");
    cvo.applyViewCriteria(cvo.getViewCriteriaManager().getViewCriteria("PlanColorsCriteria"));
    cvo.ensureVariableManager().setVariableValue("Plno", "4000");
    cvo.executeQuery();
    cvo.setWhereClause("plan_no = :ThePlanType");
    cvo.defineNamedWhereClauseParam("ThePlanType", null, null);
    cvo.setNamedWhereClauseParam("ThePlanType", "4000");
    cvo.executeQuery();
    int totalCount=cvo.getRowCount();
    cvo.setRangeSize(totalCount);
    Row[] rArray=cvo.getAllRowsInRange();
    for (Row r:rArray){
    NameValuePairs nvp = new NameValuePairs();      
    nvp.setAttribute("Description",r.getAttribute("Description"));
    nvp.setAttribute("PlanNo",r.getAttribute("PlanNo"));
    nvp.setAttribute("MainAcc",r.getAttribute("MainAcc"));
    nvp.setAttribute("Plqty",r.getAttribute("Qty"));
    nvp.setAttribute("Cdkid",r.getAttribute("CdkId"));
    nvp.setAttribute("FabricCode",r.getAttribute("FabricCode"));
    nvp.setAttribute("DyeWash",r.getAttribute("DyeWash"));
    //  nvp.setAttribute("Description","test");
    Row drow = dvo.createAndInitRow(nvp);      
    dvo.insertRow(drow); 

  • Toplink Optimistic Locking not working with Session Bean facade.

    I am working on Oracle JDeveloper v 10.1.2 and connecting to an Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
    The application is based on J2EE architecture and the technology stack uses Struts for presentation/controller framework, Stateless Session EJBs as session facade for custom business services, Simple java classes for the business services, Toplink implementation of DAO layer, Domain objects are mapped to database tables using Toplink Workbench that ships with JDeveloper. The transaction is managed by the session bean and hence the toplink session is configured to use external transaction controller and a named datasource as follows.
    <session xsi:type="server-session">
    <name>DBSession</name>
    <server-platform xsi:type="oc4j-1012-platform"/>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>fine</log-level>
    <file-name>D:/ToplinkLog.log</file-name>
    </logging>
    <primary-project xsi:type="xml">META-INF/toplink-descriptor.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <external-connection-pooling>true</external-connection-pooling>
    <external-transaction-controller>true</external-transaction-controller>
    <sequencing>
    <default-sequence xsi:type="native-sequence">
    <name>Native</name>
    <preallocation-size>1</preallocation-size>
    </default-sequence>
    </sequencing>
    <datasource>jdbc/ORADS</datasource>
    </login>
    </session>
    We intend to use Optimistic Locking based on Timestamp-version locking through an audit field "last_modification_date" of type java.sql.Timestamp. The corresponding database field is also of type Timestamp(6). We are not storing the version in cache.
    The problem we are facing is as follows.. we have an edit screen from where user can edit values for a domain object which are then persisted using Toplink...we expect Toplink to check the database record version (modification_date timestamp) before it applies the update. In DAO implementation, we register the object in a unitOfWork, then set the modified values, however we leave the modification_date (version field) unedited. Now when the application is running, on edit, an exception is thrown by the Session bean before ending the transaction.
    com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: java.lang.NullPointerException
         at TrackingMediator_StatelessSessionBeanWrapper2.editOverheadExpenditure(TrackingMediator_StatelessSessionBeanWrapper2.java:1597)
         at com.enbridge.dsm.web.action.TrackingPortfolioAction.editOverheadExpenditure(TrackingPortfolioAction.java:264)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278)
         at com.enbridge.dsm.web.shared.BaseAction.execute(BaseAction.java:90)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
         at com.enbridge.dsm.web.shared.DSMPojoRequestProcessor.process(DSMPojoRequestProcessor.java:182)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1425)
         at com.sourcebeat.strutslive.common.SLActionServlet.process(SLActionServlet.java:44)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.enbridge.dsm.web.shared.security.SecurityFilter.doFilter(SecurityFilter.java:142)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
         Nested exception is:
    java.lang.NullPointerException
         at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:1190)
         at com.evermind.sql.FilterConnection.commit(FilterConnection.java:209)
         at com.evermind.sql.DriverManagerXAConnection.commit(DriverManagerXAConnection.java:203)
         at com.evermind.server.TransactionEnlistment.commit(TransactionEnlistment.java:251)
         at com.evermind.server.ApplicationServerTransaction.singlePhaseCommit(ApplicationServerTransaction.java:745)
         at com.evermind.server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:690)
         at com.evermind.server.ApplicationServerTransaction.end(ApplicationServerTransaction.java:1035)
         at TrackingMediator_StatelessSessionBeanWrapper2.editOverheadExpenditure(TrackingMediator_StatelessSessionBeanWrapper2.java:1593)
         at com.enbridge.dsm.web.action.TrackingPortfolioAction.editOverheadExpenditure(TrackingPortfolioAction.java:264)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278)
         at com.enbridge.dsm.web.shared.BaseAction.execute(BaseAction.java:90)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465)
         at com.enbridge.dsm.web.shared.DSMPojoRequestProcessor.process(DSMPojoRequestProcessor.java:182)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1425)
         at com.sourcebeat.strutslive.common.SLActionServlet.process(SLActionServlet.java:44)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at com.enbridge.dsm.web.shared.security.SecurityFilter.doFilter(SecurityFilter.java:142)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Note that the exception is thrown at the time when the session bean is about to commit the transaction. i.e. the DAO code did not throw any exception and was able to check the optimistic locking and submit the update transaction.
    I am not able to understand why is the the EJB throwing this weird error with Optimistic locking implementation. The application is working fine when the optimistic locking is disabled.
    I am facing another problem due to this problem... since the session bean throws this exception after exiting the bean implemented method, when trying to commit the transaction, I am not able to mark the session context to setRollbackOnly. Hence if I continue on to another transaction by navigating to another screen in the application, mysteriously the previous transaction gets committed!!... again... weird...

    I am using JDBC driver version 10.1.2.
    I saw this additional error message in JDeveloper console, which for some reason was not logged to my log4j log file... if it helps...
    06/09/22 18:32:10 Thr[thread 6]-TransactionEnlistment.TransactionEnlistment.Caught forgetandRollback XAException e null
    Here are the logs from my Toplink log file....
    [TopLink Info]: 2006.09.22 06:31:46.546--ServerSession(989)--Thread(Thread[HttpRequestHandler-86,5,main])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)
    [TopLink Info]: 2006.09.22 06:31:46.578--ServerSession(989)--Thread(Thread[HttpRequestHandler-86,5,main])--Server: Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)
    [TopLink Config]: 2006.09.22 06:31:46.593--ServerSession(989)--Connection(991)--Thread(Thread[HttpRequestHandler-86,5,main])--connecting(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> ""
         connector=>JNDIConnector datasource name=>jdbc/ORADS
    [TopLink Config]: 2006.09.22 06:31:47.484--ServerSession(989)--Connection(1432)--Thread(Thread[HttpRequestHandler-86,5,main])--Connected: jdbc:oracle:thin:@10.210.16.37:1521:orabld
         User: APP_USR
         Database: Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
         Driver: Oracle JDBC driver Version: 10.1.0.3.0
    [TopLink Config]: 2006.09.22 06:31:47.500--ServerSession(989)--Connection(1433)--Thread(Thread[HttpRequestHandler-86,5,main])--connecting(DatabaseLogin(
         platform=>Oracle10Platform
         user name=> ""
         connector=>JNDIConnector datasource name=>jdbc/ORADS
    [TopLink Config]: 2006.09.22 06:31:47.500--ServerSession(989)--Connection(1434)--Thread(Thread[HttpRequestHandler-86,5,main])--Connected: jdbc:oracle:thin:@10.210.16.37:1521:orabld
         User: APP_USR
         Database: Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
         Driver: Oracle JDBC driver Version: 10.1.0.3.0
    [TopLink Info]: 2006.09.22 06:31:47.671--ServerSession(989)--Thread(Thread[HttpRequestHandler-86,5,main])--DBSession login successful
    [TopLink Fine]: 2006.09.22 06:31:47.703--ServerSession(989)--Connection(1554)--Thread(Thread[HttpRequestHandler-86,5,main])--select * from user_role ur, app_resource ar, role_resource rr where rr.APP_RESOURCE_ID = ar.APP_RESOURCE_ID and rr.USER_ROLE_ID = ur.USER_ROLE_ID
    [TopLink Fine]: 2006.09.22 06:31:49.937--ServerSession(989)--Connection(10245)--Thread(Thread[HttpRequestHandler-86,5,main])--SELECT * FROM PROGRAM_SUB_CAT
    [TopLink Fine]: 2006.09.22 06:31:50.015--ServerSession(989)--Connection(10332)--Thread(Thread[HttpRequestHandler-86,5,main])--SELECT PROGRAM_ID, CREATED_BY_USERID FROM (SELECT CREATED_BY_USERID, ROWNUM PROGRAM_ID FROM (SELECT DISTINCT(CREATED_BY_USERID) CREATED_BY_USERID, 1 AS PROGRAM_ID FROM PROGRAM))
    (I only see my application specific queries after this... no exceptions or debug logs)... as I said before.. the application gives exception in the session bean at the time of commit, and there's no exception raised from Toplink code in DAO...

  • Installed Acrobat Pro and uninstall Reader does not work defaults back to Reader

    I've installed Acrobat Pro, after installing Acrobat Reader.  After I uninstall Reader and click on a PDF file, it automatically opens it in Reader.  I've clicked Acrobat 9 as my preferred software, but next time, it reverts back to opening in Reader.  I'm using a lenovo Yoga laptop with Windows 8.1.

    Thank you very much for your reply.  This didn't work.  As you can tell, this is not a high priority for me, just annoying that I have to uninstall Reader every time I open a PDF.  It will open in Acrobat after that, 'til I shut down my laptop.
    Here's the order:  I installed Acrobat Reader.  Then I installed Acrobat Pro.  Then I uninstalled Acrobat Reader.  But when I click on a PDF file, it reopens in Acrobat Reader (I don't use Microsoft Reader - at least on purpose!)  Somehow Acrobat Reader is not completely uninstalling and reactivates.  Our computer consultant tried to fix it, but couldn't.   He said he thot some of his research showed this was a problem in Windows 8 and 8.1?
    I just tried going into Programs in the Control Panel and Acrobat Pro 9 only shows Uninstall/Change, not Repair.  However, I clicked through and got to Repair.  Tried that (which I've actually done before) and still didn't work.

  • JCalendar its not working with other beans with implementation class

    Hello,
    Jcalendar DEMO from http://forms.pjc.bean.over-blog.com/article-14848846.html and its working , even in new clean new form but if it with other beans like lafbean,keytypedbean etc... it gives this error:
    Java Plug-in 1.6.0_34
    Using JRE version 1.6.0_34-b04 Java HotSpot(TM) Client VM
    Forms Session ID is formsapp.27
    The proxy host is null, and the proxy port is 0.
    Native HTTP implementation is being used for the connection.
    The connection mode is HTTP.
    Forms Applet version is 11.1.2.0
    ! DrawLAF57: ***                    ***
    ! DrawLAF57: ***     Look and Feel Project v1.7.4     ***
    ! DrawLAF57: ***                    ***
    *------- L&F Java memory report [DrawLAF Init()] -------*
    *----------> DrawLAF57  total: 27217920  used: 22697928   free:4519992
    SCALE_IMAGE=Width=FIT,Height=FIT
    jsp Width=java.awt.Dimension[width=523,height=409]
    Scale Width=523
    Scale Height=409
    Clear image
    loading (shared) icon filename=/120.png
    loading (shared) icon filename=/7.png
    loading (shared) icon filename=/Printer.png
    loading (shared) icon filename=/8.png
    loading (shared) icon filename=/44.png
    loading (shared) icon filename=/Search.png
    loading (shared) icon filename=/10.png
    loading (shared) icon filename=/96.png
    loading (shared) icon filename=/99.png
    loading (shared) icon filename=/98.png
    loading (shared) icon filename=/97.png
    loading (shared) icon filename=/118.png
    loading (shared) icon filename=/Calender18.png
    loading (shared) icon filename=/Calender18.png
    loading (shared) icon filename=/119.png
    loading (shared) icon filename=/Tick.png
    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
         at com.jgoodies.looks.plastic.PlasticComboBoxButton.paintComponent(PlasticComboBoxButton.java:206)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JLayeredPane.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.paint(Unknown Source)
         at java.awt.Window.paint(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.access$700(Unknown Source)
         at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
         at com.jgoodies.looks.plastic.PlasticComboBoxButton.paintComponent(PlasticComboBoxButton.java:206)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.access$700(Unknown Source)
         at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
         at com.jgoodies.looks.plastic.PlasticComboBoxButton.paintComponent(PlasticComboBoxButton.java:206)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.access$700(Unknown Source)
         at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Any idea?
    Charles.

    Those are not Oracle demos. Please post your questions about those on their forum:
    http://forms-pjc-bean.space-forums.com/

  • Complete System Failure, disk not working to back up!!!

    Hi world of Apple,
    I have had a major (well at least I think it is major) problem today.  I shall summarise below and then hopefully someone will be able to assist.
    Here goes:
    This week I bought a Time Capsule.  This has been linked to my G4 PB (10.5.4) and my PPC iMac G5 (10.5.4) via Ethernet so that I can do my first back up.  At the moment it is still linked as the problem I have occurred whilst I was working with TC to centralize my music and photos.  the TC has worked as advertised thus far.
    I followed the apple direction to move my itunes folder from my iMac to the TC.  No problems.  I did this also for my PB.  Again, this worked OK.
    I then looked on the discussions for how to merge my iPhoto libraries (PB and iMac).  I downloaded iPhoto Library Manger from Fat Cat software and installed.
    Following the instructions, I attempted to merge the 2 libraries.  During the merge, iphoto quit.  I tried again and an on screen message told me that I had to turn off the computer (iMac) as OS X has quit unexpectedly.  I tried to restart and then the problems really started to happen.
    On restart, the fans went mad.  I turned of and tried to reset the PRAM.  No joy, fans still loud and getting no further than the gray start up screen.
    I tried to reset the SMU and again no result.
    I tried to insert the OS disc and start from that but i couldn't insert it as the computer was off.  So I started and inserted as the gray screen came on and as soon as the fans went crazy, turned off.
    I restarted, holding C key.  This time the screen showed a tiny flashing finder folder that alternated with another thing. I had to reset the mouse and eventually i got to the OS X installer and tried to start from the start disc in the utility menu.  No good, failed.
    I tried starting from a TM back up but the system spent ages calculating the size required.  I assumed it had frozen and went back.
    So, I tried a system restore using the OS disc.  This was tried at least twice and on each occasion the dialogue box told me that the source media was damaged and that I should select and alternative.  I have only used the disc once on the inital update, I can't believe it is broken.  in fact, I have had a look at some of the discussion posts and it seems I am not the only one.
    I have now attempted to go for a TM back up again.  It is taking an age but seems to be working.
    does anyone have any suggestions to what went wrong, how I should do things differently etc. I'm really concerned that the whole thing is broken.
    I would be really grateful.
    thanks
    Rob

    Time machine worked and system seems ok. Unsure as to why source disc says damaged though.

Maybe you are looking for

  • Repair a Corrupt PSD (Photoshop CS4) file on a mac

    I am on a Mac running 10.6.3 and using CS4.  Unfortunately I recently had a major system failure and had to wipe my drive and reinstall.  I was able to recover my data using data rescue 3, but a few of my Photoshop files won't open.  Photoshop tells

  • Days of Month corresponding week numbers

    Hi, I have a requirement to show day nos. (column 2_ )after Week column for example: Week       Days of Month                Vendor.         Revenue 1             01 - 02                            Test              $ 2000.00 2             07 - 13   

  • Error in PDF generation

    Hi, I have created a Adobe interactive form to fetch and edit details.. It was working fine. But now when i am trying to test the application or trying to preview the forms in form builder, a ERROR pop ups.. Means.. with a error symbol and a OK butto

  • HT4623 iOS7 not activating

    "your phone could not be activated because the activation server cannot be reached....." it's been like that all day Anyone experiencing this?

  • Changing the delay between channel reading

    In Traditional NI-DAQ there was a method to set the sample rate and the scan rate which allowed each channel to be read very quickly relative to each other. In NI-DAQmx the sample rate is set using the DAQmxCfgSampClkTiming function, but its unclear