Generating ProgressBar component at runtime.

Hi All,
I have the requirement of generating the ADF Components at runtime. One of which is af:Progressbar.
I have written the code in the Managedbean to generate the same.
                ProgressIndicatorBean pgIndicatorBean =
                    new ProgressIndicatorBean();
                RichProgressIndicator richProgressIndicator =
                    new RichProgressIndicator();
                richProgressIndicator.setId("pi" + i);
                //Setting up the BoundedRangeModel as the value to the progressbar
                richProgressIndicator.setValue(pgIndicatorBean);
                The code below is for the ProgressIndicatorBean which extends the bounded range model
   * Determinate state model set at 50%.
  public class ProgressIndicatorBean extends BoundedRangeModel
    public long getMaximum()
      return 2;
    public long getValue()
      return 1;
  }When the page is loaded I get the following message in the console and the progressbar is not displayed.
<ProgressIndicatorRenderer$ProgressIndicatorModel> <<init>> Invalid model provided to progressIndicator (should be a BoundedRangeModel); progressIndicator ID: pi0.Please suggest or point to some documentation on generating the progress bar indicator(programatically) at runtime.
Thanks,
Shiva.

See if changing the superclass to DefaultBoundedRangeModel helps
public class ProgressIndicatorBean extends BoundedRangeModel

Similar Messages

  • Add Component during runtime in swing

    I want to create applet which add any component at runtime.
    I have done this but there is one bug.
    When i add the components, they are not display in applet window.
    But as soon as i change the size of the or minimize or maximize the applet window
    it will display the components.
    Reply as soon as possible.
    Thanks

    ALWAYS execute the following if you add or remove components from an already visible container:
    container.revalidate();
    container.repaint();

  • Implementing reusable Progressbar component

    hello,
    I want to make a ProgressBar that is Reusable, that is once developed, it
    should simply be reusable with any other applications which may require this
    functionality.
    The ProgressBar Component that i want to develop should include the
    following functionalities:
    1. It should show the progress as a Percentage.
    2. it should also show me the total bytes that have been transferred so far,and
    calculate and show me the remaining bytes left so far to transfer(I want this
    feature as i am going to use this progressbar in file uploading)
    3. it should also show me the total file uploading time required,time elapsed so
    far and the total time left to upload the file.
    Can anyone help as regards the above tasks?
    Any help would be dearly appreciated...
    Thanks in anticipation
    sd

    Thanks, Mr Dylen for the Link u gave me, but i had already gone thru that,
    what i basically wanted to know was how to implement this ProgressBar as
    a Reusable Component in such a way that it can be simply merged with any other application, that might need a similar functionality.
    Once again i say, i want to develop it as a Independent Module, so that it
    can be merged with any other application.
    Secondly, that Link which u gave and which (i had gone thru already before u gave me) doesn't specify anything about how to calculate bytes transferred, bytes received,bytes remaining, time elapsed,time left etc...
    the issues which i raised in my 2nd and 3rd points(if u read my query carefully).
    so where and how do i get the code for my above functionality?
    so i am still looking forward to a complete response to my same earlier query.
    I hope u r able to help..
    sorry to bother u again on the same question...but the above is what i basically needed.
    I"ll be eagerly looking forward to your response once again..with the above
    queries.
    Regards
    Thanks in anticipation
    sd

  • ProgressBar Component and Streaming Video

    Is it possible to connect the ProgressBar component to an
    FLVPlayback component which is streaming?

    Unless the video is completely downloaded to the iMac you can not rule out the Internet connection.
    Since it plays all other video with no problem the downloading stream would seem to be the source of the problem.
    I had cable modem and it is no guarantee of a fast connection. Also even having a fast connection on one end doesn't mean that the source of the video is pushing it all that fast.

  • ProgressBar component

    Hi all, I have the following code attached to a progressbar
    component and doesnt work.
    I get the final position only (100%).
    Note that I put the mode to "manual".
    What did I miss?
    Thanks in advance

    Check with the following tutorial and know how to remove the progress bar after its loaded the image:
    http://www.republicofcode.com/tutorials/flash/as3loader/

  • Changing the ProgressBar component

    Hello there, I was just wondering, is there a way to change the way the ProgressBar component looks like? for example I'd like to keep its functionality but change its progress bar to a circular animation maybe?
    Any help would be so much appreciated. Thanks in advance!

    Make your animation inside of a movie clip. Go to main timeline. Put an instance of the ProgressBar on stage. Click to highlight. In your Parameters panel, change mode to Manual. Enter ProgressBar. Place your animation on frame 1 of the top most layer.
    (Optional)
    Delete out the other layers in the ProgressBar. In the Library, in the Component Assets folder, delete the ProgressBarSkin folder.

  • How can we delete adf component at runtime

    Hii all,
    i am developing an application in which i am generating the ui components at runtime, and displaying them it the pop up window,
    the ui component is generated according to the list of objects.
    The problem i that, this list changes every time as it is specific for a particular document, so when i open the pop up again the old component generated
    are still there, i have a command button on which i am performing the following action to delete the previously generated components -
    public void removeExtraFieldsAddedToUploadForm(UIComponent parentTableLyoutComponent,boolean isCommandButtonClick){
    try{
    if(parentTableLyoutComponent.getChildCount() > 6) {
    List <UIComponent> addedComponents = parentTableLyoutComponent.getChildren();
    for(UIComponent uicomponent:addedComponents){
    String strCompID= uicomponent.getId();
    if(strCompID.indexOf('x') == 0) {
    uicomponent.setRendered(false);
    if(isCommandButtonClick){
    AdfFacesContext.getCurrentInstance().addPartialTarget(parentTableLyoutComponent);
    this things works fine as it refresh the components according to the current list of objects, but when i fetch the values for the components form the pop up window, i am also getting the values for the earlier generated components.
    Is there is any way through which i can delete the previously generated components..??
    Thanks.
    JDeveloper Version 11.1.1.6.0

    As you only set the rendered attribute to false the components are not rendered on the page up are still part of the component tree. So you still can access them (which you do if you iterate over the list of children).
    As you get a {noformat}List<UIComponent>{noformat} from the panelFormLayout you should delete the components from the list
    addedComponents.remove(uicomponent);Timo

  • Km component portal runtime error

    hi 
    i am creating a simple km application to create a folder using km api when i run the application it is displaying runtime error  in the portal
    any help on this here is the trace .
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : kmportalappproject.kmportalcomp
         at com.sap.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:283)
         at com.sap.portal.prt.component.PortalComponentContextFactory.createPortalComponentContext(PortalComponentContextFactory.java:196)
         at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:82)
         at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:55)
         at com.sap.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:382)
         at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.java:446)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:395)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:235)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:637)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:380)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:814)
         at com.sap.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:536)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
         at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:244)
         at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:366)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.navigation.workAreaiView.doOnNodeReady(workAreaiView.java:420)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:380)
         at com.sapportals.portal.navigation.workAreaiView.handleEvent(workAreaiView.java:511)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
         at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:244)
         at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:366)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:179)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:414)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:235)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:637)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:380)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:814)
         at com.sap.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:536)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
         at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:244)
         at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:366)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:543)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:203)
         at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:122)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:144)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
         at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:212)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:77)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:250)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:37)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Caused by: com.sap.portal.prt.broker.PortalComponentNotFoundException: getPortalComponent failed
         at com.sap.portal.prt.broker.PortalAppBroker.getPortalComponent(PortalAppBroker.java:365)
         at com.sap.portal.prt.component.PortalComponentContext.getPortalComponentApp(PortalComponentContext.java:115)
         at com.sap.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:268)
         ... 84 more

    hi 
    i am creating a simple km application to create a folder using km api when i run the application it is displaying runtime error  in the portal
    any help on this here is the trace .
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Component : kmportalappproject.kmportalcomp
         at com.sap.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:283)
         at com.sap.portal.prt.component.PortalComponentContextFactory.createPortalComponentContext(PortalComponentContextFactory.java:196)
         at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:82)
         at com.sap.portal.prt.component.PortalComponentContextFactory.getPortalComponentContext(PortalComponentContextFactory.java:55)
         at com.sap.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:382)
         at com.sapportals.portal.pb.PageBuilder.createIviewProfile(PageBuilder.java:446)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:395)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:235)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:637)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:380)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:814)
         at com.sap.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:536)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
         at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:244)
         at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:366)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.navigation.workAreaiView.doOnNodeReady(workAreaiView.java:420)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:380)
         at com.sapportals.portal.navigation.workAreaiView.handleEvent(workAreaiView.java:511)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
         at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:244)
         at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:366)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:179)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:414)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:235)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:637)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:380)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:814)
         at com.sap.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:536)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)
         at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:244)
         at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:366)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:543)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:203)
         at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:122)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:144)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
         at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:291)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:76)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:212)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:77)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:447)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:250)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:37)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Caused by: com.sap.portal.prt.broker.PortalComponentNotFoundException: getPortalComponent failed
         at com.sap.portal.prt.broker.PortalAppBroker.getPortalComponent(PortalAppBroker.java:365)
         at com.sap.portal.prt.component.PortalComponentContext.getPortalComponentApp(PortalComponentContext.java:115)
         at com.sap.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:268)
         ... 84 more

  • Error in Component Monitoring(Runtime Workbench)

    Hi,
    I am getting an error in component monitoring section of runtime workbench. I got a note(851711), where it says 'CompilingException' error can be corrected by applying SP14. But I am still getting same error after applying SP14 and redeploying XI ADAPTER FRAMEWORK CORE 3.0 (SAPXIAFC.sca), XI TOOLS 3.0 (SAPXITOOL.sca) and XI ADAPTER FRAMEWORK 3.0 (SAPXIAF.sca). Please advice how to correct this error.
    Error Message:
    com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process: D:/usr/sap/QN7/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.xi.rwb/servlet_jsp/rwb/work/jsp_component_monitoring1138903402125.java:27: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) import com.sapportals.htmlb.enum.TableCellStyle;                            ^ D:/usr/sap/QN7/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.xi.rwb/servlet_jsp/rwb/work/jsp_component_monitoring1138903402125.java:947: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier)     compTable.setColumnType(com.sapportals.htmlb.enum.TableColumnType.IMAGELINK,  1);                                                                  ^ D:/usr/sap/QN7/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/com.sap.xi.rwb/servlet_jsp/rwb/work/jsp_component_monitoring1138903402125.java:948: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) compTable.getColumn(1).setCellHAlignment(-1, com.sapportals.htmlb.enum.CellHAlign.CENTER);                                                                                ^ 3 errors .
    Thanks,
    Ask.

    Hi,
    it can be for some system configured on http destination or the sld system configured for this server.
    take a look at tx sxmb_adm for the http destination to discover witch destination is been used. then, on sm59, find the server that is been called for this http destination and check on that server if this user is ok there.
    to check sld, go to tx sld_apicust discover witch is the sld system configured for this server. After log on to sld system and check the user.
    Maybe the user is ok on the destination system, so, check the password on sm59 (if the problem is with an http dest) or sld_apicust (if the problem is the connection to sld).
    regards.
    roberti

  • Error in generated code :Component Interface

    Hi All,
    I have my webdynpro component active works fine in Dev Server.
    When we move it to qualtiy we got a strange error " Error in Generated Code, Type Z*IWCI is unknown.
    Its related to the Component interface which gets generated automatically while any WDA is created but in our system it isnt getting generated?
    Looking for your valuable comments on ths
    Regards
    Bhanu

    Hi Bhanu,
    Goto se09 check for that request ICF service is generated or not? I think you first created in $TMP and assigned package.
    If ICF service is not available, just copy it to new comp, it will create new ICF service. I dont know this is the solution,
    just a guess.
    Cheers,
    Kris.

  • Resizing Flexbook Component at Runtime

    I downloaded the Flexbook component online and have been
    messing around with it for a few days but still can't find out how
    to get this thing to resize during runtime. I did get it set up to
    size when Initializing the component by using the following code
    attached to this message. This is using embeded assets for the
    book. You can see my method I have been trying by looking at the
    resizeBook function. The resize does work but after a few resizes
    then things get slow or errors appear. So if someone that has done
    this can give me a few pointers on where I need to look or if
    anyone has any suggestions I would love to here it.

    quote:
    Originally posted by:
    JeffHouser
    Without drilling down to your code; this is conceptually how
    I'd approach it:
    1) Create a new component that extends Flexbook
    2) Overwrite the height and width properties to trigger an
    invalidatePropertes / invalidateSize invalidateDispayList . Also
    add variables (usually private) named "_heightChanged" or
    "_WidthChanged"
    3) in the commitProperties / measure / updateDisplayList
    check the "changed" variables and perform actions to do the
    resizing. You'll have to do some digging in the FlexBook code to
    figure it out what needs changing.
    The digging in the Flexbook code to see what needs to be
    changed is the issue I am having. I have been working on a new
    resize function which seems to be getting closer but still has
    weird results where the book appears to have shrunk when you
    rollover certain areas but there is residual images of the larger
    version showing.

  • REquirement not generated for component of Phantom Item

    Dear Gurus,
    We have a scenario where A,B,C and D are part of multilevel BOM. A is finshed product. B and C are phantoms. D is RM.
    A is level 1, B level 2and C level 3. D is component of C.
    After MRP run, we found that requirement is generated for Material A. However, corresponsing requirement of material D is not generated. Could you please suggest what can be the problem ?

    Hi
    The parameters maintained by you are more or less OK.
    Your issue is : you are not getting requirements for the part for which you have maintained manual reorder point.
    It seems you have run MD02.
    If you run MD02 requirements for the component with reorder point will not be geneated because it is consumption based planning& it is not requirment based planning.
    For getting rquirement for that either you have to run single item single levelMD03 or total planning for the plant.
    This is std SAP functionality.
    Hope it is clear to you.
    Regards
    YMREDDY

  • Changing the MXML of a component at runTime

    Hi there,
    I need, depending on runTime conditions, to update the surface of a Flex window with a combination of controls.
    For example I may need to layout this line
    THIS IS STATIC TEXT #COMBOBOX# THIS IS ANOTHER STATIC TEXT #CHEKBOX#
    Or this line :
    #EDITBOX# STATIC TEXT HERE
    A priori I can't tell the set of combination I may encounter, so I need to be able to dynamically construct the UI.
    If changing the MXML of a component is possible, then I can ofcourse solve this pbm since the solution will only have to deal with string operation.
    Please help.
    Thanks in advance.

    Hi,
    Check View States.
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf63611-7ff1.html

  • Add ADF UI component at runtime

    Hi ,
    I have created Ui components in my page at runtime based on the input.
    I have a panel at design time. To that I am adding decoration boxes at run time, also, i am adding InputTextBoxes to the Decoration Box at runtime.
    for(int i=0;i<noOfDecorationBox;i++)
    RichDecorativeBox db = new RichDecorativeBox();
    for(int j=0;j<no.OfInputText;j++)
    RichInputText nameText = new RichInputText();
    nameText.setLabel("Name");
    nameText.setId("nameText" + j);
    nameText.setValue("Value"+j);
    db.getChildren().add(nameText);
    panel1.getChildren().add(db); //Panel1 is the object for my panel which will be available in the design time itself.
    AdfFacesContext.getCurrentInstance().addPartialTarget(nameText);
    AdfFacesContext.getCurrentInstance().addPartialTarget(valueText);
    AdfFacesContext.getCurrentInstance().addPartialTarget(db);
    The above method I have written inside button_click event. Also , I have set the button as PartialTrigger to my 'Panel'. So I am able to see the Decoration Boxes at runtime. But not the InputText component those are added to my DecorationBox.
    Thanks,
    Sabarisri. N
    Edited by: Sri N on Dec 17, 2011 12:31 PM

    change your code like following and it will work for you :
    for(int i=0;i<noOfDecorationBox;i++)
    RichDecorativeBox db = new RichDecorativeBox();
    panel1.getChildren().add(db);
    for(int j=0;j<no.OfInputText;j++)
    RichInputText nameText = new RichInputText();
    nameText.setLabel("Name");
    nameText.setId("nameText" + j);
    nameText.setValue("Value"+j);
    panel1.getChildren().get(i).getChildren().add(nameText);
    AdfFacesContext.getCurrentInstance().addPartialTarget(nameText);
    AdfFacesContext.getCurrentInstance().addPartialTarget(valueText);
    AdfFacesContext.getCurrentInstance().addPartialTarget(db);
    Edited by: amir on Dec 17, 2011 2:02 AM

  • War file generated in WinXPPro gives runtime error in Win2003Server

    Hi,
    I'm using Netbeans4.1 to compile my jsp application war file in windowsXP Pro environment.
    But when I try to deploy the war file to production server that is running Win2003Server, it gives the following error. At the end, I install NetBeans4.1 on the server and compile the war file in the win2003Server environment and everything works fine.
    So, I wonder if war file is depended on the OS environment. Anyone face this issue before? If yes, would appreciate your comments.
    Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection timed out: connect'.
    ** BEGIN NESTED EXCEPTION **
    java.net.ConnectException
    MESSAGE: Connection timed out: connect
    STACKTRACE:
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:124)
         at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
         at com.mysql.jdbc.Connection.createNewIO(Connection.java:1899)
         at com.mysql.jdbc.Connection.<init>(Connection.java:450)
         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
         at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
         at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
         at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
         at my.com.snt.util.DBUtil.getConnection(DBUtil.java:44)
         at org.apache.jsp.sysSignInTop_jsp._jspService(org.apache.jsp.sysSignInTop_jsp:71)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    ** END NESTED EXCEPTION **
    Attempted reconnect 3 times. Giving up.)

    Hey Evert-Jan,
    A small (but long :-)) question : I am facing the same issue with JHeadstart 10.1.3.3.85 (latest release I believe?).
    Current situation :
    A master - detail structure, where each detail is a tab page on the same page as the master table. 2 of the tab pages have a master-detail structure themselves. The contents of the tab pages were generated to regions, because otherwise the jspx would become too large. The 2 tab pages with a master-detail contained 2 regions, one for the master, and one for the detail group.
    My first problem (with JHS 10.1.3.3.53) with the 2 master detail tab pages was the following : when changing the master record on the tab, the detail record did not refresh, although the refresh condition was set to "Always". After a long search, I finally found that the partialTriggers were not set correctly by the JAG:
    <!-- Pseudo code for content of one tab page -->
    <!-- Region with master table (id : masterTableId) in it -->
    <region id="masterRegionId" .../>
    <!-- Region with detail table in it -->
    <panelGroup partialTriggers="masterTableId" ...>
    <region id="detailRegionId" .../>
    </panelGroup>
    Here, the partialTrigger of the detail panelGroup should ofcourse be "masterRegionId:masterTableId".
    After upgrading to version 10.1.3.3.85, this was resolved (partialTriggers were generated correctly), but then I was unable to switch tabs. I kept getting the Exception of the thread starter. For now, I solved this issue by disabling the "Generate Group In Region file" property for the 2 tabs that have a master detail on them, which works. But it would be a lot cleaner to be able to separate all tabs in a separate region.
    There are a few templates that I redefined, but none of them were changed in the upgrade from .53 to .85 I think. Could you tell me what template was changed to fix this? And if the fix was implemented in version .85?
    Thanks in advance!!
    Chris

Maybe you are looking for

  • Copyright symbol and metadata template question

       In Bridge CS6 I have placed the copyright symbol, year and my name in the "Copyright Notice" section of a metadata template.  Chosen "Copyrighted" in the "Copyright Status" section.  And listed the terms in the "Right, Usage, Terms" section.  When

  • HT203175 downloading a purchased album from itunes is stuck for 12 hours

    I purchased an album on itunes store but downloading the album is stuck for 12 hours. Once I tried to quit, removed itunes altogether then reinstalled it. However, the same album is stuck and has been downloading for the last 9 hours. What should I d

  • Error code: sec_error_expired_certificate ,How can i solve this problem ?

    It started last week , Giving this error , i cant access my blog or comment on another blog or even entering my face book and some sites . What should i do ?

  • When Leopard comes out, will Tiger still be available?

    I'm a nincompoop with computers, when Leopard comes out, will Tiger still be available to purchase? I would rather have OS X Leopard, but I don't know if my powerbook will satisfy the requirements to run it. Have they published the requirements for L

  • Trial License usage

    Hi, I am trying to find the license agreement of Windows 2012 R2, but for some reason I couldn't get a downloadable version of it. I want to know what are the scenarios I can use the trial version of the software. e.g. POC, internal demo, client demo