Translating VSM to BC4J

Hi,
We dowloaded de VSM example couple days ago and then we started to think how to map those patterns to the BC4J objects.
We already have Application Modules playing the role of the Managers, so each one of our database entities has it's own View Object and an Application Module with some logic for insert, update and delete.
Also, we have an application module per Use Case. It's like a controller but it doesn't talks directly with the view layer. To do that, we have another application module (the Controller), extended from the Use Case Application Module. So, we have one Controller per Use Case.
The Controller has methods to handle events generated by the view layer and provide the correct refresh at the view layer. These methods, like in the VSM, return an UserResponse Object. Among another parameters we put BC4J objects, like the ViewObject.
We use hashmaps as value objects to pass attributes from the view layer to the control layer. These value objects are passed as a parameter to the controllers's event handlers.
What do you think about this architecture? Any visible flaw? Any suggestions?
Thanks in advance.
Gleber & Daniel

Have you seen my recent article on using BC4J to implement collections of Value Objects for MVC applications? Why not just use the BC4J RowSet and Row (or optionally, our type-safe Row you can have generated for you) instead of having to repopulate a HashMap ?
http://otn.oracle.com/products/jdev/howtos/bc4j/bc4j-collections.html

Similar Messages

  • Vsm-adf.jar and vsm-bc4j.jar are same ??

    I donwloaded the sample code for Vsm-adf.jar and vsm-bc4j.jar . But both looks similar.
    Anybody got any clue
    Please let me know

    hi
    The VSM application has been migrated from the earlier version of JDeveloper. This is made to work with the latest JDev 10g. It uses the adf libraries which are shipped along with JDev10g.
    Shrini

  • BC4J VSM - Unable to determine the value of OC4J_HOME

    I'm on step 8 of the "Configuring the application" section and I'm getting the error "Unable to determine the value of OC4J_HOME" after running bc4j2oc4j.bat.
    Seems that the instruction assume that the OC4J_HOME is already set, so I set a system variable OC4J_HOME to C:\oracle\JDev903.1\j2ee\home. I then re-run bc4j2oc4j.bat and get the same error and now I'm totally lost.
    Also, given that I using W2K and want to get the BC4J-VSM app deployed to 9iAS, not the stand-alone server, should not the OC4J_HOME be set to 9iAS?
    Need some help.
    Thanks,
    Bill G...

    Hi Neelesh,
    I have set the OC4J_HOME as you suggested and then ran the bc4j2oc4j script. I then started JDeveloper, opened the VSM workspace, created db connections, made sure that Struts Commons classpath is pointing to jars in <JDEV_HOME>/jakarta-struts/librebuilt, then Rebuilt VSM-BC4J.jws. Then tried to run the VSM app within JDeveloper and I get the error listed below from the browser as the app tries to load.
    Bill G...
    500 Internal Server Error
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         void org.apache.struts.action.ActionServlet.<clinit>()
              ActionServlet.java:375
         java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
              native code
         java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
              Class.java:195
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletInstanceInfo com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
              HttpApplication.java:1890
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletInstanceInfo com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
              HttpApplication.java:4355
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.initPreloadServlets()
              HttpApplication.java:4455
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.initDynamic(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationConfig)
              HttpApplication.java:662
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.<init>(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.Application, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationConfig, java.lang.String, java.lang.String, boolean)
              HttpApplication.java:435
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.Application.getHttpApplication(java.lang.String, java.lang.String, boolean, long, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite, boolean)
              Application.java:695
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpServer.getHttpApplication(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationReference, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite)
              HttpServer.java:676
         com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite.getApplication(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
              HttpSite.java:388
         boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:407
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484

  • Running BC4J - VSM, the VSMWebapp.jr has problems

    Hello,
    I am working out the Tutorial of the BC4J Virtual Shopping Mall, on a PC MS Windows2000. I have found the tutorial, about this :
    http://otn.oracle.com/sample_code\tutorials\bc4jvsm\over/toc.htm
    I have done the extracting and the configuration of this application, step by step
    I am running the application using the 9i Jdeveloper 9.0.3
    The project VSMWebapp.jpr is running, and I have the OTN WebStore Home worrking.
    1. I can logon with only these 3 users : reghu, apparelowner, electowner.
    All the Shop Owner WebStore screens are working.
    But, there are a few problems for the Shop User.
    After successful login with reghu, ( login - and profile Web sceen are working ) :
    1. Clicking on the 'My Orders' in the WebStore home - Shop owner.
    Error in Virtual Shopping Mall Application
    java.lang.NullPointerException void jsps.malluser._myOrders._jspService(javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse) myOrders.jsp:94 void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest,
    javax.servlet.ServletResponse) HttpJsp.java:139 void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest,
    javax.servlet.http.HttpServletResponse, java.lang.String) JspPageTable.java:317 void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) JspServlet.java:465 void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) JspServlet.java:379 void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) HttpServlet.java:853 void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest,
    javax.servlet.ServletResponse) ServletRequestDispatcher.java:721 void
    and more ....
    2.Clicking on the 'Chart' in the Webstore home - shop owner and clicking on ‘Apparel’ and ‘Electronics’
    Error in Virtual Shopping Mall Application Insufficient parameters for this request.
    Please check the URL.The request may need form data which is missing.
    Click here to login again or to go to your home page if you have logged in already.
    Clicking on ‘here’ does not go to the login
    Kind Regards
    Johan Schockaert

    hello,
    I have extra info;
    after clicking - My Orders- in the User OTN Web screen
    the OC4J message box gives:
    [INFO] RequestProcessor - -Processing a 'GET' for path '/manageorders'
    [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.actions.LocalStrings', returnNull=true
    java.lang.NumberFormatException: 50,00
         java.lang.FloatingDecimal java.lang.FloatingDecimal.readJavaFormatString(java.lang.String)
              FloatingDecimal.java:1176
         java.lang.Double java.lang.Double.valueOf(java.lang.String)
              Double.java:168
         void java.lang.Double.<init>(java.lang.String)
              Double.java:240
         org.apache.struts.action.ActionForward oracle.otnsamples.vsm.controllers.user.OrderEditAction.getOrders(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              OrderEditAction.java:110
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         org.apache.struts.action.ActionForward org.apache.struts.actions.DispatchAction.dispatchMethod(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
              DispatchAction.java:280
         org.apache.struts.action.ActionForward org.apache.struts.actions.DispatchAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              DispatchAction.java:220
         org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
              RequestProcessor.java:446
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:266
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:65
         void oracle.otnsamples.vsm.filters.AccessControlFilter.checkPrivileges(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              AccessControlFilter.java:197
         void oracle.otnsamples.vsm.filters.AccessControlFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              AccessControlFilter.java:91
         void com.evermind.server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              EvermindFilterChain.java:16
         void oracle.otnsamples.vsm.filters.HitCounterFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              HitCounterFilter.java:86
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:556
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:797
         void java.lang.Thread.run()
              Thread.java:484
    [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
    It looks like that the BC4J-VSM can not find the code for
    getOrderItems and
    row.getOrderItems().getRowCount()
    Kind regards
    Johan

  • VSM-BC4J IN JDEV9042:compile error at JClient and run error at JSP

    compile error at JClient:
    C:\VSM-BC4J\src\oracle\otnsamples\vsm\client\admin\profilePanal.java
    --! Wraning(424,18):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
    --! Wraning(425,20):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
    --! Wraning(428,21):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
    --! Wraning(430,13):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
    run error at JSP:
    503 Service Unavailable
    Servlet error:Parsing error processing resource path

    Solution: don't use a runtime expression for the id attribute.
    The id attribute is used to declare
    - an attribute in scope
    - a scriptlet variable on the page
    These are only available for the duration of the <logic:iterate> tag
    The "id" is only used in your programming. You don't need to make it dynamic.

  • BC4J VSM on OC4J 10.1.2 - jdbc error ORA-00911: invalid character

    Hello,
    I have been trying to run the Virtual Shopping Mall application on OC4J Standalone 10.1.2. I have deployed the application from a JDeveloper 10.1.2 release. When i try to login the OC4J log presents the following information and login fails:
    C:\oracle\oc4j_1012\j2ee\home>java -jar oc4j.jar
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
    Statement: SELECT Users.USER_NAME, Users.FIRST_NAME, Users.LAST
    NAME,          Users.EMAIL, Users.ADDRESS, Users.CITY,
    Users.STATE, Users.COUNTRY, Users.ZIP, Users.PHONE,
    Users.ROLE, Users.PASSWORD, Users.CARD_PROVIDER,
    Users.CARD_NUMBER, Users.CARD_EXPIRY_DATE FROM USERS Users WHERE (USER
    _NAME=?)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java...
    which has a root cause of:
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:181)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
    redStatement.java:661)
    I've read some posts that suggest it could be the jdbc driver or the 'use ? style variables' option on the view definition. Your assistance is appreciated.
    Thanks
    David

    Thanks Luke,
    I changed
    vo.setWhereClause(" USER_NAME=?");
    to
    vo.setWhereClause(" USER_NAME=:0");
    And that particular segment worked as expected.
    Thanks
    David

  • ADF in JDeveloper 10.1.3.0.4: Error deploying bc4j.ear in JBoss-4.0.4.CR2

    Hello,
    Using the ADF Runtime Installer for JBoss found in JDeveloper 10.1.3.0.4, i've received deployment error during startup of JBoss. The error message as displayed in the console window as follows:
    09:29:16,325 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
    --- Incompletely deployed packages ---
    org.jboss.deployment.DeploymentInfo@89f00429 { url=file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear }
      deployer: org.jboss.deployment.EARDeployer@3a835d
      status: Deployment FAILED reason: Could not create deployment: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp65518bc4j.ear-contents/webapp.war; - nested throwable: (org.jboss.ws.WSException: java.lang.ClassNot
    FoundException: oracle.jbo.server.emd.EMDServlet)
      state: FAILED
      watch: file:/C:/Java/JBossAppServers/jboss-4.0.4.CR2/server/default/deploy/bc4j.ear
      altDD: null
      lastDeployed: 1146014956309
      lastModified: 1146014950147
      mbeans:Above it there is a lot more lines of stack trace, tell me if you need it to help me with this problem. The file structure deployed is as follows (Based on the log displayed in JDeveloper):
    In deploy directory
    bc4j.ear
    In jlib directory
    bc4jdomgnrc.jar
    In lib directory
    adf-connections.jar
    adfbinding.jar
    adfcm.jar
    adfm.jar
    adfmtl.jar
    adfmweb.jar
    adfshare.jar
    adfui.jar
    antlr.jar
    bc4jct.jar
    bc4jctejb.jar
    bc4jdomgnrc.jar
    bc4jdomorcl.jar
    bc4jhtml.jar
    bc4jimdomains.jar
    bc4jmt.jar
    bc4jmtejb.jar
    cache.jar
    collections.jar
    commons-cli-1.0.jar
    commons-el.jar
    concurrent.jar
    datatags.jar
    dc-adapters.jar
    dms.jar
    http_client.jar
    jazncore.jar
    jdev-cm.jar
    jsp-el-api.jar
    mdds.jar
    mdsrt.jar
    ojdbc14.jar
    ojdbc14dms.jar
    ojdl.jar
    ojpse.jar
    oracle-el.jar
    oraclepki.jar
    orajaxr.jar
    orasaaj.jar
    orawsdl.jar
    orawsrm.jar
    ordhttp.jar
    ordim.jar
    osdt_cert.jar
    osdt_core.jar
    osdt_saml.jar
    osdt_wss.jar
    osdt_xmlsec.jar
    regexp.jar
    runtime12.jar
    share.jar
    toplink.jar
    translator.jar
    wsclient.jar
    wsdl.jar
    wssecurity.jar
    xml.jar
    xmlef.jar
    xmlparserv2.jar
    xsdlib.jar
    xsqlserializers.jar
    xsu12.jar
    And another thing, is there any way to have the ADF Runtime Installer install the ADF Runtime into another JBoss config directory. As far as I noticed, it will only install into the JBoss default config directory.
    TQ in advance.

    Hi Cleber,
    Is it possible that you can send me a copy of your original 10.1.2 project which contains these diagrams so that I can take a look? The diagrams should open fine in 10.1.3.0.4.
    My email address is [email protected], if you could zip up your project and then change the .zip file extension to .zap to get it through the email server.
    Regards,
    Lisa
    JDev QA

  • In need of an beginning/inter  level BC4J tutorial

    I have been looking for some beginning/intermediate level tutorial(s) and/or information for BC4J.
    The BC4J tutorials included with Jdeveloper have been a good starting point for understanding the basics. However, I have not found a simple tutorial/introduction that would incorporate the view object or entity object into a servlet running in a JSP. I have installed the ToyStore and VSM tutorials, however they are too advanced for my level of understanding. I have looked also looked at the articles on at otn.oracle.com/products/jdev/howtos/content.htm. But again, they do not provide a step-by-step overview for some one just getting started with BC4J.
    If you know of any references for beginning/intermediate level (step-by-step) tutorials (especially for using view and entity objects in a servlet running on a JSP), please let me know. Thanks in advance.
    Regards,
    -- Chuck

    The Oracle9i JDeveloper Handbook have some good chapters on BC4J.
    Get it at http://www.amazon.com/oracle
    Here is a preview of two of them:
    http://otn.oracle.com/oramag/books/oraclepress/ch3_jdevhbk.pdf
    http://otn.oracle.com/oramag/books/oraclepress/ch22_jdevhbk.pdf

  • 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

  • ANN: Tutorial Series: Industrial-Strength BC4J

    Available 3/26/03
    http://otn.oracle.com/sample_code/tutorials/bc4jvsm/bc4jvsmtoc.htm
    This series of tutorials uses the Virtual Shopping Mall sample application to demonstrate programming techniques that take advantage of features of Business Components for Java (BC4J), Oracle's standards-based, server-side framework for creating scalable, high-performance J2EE applications. While describing parts of the larger application, each tutorial is self-contained, and each explains how to use a technique or perform a task.
    The application enables vendors to set up online shops, customers to browse through the shops, and a system administrator to approve and reject requests for new shops and maintain lists of shop categories. OTN developers used Oracle9i JDeveloper and the Oracle Business Components for Java (BC4J) framework to build the application.

    o.k i managed to get rid of the exceptions
    you need to copy the contents of /jakata-struts/lib to
    vsm-bc4j/classes
    and yes my struts-common path is set.
    in your install instructions you could mention that errors go into:
    VSM-BC4J-oc4j-app.log
    it will same us a load of time, for tracking errors.
    also get them to re-write the scripts that you have to run, so that you do not have to keep typing in the paths, but instead the paths are set in the scripts.( we can modify them)
    it will also show people new to the app. what you are talking about, and which paths
    moving right along:
    2 more questions.
    1. as an example how secure is this app.?
    is it a good way to implement security for a web site.?
    also you could mention what code is kept on the server and what is sent to the local client, perhaps in the code files, and for god sake get the programmers to comment their code more.
    2. O.K one more possible bug.( running from jdeveloper)
    when i select "sign in" from the title screen, i get sent to the login screen.
    when i enter the password & user name.
    i get redirected to :
    "/BC4JVSM/null", which does not exist
    it appears to be in "login.jsp" in "vsmwebapp.jpr"
    request.getAttribute("Home") is returning null.
    i have re-written the code to:
    String tail =(String)request.getAttribute("Home");
    String url = request.getContextPath()+"/"+tail;
    if((tail==null)||(tail.equalsIgnoreCase("null")))
    url = request.getContextPath()+"/"+UIController.getInstance().getUI("DEFAULT","LOGIN");
    session.invalidate();
    response.sendRedirect(url);
    which traps the error but does not fix it.
    where should i get redirected to?, and where does the "Home" variable get set?
    steve

  • Still missing translations for NavBar tooltips and status bar

    Again JDev 9.0.3.1 does not have german translations for the following JClient navigation bar tooltips:
    - Execute/Re-execute the query
    - Cancel Find Mode and switch to previously displayed data
    The english status bar shows rowset information like "row 1 / 7 rows / modified: false". With german language we only see "1 / 7" and a funny looking dot instead of the modification info.
    903 does not ship the sources of the UIMessageBundles anymore. So how can we correct this? Can we put the 902 source into our projects and add german descriptions ourself? Or can you publish the 903 sources?
    The CSMessageBundle_de also contains some empty messages (EXC_DEF_MANDATORY_ATTR_EXCEPTION or EXC_ROW_NOT_AVAILABLE). Are they not used by BC4J?
    Regards,
    Michael Thal

    Hi ,
    Refer sap note 1159021-in client 100, 518950-efforts to translet the language.
    You can run client maintainance again in client 100 and check.
    let us know, further.
    Thanks
    R.

  • BC4J Hotel Sample Works on CORBA/EJB ??

    HI, JDev Folks,
    I am debugging the BC4J with CORBA and EJB. And I download the BC4J Hotel Sample from the OTN web under the Jdeveloper/Sample Codes folder. I got the error in the client file BC4JHotelSample.java at
    public ApplicationModule createRootCORBAAppModule(String sessionDefName) {
    Hashtable env = new Hashtable(10);
    javax.naming.Context ic = new InitialContext(env);
    and the error is :
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Error = javax.naming.NameNotFoundException: Nothing bound for specified name [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound]
    But if ran it under LOCAL, everythin is OK. Not under EJB/CORBA.
    Anybody happened make it works, please be advised. Thanks!
    Mike
    null

    Hi, ROBERT,
    I deployed the CORBA as guide by the Hotel Sample instruction. and I just created the JDBC and IIOP connection which both are OK by test. To be more convinced, I attached the code from deployment of CORBA for the it.
    ============================================
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\BC4JHRSBcO8.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSBcO8.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading the CORBA classes into 8i JVM using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.server.tools.loadjava.LoadJavaMain
    -user
    travel/travel@localhost:1521:test
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSBcO8.jar"
    initialization complete
    identical: META-INF/MANIFEST.MF is unchanged from previously loaded file
    loading : connections.properties
    creating : connections.properties
    resolver :
    *** CORBA classes load completed ***
    *** Publishing the CORBA object in 8i JVM ***
    Publish CORBA Object argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.namespace.shell.ShellClient
    -command
    publish /test/travel/$DefaultAppModule oracle.jbo.server.remote.corba.aurora.AuroraApplicationModule oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper -republish
    -user
    travel
    -password
    travel
    -service
    sess_iiop://localhost:2482:test
    *** 8i JVM CORBA publishing completed ***
    *** Deployment completed ***
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\BC4JHRS1.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\BC4JHRSCommonO81.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Executing deployment profile C:\Program Files\Oracle\JDeveloper 3.2\myprojects\BC4JSample\bcdeploy\AppModuleServerO81.prf ***
    *** Generating archive file C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO81.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Loading archive C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar,C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar into 8i JVM using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.server.tools.loadjava.LoadJavaMain
    -user
    travel/travel@localhost:1521:test
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar"
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar"
    initialization complete
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    loading : connections.properties
    creating : connections.properties
    identical: BC4JHRS/common/bc4j.xcfg is unchanged from previously loaded file
    identical: BC4JHRS/HotelsImpl is unchanged from previously loaded file
    identical: BC4JHRS/Available_Room_Types_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Facilities_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/FaxNo is unchanged from previously loaded file
    identical: BC4JHRS/WebURL is unchanged from previously loaded file
    identical: BC4JHRS/AppModuleImpl is unchanged from previously loaded file
    identical: BC4JHRS/CitiesImpl is unchanged from previously loaded file
    identical: BC4JHRS/CountriesImpl is unchanged from previously loaded file
    identical: BC4JHRS/AvailableRoomTypesImpl is unchanged from previously loaded file
    identical: BC4JHRS/PhoneNo is unchanged from previously loaded file
    identical: BC4JHRS/Room_Availability_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/Exchange_Rate_Updation_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/RoomAvailabilityImpl is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Bookings_ViewImpl is unchanged from previously loaded file
    identical: BC4JHRS/HotelFacilitiesImpl is unchanged from previously loaded file
    identical: BC4JHRS/ExchangeRatesImpl is unchanged from previously loaded file
    identical: BC4JHRS/HotelBookingsImpl is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Info_ViewImpl is unchanged from previously loaded file
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    identical: BC4JHRS/HotelBookings.xml is unchanged from previously loaded file
    identical: BC4JHRS/AvailableRoomTypes.xml is unchanged from previously loaded file
    identical: BC4JHRS/ExrConFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/PhoneNo.xml is unchanged from previously loaded file
    identical: BC4JHRS/RavHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/HotelBookingsVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/ArtHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/BC4JHRS.xml is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Info_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/HtfHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/HotelFacilitiesVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/Cities.xml is unchanged from previously loaded file
    identical: BC4JHRS/FaxNo.xml is unchanged from previously loaded file
    identical: BC4JHRS/Room_Availability_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Facilities_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/ArtVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/RavVL.xml is unchanged from previously loaded file
    identical: BC4JHRS/CtyConFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/WebURL.xml is unchanged from previously loaded file
    loading : BC4JHRS/AppModule.xml
    creating : BC4JHRS/AppModule.xml
    identical: BC4JHRS/BC4JHRS.jpx is unchanged from previously loaded file
    identical: BC4JHRS/ExchangeRates.xml is unchanged from previously loaded file
    loading : connections.properties
    creating : connections.properties
    identical: BC4JHRS/Hotels.xml is unchanged from previously loaded file
    identical: BC4JHRS/Available_Room_Types_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/HotelFacilities.xml is unchanged from previously loaded file
    identical: BC4JHRS/RoomAvailability.xml is unchanged from previously loaded file
    identical: BC4JHRS/Countries.xml is unchanged from previously loaded file
    identical: BC4JHRS/ExrConFk2Assoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/HobHotFkAssoc.xml is unchanged from previously loaded file
    identical: BC4JHRS/Exchange_Rate_Updation_View.xml is unchanged from previously loaded file
    identical: BC4JHRS/Hotel_Bookings_View.xml is unchanged from previously loaded file
    resolver :
    skipping : BC4JHRS/HotelsImpl is already resolved
    skipping : BC4JHRS/Available_Room_Types_ViewImpl is already resolved
    skipping : BC4JHRS/Hotel_Facilities_ViewImpl is already resolved
    skipping : BC4JHRS/FaxNo is already resolved
    skipping : BC4JHRS/WebURL is already resolved
    skipping : BC4JHRS/AppModuleImpl is already resolved
    skipping : BC4JHRS/CitiesImpl is already resolved
    skipping : BC4JHRS/CountriesImpl is already resolved
    skipping : BC4JHRS/AvailableRoomTypesImpl is already resolved
    skipping : BC4JHRS/PhoneNo is already resolved
    skipping : BC4JHRS/Room_Availability_ViewImpl is already resolved
    skipping : BC4JHRS/Exchange_Rate_Updation_ViewImpl is already resolved
    skipping : BC4JHRS/RoomAvailabilityImpl is already resolved
    skipping : BC4JHRS/Hotel_Bookings_ViewImpl is already resolved
    skipping : BC4JHRS/HotelFacilitiesImpl is already resolved
    skipping : BC4JHRS/ExchangeRatesImpl is already resolved
    skipping : BC4JHRS/HotelBookingsImpl is already resolved
    skipping : BC4JHRS/Hotel_Info_ViewImpl is already resolved
    *** Archive load completed ***
    *** Loading the CORBA classes into 8i JVM using JDBC ***
    Load Java argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.server.tools.loadjava.LoadJavaMain
    -user
    travel/travel@localhost:1521:test
    -thin
    -verbose
    -resolve
    "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO81.jar"
    initialization complete
    loading : BC4JHRS/server/o8/AppModuleServerO8
    creating : BC4JHRS/server/o8/AppModuleServerO8
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    loading : connections.properties
    creating : connections.properties
    resolver :
    resolving: BC4JHRS/server/o8/AppModuleServerO8
    *** CORBA classes load completed ***
    *** Publishing the CORBA object in 8i JVM ***
    Publish CORBA Object argument list:
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw"
    "-DPATH=C:\Program Files\Oracle\JDeveloper 3.2\bin;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\bin"
    -classpath
    "C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbojdbcpatch.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodatum12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDe
    eloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax-ssl-1_2.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\jasper.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora.zip;C:\Program Files\Oracle\JDeveloper 3.2\sqlj\lib\translator.zip;C:\Program Files\Or
    cle\JDeveloper 3.2\sqlj\lib\runtime.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\mts.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbotester.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbocmp.zip;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar"
    oracle.aurora.namespace.shell.ShellClient
    -command
    publish /test/travel/BC4JHRS.AppModule BC4JHRS.server.o8.AppModuleServerO8 oracle.jbo.common.remote.corba.RemoteApplicationModuleHomeHelper -republish
    -user
    travel
    -password
    travel
    -service
    sess_iiop://localhost:2482:test
    *** 8i JVM CORBA publishing completed ***
    *** Deployment completed ***
    =============================================
    Then I created the library called BC4JHRSCommon8i to the created jar files to it. and attached it to the client program BC4JJavaClient.jpr. In the meantime to change the Run/Debug status to CORBA NOT LOCAL. then I rebuild and run the test program. then I got the error:
    =================================
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw.exe" -mx50m -classpath "C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremoteejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\javax_ejb.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboejb.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbomt.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbodomorcl.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\xmlparserv2.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\AppModuleServerO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRS1.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSBcO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BC4JHRSCommonO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\Program Files\Oracle\JDeveloper 3.0\myclasses\BcO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar" BC4JJavaClient.BC4JHotelSample CORBA
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    Error = javax.naming.NamingException: oracle.jbo.client.remote.corba.aurora.AuroraInitialContext [Root exception is java.lang.ClassNotFoundException: oracle.jbo.client.remote.corba.aurora.AuroraInitialContext]
    =======================================
    I did all those step by step by the guidance. My enviornment is JDEV3.2, ORA8.1.7
    on WIN2000.
    Also I did NOT find the Sample Codes Forum in the discussion forum? Any comments about error. BY the way If I created a BC4J from scratch, I did not have the error above But I got another error when I ran the client. It is clearly linked to my BC4J CORBA. I also attached the error and the debug msg below.
    ========================================
    "C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\bin\javaw.exe" -mx50m -classpath "C:\Program Files\Oracle\JDeveloper 3.2\myclasses;C:\Program Files\Oracle\JDeveloper 3.2\lib\jdev-rt.zip;C:\Program Files\Oracle\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\connectionmanager.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboremote.zip;C:\Program Files\Oracle\JDeveloper 3.2\lib\jbo8iclient.zip;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.2\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jndi.jar;C:\Program Files\Oracle\JDeveloper 3.2\lib\jboo8i.zip;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoCommonO82.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemo3.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoBcO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoModuleServerO82.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BcO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoCommonO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoModuleServerO81.jar;C:\Program Files\Oracle\JDeveloper 3.2\myclasses\BC4JDemoCommonO8.jar;C:\Program Files\Oracle\JDeveloper 3.2\java1.2\jre\lib\rt.jar" BC4JDemo.BC4J_8iCorba_Test CORBA
    In the EVN0: test
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
    Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutput=console to see it)
    In the EVN1: javax.naming.InitialContext@16e2
    In the EVN2: test HOME = : oracle.jbo.client.remote.corba.aurora.AuroraApplicationModuleHome@480c
    In the EVN3: BC4JDemoModule
    In the EVN4: jdbc:oracle:kprb:
    In the EVN5: oracle.jbo.client.remote.ViewUsageImpl@32ad
    In the EVN51: 8
    In the EVN52: null
    In the EVN53: BC4JDemo.DeptView
    In the EVN54: SELECT Dept.DEPTNO, Dept.DNAME, Dept.LOC FROM DEPT Dept
    In the EVN55: -1
    In the EVN56: 4
    In the EVN57: DeptView
    In the EVN58: 3
    In the EVN59: 2
    In the getDetailRowSets: [Loracle.jbo.RowSet;@3d34
    In the EVN51: -1
    In the getViewObject: DeptView
    oracle.jbo.PiggybackException: JBO-28300: Piggyback read error
    void oracle.jbo.client.remote.ApplicationModuleImpl.processPiggyback(byte[])
    int oracle.jbo.client.remote.ApplicationModuleImpl.syncIterator(int, int, int, boolean, boolean)
    int oracle.jbo.client.remote.RowSetIteratorImpl.syncIterator(int, int, boolean)
    oracle.jbo.Row oracle.jbo.client.remote.RowSetIteratorImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.RowSetImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.ViewUsageImpl.first()
    void BC4JDemo.BC4J_8iCorba_Test.main(java.lang.String[])
    ## Detail 0 ##
    java.lang.ClassNotFoundException: oracle.jbo.domain.Number
    void oracle.jbo.client.remote.ApplicationModuleImpl.processPiggyback(byte[])
    int oracle.jbo.client.remote.ApplicationModuleImpl.syncIterator(int, int, int, boolean, boolean)
    int oracle.jbo.client.remote.RowSetIteratorImpl.syncIterator(int, int, boolean)
    oracle.jbo.Row oracle.jbo.client.remote.RowSetIteratorImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.RowSetImpl.first()
    oracle.jbo.Row oracle.jbo.client.remote.ViewUsageImpl.first()
    void BC4JDemo.BC4J_8iCorba_Test.main(java.lang.String[])
    In the EVN8: oracle.jbo.PiggybackException: JBO-28300: Piggyback read error
    JBO-28300: Piggyback read error
    =========================================
    All the lines withe "In the ENV*" are my debug msg, you can ingore them. But the msg come from ObjectView e.g. ObjectView deptVo=appMod.findViewObject("DeptView");
    deptVo.first();
    The mothods first(), next(), last(), ... etc are list in the view. But as soon as I called it. I got the "JBO-28300: Piggyback read error". JBO-28300 even not list in the help guidance. I did not know why this bug come from? It at least should listed in the help of JDEV3.2 doc and give me more explaintion what it goes wrong. If you met those problem before, please post here how to fix it. Thanks!
    MIke

  • BC4J page not found

    I am trying to deploy a very simple BC4J page to a standalone OC4J using JDeveloper (10.1.2, same version as OC4J) but got "page not found" all the time.
    This page can be running in JDeveloper embedded OC4J without any issues and the WAR file was created using JDeveloper. No issues occured in the deployment. But BC4J page cannot be shown up - got "page not found" error. Other JSP pages are fine. I checked the "persistence\_pages" directory and it turns out that those JSP pages using BC4J were not translated into Java files until I remove the BC4J component from the page. It seems datatags.jar and web.xml are ok.
    Any ideas? Thanks in advance.

    No ADF is not preinstalled on the OC4J.
    Check under the tools menu for the ADF Runtime installer and run it on your OC4J instance.

  • VSM Unable to run

    I have downloaded the VSM - Virtual Shopping Mall Application from OTN,
    i have extracted the contents and made the necessary configurations as mentioned in the Readme.html for
    Deploying the Application to Oracle9i JDeveloper's embedded OC4J
    When i tried to compile the file, i get the JSP warnings.
    Can Someone Help me as where i had gone wrong?????
    When i tried to run the application , i get the NullPointerException showing this message.
    Embedded OC4J startup time: 15 ms.
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Error creating the ORB :
    Copying default deployment descriptor from archive at C:\VSM\webstore\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\jdeveloper\jdev\system9.0.3.988\oc4j-config\application-deployments\current-workspace-app\classes...
    java.lang.NullPointerException
         void com.evermind.server.ejb.deployment.ORMapping.<init>(org.w3c.dom.Node, com.evermind.server.ejb.deployment.ContainerManagedField, int, com.evermind.server.ejb.deployment.EJBPackage)
              ORMapping.java:58
         void com.evermind.server.ejb.deployment.ContainerManagedField.parseOrionXML(org.w3c.dom.Node, com.evermind.server.ejb.deployment.EJBPackage)
              ContainerManagedField.java:728
         void com.evermind.server.ejb.deployment.EntityBeanDescriptor.parseOrionXML(org.w3c.dom.Node)
              EntityBeanDescriptor.java:1088
         void com.evermind.server.ejb.deployment.EJBPackage.parseOrionBean(org.w3c.dom.Node)
              EJBPackage.java:826
         void com.evermind.server.ejb.deployment.EJBPackage.parseOrionEnterpriseBeans(org.w3c.dom.Node)
              EJBPackage.java:678
         void com.evermind.server.ejb.deployment.EJBPackage.parseDeploymentMainNode(org.w3c.dom.Node)
              EJBPackage.java:478
         void com.evermind.xml.XMLConfig.parseRootNode(org.w3c.dom.Node, boolean)
              XMLConfig.java:274
         void com.evermind.xml.XMLConfig.init(byte[], int, int, boolean)
              XMLConfig.java:151
         void com.evermind.server.ejb.deployment.EJBPackage.init(byte[], int, int, boolean)
              EJBPackage.java:1997
         java.lang.String com.evermind.server.ServerComponent.initDeployment(byte[], int, int)
              ServerComponent.java:314
         java.lang.String com.evermind.server.ServerComponent.copyAndDeploy(boolean)
              ServerComponent.java:383
         java.lang.String com.evermind.server.ServerComponent.initDeployment()
              ServerComponent.java:285
         com.evermind.server.ejb.deployment.EJBPackage com.evermind.server.ejb.EJBPackageDeployment.getPackage()
              EJBPackageDeployment.java:674
         void com.evermind.server.ejb.EJBContainer.postInit(com.evermind.server.ejb.EJBContainerConfig, com.evermind.server.administration.ApplicationInstallation)
              EJBContainer.java:519
         void com.evermind.server.Application.postInit(com.evermind.server.ApplicationConfig, com.evermind.server.administration.ApplicationInstallation)
              Application.java:431
         void com.evermind.server.Application.setConfig(com.evermind.server.ApplicationConfig, com.evermind.server.administration.ApplicationInstallation)
              Application.java:136
         void com.evermind.server.Application.setConfig(com.evermind.server.ApplicationConfig)
              Application.java:115
         void com.evermind.server.ApplicationServer.doCheckForUpdates()
              ApplicationServer.java:2431
         void com.evermind.server.ApplicationServer.checkForUpdates()
              ApplicationServer.java:2262
         void com.evermind.server.ApplicationServerTask.run()
              ApplicationServerTask.java:45
         void com.evermind.util.TaskManager.run()
              TaskManager.java:181
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    Target URL -- http://192.168.200.61:8994/vsm/jsps/main.jsp
    oracle.otnsamples.mvc.BusinessException: Exception in mainPage method of CatalogueController class of given status : Categories could not be found in getCategoryInformation method of CatalogueController class of given status :
    Exception thrown from getService method of ServiceLocator class of given status : CategoryManager not found
         oracle.otnsamples.mvc.UserResponse oracle.otnsamples.vsm.controllers.CatalogueController.mainPage(java.util.Hashtable, oracle.otnsamples.mvc.UserSession)
              CatalogueController.java:108
         java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])
              native code
         oracle.otnsamples.mvc.UserResponse oracle.otnsamples.mvc.Command.execute(java.lang.String, java.util.Hashtable, oracle.otnsamples.mvc.UserSession, java.lang.String)
              Command.java:93
         oracle.otnsamples.mvc.UserResponse oracle.otnsamples.mvc.CommandCache.executeCommand(java.lang.String, java.util.Hashtable, oracle.otnsamples.mvc.UserSession)
              CommandCache.java:68
         void oracle.otnsamples.mvc.RouterServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RouterServlet.java:120
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ResourceFilterChain.java:64
         void oracle.otnsamples.vsm.business.FileUploadFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              FileUploadFilter.java:101
         void com.evermind.server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              EvermindFilterChain.java:16
         void oracle.otnsamples.vsm.business.AccessControlFilter.checkPrivileges(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              AccessControlFilter.java:172
         void oracle.otnsamples.vsm.business.AccessControlFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              AccessControlFilter.java:81
         void com.evermind.server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              EvermindFilterChain.java:20
         void oracle.otnsamples.vsm.business.HitCounterFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
              HitCounterFilter.java:86
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:559
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:309
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:797
         void java.lang.Thread.run()
              Thread.java:484
    In the Html opened i get the following information
    Error in Virtual Shopping Mall Application :
    oracle.otnsamples.mvc.BusinessException: InvocationTargetException in execute method of Command class of given status java.lang.reflect.InvocationTargetException oracle.otnsamples.mvc.UserResponse oracle.otnsamples.mvc.Command.execute(java.lang.String, java.util.Hashtable, oracle.otnsamples.mvc.UserSession, java.lang.String) Command.java:102 oracle.otnsamples.mvc.UserResponse oracle.otnsamples.mvc.CommandCache.executeCommand(java.lang.String, java.util.Hashtable, oracle.otnsamples.mvc.UserSession) CommandCache.java:68 void oracle.otnsamples.mvc.RouterServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) RouterServlet.java:120 void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse) HttpServlet.java:853 void com.evermind.server.http.ResourceFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) ResourceFilterChain.java:64 void oracle.otnsamples.vsm.business.FileUploadFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) FileUploadFilter.java:101 void com.evermind.server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) EvermindFilterChain.java:16 void oracle.otnsamples.vsm.business.AccessControlFilter.checkPrivileges(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) AccessControlFilter.java:172 void oracle.otnsamples.vsm.business.AccessControlFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) AccessControlFilter.java:81 void com.evermind.server.http.EvermindFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) EvermindFilterChain.java:20 void oracle.otnsamples.vsm.business.HitCounterFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) HitCounterFilter.java:86 void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse) ServletRequestDispatcher.java:559 void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse) ServletRequestDispatcher.java:309 boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean) HttpRequestHandler.java:767 void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread) HttpRequestHandler.java:259 void com.evermind.server.http.HttpRequestHandler.run() HttpRequestHandler.java:106 void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run() PooledExecutor.java:797 void java.lang.Thread.run() Thread.java:484

    Specify the version and the trace log please.

  • Migrating Oracle Forms to BC4J Architecture

    Hi,
    i'am currently searching for people/guidelines who experienced the migration
    from Oracle Forms to a BC4J architecture; with a JavaSwing client interface.
    Did they succeed ?
    What we're the pitfalls ?
    What did they do with the typical Oracle Forms built-ins ?
    Which framework, migration products,etc did they use ?
    All info is welcome.
    chris

    we just had a workshop validating the tool from Informatic Atelier.
    We were disappointed as the tool gives poor or no solution for the Business Logic in the form module.
    User Interface - Oke moreOrLess (Jtable rrrrrr!!!)
    Data - oke; BC4J ;Entity object no problem; View objects no problem
    Business Logic - NOT oke; trigger code and program units are dumped into a java file; the rest is up to you.
    This leaves a lot code to translated and reviewed. Don't forget that our client forms contains lots, lots of business logic.
    Chris

Maybe you are looking for

  • HP all-in-one c301 will not save scanned doc in Mavericks upgrade

    I have recently installed the free OS X Mavericks upgrade to my Macbook Pro.  My HP all-in-one c301 will scan, but the scans do not save.  The saved pdf looks like a bunch of gray lines when I reopen the saved file.  Has anyone already found a work a

  • Check Lot/ Register not update through F110

    Dear SAP Guru, My client has two bank HDFC and HSBC. I haven given ranking order in FBZP HDFC 1 and HSBC 2. When i am doing testing system is check lot and register updated in HDFC. When i run the progam through HSBC the system is making the payment

  • Python distutils and Arch

    Was just reading through PEP 356: http://www.python.org/dev/peps/pep-0356/ which discusses the 2.5 python roadmap. Two things that have been deferred until 2.6 are bdist_deb and bdist_egg targets. I started wondering if there were modules to allow me

  • Wifi printing

    Installed hp laserjet 1018 using hp wireless printing upgrade kit and printer worked for several years without any problems. Then on 11/29/10 I installed a hp photosmart plus printer (wifi) & now I can't print with the hp 1018 printer. The hp laserje

  • How do I install Creative Cloud programs for others?

    Users in my network are not allowed to install or update software.  How do I install Creative Cloud programs for them?  They are also not allowed to have Adobe IDs.  This is all to be done by Network Administrators, like me.