Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

The Commit button does not execute for new record after deployed on glassfish4.1?

TAJDINApr 30 2016 — edited May 4 2016

Sir

My application run perfectly on WLS .but when I deployed on glassfish 4.1 its execute button is not working properly.

The code of my commit button is

public void saveUpdateButtonCpv(ActionEvent actionEvent) {

        // Add event code here...

        BindingContainer bindingsBC = BindingContext.getCurrent().getCurrentBindingsEntry();      

               OperationBinding commit = bindingsBC.getOperationBinding("Commit");           

               commit.execute(); 

        OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");  

        operationBinding.execute();  

        DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("VdetCpvView1Iterator");// write iterator name from pageDef.  

        iter.getViewObject().executeQuery();  

    }    

The other information are

My dev ver is 12.2.1

The glassfish log is

Untitled.png

Please help.

Regards

This post has been answered by Ajay Taneja on May 4 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 1 2016
Added on Apr 30 2016
22 comments
811 views