URGENT  timout problems with bc4j

Hello Jdev Team,
We have a serious problem with the BC4J. The situation is as
follows:
We use BC4J with jsp pages an run the whole thing on a j2ee
Container.
We have written our own ApplicationPool class and
ApplicationModule datatag because the users have to login
using different credentials. The login users are db-users. The
application release mode is reserved.
The application crashes frequently. 2 errors occur.
First of all we get an JBO-30003: "The application pool, {AM
Name}, failed to checkout an application module instance."
after the BC4J Container timeout --> messages ("BC4J HTTP
Container was timed out" and "The binding listener for { AM
name} was timed out")
We haven't found a way to alter the BC4J container timeout.
Where do we customize the timeout?
We have tried to use the HttpSessionTimeOut variable but it
seems to have no effect.
I hope you can help us with this one.
Second problem is that the J2EE Container stops functioning
after a couple of requests.
Even if an other browser is started (on the same or different
machine) the Container does not respond to any request.
We have found a Thread on technet handling this kind of problem
but the solution doesn't work in our case.
(the solution on technet was to put synchronized(session) around
each JSP page)
Now we run the application under Apache/Jserv and with the same
Runtime packages as used in the Container and the problem
seems to have disappeared.
Here follows the code of the ApplicationPool class:
The class is based on an example posted on technet
* @author Juan Oropeza
package be.cronos.dbwise.jbo;
import oracle.jbo.common.ampool.ApplicationPoolImpl;
import oracle.jbo.ApplicationModule;
import java.util.Properties;
public class SeperateLoginApplicationPool extends
ApplicationPoolImpl
private String vConnectURL;
private String vUsername;
private String vPassword;
public SeperateLoginApplicationPool()
public void setConnectInfo(String pUsername, String pPassword,
String pConnectURL)
this.vUsername = pUsername;
this.vPassword = pPassword;
this.vConnectURL = pConnectURL;
protected void connect(ApplicationModule appModule)
if (!appModule.getTransaction().isConnected())
appModule.getTransaction().connect(vConnectURL ,
vUsername, vPassword);
//use Optimistic locking as default for all transactions
appModule.getTransaction().setLockingMode
(oracle.jbo.Transaction.LOCK_OPTIMISTIC);
* checkin
* @param appModule
public synchronized void checkin(ApplicationModule appModule)
// release the instance regardless of the release mode
// this is necessary since we need a fresh instance each
time.
this.releaseInstance(appModule);
this.releaseInstances();
public void disconnect(ApplicationModule pAppModule, boolean
pRetainState)
super.disconnect(pAppModule, pRetainState);
Here is the code of the applicationPool datatag:
     * @author Juan Oropeza
* @author Ief Cuynen
* @version 1.1
/* Modification history
package be.cronos.dbwise.datatags;
import be.cronos.dbwise.jbo.SeperateLoginApplicationPool;
import javax.servlet.jsp.tagext.TagSupport;
import javax.servlet.jsp.JspException;
import java.io.StringWriter;
import java.io.PrintWriter;
import oracle.jbo.html.jsp.ConnectionInfo;
import oracle.jbo.common.ampool.PoolMgr;
import oracle.jbo.common.ampool.ApplicationPool;
import oracle.jbo.ApplicationModule;
import oracle.jbo.html.jsp.JSPApplicationRegistry;
import java.util.Properties;
import java.util.Hashtable;
import java.util.Enumeration;
public class ApplicationModuleTag extends TagSupport
String fApplicationName;
String fConfigName;
String fUsername;
String fPassword;
String fConnectionURL;
String fIiopUserName;
String fIiopPassword;
JSPApplicationRegistry fAppRegistry;
public ApplicationModuleTag()
public void setId(String pAppName)
{ this.fApplicationName = pAppName; }
public void setConfigname(String pValue)
{ this.fConfigName = pValue; }
* doEndTag
* @return int
* @exception javax.servlet.jsp.JspException
public int doEndTag() throws JspException
try
SeperateLoginApplicationPool pool = null;
init();
// Get an application module resource.
fAppRegistry = JSPApplicationRegistry.getInstance();
// this step will access the custom pool from the property
file
appRegistry.registerApplicationFromPropertyFile
(fApplicationName);
               // Since we don't want to use a
PropertyFile per AM, we have written are own
registerApplicationModule method
this.registerApplicationModule();
// get an instance of the pool, which is already existing
               pool = (SeperateLoginApplicationPool)
PoolMgr.getInstance().getPool(fApplicationName);
// get an instance of the application module
synchronized(pool)
// Setup the connection information
pool.setConnectInfo(fUsername, fPassword,
fConnectionURL);
// This instance will be used by the rest of the
DataWebBeans since it’s part of the context.
                    try
                         //After the BC4J
container timeout, this method will raise an exception
     ApplicationModule am =
fAppRegistry.getAppModuleInstance(fApplicationName, pageContext);
                    catch(Exception e)
                         System.out.println
("JspRegistry has failed to get application module instance");
setPageContextValues();
catch(Exception ex)
StringWriter writer = new StringWriter();
PrintWriter prn = new PrintWriter(writer);
ex.printStackTrace(prn);
prn.flush();
throw new JspException(writer.toString());
return SKIP_BODY;
* for internal use only
private void init()
fUsername = (String)pageContext.getSession().getValue
("username");
fPassword = (String)pageContext.getSession().getValue
("password");
fConnectionURL = (String)pageContext.getSession().getValue
("connectionURL");
private void setPageContextValues()
// place default renderers into session, these will not be
exposed via config file
pageContext.getSession().putValue
("oracle_ord_im_OrdImageDomain_Renderer", "oracle.ord.html.OrdBui
ldURL");
pageContext.getSession().putValue
("oracle_ord_im_OrdAudioDomain_Renderer","oracle.ord.html.OrdBuil
dURL");
pageContext.getSession().putValue
("oracle_ord_im_OrdVideoDomain_Renderer","oracle.ord.html.OrdBuil
dURL");
pageContext.getSession().putValue
("oracle_ord_im_OrdVirDomain_Renderer", "oracle.ord.html.OrdBuild
URL");
pageContext.getSession().putValue
("oracle_ord_im_OrdImageDomain_EditRenderer", "oracle.ord.html.Fi
leUploadField");
pageContext.getSession().putValue
("oracle_ord_im_OrdAudioDomain_EditRenderer", "oracle.ord.html.Fi
leUploadField");
pageContext.getSession().putValue
("oracle_ord_im_OrdVideoDomain_EditRenderer", "oracle.ord.html.Fi
leUploadField");
pageContext.getSession().putValue
("oracle_ord_im_OrdVirDomain_EditRenderer", "oracle.ord.html.File
UploadField");
protected synchronized void registerApplicationModule()
PoolMgr vPoolMgr = PoolMgr.getInstance();
          try
if (!vPoolMgr.isPoolCreated(fApplicationName))
                    // Parse the ConfigName
                    String vConfigPackage =
fConfigName.substring(0, fConfigName.lastIndexOf('.'));
String vConfigSection = fConfigName.substring
(fConfigName.lastIndexOf('.') + 1);
                    //Strip out the AM Class
                    vConfigPackage =
vConfigPackage.substring(0, vConfigPackage.lastIndexOf('.'));
Properties vProps = new Properties();
vProps.put("ConfigName",fConfigName);
                    ApplicationPool vAppPool =
vPoolMgr.createPool(fApplicationName,vConfigPackage,
vConfigSection, vProps);
                    vAppPool.setUserName
(this.fUsername);
                    vAppPool.setPassword
(this.fPassword);
          catch (Exception ex)
               ex.printStackTrace();
               throw new RuntimeException(ex.toString
* release() called after doEndTag() to reset state
public void release()
          super.release();
          fApplicationName = null;
          fConfigName = null;
          fUsername = null;
          fPassword = null;
          fConnectionURL = null;
          fIiopUserName = null;
          fIiopPassword = null;
          JSPApplicationRegistry fAppRegistry = null;
Another thing is that the JSPApplicationRegistry contains a bug
(I think)
It doesn't use the HttpSessionTimeOut variable at all (see
following code)
this piece of code is a Method from the
JSPApplicationRegistry.java File taken from package
oracle.jbo.html.jsp;
static synchronized public void
registerApplicationFromPropertyFile(HttpSession session, String
sPropFileName)
if(!mPoolManager.isPoolCreated(sPropFileName))
registerApplicationFromPropertyFile(sPropFileName);
if (!PropertyConstants.TRUE.equals((String)session.getValue
(SESSION_INITIALIZED)))
Hashtable settings = getAppSettings(sPropFileName);
/* The timeout variable is declared here */
int nTimeOut = 300;
if (settings != null)
// see if we have a setting for the session timeout
String sTimeOut;
/* get the HttpSessionTimeOut variable */
if(settings.get("HttpSessionTimeOut") != null)
sTimeOut = (String)settings.get
("HttpSessionTimeOut");
if(sTimeOut != null)
/* Put the value in the variable... and that's the last thing it
does. nTimeOut isn't used anywhere in the class */
nTimeOut = Integer.parseInt(sTimeOut);
if(settings.get("ImageBase") != null)
session.putValue("ImageBase", settings.get
("ImageBase"));
else
settings.put("ImageBase", "/webapp/images");
session.putValue("ImageBase", "/webapp/images");
if(settings.get("CSSURL") != null)
session.putValue("CSSURL",settings.get("CSSURL"));
else
settings.put("CSSURL", "/webapp/css/oracle.css");
session.putValue
("CSSURL", "/webapp/css/oracle.css");
// place default renderers into session, these will not
be
// exposed via config file
session.putValue
("oracle_ord_im_OrdImageDomain_Renderer", "oracle.ord.html.OrdBui
ldURL");
session.putValue
("oracle_ord_im_OrdAudioDomain_Renderer","oracle.ord.html.OrdBuil
dURL");
session.putValue
("oracle_ord_im_OrdVideoDomain_Renderer","oracle.ord.html.OrdBuil
dURL");
session.putValue
("oracle_ord_im_OrdVirDomain_Renderer", "oracle.ord.html.OrdBuild
URL");
session.putValue
("oracle_ord_im_OrdImageDomain_EditRenderer", "oracle.ord.html.F
ileUploadField");
session.putValue
("oracle_ord_im_OrdAudioDomain_EditRenderer", "oracle.ord.html.F
ileUploadField");
session.putValue
("oracle_ord_im_OrdVideoDomain_EditRenderer", "oracle.ord.html.F
ileUploadField");
session.putValue
("oracle_ord_im_OrdVirDomain_EditRenderer", "oracle.ord.html.F
ileUploadField");
session.putValue(SESSION_INITIALIZED,
PropertyConstants.TRUE);
Am I mistaken or is it a bug?
Thank you for your fast response.
Greetings,
Ief Cuynen

First of all we get an JBO-30003: "The application pool, {AM Name}, failed to checkout an application module
instance."
The JBO-30003 exception is thrown whenever the pool cannot
properly create/recycle an application module. Please see the
exception details (scan the exception stack to find the exception
details) for more information regarding the "root" cause of the
exception.
We haven't found a way to alter the BC4J container timeout. Where do we customize the timeout?
The BC4J container is timed out when the HttpSession is timed
out. The session timeout is configurable via the web.xml file
for the J2EE application. Your servlet container may also
include another mechanism for setting a session timeout.
Second problem is that the J2EE Container stops functioning after a couple of requests. Even if an other browser
is started (on the same or different machine) the Container does
not respond to any request. We have found a Thread on technet
handling this kind of problem but the solution doesn't work in
our case.
The issue sounds like a deadlock. Please use kill -3 (Solaris)
or ctrl-break (NT) at the java server console to print the thread
stack trace to stdout. This will contain more information
regarding which threads are blocked and where. If you would like
you can send the stack trace to me via mail and I can take a look
at it.
The solution of synchronizing your pages with the HttpSession
context is required only if you are using the BC4J datatags with
HTML frames (i.e. have multi-threaded application module
access for a given session). Please note that this solution may
have a performance impact and should not be implemented unless
absolutely necessary.
Another thing is that the JSPApplicationRegistry contains a bug (I think). It doesn't use the HttpSessionTimeOut variable
at all (see following code)
This parameter was deprecated after 3.1. It looks like the code
which used the parameter may have been removed prematurely.
Sorry for the confusion. Please use the J2EE compliant
mechanisms mentioned above to configure the session timeout in
3.2.
Finally, please note that JDeveloper9i includes new integrated
features for the often requested feature of supporting different
db users with the same application pool! Please stay tuned.

Similar Messages

  • [URGENT] Performance problem with BC4J and partioned data

    Hi all,
    I have a big performance probelm with BC4J and partitioned data. As as partitioned table shouldn't have a primary key like a sequence (or something else) my partitioned table doesn't have any primary key.
    When I debug my BC4J application I can see a message showing me "ignoring row with no primary key" from EntityCache. It takes a long time to retrieve my data even if I use the partition keys. A quick & dirty forms application was multiple times faster!
    Is this a bug in BC4J, or is BC4J not suitable for partitioned data? Can anyone give me a hint what to do, do make the BC4J application fast even with partitioned data? In a non-partitioned environment the application works quite well. So it seams that it must be an "error" somewhere in this part.
    Thanks,
    Axel

    Here's a SQL statement that creates the table.
    CREATE TABLE SEARCH
    (SEAR_PARTKEY_DAY              NUMBER(4)        NOT NULL
    ,SEAR_PARTKEY_EMP            VARCHAR2(2)      NOT NULL
    ,SEAR_ID                     NUMBER(20)       NOT NULL
    ,SEAR_ENTRY_DATE             TIMESTAMP        NOT NULL
    ,SEAR_LAST_MODIFIED            TIMESTAMP             NOT NULL
    ,SEAR_STATUS                 VARCHAR2(100)    DEFAULT '0'
    ,SEAR_ITC_DATE               TIMESTAMP        NOT NULL
    ,SEAR_MESSAGE_CLASS          VARCHAR2(15)     NOT NULL
    ,SEAR_CHIPHERING_TYPE        VARCHAR2(256)   
    ,SEAR_GMAT                   VARCHAR2(1)      DEFAULT 'U'
    ,SEAR_NATIONALITY            VARCHAR2(3)      DEFAULT 'XXX'
    ,SEAR_MESSAGE_ID             VARCHAR2(32)     NOT NULL
    ,SEAR_COMMENT                VARCHAR2(256)    NOT NULL
    ,SEAR_NUMBER_OF              NUMBER(3)        NOT NULL
    ,SEAR_INTERCEPTION_SYSTEM    VARCHAR2(40)    
    ,SEAR_COMM_PRIOD_H           NUMBER(5)        DEFAULT -1
    ,SEAR_PRIOD_R                  NUMBER(5)        DEFAULT -1
    ,SEAR_INMARSAT_CES           VARCHAR2(40)    
    ,SEAR_BEAM                   VARCHAR2(10)    
    ,SEAR_DIALED_NUMBER          VARCHAR2(70)    
    ,SEAR_TRANSMIT_NUMBER        VARCHAR2(70)    
    ,SEAR_CALLED_NUMBER          VARCHAR2(40)    
    ,SEAR_CALLER_NUMBER          VARCHAR2(40)    
    ,SEAR_MATERIAL_TYPE          VARCHAR2(3)      NOT NULL
    ,SEAR_SOURCE                 VARCHAR2(10)    
    ,SEAR_MAPPING                VARCHAR2(100)    DEFAULT '__REST'
    ,SEAR_DETAIL_MAPPING         VARCHAR2(100)
    ,SEAR_PRIORITY               NUMBER(3)        DEFAULT 255
    ,SEAR_LANGUAGE               VARCHAR2(5)      DEFAULT 'XXX'
    ,SEAR_TRANSMISSION_TYPE      VARCHAR2(40)    
    ,SEAR_INMARSAT_STD           VARCHAR2(1)     
    ,SEAR_FILE_NAME              VARCHAR2(100)    NOT NULL
    PARTITION BY RANGE (SEAR_PARTKEY_DAY, SEAR_PARTKEY_EMP)
      PARTITION SEARCH_MAX VALUES LESS THAN (MAXVALUE, MAXVALUE) MIRA4_SEARCH_EVEN
    );of course SEAR_ID is filled by a sequence but the field is not the primary key as it would decrease the performance of partitioned data.
    We moved to native JDBC with our application and the performance is like we never expected to be!

  • JboException:JBO-33001 Problem with bc4j.xcfg file

    I am developing a JSP application that will be used to evaluate
    the JDeveloper 3.2 software for users to edit data in an Oracle
    8i database. The database is running on a Sun machine using
    solaris 2.8. The web server is Apache 1.13 and the servlet
    engine is Tomcat 3.2.
    I have read the other postings regarding this problem (Error:
    oracle.jbo.JboException: JBO-33001: Cannot find the
    configuration file /DataDummy/common/bc4j.xcfg in the classpath)
    and their does not appear to be a good description on how
    to correct this error.
    I have the path and file listed in my tomcat.sh file:
    (bc4j.xcfg at end of list)
    CLASSPATH=${CLASSPATH}:/project2/tomcat/lib/jdev3_2/xmlparserv2.j
    ar:/project2/tomcat/lib/jdev3_2/jdev-
    rt.zip:/project2/tomcat/lib/jdev3_2/jbojdbcpatch.zip
    :/project2/tomcat/lib/jdev3_2/connectionmanager.zip:/project2/tom
    cat/lib/jdev3_2/jbohtml.zip:/project2/tomcat/lib/jdev3_2/jboimdom
    ains.zip:/project2/tomcat/
    lib/jdev3_2/ordim817.zip:/project2/tomcat/lib/jdev3_2/ordvir817.z
    ip:/project2/tomcat/lib/jdev3_2/ordhttp.zip:/project2/tomcat/lib/
    jdev3_2/jbomt.zip:/project
    2/tomcat/lib/jdev3_2/jbodomorcl.zip:/project2/tomcat/lib/jdev3_2/
    jboremote.zip:/project2/tomcat/lib/jdev3_2/jndi.jar:/project2/tom
    cat/lib/jdev3_2/jbodatum12
    .zip:/project2/tomcat/lib/jdev3_2/classes12.zip:/project2/tomcat/
    lib/jdev3_2/DataJSP_DataDummy_DataDummy_Module.properties:/projec
    t2/tomcat/lib/jdev3_2/bc4j
    .xcfg
    Should the bc4j.xcfg be liste in the classpath of a different
    file than tomcat.sh?
    Is my above syntax incorrect for tomcat?
    Thank you for your assistance!

    Hello!
    I got the same problem with Tomcat 3.2. Now I tried Tomcat 4.0.1
    and it works.
    Bye,
    Andreas

  • ¡URGENT! Problems with OCX in "runtime mode"

    Hello everyboy, I have a problem with OCX. When I am developing, I have no problem inserting the OCX, but when I run the application, the OCX disappears, not exists.
    I am using the Forms Builder [32 bits] Versión 6.0.8.25.2 ...
    Ah, in the previous version Forms [32 bits] Versión 6.0.5.35.3, it worked
    Do I need any patch?
    ¡Thank you very much!

    It's hard without seeing your specific application, but what
    you need to do
    is the following -
    1. Add a recordset to the page
    2. Place fields from this recordset into the cells of a table
    as desired
    3. Wrap the row with these cells in a looper/repeat region,
    so that the
    recordset is incremented from beginning to end as the records
    are being
    placed in the table and the page is built step by step
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Short_T" <[email protected]> wrote in
    message
    news:e8aafs$6gv$[email protected]..
    > Hi everyone!
    >
    > Desparately need help in placing result of search from
    MySQL database into
    > individual cells of the table. If anyone can give me a
    sample code/file,
    > it
    > would be most helpful! I have results from a display all
    of the table, now
    > I
    > need to code so that particular results from fields are
    displayed in
    > assigned
    > columns...
    >
    > Thank you in advance!
    >
    > Short_T
    >

  • URGENT! Problem with reviewing in adobe pro 8.

    Hi,
    I have a problem with reviewing in adobe professional 8.
    I map network drive and configure adobe pro 8 for reviewing, but when I restart the computer, the network drive appear in "My computer" but not in adobe professional 8, and everyday i reconfigure the adobe pro 8 for reviewing...
    Any sugestion for solve this problem?
    Thanks.

    What Adobe product is it?
    This is the Adobe Reader forum, please go to http://forums.adobe.com/index.jspa and find the right forum to post your question.

  • Urgent: Facing problem with restoratio​n prosses

    Good day,
    I'm Facing problem with restoration process. During restoring my data from my PC to my Q10 phone using link app. the application reject my request & kept giving me following error:
    Operation Cancelled.
    Really need your help Gent’s & I'll be so much glad for anyone help me to solve this matter.
    Thx.

    Hello
    Are you restoring from same device to same device or to different device?

  • Urgent:BiG Problem with accents.

    Hi,
    I have a problem with accents in IPlanet 4.0 sp4.
    I have a form in a html page and a servlet that takes the words that i
    put in the form.
    The problem is if i put accents in the word iplanet don' t serve the
    correct caracters..
    Please i need help...
    Manu

    Try this
     http://www.dhakamobile.com/nokia-fourth-generation-dct-4/9423-nokia-n97-hard-reset-keys.html
    Good Luck
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • URGENT!  Problems with On-Commit and Key-Commit triggers!!

    Hi there,
    We are having a problem with our form actually saving a value to the database after the commit_form is given.
    When we hit the Save Button (which triggers the Key-Commit, and that in turn triggers the On-Commit trigger) we want a populated global variable to save to the database. Now when we hit Save, we can see the field get populated properly with this Global Variable (Global.Last_Tckt_Read), BUT it doesn't save to the database.
    Here is the code from the On-Commit trigger:
    IF :cg$bf_meter.closing_ticket_issued = 'N'
    THEN
    :CG$bf_meter.opening_meter_reading := :GLOBAL.LAST_TCKT_READ;
    :CG$bf_meter.opening_meter_reading_date := :GLOBAL.LAST_TCKT_DATE;
    :CG$bf_meter.closing_meter_reading_date := :CG$bf_meter.last_ticket_date;
    :GLOBAL.PREV_METER_READING := :CG$BF_METER.LAST_TICKET_READING;
    :GLOBAL.WINDOW_ACTIVE_CHECK := 'true';
    :GLOBAL.FTDAYCHM_SAVED := 'true';
    commit_form;
    ELSE
    :GLOBAL.PREV_METER_READING := :CG$BF_METER.LAST_TICKET_READING;
    :GLOBAL.WINDOW_ACTIVE_CHECK := 'true';
    :GLOBAL.FTDAYCHM_SAVED := 'true';
    commit_form;
    END IF;
    The code in the Key-Commit trigger is just commit_form;. Now, the code from the On-Commit seems to work fine if its in the Key-Commit trigger -- BUT we need to use the On-Commit in case the user exits the Form with the Exit Button on the toolbar or "X" on the title bar (Neither the Exit Button and the "X" will call the Key-Commit trigger).
    Any ideas how we can get this data value to actually SAVE in the database??
    Thanks for any help -- please respond, this deadline has already passed!
    Mike

    Well, I can't say I understand what you want, but:
    1) if you have only commit_form in key-commit - then you do not need this trigger. key-commit will fire when F10 (commit) is pressed, but since it is doing the same - there is no need.
    2) why don't you populate your block values to be saved right in SAVE button trigger and issue commit_form in the same trigger?
    Then you can have key-commit to cover the same functionality for F10 with code:
    go_item('save');
    execute_trigger('when-button-pressed');
    3) I cannot get the point of the "close" stuff - on close you want to check for changes or not? and to allow the user to exit with or without saving?

  • Problem  with BC4J in 10g: incorrect Date formatting

    I have PL/SQL procedure, which is called from bc4j-struts-application like this:
    CallableStatement cs = getDBTransaction().createCallableStatement(FIND_USER_RESP_STMT,0);
    cs.execute();
    It return an exeption with this message:
    ORA-01403: no data found
    ORA-06512: at "CRN.CRN_UTIL", line 115
    ORA-06512: at "CRN.CRN_UTIL", line 323
    ORA-06512: at "CRN.CRN_RESPONSIBILITY", line 85
    ORA-01843: not a valid month
    ORA-06512: at line 1
    I don't send any data parameter for this procedure. When I try to call it from JDeveloper connections debug, it runs succesfully. I try to create bc4j entity to query:
    select to_char(sysdate, 'DD-MON-YYYY') X,
    to_char(sysdate, 'DD-MM-YYYY') Y from dual
    and it retrieves:
    27-¿¿¿-2004
    27-09-2004
    Date constant is used in PL/SQL procedure with format 'DD-MON_YYYY', but I can't change it, because it used by many other applications.
    My local setting is english, USA, and I have the second language on my PC - russian.
    JDeveloper 9.0.5.2. This code runs succesfully in JDeveloper 9.0.3.3.
    How can I send bc4j date setting in normal format to solve this problem? And where can I find bc4j local settings, which are sended by bc4j to server?
    Regards, Nikolay

    Hello,
    The problem is still available. Could anybody help?
    Regard

  • Problems with BC4J - jdk version

    Why BC4J Tag Libs uses an old version of jdk (com.sun.java.util)and where can I find it?
    Thanks for your answers.

    Bob, you're not going to believe this but I must confess.  As I was online with support, he had me try to reinstall 5.5 so I could tell him the exact error message I was getting.  Well, I suddenly realized that there were more options as to which software I was trying to upgrade and that I had chosen the wrong one.  Once I put in the correct software selection it installed.  Now, however, there are several error messages that came up at the end of the installation.  So I have to deal with that now.  I briefly ran Premiere just to see if it would work and it did but I am sure there are functions that will not work until fixed.  What next.  The good news is that the serial number problem is over, my bad.
    Thank you for your interest, Ted

  • Urgent! Problems with bridge JDBC-ODBC

    Hello,
    I have found out that JDBC-ODBC bridge in JDK 1.4.1 don't works fine, because, if you want to store text largest 254 characters in a field type text in one record of a Access database's table, it generate a SQLError, I have tried with EasySoft JDBC_ODBC and it works, with it I could store text fields largest than 254 characters, but I have new problems, EasySoft bridge is not free, and don't let store nulls in fields type Date [with PreparedStatement x, x.setDate(theDate)] (raise a SQLError), in the other hand, JDKs bridge do it. Somebody knows if exists JDCB-ODBC free drivers more suitables than JDK's includes, or if exists upgrades?
    Is very urgent!, Thanks a lot
    (Sorry, my english is very poor)

    I have tried it, Is there where I found the EasySoft's JDBC-ODBC driver, but the result is: one problems out, yes, now with this driver I can store String largest 254 characters in fields type MEMO of a table in Access Database, but two new problems, 1st. is a trial version, (requiere paid), and 2nd. don't let store nulls in fields type Date when JDKs JDBC-ODBC bridge lets, and the aplication needs leave this fields blanks.
    Any other idea?
    Thank

  • Hi all..very urgent..problem with the transaction VL10.

    Hi gurus,i having trouble in executing the transaction VL10.
    the procedure is as follows.
    1.Enter the transaction VL10
    2.Select Sales orders Tab
    Enter sales document number 16283319 to 16283320
    Remaining all fields should be blank
    3.Click on Execute Icon.
    4.Selected  two Sales Documents.
    5.Clickd  on Back ground icon.
    6.Error i am getting is OBJECT REQUESTED IS CURRENTLY LOCKED BY USER PSREDDY.
    Can anybody help me with this..very urgent and full marks wud be given.

    Hi Sahil,
    Go to transaction SM12, put user name PSREDDY.
    Exceute it, and select all entry and delete.
    After follow the same procedure, you followed early.
    Hope it will solve the problem.
    Regards
    Krishnendu

  • Urgent: Performance problem with where clause using IN and an OR condition

    Select statement is:
    select fl.feed_line_id
    from ap_expense_feed_lines_all fl
    where ((:1 is not null and
    fl.feed_line_id in (select distinct r2.object_id
    from xxdl_pcard_wf_routing_lists r2,
         per_people_f hr2
    where upper(hr2.full_name) like upper(:1||'%')
              and hr2.person_id = r2.person_id
    and r2.fyi_list is null
              and r2.sequence_number <> 0))
    or
    (:1 is null))
    If I modify the statement to remove the "or (:1 is null))" part at the bottom of the where clause, it returns in .16 seconds. If I modify the statement to only contain the "(:1 is null))" part of the where clause, it returns in .02 seconds. With the whole statement above, it returns in 477 seconds. Anyone have any suggestions?
    Explain plan for the whole statement is:
    (1) SELECT STATEMENT CHOOSE
    Est. Rows: 10,960 Cost: 212
    FILTER
    (2) TABLE ACCESS FULL AP.AP_EXPENSE_FEED_LINES_ALL [Analyzed]
    (2) Blocks: 8,610 Est. Rows: 10,960 of 209,260 Cost: 212
    Tablespace: APD
    (6) TABLE ACCESS BY INDEX ROWID HR.PER_ALL_PEOPLE_F [Analyzed]
    (6) Blocks: 4,580 Est. Rows: 1 of 85,500 Cost: 2
    Tablespace: HRD
    (5) NESTED LOOPS
    Est. Rows: 1 Cost: 4
    (3) TABLE ACCESS FULL XXDL.XXDL_PCARD_WF_ROUTING_LISTS [Analyzed]
    (3) Blocks: 19 Est. Rows: 1 of 1,303 Cost: 2
    Tablespace: XXDLD
    (4) UNIQUE INDEX RANGE SCAN HR.PER_PEOPLE_F_PK [Analyzed]
    Est. Rows: 1 Cost: 1
    Thanks in advance,
    Peter

    Thanks for the reply, but I have already checked what you are suggesting and I am pretty sure those are not causing the problem. The hr2.full_name column has an upper index and the (4) line of the explain plan shows that index being used. In addition, that part of the query executes on its own quickly.
    Because the sql is not displayed in an indented format on this page it is a little hard to understand the structure so I am going to restate what is happening.
    My sql is:
    select a_column
    from a_table
    where ((:1 is not null) and a_column in (sub-select statement)
    or
    (:1 is null))
    The :1 bind variable is set to a varchar2 entered on the screen of an application.
    If I execute either part of the sql without the OR condition, performance is good.
    If the :1 bind variable is null with the whole sql statement (so all rows or a_table are returned), performance is still good.
    If the :1 bind variable is a not-null value with the whole sql statement, performance stinks.
    As an example:
    where (('wa' is not null) and a_column in (sub-select statement)) -- fast
    where (('wa' is null)) -- fast
    where (('' is not null) and a_column in (sub-select statement) -- fast
    or
    ('' is null))
    where (('wa' is not null) and a_column in (sub-select statement) -- slow
    or
    ('wa' is null))

  • Urgent Help : Problem with Native MQ Adapter

    We are receiving messages via MQ Series with a message format based on a COBOL copybook. We specified the layout in Fusion using the native feature of incorporating a COBOL copybook. However, if the data is not in the specified format – i.e., too long, too short, or containing invalid characters – then the adapter fails and throws the error in the log file (OC4J log) and never consumes the message from the queue. The key phrase there was “never consumes the message from the queue.” When this situation occurs our BPEL process continually processes the same message over and over (i.e., an infinite loop).
    JCA: ORABPEL-11162
    Error while reading native data.
    [Line=1, Col=1] Not enough data available in the input, when trying to read data of length "30" for "element with name CREATIONUSERID" from the specified position, using "style" as "fixedLength" and "length" as "30".
    Ensure that there is enough data from the specified position in the input.
    We are looking for a solution to this problem.
    Thanks in advance for the help

    I am not sure if this would help but you can try retrieving the message as "Native format translation is not required i.e. Opaque" instead of defining the exact format (COBOL copybook format). Once you have the message in the BPEL process then you can map it to the COBOL copybook after doing the validation.
    Not sure if this is a viable solution as I have not tried it myself.

  • Problems with BC4J input select tag when its bounded to a primary key field

    HI..
    I have an jsp BC4J edit form. This form uses a BC4J input select tag. This component is mapping one of the primary key Entity fields.
    When im working with this component and it doesnt map a primary key field it shows the default "none" value when im inserting a record(thats Ok). but when it maps a primary key field the default value is a database value so it is not advisable.. How can i do in order to fix that?
    Thank you

    The none value is only shown when the field accepts null values.

Maybe you are looking for

  • Error: RFC connection host not found

    Dear all, I have configured the SLD and JCO destinations also. But when i test connection system throws the error. <b>com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=thr3dev

  • "Sound In"

    Hey everyone, I am semi-tech-savy, so I am really ticked as to why I can't figure this one out! I am currently busy converting my old Powerbook G4 into a great media center PC! Everything is going wonderfully, and I plan on sharing my method on my bl

  • View all script labels and find an object by its script label

    Hello, I have an InDesign document in which many objects get a script label. I know how to view and edit the script label of an object, but is it possible to: 1 - See a list of all the script labels of the document (as can be done with the styles for

  • Why won't my itunes library recognize any of my devices when connected?

    None of my devices are recognized when connected and one of my ipods is stuck in restore mode. How do I fix this? I need to restore my 3g ipod in order to get the ios5 version.

  • Upgraded to Mavericks, updated iWork and iLife apps, update still tells me to download the update

    So I spent all day downloading all the 'Free' updates which was fine, although 14GB later, so huge, they should have USB version but anyway the problem is, I installed Pages, Numbers, Keynote, iPhoto and iMovie perfectly fine, but the App Store keeps