ADF Issues

oracle.jbo.domain.Number cannot be cast to java.lang.String

This issues comes when the Attribute is defined as String in the Entity Object (EO) and View Object (VO) but we are passing the Number value at the run time to the View Object Possible Solution:  convert the type of attribute from Number to String String strEmpNo=null; Number varEmpNo= (Number) EmployeeCurrRow.getAttribute(“EmpNum”); strEmpNo= varEmpNo.toString();

Caused By: Write failed: Broken pipe

<oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6 javax.faces.FacesException: Write failed: Broken pipe at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse( at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase( at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render( at javax.faces.webapp.FacesServlet.service( at at weblogic.servlet.internal.WebAppServletContext.execute( at at at Caused By: Write failed: Broken pipe at Method) at at at at at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer( at […]

javax.faces.application.ViewExpiredException: – ADF_FACES-30107:The view state of the page has expired. Reload the page.

You need to define the value for org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS in the web.xml of your web application. <context-param> <description>Chooses how many tokens should be preserved at any one time.</description> <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS</param-name> <param-value>50</param-value> </context-param>

Caused By: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (APPS.PS_TXN_PK) violated oracle.jbo.PCollException: JBO-28030: Could not insert row into table PS_TXN

This might happen when you deploy another application in the same server environment where the already defined Transaction Id is again attempted to add in the existing table and violates the unique identity constraint. Reset the sequence number. Other Useful links for the topic in discussion

Scroll to top
Copy Protected by Chetan's WP-Copyprotect.