Complete BI Beans JSP Application Issues

Hi,
I have few issues with using BI Beans in a JSP based web application
1) I have created a new project of Complete BI JSP Application in Jdeveloper 10. When I run this application there are NULL Pointer exceptions logged on the console. But it doesnt effect the application and the application runs smoothly. Can any one suggest what is causing these NULL pointer exceptions.
2) Secondly, I want to use my custom logging using log4j for this application, but since everything is done in jsp itself in this application, there is no scope of java classes for logging. Can anyone advise me what is the actual way of doing it.
Regards,
Vigo

peter is right, Use the same driver version as that of your database. Copy the classes12.zip and nls_charset12.zip from database_home\jdbc dir to your application directory.
Hope it works
regards
Mukesh Harjai

Similar Messages

  • JSP Application Deployment Error : BIB-16632

    I have successfully developed , Tested in the development environment and deployed a BI Beans JSP application . But when I try to access the same JSP through the Web Context root , I am getting the following error
    Error
    javax.servlet.jsp.JspException: BIB-18007 A MetadataManager exception has occurred.
    BIB-10100 Cannot connect to the database. (Reason: See error BIB-16632)
    BIB-16632 Cannot connect to the database because the JDBC driver version is incompatible with the database version of the OLAP option.
         at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:194)
         at simpleJSP.jspService(_simpleJSP.java:68)
         [SRC:/simpleJSP.jsp:6]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    The BI_CHECKCONFIG output is as under
    BI Beans Diagnostics(v1.0.2.0) 8/17/04
    =========================================================
    JDEV_ORACLE_HOME .......................... = c:\jdev904
    JAVA_HOME ................................. = C:\j2sdk1.4.2_01
    JDeveloper version ........................ = 9.0.4.0.1419
    BI Beans release description .............. = BI Beans 9.0.4 Production Release
    BI Beans component number ................. = 9.0.4.23.0
    BI Beans internal version ................. = 2.7.5.32
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 9.2.0.4.0
    JDBC JAR file location .................... = C:\jdev904\jdev\lib\patches
    Database version .......................... = 9.2.0.4.0
    OLAP Catalog version ...................... = 9.2.0.4.0
    OLAP AW Engine version .................... = 9.2.0.4.0
    OLAP API Server version ................... = 9.2.0.4.0
    BI Beans Catalog version .................. = N/A; not installed in BIBDEMO
    OLAP API JAR file version ................. = 9.2
    OLAP API JAR file location ................ = c:\jdev904\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    Number of metadata folders ................ = 2
    Number of metadata measures ............... = 12
    Number of metadata dimensions ............. = 8
    Metadata output location .................. = C:\jdev904\bibeans\bi_checkconfig\bi_metadata.txt
    Can anybody please help ?

    Your middle tier has the incorrect JDBC libraries installed. The documentation on the BI Beans section of OTN explains how to deploy a BI Beans app and how to include the correct JDBC files with the deployment:
    Setting up a separate OC4J instance in Oracle9i Application Server on Windows for BI Beans Deployment
    Setting up a separate OC4J instance in Oracle9i Application Server on Unix for BI Beans Deployment
    Deploying Applications to BEA WebLogic Server
    For example in the Windows documentation, the following steps are required:
    Log into the machine where you created the oc4j_bibeans instance. You must log in as the user who installed Oracle Application Server.
    Create a new directory named jdbc under new_oc4j_instance. This is the name you specified in the -Djava.ext.dirs option in step 2.
    Copy the JDBC driver files (classes12.jar, classes12dms.jar, and nls_charset12.jar) to this new directory. The correct source for these files differs, depending one which type of JDBC driver you are using.
    If you are using the Oracle JDBC Thin (Pure Java) driver, then copy the files from the $ORACLE_HOME\bibeans\jdbc\lib_92 directory in the BI Beans installation. Do not use the files that are installed with JDeveloper.
    If you are using the Oracle JDBC Thick (OCI) driver, then copy the files from the Oracle9i client or server installation. When you use the thick driver, the version of the JDBC driver files must match the version of the database client. The files are located in the $ORACLE_HOME\jdbc\lib directory, where $ORACLE_HOME is the Oracle Home for the database.
    Return to Oracle Enterprise Manager and click Application Server Instance.
    Select the oc4j_bibeans instance from the list and click Start. You are now ready to deploy your Oracle BI Beans 10g (9.0.4) application.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Problems with Complete Bi JSP Application.

    Hello.
    I can see perfectly my presentation, it connect with database perfectly, but when i creacte a complete bi Jsp Application to incorporate this Bi Bean Object , i have this problem.
    It generate a exception in MetadataManager and cannot connect with database.
    Could anybody help me?
    Thanks a lot.
    BIB-18007 Se ha producido una excepción de MetadataManager. BIB-10100 No se puede conectar a la base de datos. (Motivo: Consulte el error oracle.i1) BIB-16601 No se puede conectar a la base de datos. (Motivo: Consulte el error oracle.i1) oracle.i18n.util.builder.UnicodeMapChar oracle.i18n.util.builder.UnicodeMapChar
    Rastreo de pila
    javax.servlet.jsp.JspException: BIB-18007 Se ha producido una excepción de MetadataManager.
    BIB-10100 No se puede conectar a la base de datos. (Motivo: Consulte el error oracle.i1)
    BIB-16601 No se puede conectar a la base de datos. (Motivo: Consulte el error oracle.i1)
    oracle.i18n.util.builder.UnicodeMapChar
    oracle.i18n.util.builder.UnicodeMapChar
    at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:293)
    at Analyze1.jspService(Analyze1.jsp:12)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)

    This usually implies the JSP application cannot connect to the database listed in your runtime configuration setting of your BIDesigner.
    In the BIDesigner check to see how the runtime connection is configured. There are two options:
    a) Use design settings - this will use the local catalog in your JDev project
    b) you can create a specify a BIDesigner connection and a corresponding BI Catalog connection
    If you are using option (b) then make sure your presentation is copied to the BI Catalog. Then test all the connections including the catalog connection listed on the runtime settings tab of the BIDesigner.
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Issues with deploying BC4J/JSP applications on OC4J

    To everyone who's been having problems deploying BC4J/JSP applications to OC4J.
    We are aware that you're having problems deploying to OC4J, and we're working on them. OC4J was not available in time for us to add support for OC4J deployment to the JDeveloper 3.2.3 release. In addition there are some bugs in the first release of OC4J that have an impact on BC4J applications. This note describes the issues, and how we plan to address them.
    Issue 1: Classpath problems
    People have been getting "class not found" or "properties file not found" errors when they try to run their JSP. The answer is to make sure that all relevant archives and your JSP's .properties file are in the OC4J classpath - there's a note addressing the .properties file problem at http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html. In general though, setting up the classpath can be tricky.
    Issue 2: JSP TAG NOT RELEASED ON END TAG. SAME TAG IS REUSED.
    This issue affects JSP pages whose behaviour relies on a tag instance being cleaned up as a result of release() being called.
    Your tag will not be released, and subsequent instances of the tag will reuse the first instance, rather than instantiating a new
    one.
    Issue 3:JSP SCRIPTABLE VARIABLE NULL
    A scriptable variable set in a tag cannot be accessed by a scriptlet. For example, this JSP code will throw a
    NullPointerException, because the scriptlet cannot access the value of resultRow:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>Workaround: Add a line of code at the beginning of the scriptlet to explicitly get the variable's value from the page context, for
    example:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    resultRow = (oracle.jbo.Row)pageContext.findAttribute("resultRow");
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>
    What we plan to do
    To address issue 1, we're currently testing a utility that installs the BC4J runtime libraries to OC4J, and provides a script to start OC4J with the correct classpath. We plan to post this by the end of this week, along with instructions for deploying a BC4J application to OC4J; deployment will be a lot simpler after running the utility.
    To address issues 2 and 3, we're working on a second utility that installs BC4J runtime and provides a fix to the JSP compiler. We plan to post this second utility by the end of next week.
    We do apologise for the problems you're having; please bear with us as we work on making it easier for you to deploy BC4J applications to OC4J.
    Thanks
    Blaise

    Hi, I have been trying desparately to deploy
    a simple example JDeveloper application for months and months.
    I HAVE NEVER BEEN SUCCESSFUL IN DEPLOYING ANYTHING.
    I don't know much about webservers and I am relying
    on the instructions from JDeveloper help and this website.
    I have already tried Apache, and WebLogic
    because there are instructions in the JDev help.
    No luck.
    Now I am trying to use OC4J on 9ias because there are instructions.
    I have read the instructions about how to install a BC4J
    app on OC4J about 25 times, but I can't get this thing to work.
    It works fine inside of JDeveloper.
    I create a BC4J project using the scott
    schema (just the dept and emp tables).
    Then I create an empty project for my JSP client.
    I choose JSP Application from the web
    objects and it connects to my BC4J project.
    As I say, when I run it in JDeveloper, there is no problem.
    In the instructions for installing BC4J
    in OC4J, it first says install JDev 3.2.3 and OC4J.
    This is done, and it tested fine.
    Then it says to install the deployment software.
    No problem.
    But when I deploy the app according to the instructions,
    it just hangs (like Rick Wang's program did).
    The main.jsp page loads and displays correctly,
    but when I click on the links to the DeptView.jsp
    or EmpView.jsp it just hangs.
    Here is the entire batch file I'm using
    to start OC4J: cd c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\default-web-app\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\classes
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\classes12.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jdev-rt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbojdbcpatch.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\connectionmanager.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbohtml.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboimdomains.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordim817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordvir817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordhttp.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbomt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodomorcl.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboremote.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jndi.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodatum12.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\al_BC4J.jar
    java -cp C:\oracle_9ias\j2ee\home\orion.jar;%CLASSPATH%
    com.evermind.server.ApplicationServer
    pause
    The file al_BC4J.jar contains my application.properties file
    and my connections.properties file, as well as my business components.
    All of the files referenced in my classpath are
    present in my c:\oracle_9ias\j2ee\home\lib directory.
    I noticed that Raghu's classpath contains a file called jdev.jar
    So does the classpath of another fellow who says
    he was successful in deployment (his name is Jeffrey Jackson).
    I searched my JDev_3.2.3 for this file and found it nowhere.
    I also searched my OC4J home and my 9iAS for this file and
    found it nowhere.
    It is nowhere on my C:\.
    Is this file necessary?
    I will also try removing my application.properties file
    and my connections.properties file from my BC4J .jar file
    and put them in a separate .jar file at the root level (as Raghu did).
    However, Jeffery Jackson did not do this and says he was
    successfull in deployment.
    ***DO I NEED TO JAR UP ANY OF MY THE FILES FROM the JSP
    FOLDER IN JDevHome\myhtml???***
    ***or place them in the classpath?***
    I have read over all of the discussions at: http://technet.oracle.com:89/ubb/Forum2/HTML/008232.html
    and http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html
    many, many times.
    Can anyone help me?

  • Question on JSF/JSP mixing issue

    Hello all.
    We have an JSP application which we are trying to move to JSP. After some thought we decided that these will need to coexist in some parts of the code. Now I have run into an issue as result of these and I am wondering if anyone can help. In the below example, we are tyrig to gather some table entries from a legacy object and trying to populate another JSF type bean with the same entry. Can this be accomplished using some kind of code like this with a commandLink and a param. The problem is the param is not working for me, it is showing up as null object in backendbean2. Any ideas?
    My code is structured like this :
    <h:form>
    // JSP code here
    <%
    sname = Backend1.getSname();
    %>
    // Some entries from a table are output here. Each entry is a link and
    // clicking on each entry should open up a screen corresponding to sname
    // Note that our backend bean is legacy stuff and cannot be changed to
    // return a datatype compatible with Datatable. hence we are using html table
    <table>
    <tr> Name </tr>
    <td>
    <h:commandLink action="#{backendbean2.processClick}" >
    <f:verbatim> <% out.println(sName); %>
    <f:param name="name" value="#{backendbean2.sName}>
    </h:commandLink>
    </h:form>

    Please read the following article.
    http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
    Best practice will be to avoid mixing JSP and JSF

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

  • Error while creating BI JSP application

    Hello ,
    I am trying to create a simple BI JSP application , as per the steps in the Tutorial . I have created a CrossTab report successfully . Also I created the JSP page , embedded the BIThinSession and Presentation tags
    successfully .
    While trying to launch the JSP , I am getting the following error :
    Line : 14
    Char : 1
    Error : Object Expected
    Code : 0
    URL : .....
    The Contents of the JSP file are as under
    <%@ taglib uri="http://xmlns.oracle.com/bibeans/jsp" prefix="orabi"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <!-- Start synchronization of the BI tags -->
    <% synchronized(session){ %>
    <orabi:BIThinSession configuration="/Project2OLAPConfig1.xml" id="simpleApp">
    <orabi:Presentation location="CSTAB1" id="simpleGraph"/>
    </orabi:BIThinSession>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Hello World</title>
    </head>
    <orabi:BIBody>
    <form name="BIForm" method="POST">
    <!-- Insert your Business Intelligence tags here -->
    <orabi:Render targetId="simpleGraph" parentForm="BIForm"/>
    <!-- The InsertHiddenFields tag adds state fields to the parent form tag -->
    <orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="simpleApp"/>
    </form>
    </orabi:BIBody>
    </html>
    <% } %>
    <!-- End synchronization of the BI tags -->
    The Bi_CheckConfig Utility gives the following output
    BI Beans Diagnostics(v1.0.2.0) 8/11/04
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = c:\jdev
    JAVA_HOME ................................. = C:\j2sdk1.4.2_01
    JDeveloper version ........................ = 9.0.5.2.1618
    BI Beans release description .............. = BI Beans 10.1.2 Production Release
    BI Beans component number ................. = 10.1.2.5.0
    BI Beans internal version ................. = 3.2.0.37.4
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 9.2.0.4.0
    JDBC JAR file location .................... = C:\JDEV\jdbc\lib
    Database version .......................... = 9.2.0.4.0
    OLAP Catalog version ...................... = 9.2.0.4.0
    OLAP AW Engine version .................... = 9.2.0.4.0
    OLAP API Server version ................... = 9.2.0.4.0
    BI Beans Catalog version .................. = N/A; not installed in bibdemo
    OLAP API JAR file version ................. = "10.1.0.3.0"
    OLAP API JAR file location ................ = c:\jdev\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    Number of metadata folders ................ = 2
    Number of metadata measures ............... = 12
    Number of metadata dimensions ............. = 8
    Metadata output location .................. = C:\JDEV\bibeans\bi_checkconfig\bi_metadata.txt
    Could anybody please help ?

    It would appear you are using the BI Beta release software. This software is only certified with 9205 of the database, the bi_checkonfig output you provided indicates you are using 9204.
    Please patch your database and instance to 9205 patchset. These can be downloaded from Metalink:
    3501955      Oracle Database Family: Patchset
    ORACLE 9I DATABASE SERVER RELEASE 2 - PATCH SET 4 VERSION 9.2.0.5.0
    Business Intelligence Beans Product Management Team
    Oracle Corporation

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

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

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

  • Confirm Delete in a JSP Application

    Working in a JSP application I need to show a delete confirmation when the user clicks on the red button (delete) in JS Navigator Bar Web Bean.
    How delete works behind this button?
    Code that implements the delete confirmation (a custom web bean, for example) is well received.
    Thanks.

    Any JS guru in the house? (I'm not); we'll apreciate this a lot!
    null

  • Killing a bean with application scope?

    Is there any way to kill a bean with application scope?
    I am writing a web application, that most likely the browser window will never be closed. The problem is a user is authenticated onto our site but because the bean containing the users acct info is application scope, if another user logs in it still shows the old user as logged in. So on logout i would like to kill the application, the bean, servletContext...anything that will refresh the bean and the corresponding jsp. Any help is much appreciated.

    There is an indirect way if you know servlets. The "application" implicit object that you use in your JSP is the javax.servlet.ServletContext object. Instead of declaring your bean using the jsp:useBean tag, directly put your objects into the ServletContext using ServletContext.putAttribute() method. Objects put in the ServletCOntext are available to all pages in the application. Just use the ServletContext.getAttribute() method to retrieve this bean in any other page.
    To "kill the bean", just reset the value of this object to null by calling putAttribute(null).

  • Deployment of simple jsp application in Oracle 10g AS

    Hi All,
    This is a critical issue. We have a JSP application which uses the plain old java objects to esltabilsh database connection and same old java objects to perform the business logic.
    All java file are packed in a jar file and all jsp's and other files(GIF,CSS etc) are copied to a folder.
    So what should be the steps to deploy this application to the Oracle 10g Application server.

    Thanks for the update.
    But application is already developed and is Runing in the 9i As and now we have to deploy it to the 10g server.
    Some steps that i am following to deploy the application are:-
    Steps for the deploying the A+ Web portal in OUGD
    1)Copy the “aplus” folder(containing related jsps,css and gif files) and aplus.jar file to
    “<<ORA-HOME>>/iAS/Apache/Jserv”
    2)     Go to the following file
    "<<ORA-HOME>>/iAS/Apache/Jserv/etc/jserv.properties” and add the following lines,
    #APlus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    #APLUS CONFIGURATION
    wrapper.bin.parameters=-DWV_GATEWAY_CFG=<<ORAHOME>>/iAS/Apache/modplsql/cfg/wdbsvr.app
    3)     Go to the following file
    “<<ORA-HOME>>/iAS/Apache/Jserv/etc/zone.properties” and add the
    following lines
    Append the following line to “repositories=”
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus,
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    4)     Go the following file
    “<<ORA-HOME>>/iAS/Apache/Apache/conf/apps.conf” and add the following lines
    Alias /aplus/ "<<ORA-HOME>>/iAS/Apache/Jserv/"
    <Directory "<<ORA-HOME>>/iAS/Apache/Jserv">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    but following this steps i am not getting the result.
    Reagrds,
    Vikram

  • JDev9i-Beta;How could I run two JSP applications in Jdev enviroment at the same time?

    Hi,
    I have two JSP applications located on different directories. I wanted to run both applications at the same time in Jdev enviroment. But the second one failed.
    More info:
    I successfully ran Application1, then minimized the browser and ran Application2, then again minimized the second browser. After I maximized the first browser(Application1) and tried to go thro pages, I received page not found. Because Jdev sat up the Class Path for the newer application(Application2) and looks for pages there. I believe thats why I could not run both at the same time. How could I get around of this?

    hi,
    can you provide more details on this. Are these jsp files part of the same project or different projects. I can not duplicate this issue. Please provide us more information.
    Thank you

  • Security in an jsp application using BIBeans

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

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

  • Starting of applications issue

    Hello
    I am new to R12 gettng I am getting this issue when i am starting up the applications.
    You are running adstrtal.sh version 120.13.12000000.3
    Executing service control script:
    /R12stage/oraAPP/apps/VIS_oracle/admin/scripts/adopmnctl.sh start
    script returned:
    You are running adopmnctl.sh version 120.4.12000000.3
    Starting Oracle Process Manager (OPMN) ...
    adopmnctl.sh: exiting with status 2
    adopmnctl.sh: check the logfile /R12stage/oraAPP/apps/VIS_oracle/logs/appl/admin/log/adopmnctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /R12stage/oraAPP/apps/VIS_oracle/admin/scripts/adapcctl.sh start
    script returned:
    You are running adapcctl.sh version 120.6.12000000.2
    Starting OPMN managed Oracle HTTP Server (OHS) instance ...
    adapcctl.sh: exiting with status 2
    adapcctl.sh: check the logfile /R12stage/oraAPP/apps/VIS_oracle/logs/appl/admin/log/adapcctl.txt for more information ...
    .end std out.
    end err out.
    Executing service control script:
    /R12stage/oraAPP/apps/VIS_oracle/admin/scripts/adoacorectl.sh start
    script returned:
    You are running adoacorectl.sh version 120.11.12000000.2
    Starting OPMN managed OACORE OC4J instance ...
    adoacorectl.sh: exiting with status 2
    adoacorectl.sh: check the logfile /R12stage/oraAPP/apps/VIS_oracle/logs/appl/admin/log/adoacorectl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /R12stage/oraAPP/apps/VIS_oracle/admin/scripts/adformsctl.sh start
    script returned:
    You are running adformsctl.sh version 120.12.12000000.3
    Starting OPMN managed FORMS OC4J instance ...
    adformsctl.sh: exiting with status 2
    adformsctl.sh: check the logfile /R12stage/oraAPP/apps/VIS_oracle/logs/appl/admin/log/adformsctl.txt for more information ...
    .end std out.
    .end err out.
    Executing service control script:
    /R12stage/oraAPP/apps/VIS_oracle/admin/scripts/adoafmctl.sh start
    script returned:
    You are running adoafmctl.sh version 120.6.12000000.2
    Starting OPMN managed OAFM OC4J instance ...
    adoafmctl.sh: exiting with status 2
    adoafmctl.sh: check the logfile /R12stage/oraAPP/apps/VIS_oracle/logs/appl/admin/log/adoafmctl.txt for more information ...
    .end std out.
    .end err out.
    *************************************log file
    9/09/10-20:23:24 :: adopmnctl.sh version 120.4.12000000.3
    09/09/10-20:23:24 :: adopmnctl.sh: Starting Oracle Process Manager (OPMN)
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    opmnctl: opmn start failed.
    09/09/10-20:23:31 :: adopmnctl.sh: exiting with status 2
    09/10-20:23:31 :: adapcctl.sh version 120.6.12000000.2
    09/09/10-20:23:31 :: adapcctl.sh: starting OPMN if it is not running
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    opmnctl: opmn start failed.
    09/09/10-20:23:39 :: adapcctl.sh: OPMN is not running and OPMN start attempt failed
    09/09/10-20:23:39 :: adapcctl.sh: Could not start OPMN managed OHS instance
    09/09/10-20:23:39 :: adapcctl.sh: exiting with status 2
    09/09/10-20:23:39 :: adoacorectl.sh version 120.11.12000000.2
    09/09/10-20:23:39 :: adoacorectl.sh: starting OPMN if it is not running
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    opmnctl: opmn start failed.
    09/09/10-20:23:46 :: adoacorectl.sh: OPMN is not running and OPMN start attempt failed
    09/09/10-20:23:46 :: adoacorectl.sh: Could not start OPMN managed OACORE OC4J instance
    09/09/10-20:23:46 :: adoacorectl.sh: exiting with status 2
    09/09/10-20:23:46 :: adformsctl.sh version 120.12.12000000.3
    09/09/10-20:23:46 :: adformsctl.sh: starting OPMN if it is not running
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    omnctl: opmn start failed.
    09/09/10-20:23:53 :: adformsctl.sh: OPMN is not running and OPMN start attempt failed
    09/09/10-20:23:53 :: adformsctl.sh: Could not start OPMN managed FORMS OC4J instance
    09/09/10-20:23:53 :: adformsctl.sh: exiting with status 2
    0-11:25:49 :: adoafmctl.sh: starting OPMN if it is not running
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    opmnctl: opmn start failed.
    09/13/10-11:25:56 :: adoafmctl.sh: OPMN is not running and OPMN start attempt failed
    09/13/10-11:25:56 :: adoafmctl.sh: Could not start OPMN managed OAFM OC4J instance
    09/13/10-11:25:56 :: adoafmctl.sh: exiting with status 2
    =====================================================================
    provide us your suggestion for the same.
    Thanks
    Sunil
    Edited by: RedRose on Sep 12, 2010 11:31 PM

    Hello Hussein
    auto config is completed with successfully on applications side
    just for your information.
    when I started applications it showing some services are not staring up
    log file of the same given below
    i.e
    09/09/10-20:23:31 :: adapcctl.sh version 120.6.12000000.2
    09/09/10-20:23:31 :: adapcctl.sh: starting OPMN if it is not running
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    opmnctl: opmn start failed.
    09/09/10-20:23:39 :: adapcctl.sh: OPMN is not running and OPMN start attempt failed
    09/09/10-20:23:39 :: adapcctl.sh: Could not start OPMN managed OHS instance
    09/09/10-20:23:39 :: adapcctl.sh: exiting with status 2
    09/09/10-20:23:24 :: adopmnctl.sh version 120.4.12000000.3
    09/09/10-20:23:24 :: adopmnctl.sh: Starting Oracle Process Manager (OPMN)
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    getaddrinfo(localhost, NULL, 1) failed (Name or service not known): No such file or directory
    opmnctl: opmn start failed.
    09/09/10-20:23:31 :: adopmnctl.sh: exiting with status 2
    ================================================================================
    09/11/10-00:21:40 :: adopmnctl.sh version 120.4.12000000.3
    Thanks/regs
    Sunil
    Edited by: RedRose on Sep 14, 2010 1:09 AM
    Edited by: RedRose on Sep 14, 2010 5:12 AM

  • Adding a JSP application

    Hi all,
    I've to add a JSP application to Portal; in order to do so I've read the help and in the
    section "Adding a JSP application" there is:
    "To add a JSP application to Oracle Portal:
    From the Oracle Portal home page, access the JSP Application portlet on the Administer tab.
    Click Add a JSP Application.
    Enter a unique name for the JSP application. It must start with an alpha character and contain only alpha, numeric, or underscore characters and not exceed 200 characters...."
    Where is the "JSP Application portlet"? The help is the on-line help installed with portal...
    why does it refer to a "JSP Application portlet" if there isn't one?
    thanks for the help
    Alessio

    hi John
    There does seem to be a problem on line 44 of your image.jsp page:
    java.lang.NullPointerException
    at _image._jspService(_image.java:90)
    SRC:/image.jsp:44
    ...Would you mind posting a part of your image.jsp page that includes line 44 (or the complete page if it is not too big)?
    You wrote "... I probably have to change something in the web.xml, ...", why do you think that is the case?
    regards
    Jan Vervecken

Maybe you are looking for

  • Test Failed in Message Mapping

    Hi, I have mapped all the mandaory fields and records, but still not able to run a test. It's getting failed with the below error. 12:02:56 Start of test Mapping object Mapname incomplete. Unable to continue execution leaf node with minOccurs>0 and w

  • Re: Help on Cisco UC 520 Configuration

    Dear All, I am new to UC 520 Call Manager Express and Cisco Unity Express. I would like help in solving the following problems encountered during the config of the latter: 1. Call Transfer - When I transfer a call, I need to know if the other person

  • How do I make SPOOL Output single space?

    This output double spaced. SET SERVEROUTPUT ON FEED OFF TERM OFF ECHO OFF TRIM ON DEFINE OFF; SPOOL c:\temp\output.txt                 SELECT DBMS_METADATA.GET_DDL('PROCEDURE',a.object_name,a.owner) as "PROCEDURE"                 FROM dba_objects a  

  • External Reconciliation

    What is the purpose of the reconciliation difference account in the general tab of G/L determination. Does it affect while using the automatic reconciliation(Reconciliation difference) for the external bank statement. How it will be useful if we set

  • DivX components REALLY universal???

    Hi all, a tricky one here: I have some strange issues with some DivX files (Video track is DivX 3.11 and audio track is MPEG Layer-3 Audio stereo, 44.1 kHz) I know "old" PPC codecs will need QuickTime to run under Rosetta to work, but the strange thi