BI Beans Mass requests

Hello,
Does anyone know what to do for the following scenario -
I have a jsp application that includes BI Beans graphs
and outputs as PDF and saves the file.
I call this jsp application multiple times in succession
without a browser -using HTTPClient.
After being called and generating about 15 times I get the
following exception:
oracle.dss.datautil.client.ManagerFactoryException: BIB-18007 A MetadataManager exception has occurred.
oracle.dss.metadataManager.common.MetadataManagerException: BIB-10100 Cannot connect to the database. (Reason: See error BIB-16613)
at oracle.dss.datautil.client.XMLManagerFactory.createQueryManager(XMLManagerFactory.java:200)
at oracle.dss.datautil.client.ManagerFactoryImpl.lookupQueryManager(ManagerFactoryImpl.java:178)
at oracle.dss.datautil.client.ManagerFactoryImpl.lookupMetadataManager(ManagerFactoryImpl.java:221)
at oracle.dss.datautil.client.ManagerFactoryImpl.lookupManager(ManagerFactoryImpl.java:128)
at oracle.dss.addins.thin.common.BaseThinSession.getMetadataManager(BaseThinSession.java:217)
at oracle.dss.addins.thin.common.BaseThinSession.getQueryManager(BaseThinSession.java:253)
at oracle.dss.addins.jspTags.TagRequestHandler.getStateManager(TagRequestHandler.java:781)
at oracle.dss.addins.jspTags.BIThinSession.getStateManager(BIThinSession.java:61)
at oracle.dss.addins.thin.common.BasePresentationHandler.createBIThinObject(BasePresentationHandler.java:296)
at oracle.dss.addins.jspTags.PresentationTag.createThinObject(PresentationTag.java:234)
at oracle.dss.addins.jspTags.BIBaseTag.getThinObject(BIBaseTag.java:79)
at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:258)
at org.apache.jsp.BlendPreview_jsp._jspService(BlendPreview_jsp.java:233)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Does anyone have any similar experiences/ideas/solutions?
Thanks!

I would check the database alert log for more information, this could be caused by any number of reasons - you might be running out of session memory, cursors, processes etc etc.
Keith Laker
Oracle EMEA Consulting
OLAP Blog: http://oracleOLAP.blogspot.com/
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
DM Blog: http://oracledmt.blogspot.com/
OWB Blog : http://blogs.oracle.com/warehousebuilder/
OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

Similar Messages

  • Getting bean from request scope

    Hi,
    I am new to JSF and unfortunately I am running into a problem that I am not entirely sure about. I look in other forums and what I am doing looks right but I am not getting the desired result.
    In my faces-config.xml file I have a managed bean defined as follows:
    <managed-bean>
        <managed-bean-name>LogIn</managed-bean-name>
        <managed-bean-class>lex.cac.tables.RefUsers</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>I then have a log on page with a form which contains a user name and password field. The tags are defined as
    <h:inputText immediate="false" value="#{LogIn.username}" /> (for username) and
    <h:inputSecret immediate="false" required="true"
                                   value="#{LogIn.password}" /> (for password)
    When I submit the form the web app navigates to a jsp page which attempts to do validation against a database.
    The first step though is retrieving the object which is suppose to be in request scope.
    I attempt the following but I get back null which causes a NullPointerException. Why can't if find the bean?
    ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
    Map params         = ec.getRequestParameterMap();
    params.get("LogIn");  //null is returned hereWhat am i doing wrong? Can someone please help.
    Thanks in advance,
    Alex.

    Something like that:
    FacesContext fc = FacesContext.getCurrentInstance();
    RefUsers LogIn = (RefUsers)fc.getApplication().createValueBinding("#{LogIn}").getValue(fc);
    String username = LogIn.getUsername();
    String password = LogIn.getPassword();

  • Have a backing bean in request scope; need to access parameters sent to it

    I have a request scope backing bean in my app, 'projectBean'. This has a property called 'id'.
    /** in request scope in faces-config.xml */
    projectBean {
        id               // set by the param from the previous page
        downloadAction() // activated by commandlink, depends on id
    }There is another backing bean in session scope called 'projectListingBean', which has a dataTable that lists a bunch of projectBeans. In this 'projectListingBean', I can click on any row. That row, when clicked initializes a 'id' parameter, which is then passed to the new 'projectBean'. 'projectBean' then initializes itself based on the id.
    In the jsp page backed by 'projectBean', I also have a link to download something specific to that 'projectBean'. Naturally enough, I have a commandlink with actionBinding to a method in my 'projectBean', downloadXXXAction().
    The problem arises because the downloadXXX() method relies on a 'id'. Remember, this id was orinigally set 2 requests back from the datatable. Since the page backed by 'projectBean' is in request scope, the id is lost, and my method call doesn't work. I tried changing the scope of 'projectBean' to session, but JSF complains that I already setting the 'id' property as a param, I can't set the whole managed bean to something 'higher' like session.
    Of course, the ideal fix to this probelm would be the ability to have beans in page scope, but what other ways (hacks??) are there to get around this?

    Hi, I'm posting some code snippets if it helps with understanding the problem.
    faces-config.xml:
    <!-- PROJECTLISTINGBEAN -->
    <managed-bean>
         <managed-bean-name>projectListingBean</managed-bean-name>
         <managed-bean-scope>session</managed-bean-scope>
         <managed-property>
              <property-name>projectBeans</property-name>
              <property-class>java.util.List</property-class>
              <list-entries>
                   <value-class>
                        com.sun.sleuth.omcmweb.view.bean.ProjectBean
                   </value-class>
              </list-entries>
         </managed-property>
    </managed-bean>
    <!-- PROJECTBEAN -->
    <managed-bean>
         <managed-bean-name>projectBean</managed-bean-name>
         <managed-bean-class>
         </managed-bean-class>
         <managed-bean-scope>request</managed-bean-scope>
         <managed-property>
              <property-name>projectId</property-name>
              <property-class>java.lang.String</property-class>
              <value>#{param.projectId}</value>
         </managed-property>
    </managed-bean>projectlsting.jsp (page backed by projectListingBean)
    <h:dataTable value="#{projectListingBean.projectBeans}"
         var="projectBean" ...>
         <h:column>
              <f:facet name="header">
              </f:facet>
              <h:commandLink action="#{projectListingBean.viewProjectSUmmary}">
                   <h:outputText value="#{projectBean.projectId}" />
                   <f:param name="projectId" value="#{projectBean.projectId}" />
              </h:commandLink>
         </h:column>
    </h:dataTable>projectsummary.jsp (page backed by request scoped projectBean)
    <h:commandLink action="#{projectBean.assessmentAction}" value="..." />
    ...Flow:
    projectlisting.jsp (projectListingBean - session) -param id passed->
    projectsummary.jsp (projectBean - request) -commandLink clicked and id lost-->
    projectSummary.jsp (projectBean - request)

  • Can't pass bean or request attribute from servlet to JSP

    Hi,
    I have a web app that starts with a file upload page that uses commons io fileUpload, passes the info on to a servlet. Then the servlet passes its info on to a JSP.
    I can upload the file onto the web app successfully. I also can call that uploaded file directly from the JSP (i.e. bypassing the servlet) without problem. But if I try to chain all 3 together while passing the url for the file directly as an attribute or as a bean containing file's url, I get premature end of file or can't find the property in the bean. I'm not sure what I'm doing wrong.
    the error message:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Premature end of file.
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         servlet.UploadServlet.processRequest(UploadServlet.java:329)
         servlet.UploadServlet.doPost(UploadServlet.java:363)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Premature end of file.
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.clinTrialsEditor_jsp._jspService(clinTrialsEditor_jsp.java:144)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         servlet.UploadServlet.processRequest(UploadServlet.java:329)
         servlet.UploadServlet.doPost(UploadServlet.java:363)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.xml.sax.SAXParseException: Premature end of file.
         org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
         org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSource(ParseSupport.java:227)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSourceWithFilter(ParseSupport.java:193)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseReaderWithFilter(ParseSupport.java:199)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseStringWithFilter(ParseSupport.java:206)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.doEndTag(ParseSupport.java:138)
         org.apache.jsp.clinTrialsEditor_jsp._jspx_meth_x_parse_0(clinTrialsEditor_jsp.java:189)
         org.apache.jsp.clinTrialsEditor_jsp._jspService(clinTrialsEditor_jsp.java:88)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         servlet.UploadServlet.processRequest(UploadServlet.java:329)
         servlet.UploadServlet.doPost(UploadServlet.java:363)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    Code from the servlet:
    String dName = "http://localhost:8084/fileUploadApp/faces/";
    url = dName + fileName;
    beans.FileInfo.setFileName(fileName);
    request.setAttribute("fileInfo", new FileInfo());
    beans.FileInfo.setDName(dName);
    beans.FileInfo.setDirName(dirName);
    beans.FileInfo.setUrl(url);
    File saveTo = new File(dirName + fileName);
    //if I use the next 2 lines I get "can't resolve symbol - create field, local var or parameter FileInfo"
    FileInfo fileInfo = new beans.FileInfo();
    request.setAttribute("fileInfo", FileInfo); //error here
    request.setAttribute("myUrl", url);
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/clinTrialsEditor.jsp");
    dispatcher.forward(request, response);
    on JSP
    <jsp:useBean id="fileInfo" class="beans.FileInfo" scope="request"/>
    <jsp:setProperty name="fileInfo" property="*"/>
    <%--<c:import url="http://localhost:8084/fileUploadApp/faces/lowVision.xml" var="url" /> --%> <c:import url="${myUrl}" var="url" />
    <x:parse xml="${url}" var="clin" />
    etc...x:set with xpath expressions
    Can anyone spot my error(s)?
    Thanks for the help!

    Thanks for your reply, Ram.
    I made the change but I get an error "Unable to find a value for "fileName" in bean of type beans.FileInfo"
    Here's the bean:
    package beans;
    public class FileInfo {
    private static String fileName;
    private static String dirName;
    private static String dName;
    private static String url;
    /** Creates a new instance of FileInfo */
    public FileInfo() {
    public static void setFileName(String fn){
    fileName = fn;
    public static String getFileName(){
    return fileName;
    public static void setDirName(String dn){
    dirName = dn;
    public static String getDirName(){
    return dirName;
    public static void setDName(String d){
    dName = d;
    public static String getDName(){
    return dName;
    public static void setUrl(String u){
    url = u;
    public static String getUrl(){
    return url;
    Pertinent parts of servlet:
    String dirName = "C:/MyNBProjects/fileUploadApp/web/"; //save file to web app then convert to url so it can be called to show it on next page
    String dName = "http://localhost:8084/fileUploadApp/faces/";
    url = dName + fileName;
    FileInfo fileInfo = new FileInfo();
    fileInfo.setFileName("fileName");
    fileInfo.setDName("dName");
    fileInfo.setDirName("dirName");
    fileInfo.setUrl("url");
    request.setAttribute("fileName", fileName);
    request.setAttribute("url", url);
    request.setAttribute("fileInfo", fileInfo);
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/clinTrialsEditor.jsp");
    dispatcher.forward(request, response);
    jsp:
    <jsp:useBean id="fileInfo" class="beans.FileInfo" scope="request"/>
    <jsp:setProperty name="fileInfo" property="*"/>
    url = <c:out value="${url}" />
    //works; not part of bean
    fileName = <c:out value="${fileName}" />
    //works; not part from the bean
    fileInfo.fileName = <jsp:getProperty name="fileInfo" property="fileName" />
    //doesn't work
    <%--fileName = <c:out value="${fileInfo.fileName}" /> //doesn't work
    Can you spot the error(s)?
    Thanks for your help.

  • Communicating between beans in request scope

    I have list.jsp that has a table of items with a link to edit each item like so
    <h:dataTable value="#{list.model}" var="curItem">
        <h:commandLink actionListener="#{item.doActionEdit}" action="edit">
          <h:outputText value="#{curItem.id}"/>
          <f:param name="id" value="#{curItem.id}"/>
        </h:commandLink>
    </h:dataTable>edit is map to item.jsp
    when i click on the link the item bean gets called and doActionEdit sets up the id and fetches data from db but then the bean gets recreated (from scratch and all data is lots id is unset) and it loads item.jsp with and empty bean.
    This only happens when item bean is in request scope, however when it is in session scope it works fine, which brings the question; how can I pass objects to a bean that is in the request scope?
    I have tries to map id of item in faces-config.xml with #{param.id} which works fine if id is passed but fails with a npe when item.jsp loads without id (say I want to create a new item.)
    Please advise me what is the best approach to communicate between beans in request scope, so it will work with and without id being passed.

    here is doActionEdit, basicly it gets the id param and then calls setId which tries to load data from db if id is >0 if that fails or id is <=0 it creates new data object instead.
    when the item bean is in session scope the constructor is called once but if the scope is request it is called twice (first time doActionEdit is called after constructor but the 2nd time only constructor is called and the itemData is empty.
         public void doActionEdit(final ActionEvent event) {
                    int id = 0;
              try {
                   id = Integer.parseInt(FacesUtil.getParameter("id"));
              } catch (Exception e) {
                   e.printStackTrace();
              setId(id);
    private ItemData data = null;
         public void setId(final int id) {
              if (id > 0) {
                   data = DB.getItemData(id); //load data from db
                   if (data == null) {
                        data=new Data();
              else {          
                   data=new Data();
         public Item() {
              data=new Data();
              System.out.println("Loading Item class");
         }

  • How to decide when to keep backing bean in request and session.Pros/cons

    How to decide when to keep backing bean in request and session.Pros/cons

    Depends on where the bean data must be available. Start with request scope. If you need the data in session scope, then think twice about impacts (memory usage, multiple browser tabs, etc) unless the data is obviously targeted on the session scope (loggedin user, user settings, dropdown data, etc).

  • Initialize managed bean from request parameters

    Hi:
    I thought this topic would be on the FAQ, but I couldn't find it. I am looking for a mean to initialize my managed bean from the query string. There must be something like:
    <h:form initializeBean=""true"" requestParameter=""id_author"" beanProperty=""#{author.id_author}"" action=""#{author.getFromDB}"" >
    </form>
    The url would be something like http://localhost:8080/protoJSF/showAuthor.jsf?id_author=5334
    And the getFromDB method would be something like
      Public void getFromDB()
         Statement stmt = cn.createStatement( ?SELECT * from author where id_author=? + getId_author() );
         ResultSet rs = stmt.executeQuery();
      }The only way I've found to perform something like this is to present a blank author form with a ''load data'' button: after pressing the button the user can see author's data and edit the data if she wants to. This two-step data screening is annoying, to say the least.
    There must be a better way.
    I beg for a pointer on how can I achieve the initializing of a managed bean with dynamic data.
    Regards
    Alberto Gaona

    You just have to read carefully the very fun 289 pages
    specification :-)Or, if 289 pages of JavaServer Faces is too much, you can get almost all of the same information from the JavaServer Pages 2.0 specification, or even the JSP Standard Tag Libraries specification :-).
    More seriously, the standard set of "magic" variable names that JavaServer Faces recognizes is the same as that reognized by the EL implementations in JSP and JSTL. Specifically:
    * applicationScope - Map of servlet context attributes
    * cooke - Map of cookies in this request
    * facesContext - The FacesContext instance for this request
    * header - Map of HTTP headers (max one value per header name)
    * headerValues - Map of HTTP headers (String array of values per header name)
    * initParam - Map of context initialization parameters for this webapp
    * param - Map of request parameters (max one value per parameter name)
    * paramMap - Map of request parameters (String array of values per parameter name)
    * requestScope - Map of request attributes for this request
    * sessionScope - Map of session attributes for this request
    * view - The UIViewRoot component at the base of the component tree for this view
    If you use a simple name other than the ones on this list, JavaServer Faces will search through request attributes, session attributes, and servlet context (application) attributes. If not found, it will then try to use the managed bean facility to create and configure an appropriate bean, and give it back to you.
    For extra fun, you can even create your own VariableResolver that can define additional "magic" variable names known to your application, and delegate to the standard VariableResolver for anything else.
    Craig McClanahan

  • Creation of a Managed Bean in Request Scope?

    Is there an easy way to create an instance of a managed bean (configured in faces-config.xml) that was configured to be in the Request scope?
    If a JSP refers to it by id, then it will be there.
    However, when the JSP does not refer to it, it will not be in the request. I find I need to generate it anyway to use it from within another Managed Bean. I can extract out the faces-config information from the application map (available from FacesContext) and build it manually -- but this ties me to a particular JSF implementation (and probably version, too).
    Is there a more standardized way to do this?
    Thanks,
    ken

    BTW -- I mean to do this from within Java code (not jsp), and the page being rendered does not have a direct reference to the request-scoped managed bean via value binding.

  • MapViewer Bean Feature Requests & Bug Tracking?

    Hi-
    I'm wondering where I should post feature req's and bugs for the MapViewer bean. Is there a place where these things are tracked?

    Please post here. The dev team will collect and track them internally. Or if you are a customer you can always go to metalink.oracle.com and post over there. The product id for mapviewer is 1215.
    thanks,
    LJ

  • Troubles to save EditCurrentRecord bean in request

    Hi All!
    I have trouble with saving EditCurrentRecord in request. In JDeveloper everything works fine. But when I try to run on iAS with Apache/Jserv I get jsp compilation error:
    java.lang.NoSuchMethodError: javax.servlet.ServletRequest: method setAttribute(Ljava/lang/String;Ljava/lang/Object;)V not found
    I have this problem with a lot of my pages.
    First time I thinks problem is in my code. By after removing every line of my custom code and leaving only JD code, I get the same error. Some pages works fine, another no! They are looks very simillary.
    I also take a look at servlet code. It's look great.
    Anybody have this problem?

    I think that the problem is caused by the iAS, which uses the old version (2.0) of servlet specification, which does not support setAttribute method.
    Even though I found the servlet22.jar file in jsp\lib folder I am not sure how to make it the default servlet API in iAS.
    Is there a way to solve this problem, since none of the jsp pages which use jbo classes can not be deployed to iAS ?
    null

  • A mass request ( Things need to be added, improved...

    Things need to be added, improved, modifying or even be developed in any update or upcoming version of Windows Phone - in my opinion - are as follows :
    System Improvements :
    1- Windows Phone must include a System , folder & files Management app as embedded app rather than an external or independent limited functions app . Also files Explorer or Files Management app should handle all files ( whatever it was ) that are being transfered through Bluetooth and shows save location on the mobile .
    2- Install applications from external memory ( SD Card ) without needing to Internet connection , as well as doing search in the phone using Bing search button without need for an Internet connection .
    3- Allow phone book contacts linking to any of Social or communication , dialing or calling apps , such as Line , Telegram , KakaoTalk & WhatsApp as an example and not being limited to Skype, Facebook or Linkedin only .
    4-  Windows Phone must support running Adobe flash files ( swf & flv ) , Animated GIFs & Java files to be run & play on all WP8 devices .
    5- Fix consuming huge amounts of data on memory by installed apps , the matter that often not found on a PC! .
    6 - one of many defects / faults / shortcomings in WP 8.1 is that user can't add any apps by himself to run within apps for video calls that exist in phone settings , nor adding apps in notifications action center , or apps that its status can be appear on lock screen , unlike ( rather than ) predefined apps by system itself , as well as , there is no ( choice / function / option ) to add an application that can be used to run different function , such as selecting Adobe photoshop Express to be within apps that can run picture files captured .
    7- There is no data connection switching & data speed connection type ( 4,3,2 G ) switching function in WP 8.1 notifications + actions center as well as Alarms function .
    8- Support memory Card readers and flash USB through mobile's micro USB .
    9- improving Device hub function which display all connecting devices , but doesn't allow access to nor control or operate it .
    10- Support recognize handwriting that support Arabic language & applications that support Arabic handwriting  
    11 - there are duplicated features in its functions such as backup & sync my settings , Advertising id & IE privacy protection , NOKIA account & email + accounts , Network + & phone settings , about & extras + info , display & brightness function , rate us & feedback function .
    12- Enhancing Backup function for SMS Messaging .
    13- one of many defects / faults / shortcomings is that when someone want to add a contact phone number , WP 8.1 doesn't let you select your save place or method , whether it was on sim card , SD card , phone memory or your Microsoft account , unfortunately WP save it directly only on your MS account by default .
    Applications improvements :
    1- Much bigger support for major & significant applications in all areas and categories .
    2- Improving & Enhancing Office document working experience & make preloaded or saved html browsed files can be readable easily .
    Office Mobile that's run on WP is extremely primitive , unlike Android office suite Kingsoft Office that include most of desktop office suite features & WP 8.1 Office app still run with a primitive edition that was running on Symbian powered NOKIA mobiles in the early second millennium !
    3- Must support & providing with Google apps & services , such as : Gmail , Google Drive , Translate , Maps , Earth , Youtube , Books , Google Chrome , Cloud Print , Voice , Wallet , Sites , Scholar , Panoramio .
    4-  Develop & improve group video calls apps that can send and share various file types plus adding simultaneous group sharing or common group action / work for the same file in the same moment feature. that means you can open a video file for watching while all participants can watch it playing in the same time . Also we can open an app like papyrus and all what we do writing in is shown for all participants in the same time and also they can do writing in and save what they have done. Also, when playing audio file, all participants can listen to it at the same time ( this is completely different from upload and sharing feature and may looks like web conferencing ).
    5- Improving & Enhancing Remote Access apps & technologies for Devices & Systems Administration .
    Browser improvements :
    1- Adding  Save Page as feature for html webpages that have been saved through G.Chrome in Windows 7 or have been browsed through IE 11 on WP 8.1 . 
    2- an important functions in IE doesn't exist or discarded , such as home page button & Navigation buttons ( back & forward ) .
    Store Improvements :
    1- resolve problem of store restricted download for certain apps that are dedicated to particular region .
    2- Install applications from external memory ( SD Card ) without needing to Internet connection .
    Maps Improvements :
    Enhancing maps applications by adding ability to add places and landmarks to the map by the user , for example when I go for a trip or a picnic , I pass with someplace or landmark , such as a shopping mall , pharmacy or bookshop , ... etc where I like to add and save such this location data ( Name , info & details ) on map , then find it later through search function on this app like here maps or here drive .
    Wallet Improvements :
    WP 8.1 Wallet should be improved to support and accept shop , buy from and payment for various websites and online stores , such as ebay , Amazon & Ali express and not being limited to buy from and pay for Microsoft stores only .
                    Also , WP 8.1 Wallet became so primitive , because it is not ordered and categorized like previous WP version ( 8 ) , where you can name every card , set its details & infos and let ( allow ) you add various types of payment cards , such as : debit cads , offers : discounts coupons , subscriptions , memberships , prepaid cards , bank accounts ( your online mobile banking service data ) & E- payment accounts like Paypal rather than improve it to accept and support Mastercard paypass , electronic bill payment ( gas, electricity , water , telephone , any purchases ) like a POS machine , however it isn't like this in recent version of WP ( 8.1 ) . All the matter that Wallet takes or sync your raw , primary and so basic data as it is from your account on Microsoft ! and don't let you make any additions , modification or any specific customization .
    Display & lock screen Improvements :
    1- Make alerts & notifications on lock screen are interactive .
    2- there is no news reader function / feature on lock screen like rss feeds .
    3- Support wireless screen content sharing : Clone View , Miracast , WiDi ( WiFi Display ) , screen mirroring on large displays for all WP8.1 devices .
    Print & printing improvements :
    Support Wireless & Network printing for Office , Pdf , html & picture files or from any readable applications ( such as : news apps , health & fitness apps , some business apps , Education & books + reference apps ) .
    Networks & Connection Improvements:
    1- Expand WiFi , Bluetooth profiles & other wireless connecting technologies uses and functionality to include other technologies unlike ( rather than being limited to ) Bluetooth & WiFi , such as : WiFi direct , WiDi , Miracast , …etc .
    2- Adding Wi-Fi direct feature for all WP devices to send any files through a Wi-Fi Connection directly.
    3- Support wireless connecting to various devices , networking with & access to such as PCs & Printers for files sharing or exchanging , management.
    Hardware improvements :
    1- Support recognize handwriting that support Arabic language & applications that support Arabic handwriting.
    2- Support memory Card readers and flash USB through mobile's micro USB .
    Security & Protection Improvements :
     improve device security and protection against stealing , like making an app for detect the person who enter invalid lock key to open the device .
    ==================================================​======

    System Improvements :
    1- Windows Phone must include a System , folder & files Management app as embedded app rather than an external or independent limited functions app . Also files Explorer or Files Management app should handle all files ( whatever it was ) that are being transfered through Bluetooth and shows save location on the mobile .
    Why? To what end?
    You have no business in the main OS file system and due to the way the OS works this is simply not possible.
    2- Install applications from external memory ( SD Card ) without needing to Internet connection , as well as doing search in the phone using Bing search button without need for an Internet connection .
    Is possible now, download the XAP from the store and copy to SDcard. Internet connection will always be needed to verify regional restrictions and ownership amongst other things.
    3- Allow phone book contacts linking to any of Social or communication , dialing or calling apps , such as Line ,
    Telegram , KakaoTalk & WhatsApp as an example and not being limited to Skype, Facebook or Linkedin only .
    Talk to the respective developers, the OS provided the hooks, they need to implement this.
    4- Windows Phone must support running Adobe flash files ( swf & flv ) , Animated GIFs & Java files to be run & play on all WP8 devices .
    No modern day mobile OS supports Flash, it was discontinued a long time ago
    Not sure why JAVA would be such a big deal.. I can see the huge security issues and would expect it to conflict with OS
    5- Fix consuming huge amounts of data on memory by installed apps , the matter that often not found on a PC! .
    Not sure what you are getting at here, on your PC you need about three times the application install size as well.
    6 - one of many defects / faults / shortcomings in WP 8.1 is that user can't add any apps by himself to run within apps for video calls that exist in phone settings , nor adding apps in notifications action center , or apps that its status can be appear on lock screen , unlike ( rather than ) predefined apps by system itself , as well as , there is no ( choice / function / option ) to add an application that can be used to run different function , such as selecting Adobe photoshop Express to be within apps that can run picture files captured .
    Any app can use the notification centre is the developer supports it, go talk to them. Otherwise this makes no sense to me at all. I have no idea what you are getting at..
    7- There is no data connection switching & data speed connection type ( 4,3,2 G ) switching function in WP 8.1 notifications + actions center as well as Alarms function .
    Coming in new OS update. Not sure what this has to do with Alarms function
    8- Support memory Card readers and flash USB through mobile's micro USB .
    Not going to happen due to security issues
    9- improving Device hub function which display all connecting devices , but doesn't allow access to nor control or operate it .
    If there are supporting apps for said device they will show up here. Again the functionality is there, it's up to developers to implement
    10- Support recognize handwriting that support Arabic language & applications that support Arabic handwriting
    Could not care less.
    11 - there are duplicated features in its functions such as backup & sync my settings , Advertising id & IE privacy protection , NOKIA account & email + accounts , Network + & phone settings , about & extras + info , display & brightness function , rate us & feedback function .
    12- Enhancing Backup function for SMS Messaging .
    Why/How? you need to save a txt.. copy/paste it to a note ..
    13- one of many defects / faults / shortcomings is that when someone want to add a contact phone number , WP 8.1 doesn't let you select your save place or method , whether it was on sim card , SD card , phone memory or your Microsoft account , unfortunately WP save it directly only on your MS account by default .
    Nope, when you have multiple accounts the OS will ask which account the contact needs to sync with.
    Applications improvements :
    1- Much bigger support for major & significant applications in all areas and categories .
    Talk to the developers of said apps
    2- Improving & Enhancing Office document working experience & make preloaded or saved html browsed files can be readable easily .
    Can't say I have any issues with Office
    3- Must support & providing with Google apps & services , such as : Gmail , Google Drive , Translate , Maps , Earth , Youtube , Books , Google Chrome , Cloud Print , Voice , Wallet , Sites , Scholar , Panoramio .
    Talk to Google, they choose to ignore Windows Phone for some reason
    4- Develop & improve group video calls apps that can send and share various file types plus adding simultaneous group sharing or common group action / work for the same file in the same moment feature. that means you can open a video file for watching while all participants can watch it playing in the same time . Also we can open an app like papyrus and all what we do writing in is shown for all participants in the same time and also they can do writing in and save what they have done. Also, when playing audio file, all participants can listen to it at the same time ( this is completely different from upload and sharing feature and may looks like web conferencing ).
    Again, talk to developers, ther groundwork is actually in the OS.. Take up developing apps and do it yourself. If you think it's a big deal you stand to make a lot of money.
    5- Improving & Enhancing Remote Access apps & technologies for Devices & Systems Administration .
    No problem accessing anything through SSH or through any of the apps I have to access my PC, my server, my media players or my Xbox..
    Browser improvements :
    1- Adding Save Page as feature for html webpages that have been saved through G.Chrome in Windows 7 or have been browsed through IE 11 on WP 8.1 .
    This is a phone, not a desktop computer.. Do a screenshot
    2- an important functions in IE doesn't exist or discarded , such as home page button & Navigation buttons ( back & forward ) .
    Never missed the home button, actually never use it on my PC as well.. as far as back/forward goes try the back button (forward makes little sense to me anyway
    Store Improvements :
    1- resolve problem of store restricted download for certain apps that are dedicated to particular region .
    Talk to the developers, they set these limits when publishingthe app(s)
    2- Install applications from external memory ( SD Card ) without needing to Internet connection .
    See the earlier mention of this one
    Maps Improvements :
    Enhancing maps applications by adding ability to add places and landmarks to the map by the user , for example when I go for a trip or a picnic , I pass with someplace or landmark , such as a shopping mall , pharmacy or bookshop , ... etc where I like to add and save such this location data ( Name , info & details ) on map , then find it later through search function on this app like here maps or here drive .
    Tap/hold then save as favourite. Been there like forever
    Wallet Improvements :
    WP 8.1 Wallet should be improved to support and accept shop , buy from and payment for various websites and
    online stores , such as ebay , Amazon & Ali express and not being limited to buy from and pay for Microsoft stores only .
    Also , WP 8.1 Wallet became so primitive , because it is not ordered and categorized like previous WP version ( 8 ) , where you can name every card , set its details & infos and let ( allow ) you add various types of payment cards , such as : debit cads , offers : discounts coupons , subscriptions , memberships , prepaid cards , bank accounts ( your online mobile banking service data ) & E- payment accounts like Paypal rather than improve it to accept and support Mastercard paypass , electronic bill payment ( gas, electricity , water , telephone , any purchases ) like a POS machine , however it isn't like this in recent version of WP ( 8.1 ) . All the matter that Wallet takes or sync your raw , primary and so basic data as it is from your account on Microsoft ! and don't let you make any additions , modification or any specific customization .
    Up to stores/developers/shops/banks to support. The option is there and built in.
    Display & lock screen Improvements :
    1- Make alerts & notifications on lock screen are interactive .
    It's a lockscreen for a reason
    2- there is no news reader function / feature on lock screen like rss feeds .
    See above
    3- Support wireless screen content sharing : Clone View , Miracast , WiDi ( WiFi Display ) , screen mirroring on large displays for all WP8.1 devices .
    Depends on hardware, available where supported.
    Print & printing improvements :
    Support Wireless & Network printing for Office , Pdf , html & picture files or from any readable applications ( such as : news apps , health & fitness apps , some business apps , Education & books + reference apps ) .
    several apps in store for this
    Networks & Connection Improvements:
    1- Expand WiFi , Bluetooth profiles & other wireless connecting technologies uses and functionality to include other technologies unlike ( rather than being limited to ) Bluetooth & WiFi , such as : WiFi direct , WiDi , Miracast , …etc .
    Not sure what you are getting at here. IMO technologies should be used for what they are intended, not whatever side effects/hacks ppl made up oever time or at at time when there were no real options. Actually Bluetooth internet sharing is coming in the next update.
    2- Adding Wi-Fi direct feature for all WP devices to send any files through a Wi-Fi Connection directly.
    For what purpose?
    3- Support wireless connecting to various devices , networking with & access to such as PCs & Printers for files sharing or exchanging , management.
    My files are on Onedrive and available anywhere anyway.. no need for this
    Hardware improvements :
    1- Support recognize handwriting that support Arabic language & applications that support Arabic handwriting.
    2- Support memory Card readers and flash USB through mobile's micro USB .
    mentioned earlier, if you say so
    Security & Protection Improvements :
    improve device security and protection against stealing , like making an app for detect the person who enter invalid lock key to open the device .
    Not sure how you see this.. once I take the SIM out and reset the link to you is gone
    ==================================================​======
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..

  • Validation error while trying to change a value in a request scope bean

    - JBoss 4.2.3.GA
    - JSF 1.2_09-b01-BETA1 (Mojarra)
    - Java 5 Update 17
    Hello, everybody!
    I'm having the following problem in my JSF web application:
    I have a request scope backing bean. The first time this bean is loaded (I check
    this with the ResponseStateManager.isPostBack() method) I fill a list of SelectItem
    instances that are to be displayed in the JSF page in a +<h:selectOneMenu>+ component.
    The list goes, of course, to the +<h:selectOneMenu>+'s +<f:selectItems>+ facet child
    component. In the constructor I also define the value that goes to the value property
    of the +<h:selectOneMenu>+ component. This value is a property in the backing bean, as
    is the list of SelectItem instances. Until now we have something like this:
    The backing bean declaration in faces-config.xml:
    <managed-bean>
        <managed-bean-name>solicitacaoGeral</managed-bean-name>
        <managed-bean-class>br.urca.solicitacoes.web.PaginaSolicitacaoGeral</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    The relevant parts of the JSF page:
    <h:form id="form">
        <h:selectOneMenu value="#{solicitacaoGeral.setorOrigem}" id="foco">
            <f:selectItems value="#{solicitacaoGeral.setoresOrigem}" />
        </h:selectOneMenu>
    </h:form>
    The relevant parts of the backing bean class:
    public class PaginaSolicitacaoGeral
        private final List<SelectItem> fSetoresOrigem = new ArrayList<SelectItem>();
        private Setor fSetorOrigem;
        public PaginaSolicitacaoGeral()
            if (primeiraExibicao()) // First load (!ResponseStateManager.isPostBack())
                // Fill fSetoresOrigem...
                fSetorOrigem = ...
            else // Page submitted
                // Read below...
        public List<SelectItem> getSetoresOrigem()
            return fSetoresOrigem;
        public Setor getSetorOrigem()
            return fSetorOrigem;
        public void setSetorOrigem(Setor setorOrigem)
            fSetorOrigem = setorOrigem;
        private boolean primeiraExibicao()
            String idFerramentaExibicao =
                FacesContext.getCurrentInstance().getViewRoot().getRenderKitId();
            ResponseStateManager gerenciadorEstadoResposta =
                RenderKitUtils.getResponseStateManager(
                FacesContext.getCurrentInstance(), idFerramentaExibicao);
            return !gerenciadorEstadoResposta.isPostback(
                FacesContext.getCurrentInstance());
    }But when the user submits the form and the bean constructor is called again
    (this time the method ResponseStateManager.isPostBack() returns true ),
    in the else block in the constructor above, I need to fill fSetoresOrigem with
    other values and also the fSetorOrigem field because, of course, the fSetorOrigem
    field has to be a valid value that exists in the new fSetoresOrigem list.
    JSF is not complaining about the change to the list items, but it is complaining
    to the change to the fSetorOrigem field (the list value), even though it is a
    valid value present in the list. So I'm getting this error message:
    08:23:54,312 INFO  [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
    sourceId=form:foco[severity=(ERROR 2), summary=(form:foco: Validation Error: Value is not valid), detail=(form:foco: Validation Error: Value is not valid)]I suppose that JSF is comparing the new value of the field fSetorOrigem with the value
    it has in the view state. As the value is different it is raising the error. That's
    what I suppose. But am I not able the change the value in the postback? I've already
    checked and the value is valid. It corresponds to a value that exists in the list.
    I really need a solution to this problem as I'm stuck with this and can't proceed until
    I find a solution to this. What I am doing wrong and how can I solve this?
    Thank you very much.
    Marcos

    BalusC wrote:
    It is comparing the selected value against the List<SelectItem> returned by getSetoresOrigem() as it is during the apply request values phase of the form submit request.Ok. That's what I supposed JSF was doing.
    BalusC wrote:
    If the selected value isn't in there, then you will get this error.I can understand this, but is this right? As I said, the old value isn't really there because I changed the list values to new ones. But the new value (the value of fSetorOrigem ) corresponds to a value that exist in the new list items, so a valid value. So JSF is not considering that I also changed the list, not just the value. It is comparing the new value with the old list, not the new one. Acting like this JSF is making the page looks like a static HTML page, not a dynamic one. If I can't change the list and the value, what's the point of that? In my point of view I'm not doing anything wrong, I'm not violating any JSF rules.
    Marcos

  • Keeping the values in Request bean across more than 2 pages

    Hi...,
    I have created a Bean with request scope & want to access it across 3 different pages.
    From the 1st page once I submit the values , I do a forward (redirect=no) to the second page where I can print the values . From the 2nd page I then do a forward to the 3rd page (redirect=no) & I loose the values.
    How do I keep the request bean active across multiple pages. But I don't want to make it session as this is a form to enter values & our users might open multiple forms as the same time.
    Regards,
    Praveen

    Hi....Balu,
    We are having a issue when using ajax on top of JSF . Setting the variable hidden is somehow not working.
    Secondly, what is requestMap & where can I find the information.
    Regards,
    Praveen

  • Problem with Commit button When Backing bean is in Request Scope...

    HI Everybody,
    I have a Backing Bean in request scope having over 1000 lines of code, And in my JSPX page I have a table binding with a view object and At run time when user select the row in table and click the edit button so user will be able to edit that selected row in the same table at run time.. but the problem is : when the user enters some data in the Editable inputTexts and then clicks save(Commit), then the save button doesn't work..but when i delete any selected row and then press save then it is working fine..
    And to test it in Session scope i made another sample page where every thing is working very fine..
    Now i want to know What is the difference between Session scope and request scope bean...
    And is there any solution to Save editable input text in Request scope?.
    Also want to know that is it safe to set the scope of my main bean class to session scope without effecting the current running functionality? which is having over 1000 lines of code and lot of component has been placed...
    Please help me to resolve this problem...
    Thanks in Advance to all of you
    Fizzz..

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

  • How to handle Valuechange events, when page bean is in request scope

    Hello balusc and forum mates,
    I want to know is there any good way to handle ValueChangeEvents events, when the page's bean in request scope.
    My problem is, I have a page having more than 1 value change event so How can I maintain page values at backing bean. My bean is request scope, I can't change to session scope.
    Please I really need it.

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

Maybe you are looking for