BC4J JDBC passivation NoSuchMethodError

Setup:
Client: WinNT 4 SP 6a
JDK: Sun 1.4.1_02
JDBC Driver: 9.2.0 (ojdbc14.jar)
JDeveloper 9.0.3.1
Target DB: 9.2.0.3.0 - 64bit on Solaris
In BC4J I choose
<jbo.dofailover>true</jbo.dofailover>
<jbo.passivationstore>database</jbo.passivationstore>
When BC4J tries to passivate I find the PS_TXN table created and regardless of thin or oci driver I get:
java.lang.NoSuchMethodError: oracle.jdbc.dbaccess.DBAccess.lobWrite(Loracle/sql/BLOB;J[B)J
     at oracle.sql.LobDBAccessImpl.putBytes(LobDBAccessImpl.java:111)
     at oracle.sql.BLOB.putBytes(BLOB.java:228)
     at oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream.java:269)
     at oracle.jdbc.driver.OracleBlobOutputStream.close(OracleBlobOutputStream.java:238)
     at oracle.jbo.pcoll.PCollNode.closeOutputStream(PCollNode.java:303)
[...more]

I cannot respond directly to the verbage in the "highwater" doc but the following definitions
may prove helpful(?)
Maximum Available Size jbo.ampool.maxavailablesize
The ideal maximum number of AM instances in the pool when not under abnormal load.
When the pool monitor wakes up to do resource cleanup, it will try to remove available AM instances to bring the total number of available instances down to this ideal maximum. Instances that have been not been used for a period longer than the idle instance timeout will always get cleaned up at this time, then additional available instances will be removed if necessary to bring the number of available instances down to this size. The default maximum available size is 25 instances.
Idle Instance Timeout jbo.ampool.maxinactiveage
The number of seconds after which to consider an inactive AM instance in the pool as a candidate for removal during the next resource cleanup.
The default is 600 seconds of idle time (time minutes).
For a more indepth discussion see:
http://radio.weblogs.com/0118231/stories/2003/12/17/understandingApplicationModulePoolingConceptsAndConfigurationParameters.html
Regards,
Stephen Martin
Oracle Corp

Similar Messages

  • Which BC4J / JDBC pooling configurations are global for a JVM?

    There are several documents and postings saying that some of the BC4J / JDBC Pooling properties are unique for the JVM.
    So if i have 3 WAR files with 3 different settings in bc4j.xcfg (transaction factory, pooling settings) some of the settings are ignored after the first AM Pool is instanciated. This could be the reason for some "unreproducable" problems we have.
    So please provide us a list, which properties additional to the ones below are global per JVM and which are really used from the bc4j.xcfg.
    1. Getting the Connection object out of ApplicationModule says about the TransactionFactory
    Please not that this property is a static BC4J property. Meaning that the value of this property when the first ApplicationModule is created is the value which will be used. If you have multiple ApplicationPool(s) then it is necessary to define the property in all configurations, dynamically, or as a system property.
    2. http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html says about jbo.ampool.monitorsleepinterval
    Since there is only a single application monitor pool monitor per Java VM, the value that will effectively be used for the AM pool monitor polling interval will be the value found in the AM configuration read by the first AM pool that gets created. To make sure this value is set in a predictable way, it is best practice for all application modules to use the same Pool Polling Interval value.
    and
    3. Since the tuning parameters for all ADF database connection pools - regardless of <JDBCURL,Username> value - will be set based on the parameters found in the configuration for the first AM pool that is created. To insure the most predictable behavior, it is best practice to leave the values of the parameters in the Connnection Pooling section of the Pooling and Scalability tab at their default values - so that no entry for them is written into the bc4j.xcfg file - and to instead set the desired values for the database connection pooling tuning parameters as Java System Parameters in your J2EE container.
    Sounds like this means the parameters: jbo.initpoolsize, jbo.maxpoolsize, jbo.poolmonitorsleepinterval, jbo.poolmaxavailablesize, jbo.poolminavailablesize, jbo.poolmaxinactiveage ?
    4. And http://oracle-web.petersons.com/bc4jdoc/bc_aappmodpooling.htm tells There is one connection pool manager for each business logic tier's Java VM. Connections remain in the pool until the Java VM stops running.
    Thanks, Markus

    Just another funny observation regarding BC4J parameter settings in 9.0.5.2:
    Setting jbo.ampool.sessioncookiefactoryclass in the jboserver.properties is ignored. Setting in bc4j.xcfg works.
    rgds, Markus

  • Dynamic BC4J JDBC credential problem

    I am using bc4j 9.0.3.1 and trying to dynamically change jdbc credentials and connect to different databases. I did everything as described in article "How to support Dynamic JDBC Credentials".
    I was able successfully connect from web application to database, but when I request ViewObject from app module - I got error "Error Message: JBO-25200: Application module is not connected to a database".
    What happened is following:
    My apps connect to database, it print following debug message:
    [458] Creating a new pool resource
    [459] Trying connection/2: url='jdbc:oracle:thin:@192.168.0.1:mxb' info='{user=carnegie, password=carnegie}' ...
    [460] Successfully logged in
    then in dubugger I see it calls ApplicationPoolImp class doFailover method and alwaus execute disconnect(appModule, true, cookie) method.
    I do not know why it disconnection itself from the database.
    // Store the passivation id on the application module cookie so that
    // we know the last passivation id.
    cookie.setPassivationId(passivationId);
    // After passivating the application module attempt to clean up any
    // records associated with previously passivated state. State may not be
    // removed if the VM instance has died (pass a previous state to this
    // method? Add logic to the application registry to handle this?).
    doPersistenceOperation(REMOVE_STATE, appModule, prevPassivationId, cookie);
    if (!wasConnected)
    // Always retain the state.
    disconnect(appModule, true, cookie);
    Final debug statements I got:
    [486] DefaultConnectionStrategy is disconnecting an application module connection
    [490] ViewObject close prepared statements...
    [491] ViewObject close prepared statements...
    [492] ViewObject close prepared statements...
    [493] ViewObject close prepared statements...
    [494] ViewObject close prepared statements...
    [495] ViewObject close prepared statements...
    [496] *** closing jdbc connection now **** (oracle.jdbc.driver.OracleConnection@ed)
    My problem - why it disconnection itself from the database after successfull connection? I want to use this connection for duration of the session.

    hi DAguirre
    I have found the class "oracle.jbo.http.HttpSessionCookieFactory" in these JAR files:
    <your-jdevstudio10133-dir>\BC4J\jlib\bc4jhtml.jar
    <your-jdevstudio10133-dir>\BC4J\lib\adfmweb.jar
    You could try to add one of these JAR files to your classpath.
    regards
    Jan Vervecken

  • BC4J /  JDBC Failover BUG ?

    I have developed an ADF / BC4J application which works.
    In our environment we have a failover configuration
    I coded this approach for my ADF applications.
    My Custom connect string in the connection wizard for the BC4J is:
    jdbc:oracle:thin:@
    (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP) (HOST =aaa.bbb.yyy.zzz)(PORT = 1521))
         (ADDRESS = (PROTOCOL = TCP) (HOST =bbb.bbb.yyy.zzz)(PORT = 1521))
         (LOAD_BALANCE = yes)
         (CONNECT_DATA =
              (SERVER = DEDICATED)
              (SERVICE_NAME = db.yyy.zzz)
              (FAILOVER_MODE = (TYPE = SESSION) (METHOD = BASIC) (RETRIES = 180) (DELAY = 5))
    When I press test connection it works and says success. (The first host in the list is actually down and we are using the failover host.)
    However when I deploy the app to the OC4J Standalone Middle Tier (10.1.3.0) and then attempt to run the app I get the following error in the browser:
    JBO-30003: The application pool (zzz.yyy.bbb.CustSubDivsAppLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    If I remove the unavailable host (the first one) from the ADDRESS list the application works properly. If I change the order of the hosts so the first one is the one thats up it also seems to work ok.
    It seems that the OC4J middle tier cannot handle the fact that the first host in the list is down and throws an exception instead of trying the second one. In JDeveloper BC4J Connection Wizard it seems to handle the down host properly.
    Is this correct or have I setup the URL incorrectly ?
    This has caused a huge headache for me as we are currently running on our failover hosts due to SAN maintenance and all my J2EE apps stopped working !!
    Thanx
    Andrew

    Hi Hans,
    A JDev developer, John S., recently created a bug report that if I remember
    correctly, said that creatRoot... was not thread safe.
    My scenario that caused this discovery (functionally identical to your looping threads cases)
    was multple concurrent requests created by rapid clicking a submit button. This creates multple threads in the web tier
    dispatching against a BC4J component calling createRoot....
    in our JSP/Servlets. Just like your code, Hans.
    The end result was some ugly exceptions and failed use cases of the 2nd or so to Nth threads.
    In short, I believe that your design won't work.
    I could work if you gave each thread a separate identity, via a separate BC4J cookie, thus simulating separate BC4J sessions.
    I'm not at all familiar with this area of the BC4J API, just know general buzz words to be dangerous and confusing
    to you. ;-(
    Hopefully John S. will jump in here and help you.
    Good luck, Curt.
    PS please post your solutions?

  • BC4J - JDBC Connections

    Hi,
    I am developing an Application using BC4J which has around 26 ViewObjects in 1 ApplicationModule
    I am using JDev 3.2 and specify runtime parameter
    -Djbo.maxpoolsize=0
    to use only 1 connection in the ConnectionPool.
    When I run my application, I see that around 6 connections being created everytime out of which 3 remains open when I close my application.
    Is there anyway I can make sure that my application uses only 1 connection ??
    I would appreciate any help on this.
    Please let me know if anyone is aware of this issue.
    Thanks in advance
    null

    Hi,
    Recently I noticed that, my application is taking a NEW connection whenever it needs to access the database and keeps it in hold until I quit my application. Some of them are not getting closed even after I close my application.
    Is there anyway by which I can restrict my ApplicationModule to use only one connection to execute all ViewObjects instead of creating a new one everytime ?
    Any help would be greatly appreciated.
    Thanks

  • Mac OS X SQL Developer Exception initializing 'oracle.dbtools.raptorDBAddin

    I can't get the DB Connnection wizard to startup, probably because Raptor didn't initialize properly. I've cleaned out ~/.sqldeveloper, I've added the
    appropriate NLS lines to sqldeveloper.conf:
    AddVMOption -Duser.language=en
    AddVMOption -Duser.country=US
    AddVMOption -Duser.region=US
    and I'm using the latest download sqldeveloper-5783-macosx.tar.gz.
    Java is:
    java -version
    java version "1.6.0_07"
    Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
    Mac OS Version is 10.5.6 on a MacBook Pro.
    I also have Instant_client_10_2 installed. Perhaps the libraries from this are interfering in some way?
    Can anyone please help?
    Exception stack follows. This stack was displayed in a terminal window:
    cd /Applications/SQLDeveloper.app/Contents/MacOS
    bash ./sqldeveloper.sh
    Exception initializing 'oracle.dbtools.raptor.RaptorDBAddin' in extension 'Oracle SQL Developer': java.lang.NoSuchMethodError: oracle.i18n.util.GDKOracleMetaData.getDataPath()Ljava/lang/String;
    at oracle.i18n.text.OraBoot.&lt;clinit&gt;(OraBoot.java:72)
    at oracle.i18n.util.OraLocaleInfo.&lt;init&gt;(OraLocaleInfo.java:197)
    at oracle.i18n.util.OraLocaleInfo.getInstance(OraLocaleInfo.java:272)
    at oracle.dbtools.raptor.config.DBConfig.&lt;clinit&gt;(DBConfig.java:286)
    at oracle.dbtools.raptor.RaptorDBAddin.initialize(RaptorDBAddin.java:111)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:405)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception initializing 'oracle.dbtools.raptor.standalone.RaptorStandaloneAddin' in extension 'Oracle SQL Developer Extras': java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.utils.URLChooserShortcuts.&lt;clinit&gt;(URLChooserShortcuts.java:39)
    at oracle.dbtools.raptor.standalone.RaptorStandaloneAddin.initialize(RaptorStandaloneAddin.java:182)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManagerImpl.java:405)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManagerImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(AddinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1804)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1481)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception in thread "XML Action Loader" java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.dialogs.actions.XMLBasedObjectAction$1$1.run(XMLBasedObjectAction.java:148)
    Exception in thread "EditorLoader" java.lang.NoClassDefFoundError: Could not initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.oviewer.base.ViewerAddin.loadXMLEditors(ViewerAddin.java:235)
    at oracle.dbtools.raptor.oviewer.base.ViewerAddin$1$1.run(ViewerAddin.java:142)
    at java.lang.Thread.run(Thread.java:637)
    tethys:MacOS mbs$

    Setting ORACLE_HOME as below made no difference in the exception stack (same as reported above).
    $ echo $ORACLE_HOME
    /Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper
    ls $ORACLE_HOME
    BC4J               jdbc               raptor_image.jpg     sqldeveloper
    dvt               jdev               rdbms               sqldeveloper.sh
    icon.png          jlib               relnotes.html          timingframework
    ide               lib               sqlcli
    j2ee               otn_new.css          sqlcli.bat
    Was this the correct ORACLE_HOME value to try?
    Does anyone know the names and locations of the libraries that are likely to be conflicting (if that
    is indeed the problem...)?

  • OAF Update of Custom Table causing ORA-600 with database block corruption?

    Using OA Framework 12.1.3, running under EBusiness Suite 12.1.3
    Created Custom Web page operating against Custom Tables
    ISSUE
    On about 2% of new records, when OAF is UPDATING a record in a certain table, it  is failing with
    java.sql.SQLException: ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [kddummy_blkchk], [815], [26412], [6110], [], [], [], []
    ORA-06512: at line 1
    Before the DBA turned on 10.2.0.4.0 DB_BLOCK_CHECKING parameter, this actually
    resulted in corrupted data blocks in the database and corrupted indexes that
    eventually crashed the database and we had to do a full recovery with 2 days downtime.
    Now that we have turned on DB_BLOCK_CHECKING, it simply errors out and puts things
    in the alert log, but the records still fail to update as the writes are blocked.
    Then oddly, a few days later.. the records become editable.  And others fail.
    This is ONLY happening on the one particular table being updated by OAF.  Other custom pages
    posting to other custom tables are having no problems.   We've CTAS'd the table back and
    forth and recreated the indexes, and that did not help.
    Support says to post to the Forum  ( So I am! ) or hire Oracle consulting.. which doesn't make
    much sense given the error.  The Recovery Team that helped us in a separate SR ( we had
    to do db_repairs not just recovery ) felt it was an important problem the OAF team needed to
    strongly review.
    Anyone else encounter this already and know of a solution?
    TIA
    Karl

    After MANY hours of trial and error and research, we've identified ONE use case that seems to apply to 90% of the issue we have encountered.
    YMMV.
    The BC4J generated SQL which is generating the ORA-600 is
    BEGIN UPDATE XXRETURNHEADER ReturnHeaderEO SET INTERNAL_TEXT=?,LAST_MOD_USERNAME=?,OBJECT_VERSION_NUMBER=?,LAST_UPDATE_DATE=?,LAST_UPDATED_BY=?,LAST_UPDATE_LOGIN=? WHERE RMA_NUMBER=? AND ORGANIZATION_ID=? RETURNING TROUBLESHOOT_DATE, FAA_TAG_DATE, FAILURE_ANALYSIS_DATE, LAST_MOD_DATE, FAA_REVISED_DATE, TTE_TECH_SEND_DATE, TTE_REP_RESPONSE_DATE, TTE_REP_APPROVED, TTE_RMA_RANDOM_KEY, OBJECT_VERSION_NUMBER, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN INTO ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?; END;".
    We determined that if TTE_RMA_RANDOM_KEY was not a null value, we would get an ORA-600 error whenever we did an APPLY from the OAF Page to update the record.
    If we set that table attribute to NULL for the record using SQL.. then used the  OAF Page to APPLY.. it worked fine and the record saved without error.
    We then modified the EO to NOT   "Refresh After Update"  ( thus removing it from the RETURNING clause generated )... and even if the TTE_RMA_RANDOM_KEY
    had a value... the OAF Page APPLY worked and the record saved without error.
    I cannot identify anything from the User programming side that is wrong ( and neither could Oracle ), and it REALLY should be in the RETURNING clause list of
    attributes.. but this is the only workaround I've found that doesn't crash the Page and irritate the user to no end.
    I have reported my findings via the SR back to Oracle to do with it what they may... but it looks strongly ,to me, to be an error in the BC4J/JDBC/Database
    coordination and passing data between those black boxes.

  • 5.02 and NanoFlash Question

    CS5 does support NanoFlash files and the audio is in perfect sync with the video. This is using preset HDcam 422. However, previous projects created before the update, do not seem to work in sync. Does this mean we need to start the project over in the 5.02 update version? Has anyone worked around it. Thanks Roman

    Hi,
    You may set jbo.doconnectionpooling=true. This will release the BC4J JDBC connection upon ApplicationModule release to the ApplicationPool. ApplicationModule release should occur at the end of each request. The performance impact should be small if the connections are pooled -- though I don't see how the statement made by IBM would allow conn pooling. Please see my comments below.
    All that said I can find nothing in the servlet 2.3 specification that requires a servlet container to close or rollback JDBC connections upon end of request. In fact, closing JDBC connections just seems wrong and may have a performance impact (i.e. how are connection pools maintained then?). Further, it doesn't seem right to me that the container should be manipulating a connection that it does not own (i.e. one that was not released back to the container).
    I appreciate the difficulties that managing txn state b/w requests can present but this seems like too great of an assumption to me.
    Oh well, I must be missing something.
    Hope this helps,
    JR

  • Business Components Performance

    We have big client server app that we are planning to migrate to Business Components and Java App. Has anybody suffered performance problems? Is it ok to migrate?

    Type of Deployment? Fat Client? ( Java running in JVM on desktop with Swing? )
    Startup times can be a bear. Particularly if you have lots of tables and lookup tables. Uh...persistent entity objects.
    My current startup runs from 22 seconds ( NT/128MB/PIII-500) to 210 seconds ( W98/32MB/PI-133)... Depending upon app size, recommended a minimum of 64MB real memory committed to the application. As usual, your mileage will vary.
    Once it gets running I've not seen performance problems, but your mileage will vary according to:
    1. How good the SQL is
    2. How well the database is tuned
    3. Hardware on client
    4. Hardware on server
    5. Whether you do everything on the client, or have extensive stored functions and procedures to perform business tasks
    grin Frankly, since we're replacing a custom legacy application, the resulting executable leaves the old app in the dust ( despite Java, bc4j, jdbc and all )
    I am also starting to investing JAR optimizers and native EXE converters. Again, if anyone is further along than me on this I'd appreciate any input.
    null

  • UIX AND TOMCAT

    Could someone implement an apliacion ADF UIX in TOMCAT???
    That problems pipe??
    It is important to execute my it
    Thank you for your commentaries
    Carlo Salas

    We also have deployed 3 small UIX / BC4J (JDev 9.0.5.2) applications in Apache Tomcat 5.5.7 with Sun JDK 1.4.2_08. Also a Oracle Help for Web WAR for each one and the BC4J admin WAR.
    We had some serious problems that Tomcat 4.1.30, 4.1.31, 5.5.7 sometimes run at 100% CPU. We did not really find the reason for this, but using JDK 1.4.2_08 instead of 1.4.2_05 or 1.4.2_06 seems to fix this.
    Currently running with client JVM and not server JVM because this was another tip to workaround the 100% CPU hangs. Need to investigate if we can go back to server JVM when using 1.2.4_08.
    We had a lot of problems with unclosed database connections because of the BC4J pooling mechanisms (using dynamic JDBC credentials, reserved mode).
    We have split the CATALINA_BASE and CATALINA_HOME to seperate the original Tomcat installation from our configuration. Also deployed the BC4J runtime libs (from ADF Runtime Installer) in CATALINA_BASE/shared (classes, lib) rather than CATALINA_HOME/common (classes, lib)
    Be careful when having multiple applications using different BC4J parameters. see Which BC4J / JDBC pooling configurations are global for a JVM?
    Hth, Markus
    Btw. Migrating to 5.5.7 was more work than expected, because of changed logging stuff, etc. 5.5.9 is now out and seems to add this stuff from 4.1 again. In 5.5.7 we now have the problem that after undeploy, the uix2.jar is not removed. Seems there are some fixes for this in 5.5.8 and 5.5.9.

  • Toplink and JHeadstart

    Oracle9iAS MVC Framework Controller is independent of the Model or the View.
    We can use EJB's, BC4J, JDBC or Toplink to implement the model.
    JHeadstart Runtime require that we use Oracle9iAS MVC Framework and BC4J.
    What are the plans for using Toplink (to implement the model) with JHeadstart?
    Regards,
    Zlatko Sirotic

    Zlatko,
    We are investigating the combination of JHeadstart and Toplink like was said in the FAQ.
    We will keep this forum posted of any developments in this area.
    Regards,
    Ton

  • BC4J Passivation error

    Hi all,
    Apologies if this is the second time round; first time didn't appear to post.
    I'm trying to get a BC4J app working. I'm using a brand-spankin' new 9.0.2.822 JDeveloper connecting to a less-than-new 8.1.7 database.
    To test, I'm just trying to browse / query a small table, Languages, which contains the ISO codes for various languages. I did the following:
    - created a new workspace
    - created a new project with business components
    - created a new business web application
    - selected LANGUAGES from the table menu
    and a horde of jsp and whatnot pages were created. I then attempt to "run main.html" and get mozilla to pop open
    a browser that says "This is a Business Components JSP Application." Yay! I then click on the left under Languages for either Browse or Query, and get the following stack track. I have never seen this work in a browser, and the table itself is small, so I don't think this is hte row issue I saw elsewhere on the forum. Furthermore, I am seeing the PCOLL_CONTROL table, but not the PS_TXN table in the database.
    Any ideas?
    -e
    Application Error
    Return
    Error Message: JBO-28020: Passivation error on collection TXN, collection id 262, persistent id -1
    Error Message: JBO-28030: Could not insert row into table PS_TXN, collection id 262, persistent id -1
    oracle.jbo.PCollException: JBO-28020: Passivation error on collection TXN, collection id 262, persistent id -1
         at oracle.jbo.PCollException.throwException(PCollException.java:25)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:583)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:668)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:611)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:422)
         at oracle.jbo.server.DBSerializer.reservePassivationId(DBSerializer.java:181)
         at oracle.jbo.server.ApplicationModuleImpl.reservePassivationId(ApplicationModuleImpl.java:3597)
         at oracle.jbo.common.ampool.SessionCookieImpl.reservePassivationId(SessionCookieImpl.java:497)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:224)
         at LanguagesTlView_Browse._jspService(LanguagesTlView_Browse.jsp:10)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    ## Detail 0 ##
    oracle.jbo.PCollException: JBO-28030: Could not insert row into table PS_TXN, collection id 262, persistent id -1
         at oracle.jbo.PCollException.throwException(PCollException.java:25)
         at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1482)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:537)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:668)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:611)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:422)
         at oracle.jbo.server.DBSerializer.reservePassivationId(DBSerializer.java:181)
         at oracle.jbo.server.ApplicationModuleImpl.reservePassivationId(ApplicationModuleImpl.java:3597)
         at oracle.jbo.common.ampool.SessionCookieImpl.reservePassivationId(SessionCookieImpl.java:497)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:224)
         at LanguagesTlView_Browse._jspService(LanguagesTlView_Browse.jsp:10)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    ## Detail 0 ##
    java.sql.SQLException: ORA-06550: line 1, column 19:
    PLS-00201: identifier 'PS_TXN' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: SQL Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:185)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:241)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1476)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:887)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1959)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1879)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2489)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:435)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:500)
         at oracle.jbo.pcoll.OraclePersistManager.insert(OraclePersistManager.java:1464)
         at oracle.jbo.pcoll.PCollNode.passivateElem(PCollNode.java:537)
         at oracle.jbo.pcoll.PCollNode.passivate(PCollNode.java:668)
         at oracle.jbo.pcoll.PCollNode.passivateBranch(PCollNode.java:611)
         at oracle.jbo.pcoll.PCollection.passivate(PCollection.java:422)
         at oracle.jbo.server.DBSerializer.reservePassivationId(DBSerializer.java:181)
         at oracle.jbo.server.ApplicationModuleImpl.reservePassivationId(ApplicationModuleImpl.java:3597)
         at oracle.jbo.common.ampool.SessionCookieImpl.reservePassivationId(SessionCookieImpl.java:497)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:224)
         at LanguagesTlView_Browse._jspService(LanguagesTlView_Browse.jsp:10)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Ah, excellent, this is quite helpful.
    Now, it looks to me that the problem is quite simple: whatever BC4J is doing, it is NOT creating the PS_TXN table (or the PS_TXN_SEQ sequence). Line 160 down there clearly shows PCOLL_CONTROL table being created, but the PS_TXN table isn't.
    Is there some way to kick-start its creation? Or can somebody ship me the schema and I'll just enter it by hand?
    Cheers,
    -e
    Here's the trailing output:
    [149] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [150] Creating a new pool resource
    [151] Trying connection/2: url='jdbc:oracle:thin:@d01.consys.prognet.com:1637:cdd01' info='{user=cds, password=cds}' ...
    [152] Successfully logged in
    [153] JDBCDriverVersion: 9.0.1.2.0
    [154] DatabaseProductName: Oracle
    [155] DatabaseProductVersion: Oracle8i Enterprise Edition Release 8.1.6.1.0 - 64bit Production With the Partitioning option JServer Release 8.1.6.1.0 - 64bit Production
    [156] Getting a connection for internal use...
    [157] Creating internal connection...
    [158] Creating a new pool resource
    [159] Trying connection/2: url='jdbc:oracle:thin:@d01.consys.prognet.com:1637:cdd01' info='{user=<snip>, password=<snip>, dll=ocijdbc9, protocol=thin}' ...
    [160] **createControlTable** tabname=PCOLL_CONTROL created
    [161] **PCollManager.resolveName** tabName=PS_TXN
    [162] **commit** #pending ops=0
    [163] **insert** id=-1, parid=0, collid=361, keyArr.len=-1, cont.len=571
    [164] stmt: begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [165] **insert** error, sqlStmt=begin insert into "PS_TXN" values (:1, :2, :3, empty_blob(), sysdate) returning content into :4; end;
    [166] java.sql.SQLException: ORA-06550: line 1, column 19:
    PLS-00201: identifier 'PS_TXN' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: SQL Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:185)8&#65533;&#65533;nq

  • Using predefined JDBC database connection in runtime for BC4J

    I've created an aplication using BC4J context, however I want to have several distinct users acessing this aplication, so I create the connection to the database using stantart JDBC 2.0, and now I want my application to use this connection instead of the one defined for BC4J.
    The database user owner of the objects must be locked.
    Is this possible?
    Many thanks.
    Nuno

    In Forms I used the following code to change the user at runtime. I created 3 char fields 'u','p' and 'c' for username, password and connect string respectively.
    declare
    uname varchar2(10);
    begin
    uname := get_application_property(username);
    -- To display your current username
    message(uname);
    pause;
    logout;
    logon(:u,:p&#0124; &#0124;'@'&#0124; &#0124;:c);
    end;
    Have a nice day,
    Abhijith Unnikannan,
    Oracle Support Services

  • JDBC login with BC4J in 9.0.3

    I have recently migrated a BC4J project to 9.0.3 and would like to maintain the JDBC login style rather than go to JAAS at the moment. I have been trying to get this to work but cannot get the custom JCLoginDialog class to work. I believe the getInfo method should return null in 9.0.3 rather than the connEnvironment hashtable object and one thread on here I read said that what was needed was the lines:
    ((Hashtable)connEnvironment).put(Configuration.DB_USERNAME_PROPERTY, mUserName.getText().trim());
    ((Hashtable)connEnvironment).put(Configuration.DB_PASSWORD_PROPERTY, new String(mPassword.getPassword()).trim());
    However I then get an error:
    JBO-29000: Unexpected exception caught: oracle.jbo.common.ampool.ApplicationPoolException, msg=JBO-30003: The application pool (DEPTModuleLocal) failed to checkout an application module due to the following exception: ....
    The getInfo method is called 13 times before this message is displayed and does not ever set a password value in the connEnvironment hashtable (i.e. the second and subsequent times the method is called this ((Hashtable)connEnvironment).get(Configuration.DB_PASSWORD_PROPERTY) returns null).
    Can anyone indicate what I am doing wrong / missing.
    Cheers
    Mike G

    I have now tried to create a BC4J project based on DEPT and a single table form to view it. This fails to run, giving the stack below. This was created entirely using the Wizards in JDeveloper and wouldn't run 'out of the box'.
    Cheers
    Mike G
    Stack trace
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.common.ampool.ApplicationPoolException, msg=JBO-30003: The application pool (Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
         void oracle.jbo.JboException.<init>(java.lang.Throwable)
              JboException.java:344
         oracle.jbo.ApplicationModule oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(java.lang.String, oracle.jbo.common.ampool.EnvInfoProvider)
              Configuration.java:1144
         oracle.jbo.uicli.binding.JUApplication oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(java.lang.String, java.util.Properties, oracle.jbo.common.ampool.EnvInfoProvider)
              JUMetaObjectManager.java:386
         void mypackage1.FormDeptView1.main(java.lang.String[])
              FormDeptView1.java:376
    ## Detail 0 ##
    JBO-30003: The application pool (Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         java.sql.Connection oracle.jbo.server.ConnectionPool.createConnection(java.lang.String, java.util.Properties, java.lang.String, java.lang.String)
              ConnectionPool.java:202
         java.lang.Object oracle.jbo.server.ConnectionPool.instantiateResource(java.util.Properties)
              ConnectionPool.java:125
         java.lang.Object oracle.jbo.pool.ResourcePool.createResource(java.util.Properties)
              ResourcePool.java:315
         java.lang.Object oracle.jbo.pool.ResourcePool.useResource(java.util.Properties)
              ResourcePool.java:233
         java.sql.Connection oracle.jbo.server.ConnectionPool.getConnection(java.lang.String, java.util.Properties, java.lang.String, java.lang.String)
              ConnectionPool.java:72
         java.sql.Connection oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(java.lang.String, java.lang.String, java.util.Properties, java.lang.String, java.lang.String)
              ConnectionPoolManagerImpl.java:56
         java.sql.Connection oracle.jbo.server.DBTransactionImpl.establishNewConnection(oracle.jbo.server.ConnectionCredentials, java.lang.StringBuffer)
              DBTransactionImpl.java:707
         void oracle.jbo.server.DBTransactionImpl.initTransaction()
              DBTransactionImpl.java:928
         void oracle.jbo.server.DBTransactionImpl.initTxn(oracle.jbo.server.ApplicationModuleImpl, oracle.jbo.server.DBTransactionImpl, oracle.jbo.server.TransactionHandler)
              DBTransactionImpl.java:4793
         void oracle.jbo.server.DBTransactionImpl2.connect(java.lang.String, java.util.Properties)
              DBTransactionImpl2.java:116
         void oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(oracle.jbo.ApplicationModule, oracle.jbo.common.ampool.SessionCookie, oracle.jbo.common.ampool.EnvInfoProvider)
              DefaultConnectionStrategy.java:261
         void oracle.jbo.common.ampool.ApplicationPoolImpl.connect(oracle.jbo.ApplicationModule, oracle.jbo.common.ampool.SessionCookie)
              ApplicationPoolImpl.java:2844
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(oracle.jbo.common.ampool.SessionCookie)
              ApplicationPoolImpl.java:1408
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(oracle.jbo.common.ampool.SessionCookie, boolean)
              ApplicationPoolImpl.java:2062
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(boolean, long)
              SessionCookieImpl.java:398
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(boolean)
              SessionCookieImpl.java:369
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule()
              SessionCookieImpl.java:364
         oracle.jbo.ApplicationModule oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(java.lang.String, oracle.jbo.common.ampool.EnvInfoProvider)
              Configuration.java:1135
         oracle.jbo.uicli.binding.JUApplication oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(java.lang.String, java.util.Properties, oracle.jbo.common.ampool.EnvInfoProvider)
              JUMetaObjectManager.java:386
         void mypackage1.FormDeptView1.main(java.lang.String[])
              FormDeptView1.java:376
    ## Detail 0 ##
    java.sql.SQLException: invalid arguments in call
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
              DBError.java:229
         void oracle.jdbc.dbaccess.DBError.check_error(int)
              DBError.java:982
         oracle.jdbc.dbaccess.DBConversion oracle.jdbc.ttc7.TTC7Protocol.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              TTC7Protocol.java:198
         void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              OracleConnection.java:361
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              OracleDriver.java:485
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
              OracleDriver.java:337
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
              DriverManager.java:517
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties)
              DriverManager.java:146
         java.sql.Connection oracle.jbo.server.ConnectionPool.createConnection(java.lang.String, java.util.Properties, java.lang.String, java.lang.String)
              ConnectionPool.java:171
         java.lang.Object oracle.jbo.server.ConnectionPool.instantiateResource(java.util.Properties)
              ConnectionPool.java:125
         java.lang.Object oracle.jbo.pool.ResourcePool.createResource(java.util.Properties)
              ResourcePool.java:315
         java.lang.Object oracle.jbo.pool.ResourcePool.useResource(java.util.Properties)
              ResourcePool.java:233
         java.sql.Connection oracle.jbo.server.ConnectionPool.getConnection(java.lang.String, java.util.Properties, java.lang.String, java.lang.String)
              ConnectionPool.java:72
         java.sql.Connection oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(java.lang.String, java.lang.String, java.util.Properties, java.lang.String, java.lang.String)
              ConnectionPoolManagerImpl.java:56
         java.sql.Connection oracle.jbo.server.DBTransactionImpl.establishNewConnection(oracle.jbo.server.ConnectionCredentials, java.lang.StringBuffer)
              DBTransactionImpl.java:707
         void oracle.jbo.server.DBTransactionImpl.initTransaction()
              DBTransactionImpl.java:928
         void oracle.jbo.server.DBTransactionImpl.initTxn(oracle.jbo.server.ApplicationModuleImpl, oracle.jbo.server.DBTransactionImpl, oracle.jbo.server.TransactionHandler)
              DBTransactionImpl.java:4793
         void oracle.jbo.server.DBTransactionImpl2.connect(java.lang.String, java.util.Properties)
              DBTransactionImpl2.java:116
         void oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(oracle.jbo.ApplicationModule, oracle.jbo.common.ampool.SessionCookie, oracle.jbo.common.ampool.EnvInfoProvider)
              DefaultConnectionStrategy.java:261
         void oracle.jbo.common.ampool.ApplicationPoolImpl.connect(oracle.jbo.ApplicationModule, oracle.jbo.common.ampool.SessionCookie)
              ApplicationPoolImpl.java:2844
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(oracle.jbo.common.ampool.SessionCookie)
              ApplicationPoolImpl.java:1408
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(oracle.jbo.common.ampool.SessionCookie, boolean)
              ApplicationPoolImpl.java:2062
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(boolean, long)
              SessionCookieImpl.java:398
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(boolean)
              SessionCookieImpl.java:369
         oracle.jbo.ApplicationModule oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule()
              SessionCookieImpl.java:364
         oracle.jbo.ApplicationModule oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(java.lang.String, oracle.jbo.common.ampool.EnvInfoProvider)
              Configuration.java:1135
         oracle.jbo.uicli.binding.JUApplication oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(java.lang.String, java.util.Properties, oracle.jbo.common.ampool.EnvInfoProvider)
              JUMetaObjectManager.java:386
         void mypackage1.FormDeptView1.main(java.lang.String[])
              FormDeptView1.java:376

  • BC4J connect to Microsoft SQL*Server via Allaire Jrun JDBC

    This post is in answer to Matteo Tamburini's questions about
    connecting to SQL*Server using the allaire jdbc drivers.
    see Re: Version 10.1.0.3.03 of Oracle Data Provider for .NET
    These drivers are available for download from Macromedia at:
    http://www.macromedia.com/v1/Handlers/index.cfm?ID=22399&Method=Full
    They are shipped as one jar file: jrun_drivers.jar
    I installed it into <jdev_home>\lib
    To make a connection from designtime, follow (roughly)
    the steps in the HowTo walkthrough:
    Notice that the JDBC driver class is:
    allaire.jrun.jdbc.JRunDriver
    and the URL is something like:
    jdbc:jrun:sqlserver://machinenane:1433;Selectmethod=cursor
    There are two gotchas:
    1. the Selectmethod=cursor is important
    2. you will get an error saying that the class
    allaire/jrun/servlet/JRunSE
    can't be found.
    Indeed - that package is not to be found inside the .jar
    file; I suspect it is a rogue import in the source.
    The workaround is to ask the VM not to verify classes - do this
    by specifying -Xverify:none in the Java Options box of the
    "Runner" tab of project properties.
    I did successfully test a project deployed as a JSP inside OC4J:
    the caveats are that you have to enter the jar file location
    in j2ee\home\config\application.xml (as in Matteo's thread)
    and that the -Xverify:none switch needs to go on the CLIENT
    project, because it launches the embedded OC4J
    hope all this helps, Karl McHorton (BC4J Development)

    Well, you must have tested to make sure that the socket value is indeed the correct value. But with that error, and you are certain that the socket value is correct, then it becomes difficult.

Maybe you are looking for

  • Livecycle design 8 with PDF forms

    I need to create a simple PDF form to be hosted in internal web site which can be filled out by the viewer and submitted by email to the designated person with all the info in tact in the same PDF form? The users will only have Adobe Reader. I alread

  • Screen Sharing Crashes On Launch

    When I launch Screen Sharing, it crashes immediately. Here's the error report: Process:         Screen Sharing [457] Path:            /Applications/Utilities/Screen Sharing.app/Contents/MacOS/Screen Sharing Identifier:      com.apple.ScreenSharing Ve

  • Lightroom 3 wiping all my presets

    I purchased Lightroom 3 as a download last year, and I've had constant issues with it ever since. Problems include the following: -On startup, it says my camera profiles are missing, and to reinstall Lightroom to fix the issue. Of course, reinstallin

  • Ocean Freight booking number from freight order - SAP TM

    Hello experts, I have a requirement to display Freight Booking Number on Adobe form (copy of standard SAP TM Form /SCMTMS/FP_FBL). { Steps to execute the form:- Go to NWBC - Freight Order Management - Edit Freight Order - Output Management - Generate

  • Trim Function

    Hi, BANNER Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod PL/SQL Release 10.2.0.4.0 - Production CORE    10.2.0.4.0      Production TNS for 32-bit Windows: Version 10.2.0.4.0 - Production NLSRTL Version 10.2.0.4.0 - Production SQL>