Graphs (in JSP)

I created a simple bar chart by dropping my VO onto my JSP as a graph. I notice that when I display the data value above each bar, the data value displays with decimals. Is there any way to display data values without decimals (i.e., "56" vs. "56.0") ? I don't see an option for this. Also, is there any way to make each bar of the bar chart hyperlink to a URL ?

you might want to try asking this on the BI Beans forum also:
BI Beans

Similar Messages

  • How to create graphs on JSP page in JDeveloper 10.1.3

    Hi all,
    Is there an easy way to create graph objects with JDeveloper 10.1.3? I have taken a look to some tutorials, but it looks like they all use the "drag/drop graph from the data control palette" method.
    E.g. I got example 88 to work from http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html, but I have no idea how to get the BIGraphDef1.xml object and how to link it to a set of data.
    Are there some tutorials to show how graphs can be used in JDev 10.1.3?

    Frank,
    This is what I did to implement the graphic manual, but I think, I forgot something...
    1. create a new application with projects DataModel and UserInterface
    2. in the DataModel I created a similar master/detail view as the one of Steve, this is named:
    TestModuleDataControl
    \--DepView
    __\--Deptno
    __\--Dname
    __\--Loc
    __\--EmpView1
    ____\--Sal
    3. I created a new jspx page and added a graph tag:
    <f:verbatim>
    <graph:Graph data="${bindings.DepartmentsEmployeesInDepartmentGraph}"
    imageHeight="200" imageWidth="400"/>
    </f:verbatim>
    4. in the page definitions I added
    <graph id="DepartmentsEmployeesInDepartmentGraph"
    IterBinding="EmployeesInDepartmentIterator"
    ControlClass="oracle.dss.graph.Graph"
    SeriesLabel="Ename"
    GraphPropertiesFileName="userinterface.BIGrap1hDef1"
    SeriesType="SINGLE_SERIES">
    <AttrNames>
    <Item Value="Sal"/>
    </AttrNames>
    </graph>
    5. I added also the iterator:
    <iterator id="EmployeesInDepartmentIterator" Binds="EmpView1" RangeSize="10"
    DataControl="TestModuleDataControl"/>
    6. I copy/pasted the BIGraphDef1.xml from Steve's project into 'Application Sources'\userinterface.
    7. in the web.xml file in WEB-INF I added:
    <servlet>
    <servlet-name>GraphGeneratorServlet</servlet-name>
    <servlet-class>oracle.jbo.html.jsp.graph.GraphGeneratorServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>GraphGeneratorServlet</servlet-name>
    <url-pattern>/GraphGeneratorServlet</url-pattern>
    </servlet-mapping>
    8. when I run the page, I can't see the graph and there are also no errors. I think I mis a global setting somewhere...
    Is there anything I forgot to do?
    note: if I add a new jsp page into steve's application, I do can see the graph if I perform the steps mentioned above...
    I just found out that, If I create the graph on a page which is in the root directory, then it works. If I put it in a subdirectory, it doesn't:
    - create graph as mentioned above on a page: web content/myGraph.jspx --> works
    - create graph as mentioned above on a page: web content/app/myGraph.jspx --> doesn't work...
    Does somebody know where to put a setting/parameter to get the Graph visible in the subdirectory app?

  • Display more than one BI bean graph on JSP page

    Hi,
    I want to show BI Beans graphs on a JSP page (just the Jdev 10.1.2 included components, not the OLAP backed ones) but I want to show a different graph for each row iterated in the JSP so I'll end up with up to 20 graphs on the screen.
    Currently I can have it showing the 20 graphs quite happily, but they're all the same (that is, they all look the same but they have different IDs). I note from the way I understand this works that they're all being made off the currentRow of the viewobject. I want to somehow increment the current row for the data as the view iterator advances. I could break the model 2 separation and do it with java scriptlet in the JSP but this is my least favoured way. Is there some other way I can have all the graphs prepared from a struts action which does advance through the data and then goes on to show the jsp?
    I'm guessing this is somewhat related to a master detail graph - except when I tried to run with one I got some nasty exceptions within the graph tag library. I'm not sure that's what I want anyway as I need to format the page as a report so I need each graph to be a separate image.
    Any help appreciated
    - Nathaniel

    What I'm after is a way to create the BI Beans graphs supplied with Jdev 10.1.2 ni a java class rather than a JSP. Is there a way to do this?

  • How to  plot a graph in JSP

    How to plot a graph in JSP

    Hi!
    You can use jfreechart.
    It is a good tool and if you search on Google you can find more info and more web examples (files, .war, ...)
    Bye.

  • How to create graph by JSP

    How to create graph by JSP

    Create an image [ http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Image.html ], draw on image [ http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Graphics.html ], output image in png format [ http://java.sun.com/j2se/1.5.0/docs/api/javax/imageio/ImageIO.html ].

  • Graphs in JSP/Servlets.

    Hi,
    i have to plot different kind of graphs/charts in my web application. can somebody suggest how best i can do this.

    You can use http://www.jfree.org/jfreechart/.
    If you want to use taglibs: http://cewolf.sourceforge.net
    HTH
    Andi

  • How to draw an interactive network graph in JSP

    hi all,
    I want to draw a network graph in web page by reading data from database. In the graph, there are some points with lines between them. And I need some interactive features. If I put the mouse on the point, some information should be displayed. I could click the point to jump to the other pages. And I could change the layout of the network graph by dragging the point.
    JFreeChart can not draw the network graph and has limited interactive feature. Could anybody give me some solution?
    Thanks a lot!
    fancy

    u can find all what u need here:
    http://jakarta.apache.org/commons/fileupload/
    i think it will help u a lot

  • How Can i do a excel graphic with jsp?

    have to create an excel graph in jsp taken there values of a database.
    thanks a lot,
    Federico.

    "is used to spawn Excel from a JSP page, from the output of a HTML table but i dont know how (or if you can) to manipulate Excel through java so that you can get a chart."
    Let me rephrase this hehe =P
    You create an HTML table from the data you pull from the database. You then use the setContentType
    <%
    response.setContentType("application/vnd.ms-excel");
    %>
    this is to tell the browser it should look for Excel on the client machine, to dispay the output.
    Again i hope this helps even a little =)

  • Parameter for Graph

    Hi all
    I need to use BI Beans to draw fraph ın a JSP page.
    I have created graph by using Data Binding (I have bind a view object from Data Control Palette to JSP Page and it is work)
    I want to create a graph in JSP page
    1. from regular data (in XMl format)
    2. by binding an array
    3. by sending a parameter to Query in view object.
    How can i do that
    KR
    BEKIR BALCIK.

    Hi Martin,
    You can concatenate both year and month column by creating logical column in bmm layer or use concatenate in report level.
    year||'-'||month
    if your year column is not a varchar then cast(year as char)|| '-'|| Month
    Cheers,
    Aravind

  • ADF Faces and BI Graph?

    Is it possible to use BI Graph with ADF Faces?
    So far I was using BC4J/JSP/Struts and to put Graph (<graph:Graph/>) into JSP page was easy - using Data Control Palette. Now I want to migrate to JSF (ADF Faces) but when I create JSF JSP - it is impossible to insert some ViewObject as Graph from Data Control Palette.
    Thanks for any clue.
    brano

    My current solution is:
    The ADF Faces main page:
    <af:showOneTab position="above">
    <af:showDetailItem text="Graph Include" disclosed="true">
    <f:verbatim>
    <jsp:include page="${pageContext.request.contextPath}/graphs/Graph.jspx"
    </f:verbatim>
    </af:showDetailItem>
    The Graph page:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:graph="/webapp/graph.tld"
    xmlns:adf="http://xmlns.oracle.com/adf/ui/jsp/adftags">
    <jsp:output omit-xml-declaration="true"
    doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <html>
    <adf:pagedefinition/>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>Graph</title>
    </head>
    <body><graph:Graph data="${bindings.EmployeesView1}"
    imageHeight="240" imageWidth="320"/>
    </body>
    </html>
    </jsp:root>
    When I try to run this, I get the following error:
    500 Internal Server Error
    javax.servlet.jsp.JspException: data attribute evaluates to null
         at oracle.jbo.html.jsp.graph.GraphTag.doStartTag(GraphTag.java:212)
         at graphs.Graph_jspx._jspService(_Graph_jspx.java:67)
         [graphs/Graph.jspx]
    Could you please post the solution?

  • Deploying ADF Mobile Browser Sample App in JDeveloper 11.1.2.3

    Hi,
    I had problem in deploying the sample app for ADF Mobile Browser in JDeveloper 11.1.2.3.
    I had tried every solution such as replacing web.xml for the Sample App with web.xml created in JDeveloper 11.1.2.3.
    I could not find the Jar file for the oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler in the web also.
    Please help to solve this problem as I had tried for many days.
    Thank you very much! =)
    ADF Mobile Browser Sample App URL:
    [ADF Mobile Browser Sample App|http://www.oracle.com/technetwork/developer-tools/adf/adf-mobile-browser-1864237.html]
    Error Log:_
    *<ConfigureListener> <contextInitialized> Critical error during deployment:*
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at com.sun.faces.util.Util.loadClass(Util.java:303)
         at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:420)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:371)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:314)
         at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:263)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:340)
         ... 38 more
    <Dec 10, 2012 12:20:15 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler.
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:293)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
         Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <FactoryFinder$FactoryManager> <getFactory> Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.
    <ConfigureListener> <contextDestroyed> Unexpected exception when attempting to tear down the Mojarra runtime
    java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
         at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:996)
         at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:331)
         at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:131)
         at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:329)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3224)
         at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
         at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
         at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
         at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
         at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
         at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
         at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
         at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
         at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:63)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    <Dec 10, 2012 12:20:15 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1355122207762' for task '3'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.bi.facelets.graph.RichSeriesSetHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    Edited by: 975879 on Dec 9, 2012 10:56 PM

    Hi Frank,
    Thanks for the fast response.
    Based on your advice, I had try to comment out all usage of graph in jsp, web.xml, and data binding file.
    But even after perform these, I still facing the same problem.
    For your information, RichSeriesSetHandler does not exist in the oracle.adfinternal.view.faces.bi.facelets.
    I suspecting RichSeriesSetHandler is configured in the app and it occur this error as it could not find the class.
    I had try to search this usage of this class in the app but there is no results found.

  • HELP: java.lang.IllegalStateException: Response has already been committed

    I have a little problem.
    I'm trying to draw a graph is JSP. And I did it. I'm my computer works fine with no problems. But I have a server and when I try to run the program there it appears this error message.
    My computer :
    Pentium 4 1.6 GHz
    O/S : Win2k
    Apache 3.3.1
    Tomcat 1.1.1.1
    JDK 1.3.1.01
    Oracle 9.0
    And the server :
    HP L-2000 Class Server
    O/S : Unix
    Apache 3.3.1
    Tomcat 1.1.1.1
    JDK 1.3.0.01
    Oracle 9.0
    And the error message is :
    Error: 500
    Location: /kmcp/sttssrch/Merchant/mstat-01-coupon-graph.jsp
    Internal Servlet Error:
    java.lang.IllegalStateException: Response has already been committed
         at org.apache.tomcat.core.HttpServletResponseFacade.sendError
    (HttpServletResponseFacade.java:157)
         at org.apache.jasper.runtime.JspServlet.unknownException
    (JspServlet.java:299)
         at org.apache.jasper.runtime.JspServlet.service
    (JspServlet.java:377)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.handleRequest
    (ServletWrapper.java:503)
         at org.apache.tomcat.core.ContextManager.service
    (ContextManager.java:559)
         at
    org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnect
    ion(Ajp12ConnectionHandler.java:156)
         at org.apache.tomcat.service.TcpConnectionThread.run
    (SimpleTcpEndpoint.java:338)
         at java.lang.Thread.run(Unknown Source)
    And the library I use are :
    import="java.awt.*, java.awt.image.*, com.sun.image.codec.jpeg.*, java.util.*, kmcp.*, java.sql.*,
    java.text.*"
    And when I declare a graph I use this command :
    BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    Graphics g = image.getGraphics();
    Can anyone tell me what kind of problem and where and how can I solve it?
    Thanks.
    [email protected] ( is my e-mail address )

    Can anyone tell me what kind of problem and where and
    how can I solve it?
    Thanks.The most likely cause is that you are forwarding to or from another JSP or servlet after already sending output to the client.

  • I need to get an array list from a databse

    Hi guys,
    I want to do a graph using jsp and it works if the array is pre-determined. But i wanna dynamically generate an array from the database records. Is it possible and if so...may i know how to implement that.
    Please reply as soon as possible.. coz i it quite urgently
    Thank you.
    Regards,
    Ct'zen

    The FormattedDataSet API has a simple class that converts from a ResultSet to a 2 dim array.
    ResultSetConverter rsc=new ResultSetConverter(resultSet);
    // Here are all the methods available in the ResultSetConverter.
    Object[][] data=rsc.getResultSet();
    String[] header=rsc.getMetaData();
    int rows=rsc.getRowCount();
    int cols=rsc.getColCount();
    boolean empty=rsc.isEmpty();
    /* Other methods are available that allow you do return ResultSetConverters without interacting with jdbc at all.  For example note in the code below there is no opening/closing of Connections, Statements, and ResultSets.  In addition behind the scenes all jdbc calls are monitored with JAMon.
    DataAccess da=new DataAccessJ2EE("MyDataSource");
    rsc=da.getResultSetConverter("select * from table");steve - http://www.fdsapi.com - The easiest way to generate dynamic content in java, including xml and html

  • Troubleshooting Oracle array type names in JDBC calls

    Hi,
    There are several threads in this forum about people having trouble with the array SQL type names that the Oracle JDBC driver recognizes (e.g., in a call setting up PLSQL procedure OUT parameters like "call.registerOutParameter(1, Types.ARRAY, "VARCHAR_NESTED_TAB_TYP");"). I've seen at least the following threads:
    * vinay saini's "accessing package defined datatypes in oracle from JDBC" thread (Re: Heterogeneous Connectivity to SQL Server from 8.0.5
    * fwelland's "PL/SQL Tables as IN parameters???" thread (Re: entity relationship/model of database diagram
    * Ernesto Marquina's "Table Type as OUT parameter" thread (Re: Changing namespace
    * Nazneen Nahid's "Oracle PL/SQL type defined within a package can't be passed from JAVA" thread (Re: BI Beans Graph in JSp
    * vinay saini's "mapping Table/VARRAY data type to JDBC data type" thread (Re: 9.0.3 unable to find session bean for AM
    I'm stuck in the middle of this myself, and found that something useful to look at is the PLSQL procedure that the driver uses to determine whether the type is there. You can run the following test PLSQL block with your schema name and type name to check on the database side whether it will work:
    declare
    schemaname varchar(255);
    typename varchar(255);
    typoid raw(255);
    version integer;
    tds long raw;
    lds long raw;
    begin
    schemaname := 'MKT2_SMD9';
    typename := 'VARCHAR_NESTED_TAB_TYP';
    dbms_output.put_line('Result for '||schemaname||','||typename||'='||
    dbms_pickler.get_type_shape(schemaname, typename, typoid, version, tds, lds));
    end;
    If the procedure returns 0, then the JDBC code should have no trouble picking up the array type and handling your call. If the procedure returns a nonzero number, the JDBC code using the same schemaname and typename will probably fail. This at least allows you to try a number of different schema and type names with the application and driver layers eliminated. Unfortunately, I have no idea how get_type_shape works, and it doesn't seem to be documented in Oracle's 9i docs, so I can't shed any light on why some things work and others don't.
    Jim

    I guess, in hibernate, in order to make it serialized object, try using set/collection implementation.

  • JSP graph image works in Reports Builder but not in JDev9i

    Robin,
    None of these changes work. What else should I check?
    In the rwservlet.properties file (not rwserver.properties **)
    I changed #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    to IMAGEURL=C:\Oracle\Oracle9iDS2\reports\cache\
    or
    IMAGEURL=http://<web_server_name>:<port_num>/servlet/oracle.reports.rwclient
    .RWClient
    [IMAGEURL=http://163.249.38.151:8988/servlet/oracle.reports.rwclient.RWClient]
    [IMAGEURL=http://163.249.38.151:8888/servlet/oracle.reports.rwclient.RWClient]
    Would my localhost name and http port be the in-process JDeveloper OC4J listener?
    Also my ports keep being reassigned (up one number) when I terminate the embedded OC4J server and run the JSP again. (That is what you meant by restart the server, right?) from 8988 to 8989 to 8990 etc.
    John Williams
    Hi John,
    The reason that you aren't seeing that graph in JDeveloper is that rwservlet
    isn't available with the JDeveloper in-process OC4J listener. The OC4J
    listener is the minimum requirement. In addition, Reports forces the graph
    to be retrieved via the Reports server for security reasons. Ie: you
    shouldn't be able to get at graph images simply by knowing their URL. In
    the Reports builder environment, security is not the issue so there is a
    direct reference to the file.
    Now, when you're running from JDeveloper, you need to tell Reports how it
    should configure the URL. Reports runs in a secure mode by default to
    retrieve the images and, since JDeveloper is calling it as a through a Web
    listener, it is responding to a normal request and hence forcing the image
    to be retrieved via rwservlet.
    To tell Reports to access images directly or through another listener, you
    need to alter the %ORACLE_HOME%\reports\conf\rwserver.properties file and
    uncomment and change the following line: **
    #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    to
    IMAGEURL=C:\Oracle\Oracle9iDS2\reports\cache\
    Or
    IMAGEURL=http://<web_server_name>:<port_num>/servlet/oracle.reports.rwclient
    .RWClient
    Where <web_server_name> and <port_num> are the values of the in-process
    JDeveloper OC4J listener.
    You will need to re-start the Reports server. This should generate the
    appropriate link to the image when run from JDeveloper.
    When you deploy your application through a standard iAS OC4J instance
    containing the Reports Servlet, this IMAGEURL entry should again be
    commented out. Since the servlet is available in this iAS OC4J instance,
    the images will appear when referenced through rwservlet.
    Robin.
    When I leave the server parameter attribute out my GraphReport.jsp runs
    from JDev9i (using the same server as Reports Builder). The only thing
    missing now is the graph after my report. It shows up as a small square
    image tag.

    I found out the answer to both of my problems.
    1) for the missing graph image
         In the documentation link below I found a pdf file that gave the details.
    In the rwservlet.properties file in the IMAGEURL attribute
    the part that was missing is after the port #.
    IMAGEURL=http://<host>:<port>/<Workspace>-<Project>-context-root
    /servlet/oracle.reports.rwclient.RWClient
    2) for the port conflict - switch from the 'ojvm' virtual machine to 'hotspot'
         so that the embedded OC4J server is killed when it is terminated.
    I found these answers under Oracle Technology Network > documentation
    at http://otn.oracle.com/docs/products/reports/content.html
    Development Tools
    Reports Developer
    Oracle9i Reports Release Notes (pdf file)
    1.19 Oracle JDeveloper Integration
    1.19.2 Graph Not Appearing in Oracle JDeveloper
    When running a JSP report with the rw:graph tag in Oracle JDeveloper, the image is not visible in the browser. To fix this problem, set the IMAGEURL in the rwservlet.properties file in ORACLE_HOME/reports/conf:
    IMAGEURL=http://<host>:<port>/<Workspace>-<Project>-context-root
    /servlet/oracle.reports.rwclient.RWClient
    1.19.3 Reports In-process Server
    If the Java Virtula Machine (JVM) is set to ojvm, minimal, or vanilla in Oracle JDevelopers Virtual Machine settings (Project Settings -> Runner -> Virtual Machine), the rwservlet's in-process server is not killed when JDevelopers embedded OC4J server is terminated. As a result, a port conflict occurs the next time that OC4J is started.
    To avoid this problem, do one of the following:
    Set the JVM to Java Virtual Machine to hotspot.
    Disable the in-process server in ORACLE_HOME/reports/conf/rwservlet.properties and
    use the standalone Reports Server instead.
    John Williams

Maybe you are looking for

  • CreateFont not working the same in 1.5.0 Beta 2

    The attached code will work as expected under JRE 1.4.2, but not under 1.5.0 Beta 2. The createFont method in 1.5.0 doesn't register the new font at the local environment, so it will not appear when listing the available fonts and the embedded HTML-a

  • How do I get all my music back if it has been erase

    How can I get back all my music on my iPod my son erase it

  • Documents not Visible & Unsatisfactory Chat Support

    I occasionally have problems with seeing my pasted created documents after logging in to my page. During the time that this happens I also can't create/merge any pdf files. I went online to ask for technical support to see if this was an internal pro

  • Confirmation to Vendor after Goods Receipt

    I need to send a confirmation on the Qty received to Vendor after the Goods receipt is done via email. Is this possible?

  • Show '*' when typing password

    Probably been asked many time before but how do I make it that when I'm typing a passwrod at the console it shows and asterisk for each letter I type. I'm having a few problems with my wireless keyboard and I have no idea how many key presses the PC