what means 'Stack trace not available'
443517May 23 2005 — edited May 25 2005I have an application in produccion.
-Oas 10g (9.04)
-Jdeveloper 9.04
-Jheadstart 9.405
my new requirement is:
an upload file(ms excel) in a jspTable
and refresh the data from the html table
...Then i modified:
*****the TablePage (jsp)
add to my form: enctype="multipart/form-data"
<html:form name="O0130200_PLANESBean" action="/StartO0130200" type="oracle.jheadstart.view.struts.JhsDynaActionForm" scope="session" enctype="multipart/form-data">
....
*****struts-config
*****Add a new Action (customized) extends from JhsAction
struts-cnfig:
....
<!--SISYGES:INIT-->
<form-property className="oracle.jheadstart.controller.struts.config.JhsFormPropertyConfig" name="O0130200_PLANESDetallePlanFile" type="org.apache.struts.upload.FormFile">
<set-property property="isFileField" value="true"/>
</form-property>
<!--SISYGES:END-->
</form-bean>
...
<action path="O0130200_PLANESRouter" type="oracle.jheadstart.controller.struts.action.ActionRouter">
<set-property property="defaultForward" value="initial"/>
<forward name="initial" path="GetO0130200_PLANESSet"/>
<forward name="browse" path="BrowseO0130200_PLANESSet"/>
<forward name="insert" path="GetDefaultO0130200_PLANES"/>
<forward name="save" path="SaveO0130200_PLANES"/>
<forward name="delete" path="DeleteO0130200_PLANES"/>
<forward name="groupPage" path="/WEB-INF/page/O0130200_PLANESPage.jsp"/>
<!--SISYGES:INIT-->
<forward name="uploadDetallePlan" path="UploadDetallePlan"/>
<!--SISYGES:END-->
</action>
<!--SISYGES:INIT-->
<action
path="UploadDetallePlan"
type="com.sisyges.o0130200.model.struts.action.UploadDetallePlanAction"
name="O0130200_PLANESBean"
scope="session">
<!-- select key of result DataObject in SessionData -->
<set-property property="dataObjectName" value="O0130200_PLANES"/>
<!-- name of dataObject interface -->
<set-property property="dataObjectInterface" value="com.sisyges.o0130200.model.Planes"/>
<set-property property="persistActionParameterName" value="save"/>
<!-- Commit transaction? -->
<set-property property="doCommit" value="true"/>
<forward name="success" path="BrowseO0130200_PLANESSet"/>
<forward name="userError" path="/WEB-INF/page/O0130200_PLANESPage.jsp"/>
</action>
<!--SISYGES:END-->
...
Made these changes my application only runs correctly some times without showing some error message
....But in jdeveloper, the embedded oc4j show :
Stack trace not available after execute the action...
this action execute correctly....
thanks