Error on requestdispactcher include()

All,
I'm facing this suddenly problem on the Oracle Portal 10.1.4
When I call
getPortletContext()
.getRequestDispatcher(page)
.include(request,response);
Just get the error that is described by the stacktrace attached
any ideas ?
javax.portlet.PortletException
at oracle.webdb.wsrp.server.RequestDispatcherImpl.include(Unknown Source)
at com.eds.portal.crud.CRUDPortlet.doView(CRUDPortlet.java:238)
at com.eds.portal.crud.CRUDPortlet.doDispatch(CRUDPortlet.java:279)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:224)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:499)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
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.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: javax.servlet.ServletException: 5
at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)
at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)
at crud.html._create._jspService(_create.java:116)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
... 21 more
Nested Exception is javax.servlet.ServletException: 5
at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)
at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)
at crud.html._create._jspService(_create.java:116)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
at oracle.webdb.wsrp.server.RequestDispatcherImpl.include(Unknown Source)
at com.eds.portal.crud.CRUDPortlet.doView(CRUDPortlet.java:238)
at com.eds.portal.crud.CRUDPortlet.doDispatch(CRUDPortlet.java:279)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:224)
at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:499)
at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
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.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

here is the code of the portlet
<pre>
package com.eds.portal.crud;
import com.eds.portal.crud.resource.CRUDPortletBundle;
import com.eds.portal.persist.Persistent;
import com.eds.portal.persist.PersistentDAO;
import com.eds.portal.portlet.PortletBase;
import com.eds.portal.ui.html.SimpleCRUD;
import com.eds.portal.util.Log;
import com.eds.portal.util.StringUtil;
import java.io.IOException;
import java.util.StringTokenizer;
import javax.portlet.*;
* Represents the portlet to the basic CRUD user interface
public class CRUDPortlet extends PortletBase
public static final String CRUD_ACTION = "crud_action";
public static final String CRUDINTERFACE_KEY = "crudInterface";
public static final String CRUD_STATE = CRUDPortlet.class.getName() + ":bean";
public static final String CRUD_CLASS = CRUDPortlet.class.getName() + ":class";
public static final String CRUD_LABELS = CRUDPortlet.class.getName() + ":labels";
public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException
PortletPreferences prefs = request.getPreferences();
// Determine which action.
String okAction = request.getParameter(OK_ACTION);
String applyAction = request.getParameter(APPLY_ACTION);
String createAction = request.getParameter(SimpleCRUD.CREATE_ACTION);
String updateAction = request.getParameter(SimpleCRUD.UPDATE_ACTION);
String deleteAction = request.getParameter(SimpleCRUD.DELETE_ACTION);
if( request.getPortletMode().equals(PortletMode.EDIT)
|| request.getPortletMode().equals(EDIT_DEFAULTS) ){
if (okAction != null || applyAction != null)
// Save the preferences.
String className = request.getParameter(CRUD_CLASS);
String labels = request.getParameter(CRUD_LABELS);
prefs.setValue(CRUD_CLASS, className);
prefs.setValue(CRUD_LABELS, labels);
prefs.store();
// If OK was pressed, redirect back to the view mode.
if (okAction != null)
response.setPortletMode(PortletMode.VIEW);
response.setWindowState(WindowState.NORMAL);
String className = prefs.getValue( CRUD_CLASS, "");
String[] labels = StringUtil.string2Array(prefs.getValue( CRUD_LABELS, ""));
Log.debug("className/labels = " + className +"/"+ labels.toString() );
// only if the base class is defined
if(className.length() > 0 ){
response.setRenderParameter(CRUD_CLASS, className);
response.setRenderParameter(CRUD_LABELS, labels);
if (createAction != null) {
Log.debug("create action ");
if (okAction != null){
Log.debug("OK create action ");
// save the data
try
Persistent o = Persistent.getInstance(className,request.getParameterMap());
PersistentDAO.save(o);
response.setRenderParameter(MSG_ACTION, "Created with success.");
catch (Exception e)
// set the parameters back to the render in case of error
setRenderParameters( response, request.getParameterMap() );
response.setRenderParameter(ERROR_ACTION, e.getMessage());
response.setRenderParameter(CRUD_ACTION, createAction);
else {
// show the user interface, by setting the parameter to the render
try
Persistent o = Persistent.getInstance(className);
response.setProperty(CRUD_STATE, o.getState());
catch (Exception e)
response.setRenderParameter(ERROR_ACTION, e.getMessage());
Log.debug("set create action ");
response.setRenderParameter(CRUD_ACTION, createAction);
} // createAction
if (updateAction != null) {
if (okAction != null){
// save the data
try
Persistent o = Persistent.getInstance(className,request.getParameterMap());
PersistentDAO.save(o);
response.setRenderParameter(MSG_ACTION, "Updated with success.");
catch (Exception e)
// set the parameters back to the render in case of error
setRenderParameters( response, request.getParameterMap() );
response.setRenderParameter(ERROR_ACTION, e.getMessage());
response.setRenderParameter(CRUD_ACTION, updateAction);
else {
// show the user interface, by setting the parameter to the render
try
String id = request.getParameter("id");
Log.debug("update id = " + id );
Persistent o = PersistentDAO.get(id);
if( o != null )
Log.debug("object to update toString() = " + o );
Log.debug("object to update state = " + o.getState() );
response.setRenderParameter(CRUD_STATE, o.getState());
else
Log.log("ERROR loading object to update, with id = " + id );
response.setRenderParameter(ERROR_ACTION, "Error loading object to update");
response.setRenderParameter(CRUD_ACTION, "" );
catch (Exception e)
Log.log(e,"ERROR showing update interface");
response.setRenderParameter(ERROR_ACTION, e.getMessage());
response.setRenderParameter(CRUD_ACTION, updateAction);
} // updateAction
if (deleteAction != null) {
if (okAction != null){
// save the data
try
Persistent o = Persistent.getInstance(className,request.getParameterMap());
PersistentDAO.delete(o.getId());
response.setRenderParameter(MSG_ACTION, "Deleted with success.");
catch (Exception e)
Log.log(e,"ERROR executing the delete operation");
// set the parameters back to the render in case of error
setRenderParameters( response, request.getParameterMap() );
response.setRenderParameter(ERROR_ACTION, e.getMessage());
response.setRenderParameter(CRUD_ACTION, deleteAction);
else {
// show the user interface, by setting the parameter to the render
try
String id = request.getParameter("id");
Log.debug("delete id = " + id );
Persistent o = PersistentDAO.get(id);
if( o != null )
Log.debug("object to delete toString() = " + o );
Log.debug("object to delete state = " + o.getState() );
response.setRenderParameter(CRUD_STATE, o.getState());
else
Log.log("ERROR loading object to delete, with id = " + id );
response.setRenderParameter(ERROR_ACTION, "Error loading object to to delete");
response.setRenderParameter(CRUD_ACTION, "" );
catch (Exception e)
Log.log(e,"ERROR showing delete interface");
response.setRenderParameter(ERROR_ACTION, e.getMessage());
response.setRenderParameter(CRUD_ACTION, deleteAction);
} // deleteAction
public void doEdit(RenderRequest request, RenderResponse response )
throws PortletException, IOException{
Log.debug("doEdit() ");
getPortletContext()
.getRequestDispatcher("/crud/html/edit_defaults.jsp")
.include(request,response);
public void doView(RenderRequest request, RenderResponse response )
throws PortletException, IOException{
String page = "/crud/html/read.jsp";
String crudAction = request.getParameter(CRUD_ACTION);
Log.debug("doView() crudAction = " + crudAction );
if( crudAction != null ){
if(crudAction.equals(SimpleCRUD.getCreateButtonLabel()))
page = "/crud/html/create.jsp";
if(crudAction.equals(SimpleCRUD.getUpdateButtonLabel()))
page = "/crud/html/update.jsp";
if(crudAction.equals(SimpleCRUD.getDeleteButtonLabel()))
page = "/crud/html/delete.jsp";
try {
getPortletContext()
.getRequestDispatcher(page)
.include(request,response);
catch (PortletException e) {
Log.error(e,"Error (PortletException) including in doView(), page = "
+ page + " msg = " + e.getMessage() );
throw e;
catch (IOException e) {
Log.error(e,"Error (IOException) including in doView(), page = "
+ page );
throw e;
catch (Throwable e) {
Log.error(e,"Error (Throwable) including in doView(), page = "
+ page );
protected void doDispatch(RenderRequest request, RenderResponse response) throws PortletException, IOException
// Do nothing if window state is minimized.
WindowState state = request.getWindowState();
if (state.equals(WindowState.MINIMIZED)) {
super.doDispatch(request, response);
return;
// Get the content type for the response.
String contentType = request.getResponseContentType();
response.setContentType(contentType);
// Get the requested portlet mode.
PortletMode mode = request.getPortletMode();
Log.debug("doDispatch - portlet mode = " + mode.toString());
// Dispatch based on content type and portlet mode.
if (contentType.equals("text/html")) {
if (mode.equals(PortletMode.VIEW)) {
doView(request, response);
} else {
if (mode.equals(PortletMode.EDIT)
|| mode.equals(EDIT_DEFAULTS)) {
doEdit(request, response);
} else {
super.doDispatch(request, response);
} // view
} else {
super.doDispatch(request, response);
} // text/html
</pre>
Message was edited by:
user515735

Similar Messages

  • Error on requestdispactcher include() creating JSR-168 portlet

    All,
    I'm facing this suddenly problem on the Oracle Portal 10.1.4
    When I call
    getPortletContext()
    .getRequestDispatcher(page)
    .include(request,response);
    Just get the error that is described by the stacktrace attached
    any ideas ?
    javax.portlet.PortletException
    at oracle.webdb.wsrp.server.RequestDispatcherImpl.include(Unknown Source)
    at com.eds.portal.crud.CRUDPortlet.doView(CRUDPortlet.java:238)
    at com.eds.portal.crud.CRUDPortlet.doDispatch(CRUDPortlet.java:279)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
    at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:224)
    at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:499)
    at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
    at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
    at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
    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.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.servlet.ServletException: 5
    at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)
    at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)
    at crud.html._create._jspService(_create.java:116)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
    ... 21 more
    Nested Exception is javax.servlet.ServletException: 5
    at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:595)
    at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:537)
    at crud.html._create._jspService(_create.java:116)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
    at oracle.webdb.wsrp.server.RequestDispatcherImpl.include(Unknown Source)
    at com.eds.portal.crud.CRUDPortlet.doView(CRUDPortlet.java:238)
    at com.eds.portal.crud.CRUDPortlet.doDispatch(CRUDPortlet.java:279)
    at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)
    at oracle.webdb.wsrp.server.Server.getMarkup(Unknown Source)
    at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.invoke_getMarkup(WSRP_v1_Markup_PortType_Tie.java:224)
    at oracle.webdb.wsrp.WSRP_v1_Markup_PortType_Tie.processingHook(WSRP_v1_Markup_PortType_Tie.java:499)
    at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:230)
    at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:153)
    at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
    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.webdb.wsrp.server.ContextFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    portlet code
    package com.eds.portal.crud;
    import com.eds.portal.crud.resource.CRUDPortletBundle;
    import com.eds.portal.persist.Persistent;
    import com.eds.portal.persist.PersistentDAO;
    import com.eds.portal.portlet.PortletBase;
    import com.eds.portal.ui.html.SimpleCRUD;
    import com.eds.portal.util.Log;
    import com.eds.portal.util.StringUtil;
    import java.io.IOException;
    import java.util.StringTokenizer;
    import javax.portlet.*;
    * Represents the portlet to the basic CRUD user interface
    public class CRUDPortlet extends PortletBase
    public static final String CRUD_ACTION = "crud_action";
    public static final String CRUDINTERFACE_KEY = "crudInterface";
    public static final String CRUD_STATE = CRUDPortlet.class.getName() + ":bean";
    public static final String CRUD_CLASS = CRUDPortlet.class.getName() + ":class";
    public static final String CRUD_LABELS = CRUDPortlet.class.getName() + ":labels";
    public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException
    PortletPreferences prefs = request.getPreferences();
    // Determine which action.
    String okAction = request.getParameter(OK_ACTION);
    String applyAction = request.getParameter(APPLY_ACTION);
    String createAction = request.getParameter(SimpleCRUD.CREATE_ACTION);
    String updateAction = request.getParameter(SimpleCRUD.UPDATE_ACTION);
    String deleteAction = request.getParameter(SimpleCRUD.DELETE_ACTION);
    if( request.getPortletMode().equals(PortletMode.EDIT)
    || request.getPortletMode().equals(EDIT_DEFAULTS) ){
    if (okAction != null || applyAction != null)
    // Save the preferences.
    String className = request.getParameter(CRUD_CLASS);
    String labels = request.getParameter(CRUD_LABELS);
    prefs.setValue(CRUD_CLASS, className);
    prefs.setValue(CRUD_LABELS, labels);
    prefs.store();
    // If OK was pressed, redirect back to the view mode.
    if (okAction != null)
    response.setPortletMode(PortletMode.VIEW);
    response.setWindowState(WindowState.NORMAL);
    String className = prefs.getValue( CRUD_CLASS, "");
    String[] labels = StringUtil.string2Array(prefs.getValue( CRUD_LABELS, ""));
    Log.debug("className/labels = " + className +"/"+ labels.toString() );
    // only if the base class is defined
    if(className.length() > 0 ){
    response.setRenderParameter(CRUD_CLASS, className);
    response.setRenderParameter(CRUD_LABELS, labels);
    if (createAction != null) {
    Log.debug("create action ");
    if (okAction != null){
    Log.debug("OK create action ");
    // save the data
    try
    Persistent o = Persistent.getInstance(className,request.getParameterMap());
    PersistentDAO.save(o);
    response.setRenderParameter(MSG_ACTION, "Created with success.");
    catch (Exception e)
    // set the parameters back to the render in case of error
    setRenderParameters( response, request.getParameterMap() );
    response.setRenderParameter(ERROR_ACTION, e.getMessage());
    response.setRenderParameter(CRUD_ACTION, createAction);
    else {
    // show the user interface, by setting the parameter to the render
    try
    Persistent o = Persistent.getInstance(className);
    response.setProperty(CRUD_STATE, o.getState());
    catch (Exception e)
    response.setRenderParameter(ERROR_ACTION, e.getMessage());
    Log.debug("set create action ");
    response.setRenderParameter(CRUD_ACTION, createAction);
    } // createAction
    if (updateAction != null) {
    if (okAction != null){
    // save the data
    try
    Persistent o = Persistent.getInstance(className,request.getParameterMap());
    PersistentDAO.save(o);
    response.setRenderParameter(MSG_ACTION, "Updated with success.");
    catch (Exception e)
    // set the parameters back to the render in case of error
    setRenderParameters( response, request.getParameterMap() );
    response.setRenderParameter(ERROR_ACTION, e.getMessage());
    response.setRenderParameter(CRUD_ACTION, updateAction);
    else {
    // show the user interface, by setting the parameter to the render
    try
    String id = request.getParameter("id");
    Log.debug("update id = " + id );
    Persistent o = PersistentDAO.get(id);
    if( o != null )
    Log.debug("object to update toString() = " + o );
    Log.debug("object to update state = " + o.getState() );
    response.setRenderParameter(CRUD_STATE, o.getState());
    else
    Log.log("ERROR loading object to update, with id = " + id );
    response.setRenderParameter(ERROR_ACTION, "Error loading object to update");
    response.setRenderParameter(CRUD_ACTION, "" );
    catch (Exception e)
    Log.log(e,"ERROR showing update interface");
    response.setRenderParameter(ERROR_ACTION, e.getMessage());
    response.setRenderParameter(CRUD_ACTION, updateAction);
    } // updateAction
    if (deleteAction != null) {
    if (okAction != null){
    // save the data
    try
    Persistent o = Persistent.getInstance(className,request.getParameterMap());
    PersistentDAO.delete(o.getId());
    response.setRenderParameter(MSG_ACTION, "Deleted with success.");
    catch (Exception e)
    Log.log(e,"ERROR executing the delete operation");
    // set the parameters back to the render in case of error
    setRenderParameters( response, request.getParameterMap() );
    response.setRenderParameter(ERROR_ACTION, e.getMessage());
    response.setRenderParameter(CRUD_ACTION, deleteAction);
    else {
    // show the user interface, by setting the parameter to the render
    try
    String id = request.getParameter("id");
    Log.debug("delete id = " + id );
    Persistent o = PersistentDAO.get(id);
    if( o != null )
    Log.debug("object to delete toString() = " + o );
    Log.debug("object to delete state = " + o.getState() );
    response.setRenderParameter(CRUD_STATE, o.getState());
    else
    Log.log("ERROR loading object to delete, with id = " + id );
    response.setRenderParameter(ERROR_ACTION, "Error loading object to to delete");
    response.setRenderParameter(CRUD_ACTION, "" );
    catch (Exception e)
    Log.log(e,"ERROR showing delete interface");
    response.setRenderParameter(ERROR_ACTION, e.getMessage());
    response.setRenderParameter(CRUD_ACTION, deleteAction);
    } // deleteAction
    public void doEdit(RenderRequest request, RenderResponse response )
    throws PortletException, IOException{
    Log.debug("doEdit() ");
    getPortletContext()
    .getRequestDispatcher("/crud/html/edit_defaults.jsp")
    .include(request,response);
    public void doView(RenderRequest request, RenderResponse response )
    throws PortletException, IOException{
    String page = "/crud/html/read.jsp";
    String crudAction = request.getParameter(CRUD_ACTION);
    Log.debug("doView() crudAction = " + crudAction );
    if( crudAction != null ){
    if(crudAction.equals(SimpleCRUD.getCreateButtonLabel()))
    page = "/crud/html/create.jsp";
    if(crudAction.equals(SimpleCRUD.getUpdateButtonLabel()))
    page = "/crud/html/update.jsp";
    if(crudAction.equals(SimpleCRUD.getDeleteButtonLabel()))
    page = "/crud/html/delete.jsp";
    try {
    getPortletContext()
    .getRequestDispatcher(page)
    .include(request,response);
    catch (PortletException e) {
    Log.error(e,"Error (PortletException) including in doView(), page = "
    + page + " msg = " + e.getMessage() );
    throw e;
    catch (IOException e) {
    Log.error(e,"Error (IOException) including in doView(), page = "
    + page );
    throw e;
    catch (Throwable e) {
    Log.error(e,"Error (Throwable) including in doView(), page = "
    + page );
    protected void doDispatch(RenderRequest request, RenderResponse response) throws PortletException, IOException
    // Do nothing if window state is minimized.
    WindowState state = request.getWindowState();
    if (state.equals(WindowState.MINIMIZED)) {
    super.doDispatch(request, response);
    return;
    // Get the content type for the response.
    String contentType = request.getResponseContentType();
    response.setContentType(contentType);
    // Get the requested portlet mode.
    PortletMode mode = request.getPortletMode();
    Log.debug("doDispatch - portlet mode = " + mode.toString());
    // Dispatch based on content type and portlet mode.
    if (contentType.equals("text/html")) {
    if (mode.equals(PortletMode.VIEW)) {
    doView(request, response);
    } else {
    if (mode.equals(PortletMode.EDIT)
    || mode.equals(EDIT_DEFAULTS)) {
    doEdit(request, response);
    } else {
    super.doDispatch(request, response);
    } // view
    } else {
    super.doDispatch(request, response);
    } // text/html
    }

    It was happening an error inside the JSP file, I got it using one try / catch( Throwable ) ...

  • Getting error saying 'IDoc included in IDoc packet containing an error'.

    hi experts
    When I am processing idoc in LSMW, getting error saying 'IDoc included in IDoc packet containing an error'.I changed the packet size also but it was not resolved.
    Can any one tell me how to resolve this.

    Hi,
        Check below link......
    Getting error 51 saying 'IDoc included in IDoc packet containing an error'
    even this link is not solving problem then check the aplication log to get exact error text.
    Thanks,
    Asit Purbey.

  • Syntax error in standard include RKEB090F in ECC6

    Hi,
    I have one issue with this include program RKEB090F. This program is being used in one of the custom program while checking this program we are getting syntax error field P_USEDB is unknown.
    When I compared 4.7 and ECC 6 version, the code contains in 4.7 version is
          FORM INITIALIZATION_EXIT                                      *
    FORM INITIALIZATION_EXIT.
    ENDFORM.
    but in ECC 6 the code contains
          FORM INITIALIZATION_EXIT                                      *
    FORM INITIALIZATION_EXIT.
       if rkb1d-smode = '7'.
         CALL FUNCTION 'AS_DATASOURCE_INIT'
           EXPORTING
             I_REPORT                   = 'KE30'
             I_REPORTTYPE               = 'TR'
           IMPORTING
             E_USE_DATABASE             = P_USEDB
             E_USE_ARCHIVE              = P_USEAR
             E_USE_INFOSYS              = P_USEAS
             E_ARCHOBJ                  = P_OBJECT
             ET_ARCH_SEL                = SO_FILES[].
         G_RKB2A-OBJECT = P_OBJECT.
         G_RKB2A-USEDB = P_USEDB.
         G_RKB2A-USEAR = P_USEAR.
         G_RKB2A-USEAS = P_USEAS.
         G_RKB2A-SO_FILES = SO_FILES[].
         PERFORM HANDLE_DATASOURCE USING 'EX'.
       endif.
    ENDFORM.
    due to this code I am getting the syntax errors. How can we know how this code is added.
    Please let me know if you get any inputs.
    Regards,
    Jyothi CH.

    Hi Guys,
    I am having the same syntax error with this include RKEB090F and the Field P_USERB, but instead the program is a SAP Program. I have been trying to archive a table and I keep getting this error for different G* programs. I regenerate one, the other one gives error. I tried regenerating all of them and I still got this error.
    Error in the ABAP Application Program
    The current ABAP program "SAPLKYP4_UC" had to be terminated because it h
    come across a statement that unfortunately cannot be executed
    The following syntax error occurred in program "GPC6ZZ9KJ35AEXCXNZFQDJG3
    in include "RKEB090F " in
    line 17:
    "Field "P_USEDB" is unknown. It is neither in one of the specified tabl"
    "es nor defined by a "DATA" statement. ."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP "
    Error in the ABAP Application Program
    PLEASE HELP
    --Thanks in Advance,
    Fiyaz

  • Error in creating include for the user exit "EXIT_SAPMP56T_002"

    Hi,
    "treat it as high priority"
    when i db click on the include i am got the follwing error message :-
    Program names ZX... are reserved for includes of exit function groups
    Message no. DS027
    Diagnosis
    You attempted to create a program name beginning with ZX but this name range is reserved only for includes of exit function groups (function groups containing only function exits).
    If you want to create a program ZXaaabbb, note the following for program type I (Include).
    1. The program is an include of the function group Xaaa:
    In this case, the INCLUDE ZXaaabbb statement should not be inserted in the main program SAPLXaaa, but in the program ZXaaaZZZ .
    2. The program is not an include of the function group Xaaa:
    Since the syntax check for includes of this name range searches for the global data in the program LXaaaTOP (not ZXaaaTOP), you may not be able to check the include in isolation (--> check main program).
    Procedure
    Choose a different program name.
    cld u please help me out how to further proceed...
    awaiting for u r replies...
    apprecitaed with points...
    regards,
    ravi ganji

    Hello,
    1)That is not Error msg it is just warning - first db click then press enter if there is any msg again press enter off course all these things will happen only your user exit Active.
    2)see the import,export and changing parameters if you are new to user exit let us know which user exit you are trying to use.
    **********Poorna*********

  • Runtime Error in Standard Include

    Hi,
    After upgrading from SAP 4.7 E to ECC 6.0, we have facing few problem in execution of Reports..
    Main problem is that, it called Standard INCLUDES..
    Error:-
    Short text
        Format error with IMPORT.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "ZHINCANN1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    But, this program called a standard INCLUDE HINPAYMACRO ... that dump goes in it.
    What's the problem...plz clear..
    Thanks

    Hi,
    Error Message is:....
    Short text
        Format error with IMPORT.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "ZHINCANN1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    What can you do?
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_FORMAT_ERROR', was not
         caught in procedure "IMP-RESULT-CLSTR" "(FORM)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When attempting to IMPORT the object "EPF", there was a format error.
    Unable to read an IMPORT dataset.
    The dataset may have been processed using SQL and is
    thus no longer readable for the IMPORT.
    How to correct the error
        Determine which actions resulted in the destruction of the
        dataset.
        The exception must either be prevented, caught within proedure
        "IMP-RESULT-CLSTR" "(FORM)", or its possible occurrence must be declared in the
        RAISING clause of the procedure.
    This is complete error message...
    Now plz. tell...

  • Error messages in included facelets file?

    I have a jsp page that includes a .xhtml facelets page. The facelets page has a form, when the form is submitted I look for errors and if I find any I return the user back to the containing jsp page. At which point none of the error messages I have set display! Any ideas why that is? If I run it outside of the jsp file and return the user back to the .xhtml page it works fine. Sadly I need to have it work as a jsp include in order to interoperate with the rest of our sites technology. Any thoughts?

    Hi "Basis Learner",
    1. Oracle 8.1.7 is out of date! It's not maintained anymore.
    2. You don't need SQL to tell how many enqueue resources have been used here. The message is clear: 8000. The current maximum. Not a single one more and no less.
    3. Well how many more you'll need is hard to tell. But oviously more. Try with plus 50% -> 12000.
    Since the process that died here had been a paralle query server process, it may also be the case, that you've configured too many parallel servers. As they run at the same time (parallel) they'll make use of enqueues at the very same time...
    4. Of course there are notes:
    398927 - ORA error as the dimensions of the parameters are too small
    745639 - FAQ: Oracle enqueues
    632427 - Oracle 8.1.7* database parameterization for BW
    Hope that helps.
    KR Lars

  • HTTP Error 403 - Forbidden  error when auto including a jspx page

    Hi All -
    We have a situation where one of different reports pages gets included inside a main reports page based on user selection via a selectOneChoice control.
    But when the Reports Main page tab is clicked for the first time we get a "You are not authorized to view this page" HTTP Error 403 - Forbidden error.
    Upon clicking "Refresh" and then clicking the Reports Main page tab again, the page renders correctly.
    This is our code snippet. All the report related pages(MainPage.jspx, Schedule.jspx and Budget.jspx) are inside a reports folder under the context root. Please help.
    Thanks for your time.
    MainPage.jspx
    =====================
    Here I have a selection box, and based on the user selection I include different JSPX pages. The page Definition of this page
    contains all the executables and the bindings of the included pages also.
    <af:selectOneChoice value="#{backing_Reports.measureSelected}"
    label="Measure" unselectedLabel="Select One"
    id="selectmeasure" autoSubmit="true"
    immediate="true">
    <af:selectItem label="Schedule Data"
    value="Schedule.jspx"/>
    <af:selectItem label="Budget Data"
    value="Budget.jspx"/>
    </af:selectOneChoice>
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected}" flush="true"/>
    </af:panelGroup>
    Faces Config:
    ===================
    <navigation-rule>
    <from-view-id>*</from-view-id>
    <navigation-case>
    <from-outcome>GlobalHome</from-outcome>
    <to-view-id>/pages/Welcome.jspx</to-view-id>
    <redirect/>
    </navigation-case>
    <navigation-case>
    <from-outcome>GlobalReports</from-outcome>
    <to-view-id>/reports/MainPage.jspx</to-view-id>
    </navigation-case>
    <!-- 1. Reports menu tab item -->
    <managed-bean>
    <managed-bean-name>menuItem_Reports</managed-bean-name>
    <managed-bean-class>cs.view.menu.MenuItem</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>label</property-name>
    <value>#{resources['scorecard.menu.reports']}</value>
    </managed-property>
    <managed-property>
    <property-name>viewId</property-name>
    <value>/reports/MainPage.jspx</value>
    </managed-property>
    <managed-property>
    <property-name>outcome</property-name>
    <value>GlobalReports</value>
    </managed-property>
    </managed-bean>
    :

    We have solved this, temproarily. But don't know if this is the best method to do this. Please post if somepne has a better way of doing this.
    While debugging we found that the ${backing_Reports.measureSelected} field which was set to a default value in backing bean was returned as null when the page renders for the first time. So we had a work around like this in our MainPage.jspx
    <af:panelBox width="80%" partialTriggers="selectmeasure"
    inlineStyle="margin:40.0px;">
    <af:panelGroup>
    <jsp:include page="${backing_Reports.measureSelected==null?'BlankPage.jspx':backing_Reports.measureSelected}"
    flush="true"/>
    </af:panelGroup>
    </af:panelBox>
    Thanks.

  • GETWA_NOT_ASSIGNED run time error in LKKBLF99 include.

    Hi all,
      Thank you for viewing this thread. I am facing this run time error when I execute a ZProgram in    SAP database version. 700  version. In 4.6c it is working fine. The info in the run time error is:
    What happened?                                                                               
    Error in the ABAP Application Program                                                                               
    The current ABAP program "SAPLKKBL" had to be terminated because it has come across a statement that unfortunately cannot be executed                    
    Source code where it is getting terminated:
    2825
    2826
          FORM GEN_FIELD_OUT2                                           *
    2827
    2828
    2829
    2830
    form gen_field_out2.
    2831
    field-symbols <l_initial>.
    2832
    2833
    case gs_out-field_colcount.
    2834
    when 001.
    2835
    if gs_out_flags-slave ne 'X'.
    2836
    assign <fm01> to <field>.
    2837
    gs_fc = gs_mfc01.
    2838
    else.
    2839
    assign <fs01> to <field>.
    2840
    gs_fc = gs_sfc01.
    2841
    endif.
    2842
    when 002.
    2843
    if gs_out_flags-slave ne 'X'.
    |>>>>>|        assign <fm02> to <field>.   ""this is where the std program LKKBLF99 is getting terminated.
    The function module from which it is navigating from the ZProgram to this standard include is "REUSE_ALV_HIERSEQ_LIST_DISPLAY"
    The fieldsymbols are declared as type any in the standard program, LKKBLTOP.
    I tried to get solution from the threads posted, but couldnt arrive to a proper solution. Kindly suggest as soon as possible.                                 
    Thanks
    Sam
    Edited by: Palakodety Samyuktha on Apr 8, 2009 6:31 AM

    Hi Voros,
       Thank you for your quick reply, I tried that note but it didnt help me. As for the field symbol fs02, it is blank. But <Field> has  a value as '0000000055-Base'.
    Kindly help me further.
    In the first case, I  tried to change the value of ' gs_out_flags-slave' . I tried to find whether it is the problem with field symbols, the actual run time error without changing the values in debugging mode occurs at line 2847.
    2825
    2826
          FORM GEN_FIELD_OUT2                                           *
    2827
    2828
    2829
    2830
    form gen_field_out2.
    2831
    field-symbols <l_initial>.
    2832
    2833
    case gs_out-field_colcount.
    2834
    when 001.
    2835
    if gs_out_flags-slave ne 'X'.
    2836
    assign <fm01> to <field>.
    2837
    gs_fc = gs_mfc01.
    2838
    else.
    2839
    assign <fs01> to <field>.
    2840
    gs_fc = gs_sfc01.
    2841
    endif.
    2842
    when 002.
    2843
    if gs_out_flags-slave ne 'X'.
    2844
    assign <fm02> to <field>.
    2845
    gs_fc = gs_mfc02.
    2846
    else.
    >>>>>>        assign <fs02> to <field>.                   "this is where it is getting terminated                      |
    2848
    gs_fc = gs_sfc02.
    | 2849|      endif.
    sorry for the inconvenience caused.
    Thanks
    sam

  • Error in copied include program

    Hi friends,
    i copied z program into y program the z program contains includes also i copied all.but in the copied program ( y program) in the includes the following error is coming
      REPORT/PROGRAM statement missing, or program type is I (INCLUDE).     
    How to avoid the above error.
       thanks for all.

    well in every report there has to be following line:
    Report Y?????.
    AND this has to be the first statement to come.
    sometimes that line is not in the main report but in the first include (normally top-include).
    as long as this is still the first statement all is fine.
    But if you perhaps have now the include for your selection screen above the include which contains the critical line, it wont work since you have other statements (Parameters or Select-options) BEFORE that critical line.
    easiest way is to leave it in the main frame programm right on top, above all the includes.

  • Error DATA_OFFSET_LENGTH_TOO_LARGE into include: LPA_INFTY_LOGF02

    Hi guys,
    I'm new as abap consultant and yesterday i got an error when executing a programm which calls standard function HR_INFOTYPE_LOG_GET_DETAIL and this function calls a include LPA_INFTY_LOGF02.
    My problem is: It shows me an error on field "HLP_BLG_OLD"  line 333. The error is bellow (in bold).
    Did someone have this problem? What can I do? Please... help me... If you know some sapnote to help me I'll be thankful
      " An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
         caught in
        procedure "FILL_TABLES" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        In the running program "SAPLPA_INFTY_LOG", the field "HLP_BLG_OLD", which is of
         the type "C" and
        length 256, was to be accessed with the offset 250 and the length 50.
        However, subfield accesses in which the sum of the offset and length
        specifications is greater than the field length are not allowed. "

    HI,
    The version of R/3 I'm using is 6.0 and the support package for SAP_APPL is "SAPKH60403"
    are that fields i saw you asked? Sorry I'm new on Abap...
    Do I need to check something else?

  • Error when FM Include in th Bussiness Object

    Hi all,
    I created a Function Module and I included it in the Business Object ZBUS2172, while I release it shows the error as below.
    Field "EXCEPTIONS" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .
    If include it I will assign it to the workflow. Can any one solve it.
    Regards,
    Surjith

    Hi,
    I think before releasing that you will have to implement that . Try wiht that it will solve your probelm
    Assign points if it solves your probelm.
    -Gaurang

  • Error "SELECT statement includes a reserved word"

    Dear Sir,
    I am developing Ms Access 2010 and XP is the operating system.
    I have placed a combobox on a form, but when I tired to update new string value in the same combobox, it generates  an error "The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is
    incorrect." .
    I have debuged "Not In List" event and find  this error generates soon after completing the "Not In List" event. I tried to find out any help on the internet but failed.
    I shall be ever grateful if some one could help this regards.
    Kazim

    I think you need to do some homework on how relational databases work. 
    The following is my short description of the database relational model, but I emphasise the word 'short'. 
    The subject is a complex one with a huge body of academic and technical literature, so I can only hope to touch upon the basic principles of the model:
    "The database relational model was originally proposed by E F Codd in a paper in 1970 in the journal 'Communications
    of the Association for Computing Machinery'.  Since then there has been a vast amount of further theoretical work, and the relational model has shown itself to be a robust one. 
    Without going too deeply into the theoretical basis, which can be quite abstract, a relational database in essence models a part of the real world in terms of its entity types and the relationship types between them. 
    Note the inclusion of the word 'type' in both cases here. 
    While its almost always used in the former case, its often omitted in the latter case. 
    This is a little bit sloppy but not too important.  When one talks about a 'relationship' it really refers to a relationship value. 
    As an example 'marriage' is a relationship type, but my being married to my wife Fiona is a relationship value, represented by our names on the marriage certificate, which is the physical equivalent of a row in a Marriages table with columns Husband
    and Wife, each referencing the primary key of a table People. 
    This is a many-to-many relationship type (I've been married twice so would be in two rows, my first wife would also be in two rows as she remarried too). 
    It is resolved into two one-to-many relationship types, People to Marriages in each case, in one case via the Husband column in the other via the Wife column.
    In a relational database tables model Entity Types. 
    In the above example People is an entity type, modelled by the People table. 
    Marriage is also an entity type, modelled by the Marriages table. 
    As we've seen it's also a relationship type.  In fact a relationship type is just a special kind of entity type.
    Each column in a table represents an attribute type of each entity type, so attribute types of People might be FirstName,
    LastName, DateOfBirth etc.  This table would also have a PersonID numeric column (usually an autonumber) as its primary key as names are not distinct. 
    Each row in a table represents one instance of the entity type, and the attributes of each instance are represented by values at column positions in the row. 
    This is the only way that data can be legitimately stored in a relational database.
    It's important that there is no redundancy in the information content of the database. 
    This is achieved by the process of 'normalization'.  Normalization is based on a set of 'normal form's ranging from First Normal Form (1NF) to Fifth Normal Form (5NF) and beyond, though the higher normal forms are of a rather 
    different nature and we need not concern ourselves unduly with them. 
    There is also a Boyce/Codd Normal Form (BCNF) which was inserted when it was found that the original Third Normal Form was deficient; it didn't cater satisfactorily for tables with two or more candidate keys where the keys were composite and overlapped,
    i.e. Had a column in common.  I won't go into the details of normalization here; you'll find it written up in plenty of places.
    To see an example of redundancy and therefore a table which is not properly normalized take a look at the Customers table
    in the sample Northwind database which comes with Access.  You'll see that it includes City, State/Region and Country columns. 
    If you look at its data you'll see for instance that we are redundantly told twice that Boston is in Massachusetts, and that this is in the USA 
    twice.  This is not just inefficient, it is dangerous as it leaves the table open to inconsistent data being entered. 
    There is nothing to stop somebody putting Boston in the Massachusetts in one row and Milwaukee 
    in another, or putting Milwaukee  in the UK in one row and the USA in another. 
    To normalize the table it should be decomposed into Customers, Cities, Regions and Countries tables, each of the first three with a foreign key referencing the primary key of the next table up in the hierarchy."
    In your case you say a book can have more than one publisher. 
    This is true if you regard the entity as the book as a single 'work', not as a title. 
    I have two copies of Jane Austen's Mansfield Park for instance, each by a different publisher. 
    It is a single 'work' however.  I've no idea if anyone else has written a book called Mansfield Park, but there is no reason why not, so let's assume that one exists.
     This is not the same 'work' as Jane Austen's book, so conceptually is a different entity of type Books, and would be represented by a separate row in a table Books.
    In the above context there is a many-to-many relationship type between Books and Publishers. 
    There is only one way to model such a relationship type, which is by a table which resolves the relationship type into two one-to-many relationship types. 
    So the model would, diagrammatically be:
    Books----<BookPublishers>----Publishers
    Title is a non-key column of Books. 
    The same title may appear in different rows, as with our hypothetical Mansfield Park by another author. 
    The primary key of books is a numeric BookID, usually an autonumber. 
    The BookPublishers table would have foreign keys BookID and PublisherID referencing the primary keys of the two referenced tables. 
    It would also have columns representing any attributes of the relationship type between the book and the publisher. 
    The primary key of this table is a composite one of BookID and Publisher.
    To record multiple editions of a book published by a publisher requires another table along the following lines:
    BookEditions
    ....PublisherID 
    (FK)
    ....BookID 
    (FK)
    ....EditionNumber
    ....EditionDate
    .....ISBN
    In this table PublisherID and BookID are a composite foreign key referencing the primary key of BookPublishers. 
    Note that ISBN is a column in this table as it applies to each edition of a book. 
    In the language of the relational model it is said to be functionally determined by the key of BookEditions.
    Hopefully my short stock description of the relational model above, and my brief description of how it applies to the reality
    which you are attempting to model will give you an insight into how to build a database, but I would strongly recommend that you first do some background work on how the database relational model works and how to apply its principles in Access.
    I'll leave you with my own four, not altogether serious but nevertheless valid, ground rules for designing a relational database:
    1. 
    KISS (Keep it simple, stupid!).
    2. 
    When in a hole the first thing to do is stop digging.
    3. 
    Always take account of Murphy's Law: 'If something can go wrong, it will go wrong'
    4. 
    Always follow the advice given by Richard Feynman to his students: 'Don't write it down until you understand it'.
    Ken Sheridan, Stafford, England

  • Error when using %@ include file="/test.jsp"%&

    UsingNitrox version 2.1 M3 (build 419 06022005):
    with jdk version: 1.5.0_03 and Tomcat 5.5.9
    This is the error :cry: when using <%@ include file="/test.jsp"%> in jsp:
    Severity     2
    The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files (test.jsp)
    It used to work in previuos version of Nitrox. I can't use struts tiles because the tiles content is dynamic (run time) and I need it to be static (at compile time).
    Have you encountered this problem? What is the fix? Nitrox bug?
    I need your help please,
    Alberto

    M7,
    I found the problem :wink: . In the java Build path having the default (ALL) is not picking up the content of the package. I had to use add multiple and include all the folders and subfolders (many L) in my packages. After that I added *.java and *.properties to select all the java files. Now it is working. I assume this is a bug in Nitrox. The default ALL should include the all the files in the path.
    Thanks,
    Alberto

  • Attempting to export. "Error compiling movie. Unknown error." (details included)

    I've made an 8 minute movie in Elements 10. Trying to export the movie to my computer, I always get the error in the title after a few seconds. I've tried pretty much every filetype/preset and it all does the same thing.
    Movie details
    All files are from GoPro camera. Half of the footage is .MP4 video, shot at 16:9 HD, 720p resolution (1280 x 720) at 30 fps. Frame rate and Pixel Aspect Ratio are default. The other half of the footage is a bunch of time lapse from thousands of JPG images imported to Premiere in sequence and played back as video at 29.97 fps (default). I selected "Conform to: D1/DV NTSC Widescreen 16:9 (1.2121)" for the Pixel Aspect Ratio on these clips. I've used the Time Stretch tool on a few of the videos and manually adjusted the Frame Rate on a couple of the time lapses to 24 fps. For transitions and effects I have used Cross Dissolve, Dip to Black, Fade out, Crop, and Stabilizer. But not heavily. All of the audio from the clips is deleted and I added a MP3 to the soundtrack.
    My system
    Windows 7 Ultimate 32-bit
    Hard drive: NTFS file system, 66 GB free space
    CPU: Intel Xeon X3440 @ 2.52GHz (8 CPUs)
    RAM: 4GB
    GPU: ATI Radeon HD 4800 Series
    Here is a screen grab of my timeline for what it's worth:
    http://i.imgur.com/freD9.jpg
    The whole movie plays just find in the preview window.
    The time lapse footage all has the green render bar over it so you can tell how I've combined them with the regular video.
    This is my first shot at editing so I'm pretty lost. I've tried to include as much info as I can, let me know if there is anything else I can provide. I would really appreciate it if someone could help me out on this. I spent a ton of time working on it and I really hope I can resolve it! 

    Thanks for the replies. I managed to export a small portion of the movie to MPEG2 of just the time lapse so I don't think there is any issue with the still images. It looks like I need to convert the raw video footage into a different format, which should be pretty straightforward. My concern now is that I will then have to pretty much redo my entire movie. Does anyone know if there is any way at all to preserve the arrangement and cuts of my clips while converting the source video?
    Edit: I made a new project where I only included a couple of clips -- both time lapse and video -- the same way I did before but only about 20 seconds of footage and it worked fine. Not really sure what that means but it makes me think there might not necessarily be a problem with the file format.

Maybe you are looking for