BC4J,JSP,EditCurrentRecord.useStaticComboBox(---); bug?

Hi all,
Here I am talking about JDeveloper 3.1.
In new record creation using EditCurrentRecord, when I used <B>useStaticComboBox()</B>, a drop down list with <i>HTML TAG</i> <b><SELECT></b> is generated.
On this tag the VALUE of the OPTION TAG is not defined in quotes(""). That is:
<SELECT NAME="VcEmpName" CLASS="vrSelectField" >
<OPTION VALUE=patty virk>patty virk</SELECT>
When selected value is saved in tables only 'Patty' is being saved instead of 'Patty Virk'.
Every thing would have been fine if above code generated is like this:
<SELECT NAME="VcEmpName" CLASS="vrSelectField" >
<OPTION VALUE="patty virk">patty virk</SELECT>
null

I took a quick look at the HTMLSelect.java file for JDev 3.2 and this problem seems to be fixed.

Similar Messages

  • BC4J/Jedeveloper 3.2 BUG with SetAttribute on LONG RAW

    Hi,
    I'm using Jdeveloper 3.2, a BC4J/JSP application and a Oracle Thin connection to Oracle 8.0.4.
    I think I found a bug in BC4J:
    I have a table with a LONG RAW column that is also used by other (non BC4J)
    applications to store binary data (including, but not limited to JPG's)
    I'm able to retrieve data of any size using GetAttribute().
    When I use the following code from a WebBean, it fails on commit
    when the file is bigger than 4K.
    The error is:
    Error Message: JBO-26041: Failed to post data to database during "Update":
    SQL Statement " UPDATE BDATA Bdata SET LRDATA=:1 WHERE ID_CARD=:2 AND CODE_REGISTRATION=:3".
    Error Message: ORA-01461: can bind a LONG value only for insert into a LONG column
    public void setData(java.io.File f) throws Exception
    long len = f.length();
    InputStream in = new FileInputStream(f);
    Row myRow = qView.getCurrentRow();
    byte[] buffer = new byte[(int)len];
    in.read(buffer, 0, (int) len);
    in.close();
    Raw myval = new Raw(buffer);
    myRow.setAttribute("Lrdata", myval);
    Please help, I need this to work !
    null

    Raw domain is limited to the oracle-JDBC limitations of 4K length for such-streaming data types unless a Stream is used to update the data. We plan to support such streaming for Raw domain in the next major-release.
    However, you should be able to work with Raw domain and if your data size is bigger than 4K, override the doDML() method in EntityImpl (that contains the Raw attribute) and perform a custom update for the Raw data. Basically the logic will be something like:
    doDML()
    1. save the raw attribute value
    2. Populate 'null' or a single byte-bytearray for raw attribute value so that super.doDML() won't fail.
    3. prepare an update statement with just the raw column and where clause for this entity's primary key.
    4. fill in the raw data using an in-memory stream over the bytes from the Raw domain instance held in step 1. Use Statement.setBinaryStream() method.
    5. execute the statement (to post the stream).
    6. re-populate the entity data-structure with the valid Raw domain instance.
    null

  • 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?

  • 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.

  • BC4J, JSP, Apache: Deployment to web-inf

    I'm trying to deploy a BC4J JSP application to a web-inf directory. In other words I'm using the OracleJSP extensions that support the globals.jsa application/session context.
    When I place my application's BC4J jar file in the \approot\web-inf\lib directory it doesn't work. When I try a simple app with no BC4J its works. ie. My JSP works and it can load classes from both \approot\web-inf\classes and \approot\web-inf\lib\??.jar.
    If I place the application BC4J jar file in \approot\web-inf\lib it can't find files such as \bc4jpackage\common\bc4j.xcfg. Therefore I think OracleJSP will load classes from \web-inf but because its not really in the JServ classpath BC4J wont find any other files.
    Anyone tried this? Is there a workaround?

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    Thanks
    Hari(2/3/02)

  • Running a BC4J JSP application for Oracle Lite on OC4J

    Hi,
    My BC4J JSP application is working with Oracle and Oracle Lite on Apache (Oracle 8i Personal Edition) and on Tomcat 3.2. The same BC4J's could be used from the BC4J Tester as well.
    But if I run the application on OC4J (standalone and embedded in JDeveloper 9i RC1 and RC2) using Oracle Lite, a Fatal Internal Error (or with JDK1.2 a NullPointerException) occurs.
    I think I found the reason:
    1. the Java Trigger in Oracle Lite and
    2. the Timestamp used in Oracle Lite instead of Date.
    My problem is, that I can't find any information about configuration of OC4J so that it could work with Oracle Lite as well as Apache and Tomcat.
    Claudia

    The tell tale sign that the application is communicating with the running cache server is the membership information that is logged. In your previous running of the example you would have "members=1" embedded in the logging. From the sounds of what you are doing, you'd expect this to be different as the application would be joining a running instance. Check out section 1.3 of this doc on the system you are using.
    http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/installcoh.htm#BABIHHFJ
    Cheers,
    Jay

  • Trouble with bc4j/jsp tutorial

    I'm having difficulty running the bc4j/jsp tutorial in the doc pages. he ones on the oracle website, not through the help menu cos it's modal!
    After the second start from scratch I'm pretty certain I'm doing excatly as instructed but on starting the oc4j, I get the following error page in IE...
    Any ideas?
    Rick Lawson.
    Application Error
    Return
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file /jsptags/common/bc4j.xcfg in the classpath
    Error Message: JBO-33001: Cannot find the configuration file /jsptags/common/bc4j.xcfg in the classpath
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file /jsptags/common/bc4j.xcfg in the classpath
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:372)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:169)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:554)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:143)
         at CustomersView_Browse._jspService(CustomersView_Browse.jsp:10)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /jsptags/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:169)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:554)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:143)
         at CustomersView_Browse._jspService(CustomersView_Browse.jsp:10)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    1. At what step in the tutorial did you see this error?the link to the web page would be http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&file=jar%3Afile% (basically, at the end of autocreating the page and running oc4j (embedded) to see the JSP
    2. Are you running on a deployed environment?No. This was as the tutorial, in the embedded oc4j
    3. What version of JDev/ OC4J are you using?oracle IDE version is 9.0.2.829
    4. Did your BC4J project compile cleanly?yes (or at least it appeared to do!)
    5. Did you check the Deploy Password box when you created your database connection?yes.
    I shall be reading up on the bc4j.xcfg today...
    Thanks for the help
    Rick

  • Error Deploying a BC4J JSP Application on IAS

    When I am trying to run a BC4J JSP Application on IAS I have the following message:
    Error Message: JBO-30003: The application pool, BC4JDemojsp_BC4JDemo_BC4JDemoModule, failed to checkout an application module instance.
    Error Message: JBO-25002: Definition BC4JDemo.BC4JDemoModule of type ApplicationModule not found

    Gina,
    I would recommend checking out the following HowTo's recently posted on OTN by the JDev Team. They may indicate where your problem is occuring and how to fix it:
    Set up your Webserver to run BC4J: http://technet.oracle.com:89/ubb/Forum2/HTML/006397.html
    Deploy a BC4J JSP Application on iAS and Tomcat: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    How to Deploy Multiple BC4J JSP Web Apps to the same Webserver: http://technet.oracle.com:89/ubb/Forum2/HTML/006726.html
    Note, if you are deploying on iAS, the Online Orders tutorial application comes with that release, so you might want to refer to the last HowTo to make sure your webserver is set up to handle multiple apps, even if one if them isn't yours!
    null

  • JDeveloper 903 BC4J JSP Layout Customerization

    BC4J is so powerful that enabled me to built an application in minutes. I used the JDeveloper903 this week built a BC4J JSP Application pulling data from a single table on Oracle9i
    and wanted display the search summary result's lables and their corresponding data fields in a html table in the following ways:
    record 1
    Lable1 data 1
    Lable2 data 2
    Lable3 data 3
    record 2
    Lable1 data 1
    Lable2 data 2
    Lable3 data 3
    Not the default way:
    Lable1, lable2, lable3
    data1 data2 data3
    data1 data2 data3
    data1 data2 data3
    Also need a link to its detail page from data1.
    How can I customerize the layout based on the existing application or I have to re-build the application with new design?
    Any sample can show me step by steps?
    Appreciate your ideas!

    Is "Inserting BC4J Data Tags from the JDSP Data Binding Tool" in the JDeveloper903 the right direction to go?
    Thanks

  • Deployment of BC4J JSP in Java web Server2.0

    I'm presently trying to deploy a BC4j Jsp into the Java Webserver , I have copied all the class , java and the JSP files in the JWS2.0 , but the error I get is as follows :
    Package oracle.jbo.* not found in import ,
    Package javax.naming.* not found in import ,
    Package oracle.jdeveloper.html.* not found in import etc.
    I tried to copy all the JDeveloper class files in the JWS2.0 but no luck ,but here I was able to deploy sucessfully an simple jsp application using a session bean.
    Secondly, I'm not able to use the internal web server of JDeveloper3.0 to run my JSP's , if I try to run, the browser is not able to contact the port no. 7070 and it gives an TCP error / connection error.
    Please also suggest how to include the Jdbc driver in the classpath.
    Thanks in advance ,
    regards,
    Ekta

    Please see the online help for deploying JSP web applications. The instructions are under User Guides, Developing Web Applications, Developing JSPs and Servlets...
    There are a number of dependency archives that need to be deployed to your webserver in order for the BC4J JSPs to run correctly.
    IF you look at the Project Properties for your JSP project, you will see a number of them such as Connection Manager, ORacl e8.1.5 JDBC, etc. EAch of these libraries is based on one or more .jar or .zip files which need to be present in your webserver.
    Which ones you deploy somewhat depends on how you have deployed your Business Components app module. The online help provides more details.
    The Oracle JDBC classes are all located in <JDEV_HOME>/jdbc/lib/oraclex.x.x/classes111.zip. Where x.x.x is the version of the drivers. 8.1.5 is the default in JDev 2. and 3.0.
    Laura

  • Can a BC4J-JSP App live within a Portlet

    I've read the posts AND the docs AND still do not have a clear idea if a BC4J-JSP application can live within Portal. I DO NOT WANT to click on a link from Portal and open a * NEW * window, I want the BC4J App to be contained within the Portal.
    Can anyone from Oracle Portal answer this **** AND *** can you show a working example of a BC4J application. HelloWorld.jsp is not a multi-page application.
    Thanks,
    Bill G...

    Hi Bill,
    1. Yes, you can access the userid from your partner app.
    2. Do you want to make your code appear on a portal page, and re-render it within the portlet container, rather than have your application replace the portal page? If this is what your question is, then:
    a) You may run your app in an iframe as Subramanyam has recommended. The first issue with this: ns 4.x doesn't support it. The second one, the request is sent to your app from the browser iframe, it doesn't go through the parallel page engine, thus your application is not being cached along with the page. Also, end users can't access a particular page of your application, they can only bookmark the portal page, which will always display the initial page of your application.
    b) You can run your app as it is, taking advantage of the renderers of PDK, capable to render JSPs. In this case, you need to modify your code, at least the links and forms, so that the portal page URL is used as the target url (extra parameters appended to it, or implemented in hidden fields).
    You find a sample portlet (Flights of Fancy External Application) implemented as a partner application in the PDK.
    This is a PDK article worth to check out: Using PDK-Java to Integrate a Partner Application with Oracle9iAS Portal (V2)
    And finally, you find the Administration Guide, the Appliation Developre's Guide, and the API Reference in the Oracle9iAS Documentation Library under Oracle9iAS Single Sign-On on the Management and Security tab.
    Peter

  • How to run BC4J JSP programs generated by JDeveloper 9i?

    I used JDeveloper 9i to:
    Create a new Project Workspace
    Create New Business Components
    Click on Run, Run Project
    The Java application works perfectly alright.
    Click on New, BC4J JSP, Business Components JSP Application
    Then a full set of JSP source code is generated based on the Business Components Java Application.
    Right-click on main.html, Run main.html
    I can see that deployment of the JSP programs is OK but the Internet Explorer does not start the main.html.
    I enter address: http://localhost:8988/ in Internet Explorer and can see that OC4J is running.
    I would like to enter the path of the deployed JSP program.
    How can I know what is the path of the URL?

    I have change the settings in tools->preferences to point to the right location, i.e.
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    Internet Explorer does not start after it shows:
    C:\oracle\ora9ids\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora9ids\j2ee\home\oc4j.jar -Dhttp.proxyHost=hqproxy.vtc.edu.hk -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora9ids\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8990, RMI=23893, JMS=9229.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app

  • Layout options when generation BC4J Jsp

    I have a novice question..
    Ive tried to user Jdeveloper to generate JSP pages for displaying data from Oracle tables. And it seems to work just fine. Ive tried BC4J Jsp, UIX Jsp and UIX XML. But i cant figure out how to change the layout! By that i mean how the JSP is presenting the data in HTML. Simple things like Font and color of HTML tables seems to be hidden somewhere...
    Any ideas???
    Bjxrn
    Norway.

    The style information is stored in a HTML stylesheet called BC4J.css in the case of the BC4J application. This file is already deployed in the webapp application. You can look at it in BC4J\redist\webapp\css. To customized these setting you can modify their values by inserting your own style sheet with the new style values overwritten.
    For UIX project the style sheet is generated and you have to go through style customization at the UI renderer level.

  • BC4j/JSP Application not responding after some time - when deployed on 9ias

    Hi,
    We are using BC4j/jsp application on 9ias. The application is not responding
    after some time. We have installed 9ias on PIII(384MB RAM). We tried to accesses
    with 10 users, and server is not responding to BC4J/JSP application.
    However the server could able to publish the JSP pages with standerad JDBC code even after that.
    many many thanks in advance
    null

    When the application deployed by BC4J/JSP not responding, does the sample JSP application still works? i.e. does any other application respond? Does 1 user respond? Is the database source (JDBC), running Oracle 8.1.7? What is the platform running the database (e.g. local NT database)?

  • BC4j/JSP Application not responding after some time - when deployed on 9ias BC4j/JSP

    Hi,
    We are using BC4j/jsp application on 9ias. The application is not responding
    after some time. We have installed 9ias on PIII(384MB RAM). We tried to accesses
    with 10 users, and server is not responding to BC4J/JSP application.
    However the server could able to publish the JSP pages with standerad JDBC code even after that.
    Please....help us.........
    many many thanks in advance

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Is there any mechanism that cleans up these connections (back down to the initial or some other minimum I would guess) or do they hang around until either the app server or database shuts down?<HR></BLOCKQUOTE>
    There is currently no mechanism for reducing the connection pool size after a period of high activity. Recently this has been frequently requested and as such will be implemented in the next production release.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>We have verified this in manual testing. However, when the load tool script exits it doesn't seem to release resources. We know this because we keep seeing our database connections go up and up as more tests are run. Further, we also seem to see more than one connection per "virtual user". For example, when I connect 5 users to the app in manual testing, I get 5 connections. But, when we run a test using the tool, we get 395 database sessions for 200 users. We are having a bit of difficulty understanding why the behavior is different.<HR></BLOCKQUOTE>
    Assuming that the you are performing your manual testing against the same instance of the application on which you are performing your load testing, I would assume that the connections are being released to the pool at the end of the request. One possible reason for the approximate 2:1 ratio between connections and virtual users may be BC4J's use of internal connections. What version of BC4J are you using?
    BC4J requires an internal connection to support state management and spill to disk. The internal connections are pooled with the transaction connection and only held for the duration of the persistence operation. However, if the web server is very busy then a large number of synchronous persistence requests may be received which would explain the eventual 2:1 ratio in the pool's high water mark.
    If the user start times and think times are staggered in order to reduce the incidence of synchronous persistence requests does the ratio of connections to web sessions stabilize at some lower number (i.e. 1.5:1)

Maybe you are looking for

  • Dataguard Error in v$archive_dest_status

    Hi to all, Both primary and standby servers are on lunux redhat : same version of OS - Primary DB : 10.2.0.1 - Standby DB : 10.2.0.3 - Host Name of Primary DB : arcdb01.es.egwn.lan - Host Name of Standby DB : x06.d15.lan I m trying to setup oracle da

  • FLAC support in flash?

    Hello, I'm currently involved in building a web-based flash application where people can record speech, and then send it to a server for storage. To keep the file size down i'm using mp3, but the sound needs to be analyzed and the mp3 encoding destro

  • 1st generation touch home button does not work

    What are my options and what is the best option for 1st genernation touch on which the home button does not work? Otherwise functions perfectly. Thank you. 

  • Lightroom archiving?

    Can we burn to optical or move to any other offline storage, remove the original file and retain the reference in the database, pointing to offline storage media? Is this still the same with V1.1. I've just upgraded but I don't see any improvement. I

  • Administrator Permission

    Hi, We are having 10g 2Node RAC on Windows 2003. I cannot stop services by using command ""crsctl stop crs/ srvctl stop database "" without administrator permission through my OS user. Is it possible to stop the services without Administrator permiss