WebDynpro FPM configuration exception

Hi Experts,
I'm facing a scenario, I greatly appreciate if some one can answer. Thank you.
We are implementing NW04s SP9. ESS webDynpro version. backend ECC6.0
We are not using NWDI and we are implementing out of the box, no customization to standard delivered ESS WD apps.
In Dev portal every thing works fine. In QA portal I have transported using packages. but I did deployed ESS BP on QA system.
In QA environment every thing works fine if I assign super admin rights to the employee userID, if I remove the super admin role I' getting an dump error saying FPMCpnfiguration Exception: ReadObject "com.sap.pct.erp.srvconfig.DataRecord failed"
Can somebody experienced this issue.  I have tried all ways from security standpoint like assigning content admin role only with ESS role same error as above, when I assign super admin role with ESS role, it works just fine.
Can some one suggest some options.
Greatly appreciated.

Hi Sunil,
You have to create enhancement implementation for your application configuration. Then you have  to follow the below procedure for enhanceing the feeder class.
1. Create explicit enhancement for your feeder class by choosing spiral button in the class object toolbar, then it will provide pre,post and override method for your methods.
2. As per your requirement you need to add some action in your table control toolbar, for that you need to implement post exit for the GET_DEFINITION method.
3. Enhance your FPM application for adding the table control button and assign the created action in your feeder class and process the events in the post exit implementation of your PROCESS_EVENT method.
THanks & Regards
Praveen Gupta

Similar Messages

  • Webdynpro FPM Table Control Toolbar Buttons

    Dear Experts,
    In Webdynpro FPM Configuration, Table control tool bar to be enhanced with custom buttons and it should call the custom web dynpro applications.
    After adding the buttons, where we have to configure the FPM Event ID's and corresponding actions.
    Please check and let me know.
    Thanks & Regards,
    Sunil KS

    Hi Sunil,
    You have to create enhancement implementation for your application configuration. Then you have  to follow the below procedure for enhanceing the feeder class.
    1. Create explicit enhancement for your feeder class by choosing spiral button in the class object toolbar, then it will provide pre,post and override method for your methods.
    2. As per your requirement you need to add some action in your table control toolbar, for that you need to implement post exit for the GET_DEFINITION method.
    3. Enhance your FPM application for adding the table control button and assign the created action in your feeder class and process the events in the post exit implementation of your PROCESS_EVENT method.
    THanks & Regards
    Praveen Gupta

  • How to use FPM_LIST_UIBB_ATS in webdynpro FPM

    Hello Experts ,
    I got a requirement to develop FPM by using FPM_LIST_UIBB_ATS. How can we can use in our FPM configuration.
    Thanking you in advance...

    Link is working! And if it really does not work, you have just to use Google with the key words!!
    Why don't you search in scn or Google before posting here? Do you think that is a question which has never been raised before?
    80% of questions could be solved by searching on their own, but everyone starts new threads because he ist too "busy" to search
    Do you have experience with FPM? If no, you have to learn the Basics, because it is another world compared to WebDynpro. If you have done some FPM applications, it doesn't matter if you have to use form, search or table uibb, everything the same architecture

  • Start button in FPM configuration

    Hi all,
    There is a start button in FPM for initial screen.
    In my webdynpro component, i have created 2 applications MAINTAIN and APPROVE.
    Few days back i was able to hide start button for MAINTAIN application,
    but because of the requirement change I had to hide for application APPROVE also.
    I tried to hide in the same way as I have done for MAINTAIN application but button is not getting hidden.
    Is there anything that I am missing like refresh of something, so that FPM configuration change is reflected
    Thanks in advance.
    Veda

    Hi,
    Problem is resolved.
    There is a dropdown in FPM config, there I have selected webdynpro built in and then made button container of initial screen invisible.
    But did not work for approve application as the FPM config changes are not getting saved.
    I had to create a new application.
    The changes would get saved if the support pack SAPKA70207(SAP_ABA) and SAPKB70207(SAP_BASIS) is implemented
    Thanks
    Veda

  • Create Wire Model in webdynpro FPM.

    Hi Friends,
    Please , Help Me How to create Wire Model by Webdynpro FPM. Please Give me Step by Step  process.
    i have done Form, list, search and Tree but i am not geting how to do Wire Model. So Please Give me Step by step Review to create Wire Model with FPM.
    it's Urgent.
    Thanks.
    Pappu  Mehta
    Edited by: Pappu Kumar Mehta on Nov 18, 2011 3:38 AM

    Wire Model
    The wire model can be used to create running FPM application by pure configuration or at least with minimal coding effort. The runtime interdependencies between UIBBs are defined by configuration entities called “wires” which are based on reusable “connector” classes implementing the dependency semantics. The primary use cases for the wire model are object models with generic access interfaces (for example, ESF, BOPF, or BOL).
    A wire controls the runtime interdependencies between two UIBBs; that is, they determine the data content of the target UIBB depending on user interaction changing the “outport” of the source UIBB. Outports can be of type lead selection, selection or collection. For example, the execution of a search on a Search GUIBB will change its collection outport and may therefore change the data content of a result list displayed in a separate List GUIBB. Similarly, changing the lead selection in a list of sales orders may change the data content of another list displaying the associated sales order items.
    In order to be part of a wire model, a UIBB needs to implement a certain Web Dynpro interface which in turn provides a feeder model implementation. The FPM GUIBBs are automatically integrated if their feeder classes implement the feeder model interface.
    Application areas or object models define their own namespaces for which their connector classes, feeder model classes can be reused. Moreover, they typically need to provide a transaction handler class which manages transaction events like save, modify or check and global message handling.
    Wires are defined on the level of the floorplan configuration. For each model UIBB contained in the floorplan configuration, a source UIBB with specified outport can be defined. Furthermore, a connector class and, potentially, connector parameters must be maintained.
    If the floorplan contains composite components (tabbed components), the model UIBBs contained in the tabbed components can also be wired. However, in order to provide better reusability of composite components, it is also possible to define intrinsic wiring for tabbed components. A tabbed component can define a model UIBB as a “wire plug” (this is usually a master UIBB), which serves as an entry point for the wiring of the tabbed component from the enveloping floorplan component. If a wire plug is configured for a tabbed UIBB, only the wire plug UIBB can be wired from outside.
    Transaction Handler class
        The transaction interface provides methods for handling global and transactional events. In the FPM configuration editor, one transaction handler implementation can be assigned on the level of the wire model. However, it is not mandatory to specify. But it can be used for wring some specific logic for Application level events.
    Interface “IF_FPM_WIRE_MODEL_TRANSACTION” is implemented for creating transaction handle class.
    Method
    Method description
    START
    It is called at the starting of FPM application. It provides 3 things “FPM Massage manger instance”, “Property bag of FPM Application”, and “Runtime information of FPM”.  Here, we can also specify application commit capability.
    AFTER_FLUSH
    This method is called after FLUSH has been called for all current UIBBs. It can be used to flush buffers.
    AFTER_PROCESS_EVENT
    This method is called after PROCESS_EVENT has been called for all current UIBBs. It can be used for handling transactional events for example SAVE or CHECK. Moreover, it can be used to collect messages which here not handled inside UIBBs and to forward them to the FPM message handler.
    AFTER_PROCESS_BEFORE_OUTPUT
    This method is called after PBO has been called for all current UIBBs. It can be used to collect messages at the latest possible point in time before screen output.
    AFTER_NEEDS_CONFIRMATION
    This method is called after NEEDS_CONFIRMATION has been called for all UIBBs. It can be used to analyze and add confirmation requests.
    IS_DIRTY
    This method can be used to indicate a dirty state for the work protection mode.
    Connector Class
        The “IF_FPM_CONNECTOR” connector interface comprises an interface, “IF_FPM_CONNECTOR_DEF”, defining the access by the FPM framework and an interface “IF_FPM_CONNECTOR_RUN” for runtime access by the application feeder model.
    The definition interface possesses a static attribute, “SV_NAMESPACE”, which should be filled with the namespace (ex. ‘FPM_DEMO’ or ‘BOL’ or user specific) in the class constructor of a connector implementation (for example in a common superclass).
    Method for “IF_FPM_CONNECTOR_DEF”
        Method
    Method description
    GET_PARAMETER_LIST
    Connector classes can be parameterized to flexibly control their runtime behavior. The parameter values are maintained for the wires in the FPM configuration editor. A parameter is defined by a name, its data type and a descriptive text.
    INITIALIZE
    With this method the connector is initialized with the parameter values. This method is called by the FPM runtime upon UIBB instantiation.
    GET_PARAMETER_VALUE_SET
    With this method, a connector implementation can provide a value set for each parameter. For example, in an object model a parameter may carry the association name. For a wire between specified UIBBs, the method may provide a list of all associations between the source and target business object node.
    SET_INPUT
    Receives an object reference carrying the actual data of the connected outport. This method is called before the UIBB‟s PBO by the FPM runtime.
    Method for “IF_FPM_CONNECTOR_RUN”
        Method
    Method description
    GET_OUTPUT
    Returns an object reference carrying the actual data to be displayed by a UIBB. This method can be called by the UIBB at PBO for example in the GET_DATA method of a feeder class.
    IS_CREATE_ALLOWED
    Returns a Boolean indicator whether entity creation is allowed. This method can be called by the UIBB at PBO to dynamically control the activation of create buttons for example to maintain the action usage parameter in the GET_DATA method of a feeder class.
    CREATE_ENTITY
    Creates and returns a data entity which can be arbitrarily typed. This method can be called by an action handler of the UIBB for example in the PROCESS_EVENT method of a feeder class.
    There are total seven methods in connector interface “IF_FPM_CONNECTOR” that should be implemented in connector class. We should also create class constructor for setting “Namespace”. “SET_OUTPUT” and “GET_OUTPUT” is bridge between FPM components, so these methods should be implemented properly.
    Wire for Free UIBBs
        Wire model is implemented on Web Dynpro component by implementing “IF_FPM_UIBB_MODEL” Web Dynpro interface. It contains only one method “GET_MODEL_API” which is used to set “FPM Feeder Model” for Free GUIBBs. It contains only one parameter “RO_FEEDER_MODEL”. So, we have to create a FPM Feeder Model class and assign to that parameter.
        FPM Feeder Model Class – Interface “IF_FPM_FEEDER_MODEL” is implemented for creating Feeder Model Class.
        Method for “IF_FPM_ FEEDER_MODEL”
        Method
    Method description
    GET_NAMESPACE
    Returns the namespace of the underlying application area. Method is called at design time.
    SET_CONNECTOR
    Called upon instantiation of a UIBB. It hands over the connector (reference to IF_FPM_CONNECTOR_RUN) which can be accessed for data retrieval at PBO.
    GET_INPORT_KEY
    Returns a reference to an object key which characterizes the meta data type expected at the import (for example the business object node). Method is called at design time.
    GET_OUTPORTS
    Provides a table of outports comprising the object key, the port type an identifier and a descriptive text. Method is called at design time.
    GET_OUTPORT_DATA
    Returns an object reference carrying the actual data identifier for a certain port. Method is called at runtime.
            Assistance class can also be used as Feeder Model Class and reference “WD_ASSIT” can used as Feeder model instance.
    Ex:    METHOD get_model_api .
      ro_feeder_model = wd_assist.
    ENDMETHOD.
    Wire for GUIBBs
        Nothing special we need to do that.  Interface “IF_FPM_FEEDER_MODEL” is also implemented on feeder class for getting port support. We need to set port manually using structure “IF_FPM_FEEDER_MODEL=>CS_PORT_TYPE”. It contains three constants “COLLECTION”, “SELECTION” and “LEAD_SELECTION”. It should be properly configured.
    Source Codes:
    Code for Transaction handler class:
    class ZCL_MY_TRAN_HANDLER definition
      public
      create public .
    public section.
    *"* public components of class ZCL_MY_TRAN_HANDLER
    *"* do not include other source files here!!!
      interfaces IF_FPM_WIRE_MODEL_TRANSACTION .
    protected section.
    *"* protected components of class ZCL_MY_TRAN_HANDLER
    *"* do not include other source files here!!!
    private section.
    *"* private components of class ZCL_MY_TRAN_HANDLER
    *"* do not include other source files here!!!
      data MO_MSG_MAN type ref to IF_FPM_MESSAGE_MANAGER .
    ENDCLASS.
    CLASS ZCL_MY_TRAN_HANDLER IMPLEMENTATION.
    * <SIGNATURE>---------------------------------------------------------------------------------------+
    * | Instance Public Method ZCL_MY_TRAN_HANDLER->IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_FLUSH
    * +-------------------------------------------------------------------------------------------------+
    * +--------------------------------------------------------------------------------------</SIGNATURE>
    method IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_FLUSH.
      return.
    endmethod.
    * <SIGNATURE>---------------------------------------------------------------------------------------+
    * | Instance Public Method ZCL_MY_TRAN_HANDLER->IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_NEEDS_CONFIRMATION
    * +-------------------------------------------------------------------------------------------------+
    * | [--->] IO_EVENT                       TYPE REF TO CL_FPM_EVENT
    * | [--->] IT_UIBBS                       TYPE        FPM_T_UIBB_COMPONENTS
    * | [<-->] CT_CONFIRMATION_REQUESTS       TYPE        FPM_T_CONFIRMATION_REQUESTS
    * +--------------------------------------------------------------------------------------</SIGNATURE>
    METHOD if_fpm_wire_model_transaction~after_needs_confirmation.
    *----- which event
      CASE io_event->mv_event_id.
    *----- start over
        WHEN if_fpm_constants=>gc_event-start_over.
    *----- raise confirmation request if state is dirty
          CHECK if_fpm_wire_model_transaction~is_dirty( ) = abap_true.
          APPEND cl_fpm_confirmation_request=>go_data_loss TO ct_confirmation_requests.
      ENDCASE.
    ENDMETHOD.
    * <SIGNATURE>---------------------------------------------------------------------------------------+
    * | Instance Public Method ZCL_MY_TRAN_HANDLER->IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_PROCESS_BEFORE_OUTPUT
    * +-------------------------------------------------------------------------------------------------+
    * +--------------------------------------------------------------------------------------</SIGNATURE>
    method IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_PROCESS_BEFORE_OUTPUT.
      RETURN.
    endmethod.
    * <SIGNATURE>---------------------------------------------------------------------------------------+
    * | Instance Public Method ZCL_MY_TRAN_HANDLER->IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_PROCESS_EVENT
    * +-------------------------------------------------------------------------------------------------+
    * | [--->] IO_EVENT                       TYPE REF TO CL_FPM_EVENT
    * | [<-()] RV_RESULT                      TYPE        FPM_EVENT_RESULT
    * +--------------------------------------------------------------------------------------</SIGNATURE>
    method IF_FPM_WIRE_MODEL_TRANSACTION~AFTER_PROCESS_EVENT.
      CASE io_event->mv_event_id.
        WHEN ''.
        WHEN ''.
        WHEN OTHERS.
      ENDCASE.
    endmethod.
    * <SIGNATURE>---------------------------------------------------------------------------------------+
    * | Instance Public Method ZCL_MY_TRAN_HANDLER->IF_FPM_WIRE_MODEL_TRANSACTION~IS_DIRTY
    * +-------------------------------------------------------------------------------------------------+
    * | [<-()] RV_IS_DIRTY                    TYPE        BOOLE_D
    * +--------------------------------------------------------------------------------------</SIGNATURE>
    METHOD if_fpm_wire_model_transaction~is_dirty.
      rv_is_dirty = cl_fpm_wire_model_col_factory=>work_protection_is_dirty( )

  • Com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException

    Hello Team,
    We have a scenario where we have a PI web service and we are importing the WSDL into our WD Java application.
    While running the test scenario we are getting the below 2 exceptions in the stack trace.
    20111222:Exception trace: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service on destination 'WS_CUST_**' for operation 'GetCustomer*' in interface 'GetCustomer**'
    Caused by: java.rmi.RemoteException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.; nested exception is:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
    By running through few posts on SDN a probable solution for this was proposed as: blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application
    Any help on this would be great.
    Regards,
    Shailesh

    Dear Shailesh,
    Did you try to check the blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application? please try to check and test.
    Also try to import fresh in new DC and check whether it is working or not.
    Best Regards
    Arun Jaiswal

  • XSLT Mapping, Transformer configuration exception occurred when loading

    Hi,
    My source message is an IDOC HRMD, I need my target message to include exactly
    <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
    I have therefore suggested to use XSLT mapping.
    Here is the test_mapping.xsl that I Imported as Zip in Imported Archives.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://polyright.com/xi/HR">
         <xsl:template match="/">
              <EPERSON xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ContextPersonMessage">
                          <xsl:for-each select="HRMD_A07/IDOC/E1PLOGI">
                <CONTEXTPERSON personid="" id="">
                      <PERSON action="add">
                               <TITLE></TITLE>
                               <FIRSTNAME><xsl:value-of select="E1PITYP/E1P0002/VORNA"/></FIRSTNAME>
                               <SECONDNAME></SECONDNAME>
                               <NAME><xsl:value-of select="E1PITYP/E1P0002/NACHN"/></NAME>
                               <ADDRESS1></ADDRESS1>
                               <ADDRESS2></ADDRESS2>
                               <POSTALCODE></POSTALCODE>
                               <CITY></CITY>
                               <COUNTRY></COUNTRY>
                               <COUNTRYID></COUNTRYID>
                               <PROFESSION></PROFESSION>
                               <LANGUAGE></LANGUAGE>
                               <LANGUAGEID></LANGUAGEID>
                               <PERSONTYPEID></PERSONTYPEID>
                               <CREATIONDATE></CREATIONDATE>
                               <BIRTHDATE></BIRTHDATE>
                               <CATEGORY></CATEGORY>
                             </PERSON>
                      </xsl:for-each>
              </EPERSON>
         </xsl:template>
    </xsl:stylesheet>
    When I test the Interface mapping, I get the following error:
    Transformer configuration exception occurred when loading XSLT test_mapping.xsl (http://polyright.com/xi/HR, 783938d1-4463-11dd-b136-e03ac0a80c15, -1)
    Searching through the forum, it is probably an namespace issue, but I have no idea of what needs to be changed. Any suggestions ?

    Try running end-to-end scenario and check if you could get detailed error message.
    Also check if the problem arises from the "ns0" usage.
    Regards,
    Prateek

  • XI transformer configuration exception

    Hi, I wonder if someone can help. I am struggling with an XSL that has been imported into XI. It is a mapping that has been used in another XI system (that I do not have access to) but I have a screen shot of the XSL. I have 'imported' this as an archive and used it on my mapping as it apparently solves loss of foreign characters when outputting to ISO-8859-1 but when I test I get the message 'Transformer configuration exception occurred when loading XSLT'. The code is as follows: -
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version "1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output encoding="ISO-8859-1"/>
    <xsl:template match="/">
         <xsl:copy-of select="*"/>
         </xsl:template>
    </xsl:stylesheet>
    Can anyone see what is wrong or is there something else I need to do. I added this .xsl into a zip before importing it.
    thanks
    Andy
    Edited by: Andy Jepson on Jan 16, 2008 1:50 PM
    Hi. I think I've solved this. Took the XSL into XMLSpy and saw that the file was badly formed. Even though I had read and re-read the code I seemed to miss an '=' on the version on line 2.
    Andy
    Edited by: Andy Jepson on Jan 16, 2008 4:41 PM
    Sorry guys. I still have a problem with this. The aforementioned XSL simply replaces the whole XML now rather than just amending the file encoding. Anybody help?

    Hi Tapio,
    Pls do check the following points.
    1. Make sure that the xsl file which you have your mapping code is having a 'small letter' extension. i.e., if your file name should be TAPIO.xsl, '.xsl' should not be in capital letters. If not change it and then make a zip file and reimport it as the imported archive.
    2. Check for the well formedness in any of the XML tools like XML spy. If any error is there with the missing tag or syntax you can rectify the same there itself.
    3. Activate the imported archive before using it in Interface Mapping.
    Cheers
    JK

  • Configuring Exception pages thru servlets for tomcat5

    Hi,
    I am trying to configure exception pages for servlets. But cannot get it done. I have one servlet ServletMapping.java. I am defining in web.xml, that any error should go to the servlet ErrorDisplay.java, which in turn handles the error. I have written for javax.servlet.ServletException.
    But the control does not go to the error page servlet ErrorDisplay.java
    thanx in advance
    -biyat
    Here is my web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <display-name>Biyat Testing System for web development</display-name>
    <description>
    Used to write Jsp/ Servlets
    </description>
    <servlet>
    <servlet-name>ServletMapping</servlet-name>
    <servlet-class>code.ServletMapping</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ServletMapping</servlet-name>
    <url-pattern>/code/ServletMapping</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>ErrorDisplay</servlet-name>
    <servlet-class>code.ErrorDisplay</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ErrorDisplay</servlet-name>
    <url-pattern>/code/ErrorDisplay</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>javax.servlet.ServletException</exception-type>
    <location>/code/ErrorDisplay</location>
    </error-page>
    </web-app>
    Here is my servlets
    in webexp/WEB-INF/classes
    code/ErrorDisplay.java
    package code;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ErrorDisplay extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String code=null, message=null, type=null;
    Object codeObj, messageObj, typeObj;
    codeObj = request.getAttribute("javax.servlet.error.status_code");
    messageObj = request.getAttribute("javax.servlet.error.message");
    typeObj = request.getAttribute("javax.servlet.error.exception_type");
    if(codeObj != null)
    code = codeObj.toString();
    if(messageObj!=null)
    message = messageObj.toString();
    if(typeObj != null)
    type = typeObj.toString();
    String reason = (code!=null ? code : type);
    out.println("<html>");
    out.println("<head><title>"+reason+":- "+message+"</title></head>");
    out.println("<body>");
    out.println("<h1>"+reason+"</h1>");
    out.println("<h1>"+message+"</h1>");
    out.println("<hr>");
    out.println("<i>Error accessing "+request.getRequestURI()+"</i>");
    out.println("</body></html>");
    Here is the page where there is error.
    in webexp/WEB-INF/classes
    code/ServletMapping.java
    package code;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ServletMapping extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String var1 = "logging starts";
    String str = request.getParameter("hello");
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    FileInputStream fis = new FileInputStream("hello.gif");
    out.println("<html><body><font color=red><b>Hello Biyat</b></font></body></html>");

    Hi, Biyat,
    The first thing I can see would help is to also define an error page for java.io.IOException - you can even re-use the same error page by adding the following to web.xml:
    <error-page>
    <exception-type>java.io.IOException</exception-type>
    <location>/code/ErrorDisplay</location>
    </error-page>
    djiao

  • [svn] 4494: Added tests to hit channels and services configuration exceptions

    Revision: 4494
    Author: [email protected]
    Date: 2009-01-12 16:12:09 -0800 (Mon, 12 Jan 2009)
    Log Message:
    Added tests to hit channels and services configuration exceptions
    checkintests: passed
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/DuplicateIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/DuplicateIdTest/error.t xt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/DuplicateIdTest/service s-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/InvalidIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/InvalidIdTest/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/channels/InvalidIdTest/services- config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/BadDefaultChannelTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/BadDefaultChannelTest/e rror.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/BadDefaultChannelTest/s ervices-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefTest/error. txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefTest/servic es-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefaultAdapter Test/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefaultAdapter Test/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/DuplicateDefaultAdapter Test/services-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/messaging-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/IncorrectRootElementTes t/services-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidAdapterIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidAdapterIdTest/er ror.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidAdapterIdTest/se rvices-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidIdTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidIdTest/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/InvalidIdTest/services- config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/NoClassAttrTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/NoClassAttrTest/error.t xt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/services/NoClassAttrTest/service s-config.xml

    my connectivity is okay, I'm getting errors from domain controller itself, I checked and the network is okay, but  for the record here is my ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : server
       Primary Dns Suffix  . . . . . . . : ***.tk
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : ***.tk
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connectio
    n
       Physical Address. . . . . . . . . : 00-0C-29-32-7E-79
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv4 Address. . . . . . . . . . . : 213.233.***.***(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 213.233.***.1
       DNS Servers . . . . . . . . . . . : 127.0.0.1
       NetBIOS over Tcpip. . . . . . . . : Enabled

  • FPM configuration

    Hi,
    I am new to WDA and trying to work on FPM. Can anyone suggest me a good online course/material on FPM confuguration which i  cn use a reference for FPM configuration.
    Regards

    Hi,
    There is no online course material . There is fairly a good Developers guide and plenty of demo applications available.
    see the scn forum for FPM [Floorplan Manager (FPM) Web Dynpro ABAP [original link is broken]|Floorplan Manager (FPM) Web Dynpro ABAP [original link is broken]]
    Developers guide [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f3cfd2-46d0-2b10-b3ab-eabf3452cc50]
    See the demo applications in the package apb_fpm_demo

  • [svn] 4422: Add configSuite tests to cover a few configuration exceptions.

    Revision: 4422
    Author: [email protected]
    Date: 2009-01-07 10:13:54 -0800 (Wed, 07 Jan 2009)
    Log Message:
    Add configSuite tests to cover a few configuration exceptions.
    checkintests: passed
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/NonExistentClassTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/NonExistentClassTest/e rror.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/factories/NonExistentClassTest/s ervices-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/Invali dClusterMessageRoutingTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/Invali dClusterMessageRoutingTest/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/properties/serverSettings/Invali dClusterMessageRoutingTest/services-config.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/InvalidTokenTest/
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/InvalidTokenTest/error.tx t
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/tokens/InvalidTokenTest/services -config.xml

    Hi Scott,
    I'm not sure I get all of what the plugin that "provides an EntityManagerFactory via OSGI plugin" is doing, but it looks like it is assuming to get injected, and I saw further down that you are using DS, so are you expecting DS to inject it?
    Assuming you are getting an EMF injected as you expect then the output log should show the entity classes that are getting processed. Set the eclipselink.logging.level to FINEST to get all of the config info, and set the GEMINI_DEBUG property described here and then please post that output. If it is too big then just attach it as a file.
    A couple things to fix:
    - The examples from the EclipseLink wiki are for using the obsolete native EclipseLink OSGi support. They should be ignored.
    - org.eclipse.persistence.jpa.equinox, org.eclipse.persistence.jpa.equinox.weaving, and org.eclipse.persistence.jpa.osgi JARs should not be installed or used with Gemini. They were for the obsolete OSGi support and are no longer used.
    A couple of style suggestions:
    - Don't ever initialize an id variable in place, particularly one that is supposed to be auto-generated.
    - You should not include both a Require-Bundle as well as an Import-Package for the same packages. It is confusing and error-prone.
    -Mike

  • Reuse FPM configuration in another webdynpro component

    Hello,
    I would like to define the navigations and buttons in one component configuration . And then use this  in another webdynpro component.  As the buttons/navigation is applicable to multiple requirements. So I would like to reuse it.
    I tried to do this using the developer's guide (7.0 , EhP2). But I am getting a dump
    'The current application triggered a termination with a short dump ' .
    Not sure if I am doing some thing wrong. Any ideas in this regard would be helpful.
    method Web DynproDOINIT .
    data: lo_usage type ref to if_Web Dynpro_component_usage,
    ls_conf_key type Web Dynproy_config_key.
    lo_usage = Web Dynpro_this->Web Dynpro_cpuse_fpm_usage( ).
    if lo_usage->has_active_component( ) = abap_true.
    lo_usage->delete_component( ).
    endif.
    ls_conf_key-config_id = u201CID configuration of FPM componentu201D.
    * recreate component using new configuration ID
    try.
    (C) SAP AG Floorplan Manager ABAP - Developeru2019s Guide 185
    Preliminary Version
    call method lo_usage->create_component
    EXPORTING
    component_name = 'FPM_OIF_COMPONENT'
    configuration_id = ls_conf_key.
    catch cx_Web Dynpro_runtime_api .
    endtry.
    Thanks alot
    Saujanya

    Saujanya wrote:
    Hello,
    >
    >
    > I would like to define the navigations and buttons in one component configuration . And then use this  in another webdynpro component.  As the buttons/navigation is applicable to multiple requirements. So I would like to reuse it.
    >
    > I tried to do this using the developer's guide (7.0 , EhP2). But I am getting a dump
    > 'The current application triggered a termination with a short dump ' .
    >
    > Not sure if I am doing some thing wrong. Any ideas in this regard would be helpful.
    >
    >
    > '
    >
    method Web DynproDOINIT .
    > data: lo_usage type ref to if_Web Dynpro_component_usage,
    > ls_conf_key type Web Dynproy_config_key.
    > lo_usage = Web Dynpro_this->Web Dynpro_cpuse_fpm_usage( ).
    > if lo_usage->has_active_component( ) = abap_true.
    > lo_usage->delete_component( ).
    > endif.
    > ls_conf_key-config_id = u201CID configuration of FPM componentu201D.
    > * recreate component using new configuration ID
    > try.
    > (C) SAP AG Floorplan Manager ABAP - Developeru2019s Guide 185
    > Preliminary Version
    > call method lo_usage->create_component
    > EXPORTING
    > component_name = 'FPM_OIF_COMPONENT'
    > configuration_id = ls_conf_key.
    > catch cx_Web Dynpro_runtime_api .
    > endtry.
    >
    > Thanks alot
    > Saujanya
    if your actual coding is like as it is above then it will give dump. For example
    ls_conf_key-config_id = u201CID configuration of FPM componentu201D.
    You need to replace the u201CID configuration of FPM componentu201D with the actual component configuration id.

  • FPM Configuration ID Determined by User Role

    Hey All,
    Sorry for the naivete of this question, should be a quick one. I have about 10 hours experience in Webdynpro and FPM. I'm working on just creating a copy of the LO_OIF_MAIN_APP and doing a deep copy of the configuration IDs. Everything works great, easier than when I tried this about five years ago. Now I have a config ID of my own (ZLO_OIF_SDOC_APP_CP) that has my own changes in it. However, when I launch NWBC I get the canned version and not mine. Of course, I'm missing a tie here but I can't seem to find it. What ties this to my user-id? I've deeply searched the likely tie, that being the role of SAP_SR_INT_SALES_REP_5...no luck. My end goal is to create three distinct configurations of the Sales Order Interface for different Sales Order users. One for Returns, one for Credits and one for Orders. How do I tie them to the user-id? What simple component am I missing?
    Thanks for your help!
    Greg

    Hi Greg,
    Please replace the WD object LO_OIF_MAIN_APP with your custom application in role  SAP_SR_INT_SALES_REP_5 as below
    Hope this helps you.
    Regards,
    Rama

  • OSB configuration exception

    Hello,
    I am getting following exception when creating a OSB configurations jar file using ant script.
    [java] java.io.FileNotFoundException: alsbdebug.xml (Permission denied)
    [java]      at java.io.FileOutputStream.open(Native Method)
    [java]      at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    [java]      at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
    [java]      at com.bea.wli.sb.debug.ALSBDebug.getDebugFlagsDocument(ALSBDebug.java:487)
    [java]      at com.bea.wli.sb.debug.ALSBDebug.flags(ALSBDebug.java:454)
    [java]      at com.bea.wli.sb.debug.ALSBDebug.getALSBDebuggerDebugLogger(ALSBDebug.java:393)
    [java]      at com.bea.wli.sb.debug.ALSBDebugLoggerService.<init>(ALSBDebugLoggerService.java:41)
    [java]      at com.bea.wli.sb.debug.ALSBDebugLoggerService.init(ALSBDebugLoggerService.java:84)
    [java]      at com.bea.alsb.core.internal.config.service.EclipseALSBStarter.initConfigService(Unknown Source)
    [java]      at com.bea.alsb.core.internal.config.service.AlsbConfigService.start(Unknown Source)
    [java]      at com.bea.alsb.core.AlsbCore.start(Unknown Source)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
    [java]      at java.security.AccessController.doPrivileged(Native Method)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
    [java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
    [java]      at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
    [java]      at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
    [java]      at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
    [java]      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
    [java]      at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
    [java]      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
    [java]      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    [java]      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
    [java]      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [java]      at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
    [java]      at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
    [java]      at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
    [java]      at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
    [java]      at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
    [java]      at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    [java]      at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    [java]      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)
    [java]      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    [java]      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    [java]      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    [java]      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:597)
    [java]      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    [java]      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    [java]      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    [java]      at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
    I am unable to find the file called "alsbdebug.xml" , Can someone tell me where is this file located ?
    Thanks & Regards,
    Prashant,

    Hi Prashant,
    You may find alsbdebug.xml inside your domain home i.e. $Middleware_Home\user_projects\domains\<Domain_Name> directory.
    Regards,
    Anuj

Maybe you are looking for

  • Error message in user Exit

    Hi friends, Iam working on sone userexit in tcode Ko01 . actually  i have to through the error message ...break point comes to that point it is not throughting that message...the message format i have used is MESSAGE msgtypemsgnumber(messageid)   WIT

  • Is it possible to create WEB SERVICE in SAP 4.7

    Hi guys, is it possible to create WEB SERVICE in SAP 4.7 ? i want to make a FM as web service enabled. plz advice. Regards pabi

  • Dead MacBook : nothing on screen , flashing status light (6 times)

    Hello My Dad has a MacBook (early 2006) which worked flawlessly until it did not boot one morning. Now he has a black screen, nothing when powered up except, if you maintain power pressed, 6 times flashing status light. - Restoration CD did not do an

  • How to burn a Deluxe album in iTunes 10

    I have a Deluxe album that I want to burn, but I can't figure out how to get the individual tracks to show...or if there's a different workflow. The album shows up as 1 item, and double clicking on that launches a new view that has songs and videos.

  • Q: ISE 1.2 Profiling

    Hi Guys, Good Day! I would like to ask how can I enable profling on Apple devices so that when the device connects over the WLAN, the ISE will determnined if the Apple is an iPad or an iPhone because my setup right now is that regardless if the devic