Deploy a BC4J JSP Application on IAS

OK, I changed my classpath jserv.properties file as you suggest, but I get the following error when I run my applet from IE:
wrapper.bin=K:\Ora816\Apache\jdk\bin\java.exe
wrapper.env=PATH=K:\Ora816\bin
# Oracle XSQL Servlet
wrapper.classpath=K:\Ora816\lib\oraclexsql.jar
# Oracle JDBC (8.1.7)
wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
# Oracle XML Parser V2 (with XSLT Engine)
wrapper.classpath=K:\Ora816\lib\xmlparserv2.jar
# Oracle XML SQL Components for Java
wrapper.classpath=K:\Ora816\rdbms\jlib\xsu12.jar
# XSQLConfig.xml File location
wrapper.classpath=K:\Ora816\xdk\lib
# Oracle Servlet
wrapper.classpath=K:\Ora816\lib\servlet.jar
# Oracle Java Server Pages
wrapper.classpath=K:\Ora816\jsp\lib\ojsp.jar
# Oracle Util
wrapper.classpath=K:\Ora816\jsp\lib\ojsputil.jar
# Oracle Java SQL
wrapper.classpath=K:\Ora816\sqlj\lib\translator.zip
# Oracle JDBC
wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
# SQLJ runtime
wrapper.classpath=K:\Ora816\sqlj\lib\runtime.zip
# Oracle Messaging
wrapper.classpath=K:\Ora816\rdbms\jlib\aqapi11.jar
wrapper.classpath=K:\Ora816\rdbms\jlib\jmscommon.jar
# OJSP environment settings
wrapper.env=ORACLE_HOME=K:\Ora816
# The next line should be modified to reflect the value of the SID for your webserver.
wrapper.env=ORACLE_SID=ORAWEB
wrapper.env=LD_LIBRARY_PATH=K:\Ora816\lib
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\tools.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\aurora_client.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main1.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\classes12.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\connectionmanager.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\javax_ejb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbo8iclient.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbodatum12.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboeb.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtml.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtmlsrc.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbojdbcpatch.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbomt.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboo8i.zip wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbooasejb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboorasql.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremote.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremoteejb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovbclient.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jdev-rt.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jndi.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main2.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojc.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojsp.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\rt.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjapp.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjorb.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\xmlparserv2.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovanilla.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordhttp.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordim817
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordvir817
wrapper.classpath=K:\Ora816\Apache\Apache\htdocs\JSP_Stage
null

OK, I changed my classpath jserv.properties file as you suggest, but I get the following error when I run my applet from IE:
wrapper.bin=K:\Ora816\Apache\jdk\bin\java.exe
wrapper.env=PATH=K:\Ora816\bin
# Oracle XSQL Servlet
wrapper.classpath=K:\Ora816\lib\oraclexsql.jar
# Oracle JDBC (8.1.7)
wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
# Oracle XML Parser V2 (with XSLT Engine)
wrapper.classpath=K:\Ora816\lib\xmlparserv2.jar
# Oracle XML SQL Components for Java
wrapper.classpath=K:\Ora816\rdbms\jlib\xsu12.jar
# XSQLConfig.xml File location
wrapper.classpath=K:\Ora816\xdk\lib
# Oracle Servlet
wrapper.classpath=K:\Ora816\lib\servlet.jar
# Oracle Java Server Pages
wrapper.classpath=K:\Ora816\jsp\lib\ojsp.jar
# Oracle Util
wrapper.classpath=K:\Ora816\jsp\lib\ojsputil.jar
# Oracle Java SQL
wrapper.classpath=K:\Ora816\sqlj\lib\translator.zip
# Oracle JDBC
wrapper.classpath=K:\Ora816\jdbc\lib\classes12.zip
# SQLJ runtime
wrapper.classpath=K:\Ora816\sqlj\lib\runtime.zip
# Oracle Messaging
wrapper.classpath=K:\Ora816\rdbms\jlib\aqapi11.jar
wrapper.classpath=K:\Ora816\rdbms\jlib\jmscommon.jar
# OJSP environment settings
wrapper.env=ORACLE_HOME=K:\Ora816
# The next line should be modified to reflect the value of the SID for your webserver.
wrapper.env=ORACLE_SID=ORAWEB
wrapper.env=LD_LIBRARY_PATH=K:\Ora816\lib
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\tools.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\aurora_client.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main1.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\classes12.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\connectionmanager.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\javax_ejb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbo8iclient.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbodatum12.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboeb.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtml.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbohtmlsrc.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbojdbcpatch.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbomt.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboo8i.zip wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbooasejb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboorasql.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremote.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jboremoteejb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovb.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovbclient.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jdev-rt.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jndi.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\Bc_Hr_Main2.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojc.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ojsp.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\rt.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjapp.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\vbjorb.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\xmlparserv2.jar
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\jbovanilla.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordhttp.zip
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordim817
wrapper.classpath=K:\Ora816\Apache\BC4J\lib\ordvir817
wrapper.classpath=K:\Ora816\Apache\Apache\htdocs\JSP_Stage
null

Similar Messages

  • 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

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

  • Deploy the BC4J JSP Applications to Sun ONE Application Server 7.0

    Hi
    I am new for the Jdeveloper 9.0.3, I felt that the OC4J is quite useful, but I am not sure if it can be deployed on Sun ONE application server 7.0 (Our team are using Sun ONE Application server 7.0 as our J2EE AS). If it can, please tell me the deploy procedures, Thanks in advance!
    Regards

    I'm not sure if we've tried it under 7.0, although we did under 6.5 a short while back. If you write a BC4J based J2EE application, it should be able to be deployed across Application Servers (TSS just added Sun One 7 to their cluster)
    You can take a look at the 6.5 procedures for now, and just do the same as migrating from 6.5 to 7.0.
    http://otn.oracle.com/products/jdev/howtos/appservers/deploy_bc4j_to_iplanet.html
    Rob

  • Deploy BC4J/JSP-Struts to IAS

    HI,
    I'm trying to deploy a BC4J/JSP-Struts application to IAS. This application was developed with JDeveloper 9.0.3.
    I can deploy this application to a Standalone OC4J (delivered with JDeveloper 9.0.3) on Windows2000 without problem.
    Then I want to deploy this application on Oracle9iAS 9.0.2. For this I create an .EAR file with JDeveloper and I start the OC4J Administrator tools from Oracle9iAS and deploy my application.
    I start the application with
    http://erbium.int.imd.ch:7778/InvoicesInterface/main.jsp?user=x-XxX
    and I become the menu without Problem.
    Then I click on the link
    http://erbium.int.imd.ch:7778/InvoicesInterface/VInvoiceUsersView1_Browse.do?user=x-XxX
    and I become following :
    HTTP 500 Internal server error
    The page cannot be displayed
    Did you have any Ideas ?
    Thanks Yves
    Configuration:
    - Oracle9iAS (9.0.2) on Solaris
    - JDeveloper9.0.3

    Yves -
    I am not able to pinpoint the exact error you are having but here are some obervations
    a) You are going backwards in versions of OC4J when you deploy to 9iAS 902. If you are using JDev 903, then it is running with a local version of OC4J 903. When you are deploying to 9iAS 902, it's a earlier release of OC4J, so there may be an issue there. There is a 9iAS 903 version available from OTN that would be better to use in this case.
    b) Is the struts framework packaged as part of the EAR file you are deploying? i'm not familiar with how BC4J and Struts apps are packaged from JDeveloper, but this is something to check on for sure. The local OC4J running inside of JDeveloper may have the Struts libs configured at the server level.
    c) You might want to try and change the show-friendly-error-messages (or something like that) property inside of IE (if you are using it) so that it will display the stack trace the server might be sending. this may be of help to further locate the source of the problem (ClassNotFoundException, etc.).
    -steve-

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

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

  • Deploy BC4J/JSP applications on OC4J

    I am trying to deploy JDeveloper3.2 BC4J/JSP applications on OC4J. However, I have no lucky at all. My OC4J will hang when I tried to run my JSP applications.
    Does this only happen to me? Any suggestion will be appreciated.
    null

    I've followed the instructions in the "How TO Deploy a BC4J Application to an Oracle9iAS J2EE Container in Local Mode" again. The OC4J still hung. I turn on the -Djbo.debugoutput switch this time. I used the following line to startup the OC4J.
    java -Djbo.debugoutput=console -cp C:\oc4j\j2ee\home\orion.jar;
    C:\oc4j\j2ee\home\lib\classes12.jar;
    C:\JDev3.2_BC4Jlib\xmlparserv2.jar;
    C:\JDev3.2_BC4Jlib\jdev-rt.zip;
    C:\JDev3.2_BC4Jlib\jbojdbcpatch.zip;
    C:\JDev3.2_BC4Jlib\connectionmanager.zip;
    C:\JDev3.2_BC4Jlib\jbohtml.zip;
    C:\JDev3.2_BC4Jlib\jboimdomains.zip;
    C:\JDev3.2_BC4Jlib\ordim817.zip;
    C:\JDev3.2_BC4Jlib\ordvir817.zip;
    C:\JDev3.2_BC4Jlib\ordhttp.zip;
    C:\JDev3.2_BC4Jlib\jbomt.zip;
    C:\JDev3.2_BC4Jlib\jbodomorcl.zip;
    C:\JDev3.2_BC4Jlib\jboremote.zip;
    C:\JDev3.2_BC4Jlib\jndi.jar;
    C:\JDev3.2_BC4Jlib\jbodatum12.zip;
    C:\JDev3.2_BC4Jlib\;
    C:\JDev3.2_BC4Jlib\bc4j_scott.jar
    com.evermind.server.ApplicationServer
    I got the following message from my console:
    (The OC4J hung at [132]..)
    Loading from CLASSPATH bc4j_scott_bc4j_scott_Bc4j_scottModule.properties
    Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.prop
    erties");
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Stringmanager using default locale: 'null'
    [03] Creating a new pool instance
    [04] BC4JDeployPlatform: LOCAL
    [05] Propertymanager: searching for file and system based properties
    [06] {{ begin Loading BC4J properties
    [07] -----------------------------------------------------------
    [08] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [09] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [10] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [11] Skipping empty Property ConnectionMode from System Default
    [12] Skipping empty Property HostName from System Default
    [13] Skipping empty Property ConnectionPort from System Default
    [14] Skipping empty Property ApplicationPath from System Default
    [15] Skipping empty Property java.naming.security.principal from System Default
    [16] Skipping empty Property java.naming.security.credentials from System Default
    [17] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [18] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [19] BC4J Property jbo.pers.max.active.nodes='10' -->(SessionImpl) from System Default
    [20] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.OraclePersistManager' -->(SessionImpl) from Sys
    tem Default
    [21] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [22] Skipping empty Property JBODynamicObjectsPackage from System Default
    [23] BC4J Property MetaObjectContextFactory='oracle.jbo.server.xml.DefaultMomContextFactory' -->(M
    etaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [24] BC4J Property MetaObjectContext='oracle.jbo.server.xml.XMLContextImpl' -->(MetaObjectManager)
    from /oracle/jbo/server/jboserver.properties resource
    [25] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(Se
    ssionImpl) from Client Environment
    [26] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserv
    er.properties resource
    [27] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [28] Skipping empty Property HandleName from System Default
    [29] Skipping empty Property Factory-Substitution-List from System Default
    [30] BC4J Property jbo.project='bc4j_scott' -->(MetaObjectManager) from Client Environment
    [31] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [32] BC4J Property jbo.dofai lover='true' -->(MetaObjectManager) from System Default
    [33] BC4J Property jbo.doconnectionpooling='false' -->(MetaObjectManager) from System Default
    [34] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
    [35] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [36] BC4J Property RELEASE_MODE='Reserved' -->(MetaObjectManager) from System Default
    [37] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
    [38] Skipping empty Property PoolClassName from System Default
    [39] BC4J Property jbo.maxpoolsize='2147483647' -->(MetaObjectManager) from System Default
    [40] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [41] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [42] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [43] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserve
    r.properties resource
    [44] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(Met
    aObjectManager) from System Default
    [45] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jbos
    erver.properties resource
    [46] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [47] BC4J Property oracle.jbo.defineColumnLength='true' -->(MetaObjectManager) from System Default
    [48] Skipping empty Property jbo.tmpdir from System Default
    [49] Skipping empty Property jbo.server.internal_connection from System Default
    [50] Skipping empty Property SessionClass from System Default
    [51] Skipping empty Property TransactionFactory from System Default
    [52] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [53] BC4J Property jbo.debug.prefix='DBG' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.prope
    rties resource
    [54] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnos
    tic.properties resource
    [55] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagn
    ostic.properties resource
    [56] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnost
    ic.properties resource
    [57] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagn
    ostic.properties resource
    [58] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnos
    tic.properties resource
    [59] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [60] BC4J Property jbo.ejb.txntimeout='60' -->(SessionImpl) from System Default
    [61] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
    [62] Skipping empty Property oracle.jbo.schema from System Default
    [63] Copying unknown Client property (CSSURL='/webapp/cabo/images/cabo_styles.css') to session
    [64] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@Oracle_Prod1:1521:p816') to
    session
    [65] Copying unknown Client property (password='tiger') to session
    [66] Copying unknown Client property (JDBCName='rick') to session
    [67] Copying unknown Client property (ConfigName='bc4j_scott.Bc4j_scottModule.Bc4j_scottModuleLoca
    l') to session
    [68] Copying unknown Client property (ImageBase='/webapp/jsimages') to session
    [69] Copying unknown Client property (user='rick') to session
    [70] Copying unknown Client property (Password='tiger') to session
    [71] Copying unknown Client property (ApplicationName='bc4j_scott.Bc4j_scottModule') to session
    [72] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.proper
    ties resource
    [73] }} finished loading BC4J properties
    [74] -----------------------------------------------------------
    Diagnostics: Routing diagnostics to standard output (use -Djb o.debugoutput=silent to remove)
    [75] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [76] JavaVMVersion: 1.3.0_02
    [77] JavaVMVendor: Sun Microsystems Inc.
    [78] JavaVMName: Java HotSpot(TM) Client VM
    [79] OperatingSystemName: Windows 2000
    [80] OperatingSystemVersion: 5.0
    [81] OperatingSystemUsername: RWANG
    [82] Connected to Oracle JBO Server - Version: 3.2.9.76.3
    [83] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'bc4j_scott.Bc4j_sco
    ttModule'
    [84] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Bc4j_scottModule
    [85] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.bc4j_scott
    [86] Loading from /bc4j_scott/bc4j_scott.xml file
    [87] Loading from indvidual XML files
    [88] Loading the Containees for the Package 'bc4j_scott.bc4j_scott'.
    [89] }}+++ End Event10003 null
    [90] Loading from /bc4j_scott/Bc4j_scottModule.xml file
    [91] }}+++ End Event10002 null
    [92] {{+++ id=10003 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.DeptView
    [93] Loading from /bc4j_scott/DeptView.xml file
    [94] ViewObjectImpl's default fetch mode = 0
    [95] {{+++ id=10004 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Dept
    [96] Loading from /bc4j_scott/Dept.xml file
    [97] Loading Typemap entries from oracle.jbo.server.OracleTypeMapEntries
    [98] CSMessageBundle (language base) being initialized
    [99] }}+++ End Event10005 null
    [100] OracleSQLBuilder reached getInterface
    [101] Oracle SQL Builder Version 3.2.0.0.0
    [102] }}+++ End Event10004 null
    [103] {{+++ id=10005 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'DeptView'
    [104] }}+++ End Event10006 null
    [105] {{+++ id=10006 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.EmpView
    [106] Loading from /bc4j_scott/EmpView.xml file
    [107] {{+++ id=10007 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Emp
    [108] Loading from /bc4j_scott/Emp.xml file
    [109] }}+++ End Event10008 null
    [110] }}+++ End Event10007 null
    [111] {{+++ id=10008 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'EmpView'
    [112] }}+++ End Event10009 null
    [113] {{+++ id=10009 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.FkDeptnoLink
    [114] Loading from /bc4j_scott/FkDeptnoLink.xml file
    [115] }}+++ End Event10010 null
    [116] {{+++ id=10010 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.FkDeptnoAssoc
    [117] Loading from /bc4j_scott/FkDeptnoAssoc.xml file
    [118] }}+++ End Event10011 null
    [119] Created root application module: 'bc4j_scott.Bc4j_scottModule'
    [120] Locale is: 'en_US'
    [121] }}+++ End Event10001 null
    [122] AM pool is establishing an application module connection
    [123] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [124] DBTransactionImpl Max Cursors is 50
    [125] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [126] {{+++ id=10011 type: 'JDBC_CONNECT' null
    [127] Trying connection/2: url='jdbc:oracle:thin:@Oracle_Prod1:1521:p816' info='{user=rick, passwo
    rd=tiger}' ...
    [128] }}+++ End Event10012 null
    [129] Successfully logged in
    [130] JDBCDriverVersion: 8.1.7.1.0
    [131] DatabaseProductName: Oracle
    [132] DatabaseProductVersion: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production With the
    Partitioning option JServer Release 8.1.6.0.0 - Production <---It's hanging here for a very very long time......
    Any idea?
    null

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

  • 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

  • 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

  • Using MySQL with JDeveloper 3.2 in a BC4J JSP Application

    Hi!
    I'm trying to create a BC4J JSP application using MySQL.
    I'm using the mm.mysql-2.0.4-bin.jar which I've registered in
    IDE and ClassPath. I created a connection with the option Other
    JDBC.
    I tested successfully the connection in the Connection Manager.
    After, I created a new project with BC4J. Using the 'tester' I
    got an error: no suitable driver.
    While editing the created view object I got a SQLException when
    I clicked in Attribute Mapping.
    How to solve this problem? I realized that other people here had
    this kind of problem but nobody gave a definitive solution.
    Thanks.

    Ok, I'm doing exactly the same Jdevloper BC4J over mySQL.
    I got one step further.
    In order to solve your problem:
    1. Add AddJavaLibFile ../lib/mysql_comp.jar (or whereever
    is your mysql driver) in bin/jdev.conf.
    resart the application
    In that case your driver will be available for all tasks.
    It works for me.
    My problem:
    When I run the Tester for my generated module, I obtain:
    No attribute with the Primary key property was found...
    Can you emeil me the procedure if you find how to use
    BC4J over mysql

  • Error deploying BC4J JSP-application to OC4J

    Hi!
    I am trying to deploy a typical default generated jsp - application based on default generated BC4J components (against a simple table in an oracle 8.1.7 database) to an external oc4j - service.
    The application runs without problems in the internal JDeveloper oc4j, but when I deploy it to an external oc4j service, I get the following error:
    ++++++++++++++++++++++++++++++++++++++++++++++++
    Error Message: JBO-30003: The application pool (mypackage1.Mypackage1Module.Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
    Error Message: JBO-25029: Data class (a domain?) {0} not found
    JBO-30003: The application pool (mypackage1.Mypackage1Module.Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.domain.DataCreationException: JBO-25029: Data class (a domain?) {0} not found
         at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:152)
         at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:1922)
         at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2293)
         at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2236)
    ## Detail 0 ##
    java.lang.ClassNotFoundException: oracle.jbo.domain.RowID
         at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:185)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:30)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:136)
         at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:148)
         at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:1922)
         at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2293)
    I am using JDeveloper 9.0.2 Production
    and oc4j 9.0.2.0.0
    Ketill

    Jump to the following link, read, and understand everything:
    Re: How to use the classes of ott generated in Visual c++
    Also, locate the C:\Jdev9i\BC4J\bin\bc4j2oc4j.bat file, make the necessary changes for the OC4J_HOME, JDEV_HOME, and JDK_HOME and run. This file should setup the BC4J libraries in your OC4J installation. Be sure your OC4J_HOME\j2ee\home\admin.jar is version compatible with the JDEV_HOME\j2ee\home\admin.jar.
    Arnold Angel
    [email protected]

  • Deployment of BC4J/JSP/Struts application to tomcat-4.18

    Hi,
    I made an application with BC4J/Struts, with embedded OC4J Server the application work fine but when I deploy the application to tomcat-4.18 I get the following error in the Edit page :
    javax.servlet.jsp.JspTagException: Illegal to flush within a custom tag
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:75)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_jbo_DataEdit_0(automate_edit_jsp.java:421)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_uix_rawText_0(automate_edit_jsp.java:395)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_uix_contents_0(automate_edit_jsp.java:367)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_uix_pageLayout_0(automate_edit_jsp.java:201)
         at org.apache.jsp.automate_edit_jsp._jspService(automate_edit_jsp.java:146)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.Long postings are being truncated to ~1 kB at this time.

    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

  • HOW CAN I DEPLOY BC4J JSP APPLICATION ON REMOTE OC4J?

    Hi,
    I am using JDeveloper9iRC. I am trying to go through 'Oracle9i JDeveloper Reviewers Guide'. After having built business components and a JSP front-end I would like to deploy my application on remote OC4J (release 2). I started with the deployment of the middle-tier components as an EJB. It was a success, but I had to add the following line to application.xml file (because of JBO-28300: Piggyback read error):
    <library path="../../home/lib/bc4jdomorcl.jar" />
    I also deployed the JavaServer Pages as Web Module - WAR. When I am trying to access the web application in a browser
    (http://hostname:8888/j2eeapp-3JSP-context-root/
    OrdersView_BrowseEdit.jsp) I get an empty page. However, locally it works.
    It looks like something wrong was with 'datatags.jar' library.
    Is the following tag correct, if I have business components in different project than JSP:
    <jbo:ApplicationModule id="am" configname="bizlogic.BizlogicModule.BizlogicModuleLocal" releasemode="Stateful" />?
    I would be grateful for every advice.

    hy wang.
    to deploy a simple jsp-project create a deployment-profile (WAR-File) in this project. -->file-->new-->deployment-profiles-->war.
    now you need a connection to the oc4j where you want to put your files. this can be done in the system-navigation of jdev.
    you then can rightclick the <myapp>.deploy and deploy the project to a selected oc4j.
    don't forget to have a look at the jdev-help.
    hope this helps you for the first.

Maybe you are looking for