Setting DynaActionForm before loading the form

Hi, all,
There are many tutorials on how to set a form property to something in an action class after a form is submitted. However, how do you set items in a DynaActionForm in an action class before the jsp page is loaded? I have experimented with the following code in my action class, but it is still not getting set. Please tell me if you see anything wrong with my code or if I am barking up the wrong tree:
      FormBeanConfig formBeanConfig = mapping.getModuleConfig().findFormBeanConfig("shipForm");
      DynaActionFormClass dynaClass = DynaActionFormClass.createDynaActionFormClass(formBeanConfig);
      DynaValidatorForm thisForm = (DynaValidatorForm) dynaClass.newInstance();
      thisForm.set("shipType", "generic"); It seems that I have just made a DynaActionForm in the above code, but how do I make it THE form for the following page?
Thanks!

I have found some code out on the www, but It gives me an error:
      ModuleConfig moduleConfig = RequestUtils.getModuleConfig(request, getServlet().getServletContext());
      FormBeanConfig formConfig = moduleConfig.findFormBeanConfig("shipForm");
      DynaActionFormClass dynaClass = DynaActionFormClass.createDynaActionFormClass(formConfig);
      DynaActionForm thisForm = (DynaActionForm)dynaClass.newInstance();
      thisForm.set("shipType", "generic");
      request.setAttribute(mapping.getAttribute(), thisForm);  // gives error at this line!
// Partial Stacktrace:
java.lang.IllegalArgumentException: Cannot call setAttribute with a null name
     org.apache.coyote.tomcat5.CoyoteRequest.setAttribute(CoyoteRequest.java:1439)
     org.apache.coyote.tomcat5.CoyoteRequestFacade.setAttribute(CoyoteRequestFacade.java:349)
     com.cdmtech.icodesweb.struts.action.ShipMaintenanceDispatchAction.selectShipAction(ShipMaintenanceDispatchAction.java:151)
        ...Right track? Wrong tree?

Similar Messages

  • Can I edit the rpt file & change the datasource before loading the report?

    We are an ISV and our application has a lot of reports.  Our reports use a SQL Server database as the data source and each SQL Server at our customer sites has a different name.
    In our testing we have determined that ReportDocument.Load tries to connect to the SQL Server that is saved in the RPT.  If it can't fine the SQL Server saved in the RPT the load take about 60 seconds while it is waiting for the SQL Server Connection to time out.
    We are using the Visual Studio 2008 version of Crystal Reports.  This did not seem to be a problem with VB6/CR8.5.
    We would like to edit the RPT and change the data source to the appropriate SQL Server before we call ReportDocument.Load.
    Is it possible to edit the rpt file and change the data source before loading the report?
    Or is there some way to tell Crystal not to try connecting to the DB
    during the report.load?
    In our case we will NEVER use the data source that is saved in the RPT, we will always change the data source using ApplyLogOnInfo.
    Thanks

    HI Todd,
    You Can Not edit the report document before ReportDocument.Load() because if you dont load the report then you dont have anything to Edit
    But as far as changing the datasource is concerned you can change that at runtime.
    For changing the datasource following code will help you if both databases have a same schema :
    Code for changing the database
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    crConnectionInfo.ServerName = "SERVER";
    crConnectionInfo.DatabaseName = "DATABASE";
    crConnectionInfo.UserID = "USERID";
    crConnectionInfo.Password = "PASSWORD";
    // Loop through the ReportObjects in a report and find all the subreports
    foreach(ReportObject crReportObject in crReportDocument.ReportDefinition.ReportObjects)
         // Check the kind of the ReportObject, if it is a subreport
         // proceed. If not skip.
         if(crReportObject.Kind == ReportObjectKind.SubreportObject)
              // Get the SubReport in the form of a ReportDocument
              string sSubreportName = ((SubreportObject)crReportObject).SubreportName;
              ReportDocument crSubReportDocument = crReportDocument.OpenSubreport(sSubreportName);
              // Use a loop to go through all the tables in the main report
              foreach(Table crTable in crSubReportDocument.Database.Tables)
    // Get the TableLogOnInfo from the Table and then set the new
    // ConnectionInfo values.
    TableLogOnInfo crLogOnInfo = crTable.LogOnInfo;
    crLogOnInfo.ConnectionInfo = crConnectionInfo;
    // Apply the TableLogOnInfo
    crTable.ApplyLogOnInfo(crLogOnInfo);
    // Set the location of the database. This value will vary from database to
    // database.
    crTable.Location = "DATABASE.OWNER.TABLENAME" or crTable.Locations;
    The sample for doing this is available on support site.
    Thanks,
    Prasad

  • Unable to display Info path form using IE , The form cannot be displayed in the browser because the use of DOM storage has been disabled in the current browser settings. In order to load the form, DOM storage must be allowed.

    I have edited the default edit form for my Issue Tracking Tool using Info Path, But currently when I try accessing the form using IE 10 64x , I got the following error-
    “The form cannot be displayed in the browser because the use of DOM storage has been disabled in the current browser settings. In order to load the form, DOM storage must be allowed.”
    But using Firefox I was able to access the edit form , so can anyone advice on this please?
    Thanks

    . Tools > Internet Options > Privacy Tab > Advanced
    Check the over-ride box to Enable/Accept cookies. Click on Always allow session
    cookies.
    2. Clear Your Cache and Cookie Files
    If you are using an Internet Explorer browser, please follow these instructions to clear
    your cache and cookie files: Open your Internet Explorer browser.
    Tools > Internet Options > General > Browsing History
    Click Delete Browsing History.
    Delete Temporary Internet Files, Cookies and History Also under Browsing History,
    click Settings and make sure that your browser automatically checks for newer versions
    of stored pages. Click OK and restart your browser
     3. Pop-up Blockers
    Turn Off the firewall in IE.
    you can disable\enable it from below:
    http://webdevwonders.com/clear-dom-storage/
    Clear DOM Storage in Firefox:
    Select “Tools” -> “Clear Recent History”, open “Details”, check “Cookies” and select “Everything” as time range.
    ATTENTION: No other time range will clear the DOM Storage. Have a look at
    Mozillas documentation for further info.
    Disable DOM Storage in Firefox:
    Type “about:config” in your address bar and hit enter to view your internal browser settings. Scroll down to „dom.storage.enabled“, right click on it and hit „Toggle“ to disable the DOM Storage.
    Clear DOM Storage in Internet Explorer:
    Select “Tools” -> “Internet Options” -> “General” -> check “Delete browsing history on exit”, click on “Delete”, check “Cookies”, click on “Delete” once more and restart your browser afterwards.
    Disable DOM Storage in Internet Explorer:
    Select “Extras” -> “Internet Options” -> “Advanced” Tab -> Go to “Security” -> uncheck “Enable DOM-Storage”
    Clear DOM Storage in Chrome:
    Select “Tools” -> “Clear browsing data…”, check “Delete cookies and other site data”, select “Everything” from “Clear data from this period” and click on “Clear browsing data”.
    Disable DOM Storage in Chrome:
    Open “Options” and select “Under the Hood” Tab. Click on “Content settings…”, select “Cookies” and set “Block sites from setting any data”.
    If this helped you resolve your issue, please mark it Answered
    ok i did all these steps but still i am getting the same error,, i can not understand how SharePoint works better on firefox and chrome comparing to IE !!! so what i should do now , as all the edit forms that are customized using Info path can not be viewed
    on IE 10 64x !!!!

  • Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?

    Here is one solution:
    // mouse up action for submit button;
    function GetField(cName) {
    // get field object for cName field with error checking;
    var oField = this.getField(cName);
    if(oField == null) app.alert("Error accessing field named " + cName + "\nPleae verigy field name, spelling and capitalizeation.", 1, 0);
    return oField;
    } // end GetField function;
    var oPhone = GetField("phone");
    oPhone.required = oPhone.value == oPhone.defaultValue;
    var oEmail = GetField("email");
    oEmail.required = oEmail.value == oEmail.defaultValue;
    if(oPhone.required && oEmail.required) {
    app.alert("Missing required fields.", 1, 0);
    } else {
    app.alert("Submitting form", 3, 0);
    // additional code for submission;

  • Running OpenScript Application doesn't load the forms

    Hi,
    I'm new using OpenScript and I'm facing a problem.
    I need to create scripts to test a site that implement some Oracle Forms, I can open IE and use the site without problems, BUT when I run OpenScript to create the script, the application doesn't load the forms!!!
    After many attempts I found that someone changed the jvm.dll file of the JInitiator, I changed it again to the installation one, and I was able to see the form and recording the script, but when I play the script doesn't load the form!!!!
    If I take a look to the screenshots, I can see the forms I recorded.
    Now the change I did on the JInitiator only works from time to time!
    Finally when I'm using the site and it doesn't load the forms I see this error on the bottom of the page: "error: java.lang.NoClassDefFoundError: Activator"
    Anyone have an idea of what is happen and how to fix it?
    These are the versions I'm using:
    OpenScrip: 9.2.0.0 Production - Build ID: 2.5.0.0370
    JInitiator: 1.3.1.29
    IE: 7.0.5730.131C
    Edited by: Zyko on Jan 24, 2011 7:13 AM

    A screen shot from Mission Control might be enlightening.  If you can see the application window in Mission Control, what happens if you move it from one desktop to another? Or what happens if you eliminate one of the desktops?

  • Restrict Duplicate entry of record before saving the form

    Hi!!
    I need to validate duplicate entry of ITEM CODE before saving the FORM. Which means, if I have entered an ITEM CODE in a row, the same ITEM CODE should not be allowed to be entered in any other rows. It should throw an error message and should ask to enter another ITEM CODE instead. I did not get the correct logic from the threads.
    Regards
    Mitto

    hey i have a requirement that to restrict duplicate entry in both block(both multi record).the blocks are DEPT(MATER)
    EMP(DETAIL)
    the associated fieds in master block DEPT.DEPT_NO,in detail EMP.EMP_ID .
    I have done' Kevin D Clarke’s calculated item ' both in master and detail block
    its working fine for master block but in case of detail block its only respond to the current session(i.e. if the new value is inserted or save it will restrict another record to be inserted of that last record's value),it does not restrict duplicate value enter ,checking with other existing records(which are saved in earlier session,though after query it is shown on the form)
    can anyone guide me why its not working

  • Adobe validations of field before submit the form

    Hi forum
    I have an Interactive Form, but i can validate the fields before submit the form and display a popup message, is this possible ??
    Thnks
    Josué Cruz

    Hi josue,
    Use the regular button and for that in the click event write all the validation scripting and at the end use the following code
    In JavaScript: xfa.connectionSet.MyWSDLDataConnection.execute(0);
    In FormCalc: $connectionSet.MyWSDLDataConnection.execute(0)
    Regards
    Pradeep Goli

  • Why my screen is blinking just before launching the form?

    Hello
    I am developing an Adobe interactive form from LiveCycle designer from Webdynpro ABAP.
    I wrote some very very simple validation Java Script at the form fields level at INITIALIZATION event, fine.
    When i am launching the form in the browser (i mean, TESTing the webdynpro application in SE80), am getting couple of BLINKING popups.......at the same time, the screen also BLINKING.........finally, the form is launching!!
    Why am getting BLINKING (popups, laptop screen) just before launcing the form on the screen/browser? Any mistakes in Java Script? When i did/click CHECK SYNTAX button, i did not see any red issues(except couple of warning).
    Thank you

    Hello Srinivas,
        Even I see this on my screen several times. This might be because of any javascript error resulted from your script.
    To see this dialog box, you should enable your javascript debugger. Open Adobe Reader,got menu, Edit -> Preferences, click the javascript tab on the left hand
    side.
    Now on the right hand side,
    In Javascript section -- check Enable Acrobat Javascript.
    In Javascript debugger section -- check the button Show console on errors and messages.
    This should help you in displaying the javascript debugger. If you still dont see the debugger,
    put some syntax errors temporarily in your form initialize event javascript, try to open the form using adobe reader.
    If it still doesn't show, Use Ctrl - J to show the debugger.
    Regards,
    kc

  • How to use DDL-Operations in before processing the form

    I want to drop and create a sequence when i make a form with
    WEBDB at the part "before processing the form" where i can add a
    PL/SQL code in a varius text area.
    Sybille Krvnert

    not sure in webdb how to do that, but I think you can put the
    code in the before proccessing form and after processing form
    block. In portal that should work, or you can place code in the
    button events for the save/insert/update buttons to do that like
    this:
    create sequence .....
    doInsert;
    drop sequence ....

  • Validation of Item Values before saving the form

    Hi,
    I have requirement in Oracle Forms, we give header information as per the requirement and the lines info of the specific header. In lines whe have two feild as type and amount. If the type is 'E' then we need to sum up the amount value as credit and if type is 'F' we need to sum up of those feild values as Debit and before saving the form we need to check the sum of Credit and Debit is equal or not if equal then we should allow to save the form else it should not. We can have multiple lines under single header..Can any body help on this..Its very emergency..
    Thanks,
    Maggi.

    Hi,
    In Customer-exit ILOM0001 read table IMPT_BUF[] from sap stack. It contains all enteries of measuring points.
    Use below mentioned code in above exits for your reference.
    FIELD-SYMBOLS : <fs_impt> type ANY TABLE.
    data : tab_impt type TABLE OF impt.
    ASSIGN ('(SAPLIMR0)IMPT_BUF[]') to <fs_impt>.
    if sy-subrc is INITIAL.
      tab_impt = <fs_impt>.
    endif.
    table TAB_IMPT is filled wilth all entries of measuring point while creating and changing functional location.
    Thanks,
    Vijay

  • Image disappears before loading the webtemplate.

    Hello All,
    I made a BSP application with following code. I am using this BSP to display the webreports(Webtemplates(WAD)). And calling this BSP from the exteranl sytem using the URL "http://<bwsys>:8080/sap/bc/bsp/sap/<BSPapp>/default.htm" and here send the webtemplate as the parameter.
    The problem is "loading.gif" is visible for seconds and disappearing much before the webtemplate result display. I should show the "loading.gif", just before the output.
    Could you please check the below code, suggest me what i have to do for my requirement.
    Code for deafult.htm
    <%@page language="abap" %>
    <head>
    <link href="css/BSP.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <!-- loading image -->
      <br>
      <br>
      <br>
      <center>
         <font face="arial"><strong>
          Wait a moment .
         </strong></font>
         <p>
         <img src="images/loading.gif">
         </p>
      </center>
    <!-- loading image -->
    <form name='go_template'>
    <input type='hidden' name='OnInputProcessing(go)'>
    <form>
    <script>
    go_template.submit();
    </script>
    </body>
    Regards,
    amie

    here is the sample application.
    create a BSP application with two pages.(zmybsp, default.htm & loading.htm)
    <b>code for default.htm</b>
    page attribute with auto for default.htm
    loading_url type string.
    template type string.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = " ">
        <htmlb:form>
    <% clear loading_url .
      concatenate
      'loading.htm?tag='
      '<server>:<port>/sap/bw/BEx?SAP-LANGUAGE=E|CMD=LDOC&TEMPLATE_ID='
      template
      into loading_url .
      %>
         <iframe  id="I1" name="I1" scrolling="yes" width="100%"  height="100%" src="<%= loading_url %>"
           border="0" frameborder="0" >
          Your browser does not support inline frames or is currently configured not to display inline frames.
          </iframe>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    <u><b>layout code for loading.htm.</b></u>
    page attribute for loading.htm with auto
    tag type string .
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <SCRIPT LANGUAGE="JavaScript">
    image1 = new Image();
    image1.src = "loading.gif";
    </script>
    <htmlb:content design           = "design2003"
                   controlRendering = "sap" >
      <htmlb:page>
      <%
      CONCATENATE 'http://' tag INTO tag .
      REPLACE ALL OCCURRENCES OF '|' IN tag WITH '&' .
      %>
        <form name="SubmitForm" method="POST" action="<%= tag %>" >
        <htmlb:gridLayout width       = "100%"
                          height      = "100%"
                          rowSize     = "1"
                          columnSize  = "2"
                          cellSpacing = "4" >
          <htmlb:gridLayoutCell columnIndex         = "1"
                                rowIndex            = "1"
                                wrapping            = "false"
                                horizontalAlignment = "ENDOFLINE"
                                verticalAlignment   = "middle"
                                width               = "50%" >
            <htmlb:image src="loading.gif" />
          </htmlb:gridLayoutCell>
          <htmlb:gridLayoutCell columnIndex         = "2"
                                rowIndex            = "1"
                                wrapping            = "false"
                                horizontalAlignment = "left"
                                verticalAlignment   = "middle"
                                width               = "50%" >
            <htmlb:textView text="Loading..." />
          </htmlb:gridLayoutCell>
        </htmlb:gridLayout>
             </form>
        <script>
         function submitForm()
                document.SubmitForm.submit();
         submitForm();
         </script>
      </htmlb:page>
    </htmlb:content>
    now call default.htm with the template parameter.
    default.htm?template=your template id.
    Note: when you construct the url for webtemplate use what the use of '|' instead of '&' and the same is converted to '&' in loading.htm and also the 'http://' is only added in loading.htm.
    Try it and let me know.
    Regards
    Raja
    also have a look at the following weblog on how to reward the answeres which were helpful.
    /people/mark.finnern/blog/2004/08/10/spread-the-love

  • How to call AMImpl method before loading the page(task_flow_config.xml)

    Hi experts,
    I have requirement like,
    I need to call AmImpl method, before rendering the page.(I heard like we can do it in task_flow_config.xml by using method_Invoke operation,But I am not sure about How it is going to work, also i need to know the implementation part,,,help pls )
    (I need to do in Task_Flow.)
    Inside that method I have some logic, where I will setting the BindVariable of my one ViewObject and I need to run the ViewOblect,So that DataShuold be available while page loading.
    I have some different logic after that,,,,
    can anyone suggest me for this??
    thanks
    Santosh

    thanks to Timo n TK,
    I have use case like,
    In the search page I have 2 LOV dropdowns say LOV1 and LOV2. Both list of values are created based on the independent View Objects based on the Query.
    LOV2 VO query is having the Bind Variable, for that Bind variable will be getting the value from the one of the AM method based on the user logged in.
    Also I need to display LOV2 dropdown in the page when user selects LOV1 as a 'SCM', for others it should be in hidden state.
    As per requirement I have to display LOV2 only for LOV1 value as 'SCM'. So I dont want to use valueChangeListner() for this.
    Instead I want populate LOV2 value before page rendering(because in that time i will be having all the parameter to populate ) by executing LOV2 VO Query.
    Once in search page user selects LOV1 as 'SCM', I should display 'LOV2' values in the dropdown.
    If i execute LOV2 VO in the AMImpl method say A() before page rendering ,then if user select LOV1 as 'SCM', will same data available in the dropdown (LOV2 dropdown is based on the LOV2VO)??
    Can u pls suggest me how can i render ,LOV2 when LOV1 as 'SCM' by using 'rendered' property without having valueChangeListner??
    pls suggest me the right approach as per my use case..
    waiting for reply,,
    Thanks
    Santosh

  • How to suppress the Save Dialog before closing the form?

    Dear all,
    I created a form which will open a data connection on a button click.
    I catch the error on failure and code to close my form by app.execMenuItem("Close");
    but a Save Dialog will appear before I can close it.
    (may be because I have done something on opening the form),
    is it able to suppress it? Or simply cannot?
    Best Rgds.

    but it seems that after event.target.closeDoc(true);
    the codes that follow will continue to run,
    but this doesn't happen if I use app.execMenuItem("Close");
    I already include the closeDoc inside the try catch.

  • Problem when loading the form in workspace  ( LCES2  v9)

    Hey,
    I have a problem with some process .Each time I try to invoke it through the workspace I get this error (ALC-WKS-007-040).
    This is what I found in the server log .
    15:21:09,133 INFO  [STDOUT] [LCDS][ERROR] Exception when invoking service 'remoting-service': flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service.  Please review the render orchestration for this process.
      incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
        operation = render
        parameters = [1FBED60E-CEFF-102D-B474-0000B88028EB, 503, 0, ASObject(519082525){acroClientType=, acrobatVersion=10}]
        clientId = E72502C6-A32E-5892-86F5-D3F3E21E0A9D
        destination = task-actions
        messageId = 1D1F80DC-242B-43D2-4499-0427FB490F03
        timestamp = 1292854869075
        timeToLive = 0
        body = null
        hdr(DSId) = E716F344-070B-158E-7EC5-BDC42A0017A6
        hdr(DSEndpoint) = workspace-polling-amf
      Exception: flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service.  Please review the render orchestration for this process.
            at com.adobe.workspace.AssemblerUtility.createMessageException(AssemblerUtility.java:409)
            at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:764)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
            at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
            at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1406)
            at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBroker.java:571)
            at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)
            at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)
            at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
            at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
            at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
            at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:165)
            at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:293)
            at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:364)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:138)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: Default Render ES Update1 not found.
            at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.renderForm(TaskManagerServic eImpl.java:4468)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
            at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
            at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
            at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)
            at sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
            at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
            at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
            at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
            at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
            at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
            at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
            at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
            at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
            at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
            at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
            at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
            at org.jboss.ejb.Container.invoke(Container.java:960)
            at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
            at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
            at $Proxy376.doRequiresNew(Unknown Source)
            at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
            at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
            at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
            at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
            at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
            at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
            at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:19 8)
            at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
            at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
            at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry2(TypedTaskMa nagerService.java:159)
            at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry(TypedTaskMan agerService.java:147)
            at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.callRenderService(TypedTaskM anagerService.java:1441)
            at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:731)
            ... 38 more
    Informations :
    I use Livecycle ES Version 9
    workbench 9.5
    and my process is long-lived
    I would be very grateful if you can tell me or offer me a solution to overcome this problem.
    Naoufal FAHEM

    Caused by: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: Default Render ES Update1 not found.
    This likely means you copied an older ES Update 1 process into your ES2 environment and did not do a migration.  There is a new set of Render and Submit processes for ES2 and your older process is referencing the set shipped with ES Update1. 
    Ideally, if you are trying to have a pure ES2 environment, then you should convert your processes to be ES2 processes (I believe there are docs to help with this) - I recommend this as it puts you in a cleaner position for future migrations. 
    But if you choose to keep it using the older Render and Submit processes, then you need to deploy the adobe-process-management-system.lca from the ES Update 1 environment.  You would do this in the Adminui where LCAs are deployed, but make sure you choose the LC8 LCA tab.
    Hope this helps.
    Jon

  • Show progress bar before loading the applet or application

    hi ,
    My application size is large and take some time to load . Now i want that to show progress bar . how can i do this .Please Help me
    sorry for my english.
    Thanks

    Do everything in a seperate thread. Create a progress bar in the main thread, then create a new thread for initializing your app. Once the init is done, hide the progress bar and make your app visible.

Maybe you are looking for