How to use debug my jdevloper devloped jsp applications using tomcat 4.0?

hello,
how to use debug my jdevloper devloped jsp applications using tomcat 4.0?
how to run with using tomcat path with browser?
can any one help?
thanks
pullareddy

Hi Pullareddy,
Charles' answer will work for Servlets in Tomcat, but debugging JSPs is a bit more complicated than debugging Servlets.
Here's what you need to do:
(I don't have Tomcat, so I don't know the details of Tomcat configuration files and I can't guarentee that Tomcat provides the flexibility so that you can configure it for debugging JSPs. Each application server is configured a bit differently. Hopefully you can adjust the following instructions to Tomcat.)
1. You need to replace Tomcat's JSP engine with OJSP and you need to setup debugging parameters for OJSP.
This is not specifically in the JDev documentation, but you may be able to apply the information found in the topic "Remote Debugging in OC4J".
Here are some tips:
A. You'll probably need to specify the following jars in some Tomcat config file: ojsp.jar, ojsputil.jar, xmlparserv2.jar, ojc.jar, and jdev-rt.jar.
B. The OJSP class name is oracle.jsp.runtimev2.JspServlet.
C. The debug parameters are:
debug_mode = true
developer_mode = true
encode_to_java = true
emit_debuginfo = true
jspjavacompiler = oracle.jdevimpl.jsp.JspOjcCompiler
2. You need to make Tomcat start the Java command with debugging options. (This is what Charles was talking about. One of the debug options is -XXdebug). This is in the JDev documentation in the topic "Starting a Java Process in Debug Mode". Please read that documentation help topic.
3. You need to delete any old .java or .class files which were created in the past for your JSP. If you leave old .java or .class files around, then the debugger may not be able to stop at breakpoints in your JSPs. So, be sure to clean up old files.
4. Set your project settings for remote debugging. This is on the Debugger - Remote panel in the Project Settings dialog box. You probably want either Attach to OJVM or Attach to JPDA. Which radio button you choose depends on what command line options you specified in step 2.
-Liz

Similar Messages

  • How to solve the error while  Deploy a BC4J JSP Application using tomcat,

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
    at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
    at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
    at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
    at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
    at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
    at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
    at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    I had very similar problems with adding the correct JDeveloper .jar files to Tomcat's lib folder, but did eventually resolve my issues.
    The problem I am having now, however, is the following error message:
    Error Message: oracle.jbo.html.RequestParameters.addParameter(Ljava/lang/String;Ljava/lang/String;)V
    Yes, I have deployed the bc4jhtml.jar file from JDeveloper to Tomcat\common\lib!
    My web-app is a very simple BC4J JSP application. I have one BC4J component in its own project and JAR file, and one JSP referencing that BC4J component - I deploy the BC4J JAR along with the WAR file from the JSP project. Needless to say, the JSP works fine within JDeveloper..!
    I'm using JDev 9.0.3 and Tomcat 4.1.12. Does anyone have any suggestions?
    Thanks,
    S.

  • How to use central output server in JSP application

    Dear All,
    We have developed a jsp application which is running on JBoss.We want to create receipts in PDF format.For this we are using central output server.Our approach is as follows:
    When request comes from the user, we are generating .dat file by fetching data from the Oracle database depending upon credentials and then pushing this file into data folder of Central output server.From there we are waiting for PDF file in predefined path.Here we found this is asynchronous way of producing receipts.
    Is there any other way that is synchronous or the way we are approaching is the only way of doing it.A sample would be of immense help.
    Note:The concurrent hits would be around 5000 in a peak hour.Any help would be highly appreciated.

    I don't think you can get things to operate in a synchronous manner. You have one application - perhaps running on a totally separate server - feeding data files to a different application. The only way to make it even semi-sychronous would be to throttle the JSP application in some way to prevent it from placing a new file into Central's data folder while there was already one there.
    I assume your problem is knowing which PDF belongs to which user. If that is the case you could send some type of unique identfier (IP#?) as a "job" parameter that would then be used as the specific PDF file name instead of letting Central create a random file name.

  • Security in an jsp application using BIBeans

    Hi all,
    We are developing a system with BIB to access OLAP 9.2.0.5. We need to implement some access rules at database level, i.e. user 1 can read levels 1, 2 and 3 of a hierarchical dimension, but user 2 can only read level 3. We do not know how to pass this database rules to BI catalog user, or replace this BI user with database connection information, to have more than one different user connection accessing the system. Anyone can help me?
    thanks in advance,
    Alexandre Martins - Commit Consultores - Brazil

    We are developing a jsp application with TAG libraries
    Ex.:
    <orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
    <orabi:Presentation id="untitled1_Presentation1" location="Presentation1" />
    </orabi:BIThinSession>
    <FORM name="BIForm">
    <!-- Insert your Business Intelligence tags here -->
    <orabi:Render targetId="untitled1_Presentation1" parentForm="BIForm" />
    <%-- The InsertHiddenFields tag adds state fields to the parent form tag --%>
    <orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="BIThinSession1" />
    </FORM>
    This application hás a login screen, where the user will pass his database username and password, which corresponds equally to a user of same name at the BI Beans catalog.
    Here is the moment that we face the Problem: We can not change the user to switch to the database user. The catalog user is switched by BIUser().
    Workarounds performed:
         1 – We created a ConnectionProvider class to establish the connection with the properties and another class - AuthenticationProvider - to pass parameters to the connection.
              Problem: Could not pass parameters to Application Authentication class. Tried to force application to connect to authentication or vice-versa to pass username that was informed at login screen but this does not work.
         Ex.: trying to set this classes at configuration file (.xml).
         User “ALEX” has database access (OLAP , MOLAP) and catalog access .
    public class AuthenticationProvider implements oracle.dss.security.AuthenticationProvider {
    public void authenticate(Hashtable properties) throws BISecurityException {
    properties.put(“user_name”, “ALEX”);
    properties.put(“password”, “ALEX_1”);
    public class ConnectionProvider implements oracle.dss.security.ConnectionProvider {
    public Object connect(Hashtable properties) throws BISecurityException {
    Connection conn = null;
    try {
    DriverManager.registerDriver(new OracleDriver());
    String sUSER = properties.get("user_name").toString();
    String sPW = properties.get("password").toString();
    String connStr = "";
    if(properties.get("jdbctype").equals("thin")) {
    connStr = "jdbc:oracle:thin:@" +
    properties.get("hostname") + ":" +
    properties.get("port") + ":" +
    properties.get("sid");
    conn = (Connection)DriverManager.getConnection(connStr, sUSER, sPW);
    catch(Throwable t) { throw new BISecurityException("Erro na conexão!", t); }
    return conn;
         2 – Tried to get configuration through session searching all the connections and changing user to desired connection (in this case “thin”, MM.MDM) and reconnecting or disconnecting and reconnecting again.
    At this point, debugged the database connection and could see that username actually changed, but when the program reached the open presentation TAG received an error because TAG could not understand the connection.
         Ex.: This is in between session TAG
    <orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
    <%
    ManagerFactory mf = BIThinSession1.getManagerFactory();
    MetadataManager mdm = null;
    if (mf != null) {
    mdm = (MetadataManager) mf.lookupManager(
    ManagerFactory.METADATA_MANAGER, null, true);
    if (mdm != null) {
    try {
    int iAttachStatus = mdm.getAttachStatus();
    if ((iAttachStatus != MM.ATTACHED) &&
    (iAttachStatus != MM.ATTACHING))
    mdm.attach();
    Connection[] connectionArray = mdm.getConnections();
    if (connectionArray != null) {
    int count = connectionArray.length;
    for (int index = 0; index < count; index++) {
    String driverType = connectionArray[index].getDriverType();
    if ( (driverType != null) &&
    (driverType.equals(MM.MDM)) &&
    (connectionArray[index].isConnected()) ) {
    if(driverType.equals(MM.MDM)) {
    connectionArray[index].setUsername("ALEX");
    connectionArray[index].setPassword("ALEX_1");
    connectionArray[index].reconnect(connectionArray[index].getPropertyBag());
    catch (Exception ex) {
    ex.printStackTrace(); // just for demo purpose
    %>
    <orabi:Presentation id="untitled1_Presentation1" location="Presentation1" />
    </orabi:BIThinSession>

  • NW7.10: How to create NetWeaver 7.10 Mobile JSP Application

    Dear Colleagues,
       I would like to have help documents or external links, to, how to create a mobile JSP application with all the steps neccessary for the same.
      Thanks in advance.
    Regards, Siraj

    Hi,
    You can take reference from SAP Mobile Development Kit (MDK) which is integrated in SAP NWDS with MI plugin. There a complete reference is given along with the sample code.
    Below are some links for further reference:-
    http://help.sap.com/saphelp_nw04/helpdata/en/29/3255c4ef7bbc4fbe4287aa1a0557da/frameset.htm
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bc48bf90-0201-0010-5a95-b671fea8f2b4
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a3/583aef1baa6d42b22bedcb4dec5db9/frameset.htm
    http://www.sdn.sap.com/irj/sdn/nw-mobile71#section2
    Hope that this information would be useful for you guys to start with the SAP MI.
    Regards,
    Saurabh Mathur

  • Using MS-Access database in JSP application

    Hi, all. I am new in JSP world. I have an Access database and I�d like to access it in my JSP Application.
    Does anybody know I could do this?
    TIA
    Fernando

    Define your database as an ODBC source and then use the JDBC/ODBC bridge. It's actually only a few lines of code - see http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html

  • Use of xml syntax for jsp's in tomcat 4.0.1?

    hi,
    i am playing around with jsp's on tomcat 4.0.1. when i use xml tags in my jsp's, it appears that tomcat ignores them, eg:
    <jsp:scriptlet>
    code
    </jsp:scriptlet>
    Tomcat does not seem to be running the code - it just prints it out on the screen.
    If I use
    <%
    code
    %>
    it works fine. This also seems to happen for other XML tags, such as <jsp:directive.page>
    Does Tomcat support JSP documents (ie: where all jsp tags are XML?). If it's Servlet 2.3 compliant, I figured it would have to.
    Perhaps I am just doing something foolish?
    Guidance is appreciated.
    Thanks,
    Steve

    Not anything definitive, although a colleague told me that apparenlty not all tags were supported by Tomcat. I suppose there are a few options such as looking at the Jasper source code.
    Steve

  • How to deploy JSP application using inbuilt OC4J of Oracle BPEL??

    I have to combine JSP pages with BPEL and for that i have to deploy applications with the inbuilt OC4J i dont know from where to deploy the whole application and how to write build.xml for deploying using obant

    You can deploy your application to the Oracle Bpel Server by specifying a new Application Server connection that points to yout LocalBpelServer.
    You don't need to write a build.xml file, you can just use the Deployment Descriptor functionality of JDeveloper which is much more easier than using the obant.
    The process of automatically deploying your UI-application to the Oracle Bpel Server, without any manual steps or restaring the server, is fully documented on the following blog: http://iadvise.blogspot.com/

  • How to do Front End Validation for JSP Forms using Java Script with 9iJD...

    How to do Front End validation using 9iJD. Any wizard is there. We need to do the val. using Java Script. If its not available, please include that in the Production Release.

    Thanks a lot. When is the Production Release is scheduled. Please tell us whether itll be available for Free Download. Bec, we couldnt buy. Bec, if its working fine with all the options without any bug only, we can ask our company to buy 9iJD by stating the advantages. Just explain us.

  • Accessing ApplicationModule in Struts/JSP application using JDev 11g TP3

    Hello All,
    I am using Oracle JDeveloper 11g Technical Preview 3
    I got one "AppModule" created under my (Struts/jsp) project "MODEL" structure.
    Now, how can I access that ApplicationModule in my Action Class
    BC4JContext bc4jContext = BC4JContext.getContext(request) is not working, returns null everytime,
    Can anyone please let me know, how can I achieve this?
    Thanks
    user625610

    Hi don't know your name,
    if you get null from BC4JContext.getContext(request) you should check you configuration. Check your web.xml file where you should see something like...  <servlet>
        <servlet-name>action</servlet-name>
        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
        <init-param>
          <param-name>mapping</param-name>
          <param-value>oracle.jbo.html.struts11.BC4JActionMapping</param-value>
        </init-param>
        <init-param>
          <param-name>BC4JDefinition</param-name>
          <param-value>your_model_project_name</param-value>
        </init-param>
    ...The init parameter BC4JDefinition is used to set up the context in the BC4JRequestProcessor class. My guess is that you don't have this parameter in your web.xml (or are pointing to a wrong name). the value should be the name of the cpx file without the .cpx you have in your viewcontroller project.
    If you have migrated your project from JDev 10.1.2 you should check the 10.1.2 web.xml against the 11TP3 web.xml after the migration. The servlet part should be identical.
    Timo

  • How to get pop up window in mobile application using jquery

    i am trying to implement jquery in my mobile application.iam not getting how to get a popup window

    Ram,
    Write ur code in event <b>AT USER-COMMAND.</b> Create ur own screen and call that screen for example call screen 100 at 10 10. And after entering the date call the secondary screen.
    AT USER-COMMAND.
    Effect
    Event in interactive reporting
    This event is executed whenever the user presses a function key in the list or makes an entry in the command field.
    Some functions are executed directly by the system and thus cannot be processed by programs. These include:
    PICK
    See variant AT LINE-SELECTION
    PFn
    See variant AT PFn
    System command
    System command
    PRI
    Print
    BACK
    Back
    RW
    Cancel
    P...
    Scroll function (e.g.: P+ , P- , PP+3, PS-- etc.)
    Instead of this functions, you can use the SCROLL statement in programs.
    Since many of these system functions begin with "P", you should avoid using this letter to start your own function codes.
    Otherwise, the effect is as for AT LINE-SELECTION; also, the current function code is stored in the system field SY-UCOMM.
    Regards,
    Prakash.

  • How to get Sharepoint OAuth clientId for Java application used in any tenant

    I'm developing a web application for Office365 using the SharePoint 2013 REST service.
    This app is hosted by my web server. The development language is Java.
    I plan that users in any tenant use my app via OAuth.
    How can I register my app to get clientId for OAuth?
    I attempted to register my app by seller dashboard, but it seemed like register applications
    to seller dashboard should be developed by .NET. And I couldn't use appregnew.aspx
    because cilentId from appregnew.aspx could use only in one tenant.
    Please let me know any better way to register my app.
    Thanks,
    Tarou

    Hi,
    SharePoint 2013 provide three types of app, SharePoint-hosted app, Provider-hosted app and Autohosted app. Which one do you used?
    Here is an article from MSDN for your reference:
    Guidelines for registering apps for SharePoint 2013
    http://msdn.microsoft.com/en-us/library/office/jj687469(v=office.15).aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to send data from a web dypro application using workflow

    Hi All,
    I am working on a web dynpro application where the user will enter the header and item details for a FI document to be posted. Once the user enters the data the workflow should initiate and should also send the data across to the approver to approve. To initiate the workflow I am using the function module 'SAP_WAPI_START_WORKFLOW' and it's working fine and generating a uniquw workflow item id. Now my main concern is how to send the data across from web dynpro application through the workflow. I have my data in three internal tables: 1. header table. 2. G/L table and 3. Currency table, I am capturing all this data from the web dypro screen entered by the user. Right now I have the following code in my web dypro application.
    METHOD execute_bapi_acc_document_post .
      DATA: return TYPE TABLE OF bapiret2.
      DATA: wa_return LIKE LINE OF return.
      DATA lo_bapi_acc_document_po TYPE REF TO if_wd_context_node.
      DATA lo_changing TYPE REF TO if_wd_context_node.
      DATA lo_accountgl TYPE REF TO if_wd_context_node.
      DATA lo_currencyamount TYPE REF TO if_wd_context_node.
      DATA lo_importing TYPE REF TO if_wd_context_node.
      DATA lo_documentheader TYPE REF TO if_wd_context_node.
      DATA lo_element TYPE REF TO if_wd_context_element.
      DATA lt_elements TYPE wdr_context_element_set.
      DATA ls_c_documentheader TYPE if_componentcontroller=>element_documentheader.
      DATA lt_c_accountgl TYPE if_componentcontroller=>elements_accountgl.
      DATA ls_c_accountgl LIKE LINE OF lt_c_accountgl.
      DATA lt_c_accountgl_cp TYPE if_componentcontroller=>elements_accountgl.
      DATA lt_c_currencyamount TYPE if_componentcontroller=>elements_currencyamount.
      DATA ls_c_currencyamount LIKE LINE OF lt_c_currencyamount.
      DATA lt_c_currencyamount_cp TYPE if_componentcontroller=>elements_currencyamount.
      DATA wa_c_currencyamount type bapiaccr09.
    CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
      EXPORTING
        TASK                      = 'TSXXXXXXXXXX'            
       USER                      = sy-uname
    IMPORTING
       RETURN_CODE               = L_RETURN_CODE
       WORKITEM_ID               = LV_WIID
    TABLES
    *   INPUT_CONTAINER           = lt_input_container
       MESSAGE_LINES             = lt_message_lines
       AGENTS                    = ls_agents
      lo_bapi_acc_document_po = wd_context->get_child_node( wd_this->wdctx_bapi_acc_document_po ).
      lo_changing = lo_bapi_acc_document_po->get_child_node( wd_this->wdctx_changing ).
      lo_accountgl = lo_changing->get_child_node( wd_this->wdctx_accountgl ).
      lo_currencyamount = lo_changing->get_child_node( wd_this->wdctx_currencyamount ).
      lo_importing = lo_bapi_acc_document_po->get_child_node( wd_this->wdctx_importing ).
      lo_documentheader = lo_importing->get_child_node( wd_this->wdctx_documentheader ).
      lo_element = lo_documentheader->get_element( ).
      lo_element->get_static_attributes(
        IMPORTING static_attributes = ls_c_documentheader ).
      lt_elements = lo_accountgl->get_elements( ).
      LOOP AT lt_elements[] INTO lo_element.
        lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_accountgl ).
        INSERT ls_c_accountgl INTO TABLE lt_c_accountgl[].
      ENDLOOP.
      lt_c_accountgl_cp = lt_c_accountgl[].
      lt_elements = lo_currencyamount->get_elements( ).
      LOOP AT lt_elements[] INTO lo_element.
        lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_currencyamount ).
        INSERT ls_c_currencyamount INTO TABLE lt_c_currencyamount[].
      ENDLOOP.
      lt_c_currencyamount_cp = lt_c_currencyamount[].
      READ TABLE lt_c_currencyamount INTO ls_c_currencyamount INDEX 2.
      ls_c_currencyamount-amt_doccur = ls_c_currencyamount-amt_doccur * '-1.0000'.
      MODIFY lt_c_currencyamount FROM ls_c_currencyamount INDEX 2.
      CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
        EXPORTING
          documentheader = ls_c_documentheader
        TABLES
          accountgl      = lt_c_accountgl
          currencyamount = lt_c_currencyamount
          return         = return.
    ENDMETHOD.
    Please suggest.
    Thanks,
    Rajat
    I am not sure if this falls in webdynpro or workflow threads.. so I am posting it here also
    Edited by: rajatg on Jun 23, 2010 9:28 PM

    Dear Colleague,
    You have different method to send parameters to Workflow.
    1. Method
    Container Set Element
    DEFINE SWC_SET_ELEMENT.
      CALL FUNCTION 'SWC_ELEMENT_SET'
        EXPORTING
          ELEMENT   = &2
          FIELD     = &3
        TABLES
          CONTAINER = &1
        EXCEPTIONS
          OTHERS    = 1.
    END-OF-DEFINITION.
    Set the data into Workflow container
        SWC_SET_ELEMENT IT_CONTAINER 'parameter1' lv_parameter1.
    Start the Workflow
        CALL FUNCTION 'EWW_WORKFLOW_START'
          EXPORTING
            X_TASK          = 'WS90000001'   " your wf
          IMPORTING
            Y_WORKFLOW_ID   = WF_ID " your workitem id
          TABLES
            X_CONTAINER     = IT_CONTAINER
          EXCEPTIONS
            INVALID_TASK    = 1
            NO_ACTIVE_PLVAR = 2
            START_FAILED    = 3
            GENERAL_ERROR   = 4
            OTHERS          = 5.
    2. Method,
    You can also add your parameters direly to a container,
      DATA: lt_simple_container TYPE TABLE OF swr_cont,
            ls_simple_container TYPE swr_cont.
      ls_simple_container-element = 'parameter1'.
      ls_simple_container-value = lv_parameter1.
      APPEND ls_simple_container TO lt_simple_container.
      CALL FUNCTION 'SAP_WAPI_WRITE_CONTAINER'
        EXPORTING
          workitem_id      = WF_ID " your workitem id
          do_commit        = 'X'
        TABLES
          simple_container = lt_simple_container.
    Bulent.

  • Using ReportViewer Controls in a jsp application calling Reporting Services using Web Services

    Hi,
     I am invoking RS web services to render reports, using Apache Axis to generate stub classes from Reporting Service WSDL.
    Please let me know if I can integrate Report Viewer control in the jsp where I am writing the report output. Else do I have to create my own custom tags simulating ReportViewer functionality.

    did anyone of you have tried it or not?
    i need this thing tobe confirmed. i have drilled the google and others.but can't find other than
    http://www.mainsoft.com/products/SQLServerReportingServicesConnectorforWPS.aspx

  • How can I improve performance for BC4J/JSP-application

    Hi,
    I have developed a JSP-Applikcation with the master-detail views. This Application has been implemented
    as SSO enabled web portlet into portal. Whenn I click on a row retrieved from the master view (Master.jsp), it take 15 seconds
    until the associated data in detail view will be displayed on the other window(Detail.jsp). The master table has about 2500 records and detail table about 7000. (Other case: it takes 2 seconds for 162 rows (master) and 228 rows (detail) respectively)
    In Master.jsp I set rangesize = "10" to reduce data loading time.
    ======================== master.jsp =================================
    <jbo:DataSource id="dsMaster appid=testAppId viewobject="MaterView" rangesize="10">
    <a href="detail.jsp?RowKeyValue=<jbo:ShowValue datasource="dsMaster" dataitem="RowKey"/>">
    Here Click
    </a>
    ==================================================================
    Because all records from master view have firstly to be retrieved to locate right row, I set rangesize="-1" in detail.jsp. Consequently this leads to a lower performance.
    When rangesize="20" sets instead rangesize="-1", The performance is good, but the wanted Data from detail view are not displayed if the records of master view cliked on ist not in this range.
    ======================== detail.jsp ======================================
    <jbo:DataSource id="dsMaster appid=testAppId viewobject="MaterView" rangesize="-1">
    <jbo:RefreshDataSource datasource="dsMaster">
    <jbo:Row id="msRow" datasource="dsMaster" action="Find" rowkeyparam="RowkeyValue">
    <jbo:dataSource id="dsDetail" appid="testAppId viewobject="DetailView">
    ======================================================================
    Is my programming logic not to be suited for the high performance?
    How can I improve the performance, if it is so?
    Many thanks for your help.
    regards,
    Yoo

    http://forums.adobe.com/thread/1369260?tstart=0

Maybe you are looking for