Logging JDBC

Hay dudes --
We are getting errors from Oracle 8i that indicate we have malformed SQL statements being sent to the database server for parseing. We presume that the SQL statement is not being prepared correctly. Therefore, we want to see the SQL statement that is being put on the wire by the JDBC Driver. Does anyone have a suggestion for/how to log the JDBC traffic?
Regards

Lee Grimes wrote:
>
Hay dudes --
We are getting errors from Oracle 8i that indicate we have malformed SQL statements being sent to the database server for parseing. We presume that the SQL statement is not being prepared correctly. Therefore, we want to see the SQL statement that is being put on the wire by the JDBC Driver. Does anyone have a suggestion for/how to log the JDBC traffic?
RegardsHi, Whose Oracle driver are you using? You should turn on jdbc logging to see whatever the
particular driver vendor decides to log, but with regard to Prepared Statements, the
driver typically doesn't change much about the SQL...
Joe
Folks, B.E.A. is now hiring! (12/14/01) If interested send a resume to [email protected]
DIRECTOR OF PRODUCT PLANS AND STRATEGY San Francisco, CA
E-SALES BUSINESS DEVELOPMENT REPRESENTATIVE Dallas, TX
SOFTWARE ENGINEER (DBA) Liberty Corner, NJ
SENIOR WEB DEVELOPER San Jose, CA
SOFTWARE ENGINEER (ALL LEVELS), CARY, NORTH CAROLINA San Jose, CA
SR. PRODUCT MANAGER Bellevue, WA
SR. WEB DESIGNER San Jose, CA
Channel Marketing Manager - EMEA Region London, GBR
DIRECTOR OF MARKETING STRATEGY, APPLICATION SERVERS San Jose, CA
SENIOR SOFTWARE ENGINEER (PLATFORM) San Jose, CA
E-COMMERCE INTEGRATION ARCHITECT San Jose, CA
QUALITY ASSURANCE ENGINEER Redmond, WA
Services Development Manager (Business Development Manager - Services) Paris, FRA; Munich, DEU
SENIOR SOFTWARE ENGINEER (PLATFORM) Redmond, WA
E-Marketing Programs Specialist EMEA London, GBR
BUSINESS DEVELOPMENT DIRECTOR - E COMMERCE INTEGRATION San Jose, CA
MANAGER, E-SALES Plano, TX

Similar Messages

  • Logging JDBC Statements in Weblogic 8.1

    Hi,
    I am using Weblogic 8.1.I want to see the JDBC logs and right now I am getting
    "Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file" error. Can
    any one help me with how to turn the JDBC Logging on? I am facing a wierd situation
    that one of my queries(it's from a Message Driven Bean) updates the Oracle database
    with junk values every time(the junk value differs each time) and so I want to
    see the exact SQL query which does this update.
    Thanks
    Jay

    Jay Balasubramanian wrote:
    Hi,
    I am using Weblogic 8.1.I want to see the JDBC logs and right now I am getting
    "Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file" error. Can
    any one help me with how to turn the JDBC Logging on? I am facing a wierd situation
    that one of my queries(it's from a Message Driven Bean) updates the Oracle database
    with junk values every time(the junk value differs each time) and so I want to
    see the exact SQL query which does this update.
    Thanks
    JayHi. When we turn on jdbc logging, oracle's thin driver prints this out. There
    are two separate versions of the thin driver. We ship the regular one. The
    other one is a debug version. The best course is to download oracle's
    latest appropriate thin driver and put the debug version ahead of all weblogic
    jars in the classpath constructed for the server. Then when you turn on jdbc
    logging, you will get copious debug output.
    Joe

  • Logging JDBC info to log files...

    BlankGuys , Im using
    -Dweblogic.ejb20.cmp.rdbms.verbose=true" "-Dweblogic.ejb20.cmp.rdbms.debug=true
    while starting my server... all debug info goes to console. I want it to be logged on to a file.
    So I see all info from RDBMSPersistenceManager on console.
    [att1.html]
    [Blank Bkgrd.gif]

    The archive log records changes to the database for the purposes of recovery and are not human readable.
    You may be able to achieve what you want (whatever it is) using auditing features but first you need to get your knowledge of oracle up to a reasonable level. Read the documentation starting with the Concepts guide.

  • Major performance problem in weblogic jdbc

    I ran a test which selected ~1000 rows from an oracle database table. The
    code ran in 4 seconds when I used the Oracle driver directly:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection = DriverManager.getConnection(URL, "XXX", "XXX");
    When I changed the code to get the connection from weblogic, it took 128
    SECONDS!!!!
    weblogic.jdbc.connectionPool.pointclick=\
    url=jdbc:oracle:thin:@XXX:dev,\
    driver=oracle.jdbc.driver.OracleDriver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=XXX;password=XXX
    weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.pointclick=pointclick
    Properties properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    Context context = new InitialContext(properties);
    try
    DataSource dataSource = (DataSource)context.lookup(NAME);
    Connection connection = dataSource.getConnection();
    // if(!autoCommit)
    // connection.setAutoCommit(false);
    return connection;
    finally
    context.close();
    The strangest thing is that when I used the weblogic pool, if I executed
    "select column from table" it took 128 seconds, but "select * from table"
    only took 32 seconds. Why would it take longer to process less data?
    And more importantly, why does the weblogic connection take so damn long?
    Thanks for your help.
    Sean Rohead

    Hey, I finally managed to get JDBC logging up and running! Had to do with
    permission setting, adding the following entry to weblogic.policy:
    permission java.sql.SQLPermission "setLog";
    Boy are you right; JDBC logging is slow as mud! Good thing we use BMP
    entity beans, so I guess I can log JDBC calls myself in the
    ejbCreate/Load/Store/Remove hooks!
    Gene Chuang
    Teach the world. Join Kiko!
    http://www.kiko.com/profile/join.jsp?refcode=TAF-gchuang
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    >
    >
    Gene Chuang wrote:
    Hey, I've tried setting weblogic.jdbc.enableLogFile=true before and
    can't
    even get the server to start up! Since JDBC logging is not only slow,but
    buggy,JDBC logging is slow for the reasons described, but not buggy as such.
    is there a possibility Weblogic can implement a JDBC log for a future
    release?
    Seems like Weblogic can catch SQL calls much easier than we can,
    especially for CMP!It is conceivable that our pool drivers (pool,jts,rmi etc) couldindependently
    log SQL for debugging purposes, but we need to retain the semantics ofturning
    on jdbc logging, which in any case will continue to emanate from any JDBCdriver.
    In any case, we wouldn't do anything differently that DriverManager doesfor
    simply writing to a file, which would be serialized by the stream anyway.
    Joe
    Gene Chuang
    Teach the world. Join Kiko!
    http://www.kiko.com/profile/join.jsp?refcode=TAF-gchuang
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Sean Rohead wrote:
    OK, disregard everything I said in my last post. The REAL reason
    for
    the
    slowdown is that I had "weblogic.jdbc.enableLogFile=true" in my
    weblogic.properties. So, there is nothing wrong with the JNDIDataSource
    object. Sorry if I misled anyone.
    Still, it does seem rather excessive for logging to cause a 30Xslowdown.
    Someone at BEA ought to take a closer look at that...Known issue, not ours.
    JDBC logging collect anything logged by any JDBC driver or by anySQLException.
    These all call DriverManager.println() which is class synchronized in
    the
    JVM,
    so this will serialize most JDBC threads, and slow the server down a
    lot,
    independently of the disk I/O needed to grow the file.
    Joe
    Sean Rohead
    "Sean Rohead" <[email protected]> wrote in message
    news:[email protected]...
    Nice work, Charlie!
    When I just connected to the pool directly, it ran fine. I am
    guessing
    that
    the DataSource returns a connection that connects first to the
    server
    via
    RMI and then to the database. I am trying to obtain a JDBC
    connection
    for
    use in EJB and servlets, so this is clearly overkill. The
    question I
    now
    have is what is the best way to obtain a transactional
    connection
    without
    the overhead described above? Can I somehow create a
    transactional
    DataSource that doesn't go over RMI? Or, should I just use thejts
    driver
    directly? I tried the following code, but got an error:
    Driver driver = new weblogic.jdbc.jts.Driver();
    Properties properties = new Properties();
    properties.put("connectionPoolID", "pointclick");
    Connection connection = driver.connect("jdbc:weblogic:jts",properties);
    The error was:
    java.sql.SQLException: The url cannot be null
    atjava.sql.DriverManager.getConnection(DriverManager.java:434)
    atjava.sql.DriverManager.getConnection(DriverManager.java:106)
    at weblogic.jdbcbase.jts.Driver.connect(Driver.java:213)
    at
    pointclick.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:24)
    atpointclick.servlet.TestServlet.doGet(TestServlet.java:36)
    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :124)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:744)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:692)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
    Manager.java:251)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
    atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >>>>>
    >>>>>
    I copied the code above from
    http://www.weblogic.com/docs51/classdocs/jts_driver.html and there
    was
    no
    mention of setting any other properties. If I create the
    connection
    this
    way from an EJB, will it still participate in the transaction
    started
    by
    the
    EJB container?
    Sean Rohead
    "Charlie Crook" <[email protected]> wrote in message
    news:[email protected]...
    Your Oracle example is also using JNDI to obtain the connection;
    not
    just
    getting a connection from a pool. So you've actually changed 2conditions
    ( non-pool to pool, non-JNDI to JNDI ). So both of these should
    be
    considered as suspects for the performance.
    "Sean Rohead" <[email protected]> wrote in message
    news:[email protected]...
    I ran a test which selected ~1000 rows from an oracle database
    table.
    The
    code ran in 4 seconds when I used the Oracle driver directly:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection connection = DriverManager.getConnection(URL,
    "XXX",
    "XXX");
    When I changed the code to get the connection from weblogic,
    it
    took
    128
    SECONDS!!!!
    weblogic.jdbc.connectionPool.pointclick=\
    url=jdbc:oracle:thin:@XXX:dev,\
    driver=oracle.jdbc.driver.OracleDriver,\
    initialCapacity=1,\
    maxCapacity=2,\
    capacityIncrement=1,\
    props=user=XXX;password=XXX
    weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.pointclick=pointclick
    >>>>>>>
    >>>>>>>
    Properties properties = new Properties();
    properties.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    Context context = new InitialContext(properties);
    try
    DataSource dataSource = (DataSource)context.lookup(NAME);
    Connection connection = dataSource.getConnection();
    // if(!autoCommit)
    // connection.setAutoCommit(false);
    return connection;
    finally
    context.close();
    The strangest thing is that when I used the weblogic pool, ifI
    executed
    "select column from table" it took 128 seconds, but "select *
    from
    table"
    only took 32 seconds. Why would it take longer to process
    less
    data?
    And more importantly, why does the weblogic connection take sodamn
    long?
    Thanks for your help.
    Sean Rohead
    PS: Folks: BEA WebLogic is in S.F., and now has some entry-level
    positions
    for
    people who want to work with Java and E-Commerce infrastructure
    products.
    Send
    resumes to [email protected]
    The Weblogic Application Server from BEA
    JavaWorld Editor's Choice Award: Best Web Application Server
    Java Developer's Journal Editor's Choice Award: Best Web ApplicationServer
    Crossroads A-List Award: Rapid Application Development Tools for
    Java
    Intelligent Enterprise RealWare: Best Application Using a ComponentArchitecture
    http://www.bea.com/press/awards_weblogic.html
    PS: Folks: BEA WebLogic is in S.F., and now has some entry-level positionsfor
    people who want to work with Java and E-Commerce infrastructure products.Send
    resumes to [email protected]
    The Weblogic Application Server from BEA
    JavaWorld Editor's Choice Award: Best Web Application Server
    Java Developer's Journal Editor's Choice Award: Best Web ApplicationServer
    Crossroads A-List Award: Rapid Application Development Tools for Java
    Intelligent Enterprise RealWare: Best Application Using a ComponentArchitecture
    http://www.bea.com/press/awards_weblogic.html

  • Log analysis Tool

    Hi,
    I need info regd. log files generated by Weblogic5.1.
    I found 3 log files namely,weblogic.log,jdbc.log,access.log.
    Is there any other log files generated by Weblogic.
    I am using IIS as WebServer (using iisproxy.dll). IIS is also creating one logfile
    under c:\tmp folder.
    Pl. give me info on list of log files created by Weblogic & IIS. Which files are
    good to analysis for getting website statistics.
    I am looking for Log Analysis Tool. Pl. give me list of free/low price tools.
    Thanx
    -Kalyan

    Hi.
    kalyan wrote:
    Hi,
    I need info regd. log files generated by Weblogic5.1.
    I found 3 log files namely,weblogic.log,jdbc.log,access.log.
    Is there any other log files generated by Weblogic.
    No, those are the only 3 log files created by WLS.
    >
    I am using IIS as WebServer (using iisproxy.dll). IIS is also creating one logfile
    under c:\tmp folder.The ISAPI plugin is creating this file because you have the Debug parameter set to ON
    >
    >
    Pl. give me info on list of log files created by Weblogic & IIS. Which files are
    good to analysis for getting website statistics.The best logs for web stats are the access.log file and the wlproxy.log file. You can
    set different logging levels for the wlproxy.log file - read the plugin documentation
    for more info on this.
    >
    >
    I am looking for Log Analysis Tool. Pl. give me list of free/low price tools.We don't recommend specific log analysis tools - although there are several out there,
    and probably more than a few low-cost ones. Perhaps someone else can answer this one.
    Regards,
    Michael
    >
    >
    Thanx
    -Kalyan--
    Developer Relations Engineer
    BEA Support

  • Java.sql.SQLException: Statement cache size has not been set

    All,
    I am trying to create a light weight SQL Layer.It uses JDBC to connect to the database via weblogic. When my application tries to connect to the database using JDBC alone (outside of weblogic) everything works fine. But when the application tries to go via weblogic I am able to run the Statement objects successfully but when I try to run PreparedStatements I get the following error:
    java.sql.SQLException: Statement cache size has not been set
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
    at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_812_WLStub.prepareStatement(Unknown Source)
    i have checked the StatementCacheSize and it is 10. Is there any other setting that needs to be implemented for this to work? Has anybody seen this error before? Any help will be greatly appreciated.
    Thanks.

    Pooja Bamba wrote:
    I just noticed that I did not copy the jdbc log fully earlier. Here is the log:
    JDBC log stream started at Thu Jun 02 14:57:56 EDT 2005
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    DriverManager.getDriver("jdbc:oracle:oci:@devatl")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@12e0e2f]
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@c0a150]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@17dff15]
    SQLException: SQLState(null) vendor code(17095)
    java.sql.SQLException: Statement cache size has not been set
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)Hi. Ok. This is an Oracle driver bug/problem. Please show me the pool's definition
    in the config.xml file. I'll bet you're defining the pool in an unusual way. Typically
    we don't want any driver-level pooling to be involved. It is superfluous to the functionality
    we provide, and can also conflict.
    Joe
         at oracle.jdbc.driver.OracleConnection.prepareCallWithKey(OracleConnection.java:1037)
         at weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_OracleConnection.prepareCallWithKey(Unknown Source)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection.prepareCallWithKey(Unknown Source)
         at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_oracle_jdbc_driver_OracleConnection_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    SQLException: SQLState(null) vendor code(17095)

  • SQLAssembler: Handling dates

    I'm just wondering if anyone has had any luck using date/time
    fields with SQLAssembler, as I'm having a few problems.
    My update query declaration looks like this:
    <update-item>
    <sql>UPDATE Timesheet SET person=#person#,
    <sniiiiip, lots of fields>, date=#date# WHERE id=#_PREV.id#
    </sql>
    </update-item>
    I'm editing the data from the DataService with an item
    editor, which looks something like this:
    <mx:itemEditor>
    <mx:Component><mx:DateField
    formatString="DD/MM/YYYY"/></mx:Component>
    </mx:itemEditor>
    I'm using an actionscript-class declaration in the
    SQLAssembler config, and it that class the var named "date" is of
    type Date.
    My database is an Access MDB connecting with
    sun.jdbc.odbc.JdbcOdbcDriver.
    If I remove the part which sets the date field (date=#date#)
    from my update query, everything works perfectly.
    I have LCDS set to show all debug messages, and this is the
    error shown when I exit the date field after changing it:
    When I set editorDataField="selectedDate" I get the following
    error:
    [Flex] 16:19:50.468 [DEBUG] [Service.Data.SQL] SQL Assembler
    jdbc exception on operation=update-item
    error=java.sql.SQLException: SQL Exception : Unknown SQL Type for
    PreparedStatement.setObject (SQL Type=1111
    And if I set editorDataField="text" (which appears to cause
    the format string to be applied according to the rtmp message
    intercepts), then I get this:
    [Flex] 16:27:23.500 [DEBUG] [Service.Data.SQL] SQL Assembler
    jdbc exception on operation=update-item
    error=java.sql.SQLException: [Microsoft][ODBC Microsoft Access
    Driver] Syntax error in UPDATE statement.
    And if I then add single quotes around the date field in the
    update query ( date='#date#' ), I get this:
    [Flex] 16:32:11.156 [DEBUG] [Service.Data.SQL] SQL Assembler
    jdbc exception on operation=update-item
    error=java.sql.SQLException: Unexpected exception : 7
    I've tried various format strings which I think Access should
    handle, but they all result in the unexpected exception error. I've
    also tried changing the data type on the actionscript class to
    String but it still gives the same results.
    What would be really handy would be if I could see the exact
    query which is being run against the database to try and determine
    what is actually being entered when the error occurs.
    I've tried
    this logging jdbc driver,
    but so far I couldn't get it to work with the Access driver and the
    trouble shooting documentation is very sparse.
    If anyone has any clues on either how I can see the actual
    update query SQLAssembler is running or what I need to do to enable
    editable date fields I'd be very grateful.
    Thanks,
    Robert

    I've now tried with 2 other databases:
    MySQL works perfectly.
    MSSQL fails with the error "The Java type java.util.Date is
    not a supported type."
    So this might be a question of whether a specific JDBC driver
    can map Java's date object to a field correctly.
    EDIT:
    I tried experimenting with another JDBC driver to connect to
    MSSQL:
    jTDS
    It failed with a very similar error message, but it can be
    tweaked to map the JAVA_OBJECT type to datetime, but there may be
    side-effects of this change (e.g. another type without mapping
    available defined my now cause a class cast exception rather than
    resulting in an sql exception being raised).
    In most situations storing the date in a timestamp would be
    more appropriate than a datetime field, but as the SQLAssembler
    appears to be unable to map Timestamp to anything but ByteArray
    this solution doesn't seem feasible here. If SQLAssembler were to
    map to java.
    sql.Date instead of java.
    util.Date, this would also be undesirable as the java.sql
    version does not include the time.
    If anyone is interested in the tweaks you need to make to the
    jTDS driver then post here and I'll put the diff up, but really it
    feels "a bit dodgy" to map JAVA_OBJECT jdbc fields to date and
    probably not something you'd want to do in production for the sake
    of reliability (this is just for a small internal project at my
    company).
    Now I just need to work out how best to enable people to edit
    a time as well as the date in the DateField...

  • Is there Session in java's webservice?

    I wanna store my database connection in a global variable,
    for example, a Session or an Application,
    what can I do?

    Thank you very much!
    I search a java file named DBConnectionManager.java which could do the job.
    The source code is below:
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.util.Date;
    //����DBConnectionManager
    public class DBConnectionManager {
    static private DBConnectionManager instance;
    static private int clients;
    private Vector drivers = new Vector();
    private PrintWriter log;
    private Hashtable pools = new Hashtable();
    //��������������
    static synchronized public DBConnectionManager getInstance() {
    if (instance == null) {
    instance = new DBConnectionManager();
    clients++;
    return instance;
    //����������
    private DBConnectionManager() {
    init();
    //������������
    //������������
    public void freeConnection(String name, Connection con) {
    DBConnectionPool pool = (DBConnectionPool) pools.get(name);
    if (pool != null) {
    pool.freeConnection(con);
    //����������������
    //������������
    public Connection getConnection(String name) {
    DBConnectionPool pool = (DBConnectionPool) pools.get(name);
    if (pool != null) {
    return pool.getConnection();
    return null;
    public Connection getConnection(String name, long time) {
    DBConnectionPool pool = (DBConnectionPool) pools.get(name);
    if (pool != null) {
    return pool.getConnection(time);
    return null;
    //����getconnection
    //������������
    public synchronized void release() {
    if (--clients != 0)
    return;
    Enumeration allPools = pools.elements();
    while (allPools.hasMoreElements()) {
    DBConnectionPool pool = (DBConnectionPool) allPools.nextElement();
    pool.release();
    Enumeration allDrivers = drivers.elements();
    while (allDrivers.hasMoreElements()) {
    Driver driver = (Driver) allDrivers.nextElement();
    try {
    DriverManager.deregisterDriver(driver);
    log("����JDBC��������" + driver.getClass().getName());
    catch (SQLException e) {
    log(e, "��������JDBC��������������" + driver.getClass().getName());
    private void createPools(Properties props) {
    Enumeration propNames = props.propertyNames();
    while (propNames.hasMoreElements()) {
    String name = (String) propNames.nextElement();
    if (name.endsWith(".url")) {
    String poolName = name.substring(0, name.lastIndexOf("."));
    String url = props.getProperty(poolName + ".url");
    if (url == null) {
    log("����������" + poolName + "������URL");
    continue;
    String user = props.getProperty(poolName + ".user");
    String password = props.getProperty(poolName + ".password");
    String maxconn = props.getProperty(poolName + ".maxconn", "0");
    int max;
    try {
    max = Integer.valueOf(maxconn).intValue();
    catch (NumberFormatException e) {
    log("������������������" + maxconn + ".������" + poolName);
    max = 0;
    DBConnectionPool pool = new DBConnectionPool(poolName, url, user,
    password, max);
    pools.put(poolName, pool);
    log("��������������" + poolName);
    private void init() {
    InputStream is = getClass().getResourceAsStream("/db.properties");
    Properties dbProps = new Properties();
    try {
    dbProps.load(is);
    catch (Exception e) {
    System.err.println("������������������������db.properties������CLASSPATH��");
    return;
    String logFile = dbProps.getProperty("logfile", "DBConnectionManager.log");
    try {
    log = new PrintWriter(new FileWriter(logFile, true), true);
    catch (IOException e) {
    System.err.println("������������������" + logFile);
    log = new PrintWriter(System.err);
    loadDriver(dbProps);
    createPools(dbProps);
    private void loadDriver(Properties props) {
    String driverClasses = props.getProperty("drivers");
    StringTokenizer st = new StringTokenizer(driverClasses);
    while (st.hasMoreElements()) {
    String driverClassName = st.nextToken().trim();
    try {
    Driver driver = (Driver) Class.forName(driverClassName).newInstance();
    DriverManager.registerDriver(driver);
    drivers.addElement(driver);
    log("����������������" + driverClassName);
    catch (Exception e) {
    log("����������������:" + driverClassName + ",����" + e);
    private void log(String msg) {
    log.println(new Date() + ":" + msg);
    private void log(Throwable e, String msg) {
    log.println(new Date() + ":" + msg);
    e.printStackTrace(log);
    class DBConnectionPool {
    private int checkOut;
    private Vector freeConnections = new Vector();
    private int maxconn;
    private String name;
    private String password;
    private String URL;
    private String user;
    public DBConnectionPool(String name, String URL, String user,
    String password, int maxconn) {
    this.name = name;
    this.URL = URL;
    this.password = password;
    this.user = user;
    this.maxconn = maxconn;
    public synchronized void freeConnection(Connection con) {
    freeConnections.addElement(con);
    checkOut--;
    notifyAll();
    public synchronized Connection getConnection() {
    Connection con = null;
    if (freeConnections.size() > 0) {
    con = (Connection) freeConnections.firstElement();
    freeConnections.removeElementAt(0);
    try {
    if (con.isClosed()) {
    log("��������" + name + "������������");
    con = getConnection();
    catch (SQLException e) {
    log("��������" + name + "������������");
    con = getConnection();
    else if (maxconn == 0 || checkOut < maxconn) {
    con = newConnection();
    if (con != null) {
    checkOut++;
    return con;
    public synchronized Connection getConnection(long timeout) {
    long startTime = new Date().getTime();
    Connection con;
    while ( (con = getConnection()) == null) {
    try {
    wait(timeout);
    catch (InterruptedException e) {}
    if ( (new Date().getTime() - startTime) >= timeout) {
    return null;
    return con;
    public void release() {
    Enumeration allConnections = freeConnections.elements();
    while (allConnections.hasMoreElements()) {
    Connection con = (Connection) allConnections.nextElement();
    try {
    con.close();
    log("����������" + name + "��������");
    catch (SQLException e) {
    log(e, "��������������" + name + "��������");
    freeConnections.removeAllElements();
    private Connection newConnection() {
    Connection con = null;
    try {
    con = DriverManager.getConnection(URL, user, password);
    log("������" + name + "����������������");
    catch (SQLException e) {
    log(e, "������������URL������" + URL);
    return null;
    return con;
    }

  • HeartbeatMonitor problem reprise

              Tom Barnes kindly responded to a question of mine regarding HearbeatMonitor vis-a-vis
              JMS a few weeks ago. I have a small example that gives the same problem.
              OS - Solaris 9
              Weblogic 8.1 - no service pack
              Non-clustered environment.
              This is the only JMS server running on the box.
              config.xml
              <?xml version="1.0" encoding="UTF-8"?>
              <Domain ConfigurationVersion="8.1.0.0" Name="HeartbeatDomain">
              <Security Name="HeartbeatDomain"
              PasswordPolicy="wl_default_password_policy"
              Realm="wl_default_realm" RealmSetup="true"/>
              <EmbeddedLDAP
              Credential="{3DES}yuLlF3ksZUwT2thRa9SY/D+HYNAM1JS8k1Q5wdZUFjs=" Name="HeartbeatDomain"/>
              <SecurityConfiguration
              Credential="{3DES}SXlFA2mXBKocphlPreQvSGzyEjZvjJ7AhapKdt7H3JDnT+0Qmbu2TcswXe5rPYjWWaHO9xMR6v7UQ3cRFchd/2riCYYUSiNG"
              Name="HeartbeatDomain" RealmBootStrapVersion="1"/>
              <Server ExternalDNSName="sunawl01" GracefulShutdownTimeout="60"
              IgnoreSessionsDuringShutdown="true"
              JDBCLogFileName="./yourserver/logs/jdbc.log"
              JDBCLoggingEnabled="false" ListenPort="6733" Machine=""
              Name="yourserver" ServerVersion="8.1.0.0"
              StdoutSeverityLevel="64" TransactionLogFilePrefix="./logs/">
              <SSL IdentityAndTrustLocations="KeyStores" Name="yourserver"/>
              <Log FileMinSize="1024"
              FileName="./yourserver/logs/yourserver.log"
              Name="yourserver" NumberOfFilesLimited="true"/>
              <WebServer LogFileLimitEnabled="true"
              LogFileName="./yourserver/logs/access.log"
              LoggingEnabled="false" Name="yourserver"/>
              </Server>
              <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              <FileRealm Name="wl_default_file_realm"/>
              <PasswordPolicy Name="wl_default_password_policy"/>
              <Log FileMinSize="1024" FileName="./logs/domain.log"
              Name="HeartbeatDomain" NumberOfFilesLimited="true"/>
              <JMSConnectionFactory JNDIName="rooster.connectionfactory"
              Name="Rooster Connection Factory" Targets="yourserver"/>
              <JMSServer MaximumMessageSize="25000" Name="RoosterJMSServer" Targets="yourserver">
              <JMSQueue CreationTime="1071519902414"
              JNDIName="core.jms.destination" Name="Rooster JMS Queue"/>
              </JMSServer>
              <JMSFileStore Directory="./yourserver/RoosterJMSFileStore"
              Name="RoosterJMSFileStore" SynchronousWritePolicy="Direct-Write"/>
              <Application Name="_appsdir_rooster_jar"
              Path="/opt/clientconf/tbo/weblogic81/HeartbeatDomain/applications"
              StagedTargets="yourserver" StagingMode="stage" TwoPhase="true">
              <EJBComponent Name="rooster" Targets="yourserver" URI="rooster.jar"/>
              </Application>
              </Domain>
              weblogic-ejb-jar.xml
              <?xml version="1.0"?>
              <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"
              "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd" >
              <weblogic-ejb-jar>
                   <weblogic-enterprise-bean>
                        <ejb-name>RoosterConsumerEJB</ejb-name>
                        <message-driven-descriptor>
                             <pool>
                                  <max-beans-in-free-pool>100</max-beans-in-free-pool>
                                  <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
                             </pool>
                        <destination-jndi-name>core.jms.destination</destination-jndi-name>
                   </message-driven-descriptor>
                   <jndi-name>core.ejb.rooster.RoosterConsumerBean</jndi-name>
                   </weblogic-enterprise-bean>
              </weblogic-ejb-jar>
              ejb.jar.xml
              <?xml version="1.0"?>
              <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
              2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              <ejb-jar>
                   <enterprise-beans>
                        <message-driven>
                             <ejb-name>RoosterConsumerEJB</ejb-name>
                             <ejb-class>core.ejb.rooster.RoosterConsumerBean</ejb-class>
                             <transaction-type>Container</transaction-type>
                             <message-driven-destination>
                                  <destination-type>javax.jms.Queue</destination-type>
                             </message-driven-destination>
                        </message-driven>
                   </enterprise-beans>
              </ejb-jar>
              MANIFEST.MF
              Manifest-Version: 1.0
              Created-By: 1.4.2_01 (Sun Microsystems Inc.)
              (not that it matters I think)
              MDB implementation
              package core.ejb.rooster;
              import java.io.PrintStream;
              import java.util.*;
              import javax.ejb.MessageDrivenBean;
              import javax.ejb.MessageDrivenContext;
              import javax.jms.*;
              public class RoosterConsumerBean
              implements MessageDrivenBean, MessageListener
              public RoosterConsumerBean()
              System.out.println("Created Rooster Consumer Bean");
              public void ejbCreate()
              System.out.println("EJB Create Rooster Consumer Bean");
              public void onMessage(Message message)
              try
              System.out.println("Message ID: " + message.getJMSMessageID());
              String s;
              for(Enumeration enumeration = message.getPropertyNames(); enumeration.hasMoreElements();
              System.out.println("Property: " + s))
              s = (String)enumeration.nextElement();
              ObjectMessage objectmessage = (ObjectMessage)message;
              System.out.println("String Message: " + message.getStringProperty("STRING_PROPERTY"));
              System.out.println("Int Message: " + message.getIntProperty("INT_PROPERTY"));
              System.out.println("Float Message: " + message.getFloatProperty("FLOAT_PROPERTY"));
              System.out.println("Boolean Message: " + message.getBooleanProperty("BOOLEAN_PROPERTY"));
              Collection collection = (Collection)objectmessage.getObject();
              if(collection != null)
              String s1;
              for(Iterator iterator = collection.iterator(); iterator.hasNext();
              System.out.println("Object String: " + s1))
              s1 = (String)iterator.next();
              catch(JMSException jmsexception)
              System.out.println("On Message JMS Error: " + jmsexception.getMessage());
              jmsexception.printStackTrace();
              catch(Exception exception)
              System.out.println("On Message General Error: " + exception.getMessage());
              exception.printStackTrace();
              public void ejbRemove()
              System.out.println("EJB Remove");
              public void setMessageDrivenContext(MessageDrivenContext messagedrivencontext)
              System.out.println("Set Message Context");
              private static final String INT_PROPERTY = "INT_PROPERTY";
              private static final String BOOLEAN_PROPERTY = "BOOLEAN_PROPERTY";
              private static final String STRING_PROPERTY = "STRING_PROPERTY";
              private static final String FLOAT_PROPERTY = "FLOAT_PROPERTY";
              finally, the stack trace
              <Dec 18, 2003 9:33:50 AM EST> <Warning> <EJB> <BEA-010061> <The Message-Driven
              EJB: RoosterConsumerEJB is unable to connect to the JMS destination: core.jms.destination.
              The Error was:
              [EJB:010196]'weblogic.jms.common.JMSException: Error creating session' Linked
              exception = 'weblogic.jms.dispatcher.DispatcherException: Could not register a
              HeartbeatMonitorListener for [weblogic.jms.dispatcher.DispatcherImpl@2e34bf] for
              yourserver'
              weblogic.jms.common.JMSException: Error creating session
                   at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:792)
                   at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1031)
                   at weblogic.jms.frontend.FESession.invoke(FESession.java:2527)
                   at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:609)
                   at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:153)
                   at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1768)
                   at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1615)
                   at weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1454)
                   at weblogic.ejb20.internal.JMSConnectionPoller.setUpQueueSessions(JMSConnectionPoller.java:1594)
                   at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1806)
                   at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1072)
                   at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling(JMSConnectionPoller.java:826)
                   at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:234)
                   at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1581)
                   at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1409)
                   at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:664)
                   at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
                   at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
                   at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2000)
                   at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3073)
                   at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1647)
                   at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:403)
                   at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:230)
                   at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
                   at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:927)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:354)
                   at weblogic.Server.main(Server.java:32)
              Caused by: weblogic.jms.dispatcher.DispatcherException: Could not register a HeartbeatMonitorListener
              for [weblogic.jms.dispatcher.DispatcherImpl@2e34bf] for yourserver
                   at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager.java:306)
                   at weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(DispatcherManager.java:354)
                   at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:790)
                   ... 26 more
              Caused by: weblogic.rmi.extensions.server.HeartbeatMonitorUnavailableException:
              Could not register a HeartbeatMonitorListener for [weblogic.jms.dispatcher.DispatcherImpl@2e34bf]
                   at weblogic.rmi.extensions.server.HeartbeatMonitor.addHeartbeatMonitorListener(HeartbeatMonitor.java:86)
                   at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager.java:302)
                   ... 28 more
              >
              

    I suggest trying SP1, which has been out for a while now. Then
              contacting customer support. I see nothing particularly
              unique with the supplied example except that you have
              spaces in your destination name - something I didn't
              know was supported, and you haven't specified
              a server ListenAddress - which usually isn't a problem
              on UNIX boxes, but it may help to specify one.
              Tom, BEA
              P.S. For MDBs to have transactional behavior,
              specifying Container is insufficient.
              Additionallym the "onMessage" method must
              specify trans-attributed "Required".
              Todd Murray wrote:
              > Tom Barnes kindly responded to a question of mine regarding HearbeatMonitor vis-a-vis
              > JMS a few weeks ago. I have a small example that gives the same problem.
              >
              > OS - Solaris 9
              > Weblogic 8.1 - no service pack
              > Non-clustered environment.
              >
              > This is the only JMS server running on the box.
              >
              >
              > config.xml
              >
              > <?xml version="1.0" encoding="UTF-8"?>
              > <Domain ConfigurationVersion="8.1.0.0" Name="HeartbeatDomain">
              > <Security Name="HeartbeatDomain"
              > PasswordPolicy="wl_default_password_policy"
              > Realm="wl_default_realm" RealmSetup="true"/>
              > <EmbeddedLDAP
              > Credential="{3DES}yuLlF3ksZUwT2thRa9SY/D+HYNAM1JS8k1Q5wdZUFjs=" Name="HeartbeatDomain"/>
              > <SecurityConfiguration
              > Credential="{3DES}SXlFA2mXBKocphlPreQvSGzyEjZvjJ7AhapKdt7H3JDnT+0Qmbu2TcswXe5rPYjWWaHO9xMR6v7UQ3cRFchd/2riCYYUSiNG"
              > Name="HeartbeatDomain" RealmBootStrapVersion="1"/>
              > <Server ExternalDNSName="sunawl01" GracefulShutdownTimeout="60"
              > IgnoreSessionsDuringShutdown="true"
              > JDBCLogFileName="./yourserver/logs/jdbc.log"
              > JDBCLoggingEnabled="false" ListenPort="6733" Machine=""
              > Name="yourserver" ServerVersion="8.1.0.0"
              > StdoutSeverityLevel="64" TransactionLogFilePrefix="./logs/">
              > <SSL IdentityAndTrustLocations="KeyStores" Name="yourserver"/>
              > <Log FileMinSize="1024"
              > FileName="./yourserver/logs/yourserver.log"
              > Name="yourserver" NumberOfFilesLimited="true"/>
              > <WebServer LogFileLimitEnabled="true"
              > LogFileName="./yourserver/logs/access.log"
              > LoggingEnabled="false" Name="yourserver"/>
              > </Server>
              > <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              > <FileRealm Name="wl_default_file_realm"/>
              > <PasswordPolicy Name="wl_default_password_policy"/>
              > <Log FileMinSize="1024" FileName="./logs/domain.log"
              > Name="HeartbeatDomain" NumberOfFilesLimited="true"/>
              > <JMSConnectionFactory JNDIName="rooster.connectionfactory"
              > Name="Rooster Connection Factory" Targets="yourserver"/>
              > <JMSServer MaximumMessageSize="25000" Name="RoosterJMSServer" Targets="yourserver">
              > <JMSQueue CreationTime="1071519902414"
              > JNDIName="core.jms.destination" Name="Rooster JMS Queue"/>
              > </JMSServer>
              > <JMSFileStore Directory="./yourserver/RoosterJMSFileStore"
              > Name="RoosterJMSFileStore" SynchronousWritePolicy="Direct-Write"/>
              > <Application Name="_appsdir_rooster_jar"
              > Path="/opt/clientconf/tbo/weblogic81/HeartbeatDomain/applications"
              > StagedTargets="yourserver" StagingMode="stage" TwoPhase="true">
              > <EJBComponent Name="rooster" Targets="yourserver" URI="rooster.jar"/>
              > </Application>
              > </Domain>
              >
              >
              >
              > weblogic-ejb-jar.xml
              >
              > <?xml version="1.0"?>
              > <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"
              > "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd" >
              >
              > <weblogic-ejb-jar>
              >      <weblogic-enterprise-bean>
              >           <ejb-name>RoosterConsumerEJB</ejb-name>
              >           <message-driven-descriptor>
              >                <pool>
              >                     <max-beans-in-free-pool>100</max-beans-in-free-pool>
              >                     <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
              >                </pool>
              >           <destination-jndi-name>core.jms.destination</destination-jndi-name>
              >      </message-driven-descriptor>
              >      <jndi-name>core.ejb.rooster.RoosterConsumerBean</jndi-name>
              >      </weblogic-enterprise-bean>
              > </weblogic-ejb-jar>
              >
              >
              > ejb.jar.xml
              >
              > <?xml version="1.0"?>
              > <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
              > 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              >
              > <ejb-jar>
              >      <enterprise-beans>
              >           <message-driven>
              >                <ejb-name>RoosterConsumerEJB</ejb-name>
              >                <ejb-class>core.ejb.rooster.RoosterConsumerBean</ejb-class>
              >                <transaction-type>Container</transaction-type>
              >                <message-driven-destination>
              >                     <destination-type>javax.jms.Queue</destination-type>
              >                </message-driven-destination>
              >           </message-driven>
              >
              >      </enterprise-beans>
              > </ejb-jar>
              >
              >
              > MANIFEST.MF
              >
              > Manifest-Version: 1.0
              > Created-By: 1.4.2_01 (Sun Microsystems Inc.)
              >
              >
              > (not that it matters I think)
              >
              > MDB implementation
              >
              > package core.ejb.rooster;
              >
              > import java.io.PrintStream;
              > import java.util.*;
              > import javax.ejb.MessageDrivenBean;
              > import javax.ejb.MessageDrivenContext;
              > import javax.jms.*;
              >
              > public class RoosterConsumerBean
              > implements MessageDrivenBean, MessageListener
              > {
              >
              > public RoosterConsumerBean()
              > {
              > System.out.println("Created Rooster Consumer Bean");
              > }
              >
              > public void ejbCreate()
              > {
              > System.out.println("EJB Create Rooster Consumer Bean");
              > }
              >
              > public void onMessage(Message message)
              > {
              > try
              > {
              > System.out.println("Message ID: " + message.getJMSMessageID());
              > String s;
              > for(Enumeration enumeration = message.getPropertyNames(); enumeration.hasMoreElements();
              > System.out.println("Property: " + s))
              > s = (String)enumeration.nextElement();
              >
              > ObjectMessage objectmessage = (ObjectMessage)message;
              > System.out.println("String Message: " + message.getStringProperty("STRING_PROPERTY"));
              > System.out.println("Int Message: " + message.getIntProperty("INT_PROPERTY"));
              > System.out.println("Float Message: " + message.getFloatProperty("FLOAT_PROPERTY"));
              > System.out.println("Boolean Message: " + message.getBooleanProperty("BOOLEAN_PROPERTY"));
              > Collection collection = (Collection)objectmessage.getObject();
              > if(collection != null)
              > {
              > String s1;
              > for(Iterator iterator = collection.iterator(); iterator.hasNext();
              > System.out.println("Object String: " + s1))
              > s1 = (String)iterator.next();
              >
              > }
              > }
              > catch(JMSException jmsexception)
              > {
              > System.out.println("On Message JMS Error: " + jmsexception.getMessage());
              > jmsexception.printStackTrace();
              > }
              > catch(Exception exception)
              > {
              > System.out.println("On Message General Error: " + exception.getMessage());
              > exception.printStackTrace();
              > }
              > }
              >
              > public void ejbRemove()
              > {
              > System.out.println("EJB Remove");
              > }
              >
              > public void setMessageDrivenContext(MessageDrivenContext messagedrivencontext)
              > {
              > System.out.println("Set Message Context");
              > }
              >
              > private static final String INT_PROPERTY = "INT_PROPERTY";
              > private static final String BOOLEAN_PROPERTY = "BOOLEAN_PROPERTY";
              > private static final String STRING_PROPERTY = "STRING_PROPERTY";
              > private static final String FLOAT_PROPERTY = "FLOAT_PROPERTY";
              > }
              >
              >
              > finally, the stack trace
              >
              > <Dec 18, 2003 9:33:50 AM EST> <Warning> <EJB> <BEA-010061> <The Message-Driven
              > EJB: RoosterConsumerEJB is unable to connect to the JMS destination: core.jms.destination.
              > The Error was:
              > [EJB:010196]'weblogic.jms.common.JMSException: Error creating session' Linked
              > exception = 'weblogic.jms.dispatcher.DispatcherException: Could not register a
              > HeartbeatMonitorListener for [weblogic.jms.dispatcher.DispatcherImpl@2e34bf] for
              > yourserver'
              > weblogic.jms.common.JMSException: Error creating session
              >      at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:792)
              >      at weblogic.jms.frontend.FESession.consumerCreate(FESession.java:1031)
              >      at weblogic.jms.frontend.FESession.invoke(FESession.java:2527)
              >      at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:609)
              >      at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:153)
              >      at weblogic.jms.client.JMSSession.consumerCreate(JMSSession.java:1768)
              >      at weblogic.jms.client.JMSSession.createConsumer(JMSSession.java:1615)
              >      at weblogic.jms.client.JMSSession.createReceiver(JMSSession.java:1454)
              >      at weblogic.ejb20.internal.JMSConnectionPoller.setUpQueueSessions(JMSConnectionPoller.java:1594)
              >      at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1806)
              >      at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1072)
              >      at weblogic.ejb20.internal.JMSConnectionPoller.startJMSConnectionPolling(JMSConnectionPoller.java:826)
              >      at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:234)
              >      at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1581)
              >      at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1409)
              >      at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:664)
              >      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
              >      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
              >      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2000)
              >      at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3073)
              >      at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1647)
              >      at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:403)
              >      at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:230)
              >      at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
              >      at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:927)
              >      at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:354)
              >      at weblogic.Server.main(Server.java:32)
              > Caused by: weblogic.jms.dispatcher.DispatcherException: Could not register a HeartbeatMonitorListener
              > for [weblogic.jms.dispatcher.DispatcherImpl@2e34bf] for yourserver
              >      at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager.java:306)
              >      at weblogic.jms.dispatcher.DispatcherManager.dispatcherFindOrCreate(DispatcherManager.java:354)
              >      at weblogic.jms.frontend.FESession.setUpBackEndSession(FESession.java:790)
              >      ... 26 more
              > Caused by: weblogic.rmi.extensions.server.HeartbeatMonitorUnavailableException:
              > Could not register a HeartbeatMonitorListener for [weblogic.jms.dispatcher.DispatcherImpl@2e34bf]
              >      at weblogic.rmi.extensions.server.HeartbeatMonitor.addHeartbeatMonitorListener(HeartbeatMonitor.java:86)
              >      at weblogic.jms.dispatcher.DispatcherManager.dispatcherCreate(DispatcherManager.java:302)
              >      ... 28 more
              >
              >
              >
              

  • Problem in mixing DB2 V8 type4 driver and DB2 V7 type3 driver

    Hello,
    I have an application using CMP on Weblogic server 6.1 SP4. This application connects to 2 datasources on DB2 V7 with a type3 driver.
    One of the Database is migrating to DB2 V8 and we need to use type4 driver.
    Then we have one datasource on DB2 V7 with type3 driver and one on DB2 V8 with type4 driver :
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="COM.ibm.db2.jdbc.net.DB2Driver"
    InitialCapacity="5"
    MaxCapacity="60" Name="pasrelv3Pool"
    Properties="user=db2pasv3;password=db2pasv3;language=fr_FR"
    RefreshMinutes="5" Targets="pasrelv3Server"
    TestConnectionsOnReserve="true"
         URL="jdbc:db2://db2_srv:60000/PASREL"/>
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="com.ibm.db2.jcc.DB2Driver"
    InitialCapacity="5"
    MaxCapacity="60" Name="pasrelv3ArchiPool"
    Properties="user=db2;password=db2;language=fr_FR"
    RefreshMinutes="5" Targets="pasrelv3Server"
    TestConnectionsOnReserve="true"
    URL="jdbc:db2://db2_srv:50002/E_PRO"/>
    When we start Weblogic , it seems that weblogic.jdbc.common.internal.ConnectionEnvFactory register the type4 driver but try to use type3 for connection (bold code in the following).
    Here is an extract of jdbc log :
    JDBC log stream started at Wed Mar 28 14:25:23 CEST 2007
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    DriverManager.getDriver("jdbc:db2://db2_srv:60000/PASREL")
    trying driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    getDriver returning driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    DB2 Peak statements = 1
    registerDriver: driver[className=com.ibm.db2.jcc.DB2Driver,com.ibm.db2.jcc.DB2Driver@3789b4ac]
    DriverManager.getDriver("jdbc:db2://db2_srv:50002/E_PRO")
    trying driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    getDriver returning driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    Server db2_srv port 50002 source E_PRO
    SQLException: SQLState(08S01) vendor code(-99999)
    COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0615E Erreur lors de la r?ception de donn?es provenant du socket. Le ser
    veur ne r?pond pas. SQLSTATE=08S01
    at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwReceiveError(SQLExceptionGenerator.java:500)
    at COM.ibm.db2.jdbc.net.DB2Request.receive(DB2Request.java:727)
    at COM.ibm.db2.jdbc.net.DB2Request.sendAndRecv(DB2Request.java:587)
    at COM.ibm.db2.jdbc.net.DB2Connection.SQLConnect(DB2Connection.java(Compiled Code))
    at COM.ibm.db2.jdbc.net.DB2Connection.create(DB2Connection.java(Compiled Code))
    at COM.ibm.db2.jdbc.net.DB2Connection.create(DB2Connection.java(Compiled Code))
    at COM.ibm.db2.jdbc.net.DB2Connection.<init>(DB2Connection.java:245)
    at COM.ibm.db2.jdbc.net.DB2Driver.connect(DB2Driver.java:215)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java(Compiled Code))
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java(Compiled Code))
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java(Compiled Code))
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:283)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:671)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:110)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java(Compiled Code))
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:286)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at $Proxy30.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:3015)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:376)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:164)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at $Proxy41.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.ja
    va:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1309)
    at weblogic.management.Admin.finish(Admin.java:650)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:547)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:214)
    at weblogic.Server.main(Server.java:35)

    Cedric BEURTHERET wrote:
    Hello,
    I have an application using CMP on Weblogic server 6.1 SP4. This application connects to 2 datasources on DB2 V7 with a type3 driver.
    One of the Database is migrating to DB2 V8 and we need to use type4 driver.
    Then we have one datasource on DB2 V7 with type3 driver and one on DB2 V8 with type4 driver :
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="COM.ibm.db2.jdbc.net.DB2Driver"
    InitialCapacity="5"
    MaxCapacity="60" Name="pasrelv3Pool"
    Properties="user=db2pasv3;password=db2pasv3;language=fr_FR"
    RefreshMinutes="5" Targets="pasrelv3Server"
    TestConnectionsOnReserve="true"
         URL="jdbc:db2://db2_srv:60000/PASREL"/>
    <JDBCConnectionPool CapacityIncrement="5"
    DriverName="com.ibm.db2.jcc.DB2Driver"
    InitialCapacity="5"
    MaxCapacity="60" Name="pasrelv3ArchiPool"
    Properties="user=db2;password=db2;language=fr_FR"
    RefreshMinutes="5" Targets="pasrelv3Server"
    TestConnectionsOnReserve="true"
    URL="jdbc:db2://db2_srv:50002/E_PRO"/>Hi. I see the problem. We are loading both your
    driver classes, but we are calling DriverManager.getDriver(URL)
    to get the driver we use for making connections, and
    unfortunately both the drivers you name take the same
    URL, and the second pool is being given the first driver
    by DriverManager. I suggest making an official support case
    for this. This could be quickly fixed.
    Joe
    >
    >
    When we start Weblogic , it seems that weblogic.jdbc.common.internal.ConnectionEnvFactory register the type4 driver but try to use type3 for connection (bold code in the following).
    Here is an extract of jdbc log :
    JDBC log stream started at Wed Mar 28 14:25:23 CEST 2007
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    DriverManager.getDriver("jdbc:db2://db2_srv:60000/PASREL")
    trying driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    getDriver returning driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    Server db2_srv port 60000 source PASREL
    DB2 Peak statements = 1
    registerDriver: driver[className=com.ibm.db2.jcc.DB2Driver,com.ibm.db2.jcc.DB2Driver@3789b4ac]
    DriverManager.getDriver("jdbc:db2://db2_srv:50002/E_PRO")
    trying driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    getDriver returning driver[className=COM.ibm.db2.jdbc.net.DB2Driver,DB2Driver: JDBC 1.22 s030303]
    Server db2_srv port 50002 source E_PRO
    SQLException: SQLState(08S01) vendor code(-99999)
    COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0615E Erreur lors de la r?ception de donn?es provenant du socket. Le ser
    veur ne r?pond pas. SQLSTATE=08S01
    at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwReceiveError(SQLExceptionGenerator.java:500)
    at COM.ibm.db2.jdbc.net.DB2Request.receive(DB2Request.java:727)
    at COM.ibm.db2.jdbc.net.DB2Request.sendAndRecv(DB2Request.java:587)
    at COM.ibm.db2.jdbc.net.DB2Connection.SQLConnect(DB2Connection.java(Compiled Code))
    at COM.ibm.db2.jdbc.net.DB2Connection.create(DB2Connection.java(Compiled Code))
    at COM.ibm.db2.jdbc.net.DB2Connection.create(DB2Connection.java(Compiled Code))
    at COM.ibm.db2.jdbc.net.DB2Connection.<init>(DB2Connection.java:245)
    at COM.ibm.db2.jdbc.net.DB2Driver.connect(DB2Driver.java:215)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java(Compiled Code))
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java(Compiled Code))
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java(Compiled Code))
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:283)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:671)
    at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:110)
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java(Compiled Code))
    at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:286)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:239)
    at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:199)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at $Proxy30.updateDeployments(Unknown Source)
    at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:3015)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:376)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:164)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled Code))
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
    at $Proxy41.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.ja
    va:480)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1309)
    at weblogic.management.Admin.finish(Admin.java:650)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:547)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:214)
    at weblogic.Server.main(Server.java:35)

  • Ldap on os390

    I can't get weblogic 5.1, SP8 to work with the os390 ldap server. I can
    get it to work fine with a Netsape ldap server, but unfortunately I
    really need it to work with the os390 ldap server. I get the following
    error when trying to start weblogic:
    Unable to initialize server:
    weblogic.security.ldaprealm.LDAPRealmException: caught unexpected excepti
    on - with nested exception:
    [netscape.ldap.LDAPException: error result (87)]
    fatal initialization exception
    weblogic.security.ldaprealm.LDAPRealmException: caught unexpected
    exception - with nested exception:
    [netscape.ldap.LDAPException: error result (87)]
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code) at
    java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at
    weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.java:23)
    at
    weblogic.security.ldaprealm.LDAPRealmException.<init>(LDAPRealmException.java:27)
    at
    weblogic.security.ldaprealm.LDAPDelegate.handleException(LDAPDelegate.java:865)
    at weblogic.security.ldaprealm.LDAPDelegate.getGroup(Compiled Code)
    at weblogic.security.ldaprealm.LDAPRealm.getGroup(LDAPRealm.java:75)
    at
    weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1507)
    at
    weblogic.security.acl.CachingRealm.getPrincipal(CachingRealm.java:1092)
    at weblogic.security.acl.CachingRealm.addPermission(Compiled Code)
    at weblogic.security.acl.CachingRealm.setupAcls(Compiled Code)
    This is my ldaprealm.properties file:
    server.alias=os390
    os390.server.host=tsys
    os390.server.principal=racfid=weblogic,profiletype=user,sysplex=testplex
    os390.server.credential=xxxxxxx
    os390.user.dn=profiletype=user,sysplex=testplex
    os390.user.filter=(&(racfid=%u)(objectclass=racfUser))
    os390.group.dn=profiletype=group,sysplex=testplex
    os390.group.filter=(&(cn=%g)(objectclass=groupofnames))
    os390.membership.filter=(&(member=%M)(objectclass=groupofnames))
    This is my weblogic.properties file:
    # weblogic.properties for DEAS V03 on Weblogic 5.1
    # TCP/IP port number at which the WebLogic Server listens for connections
    weblogic.system.listenPort=7001
    weblogic.httpd.enableLogFile=true
    weblogic.httpd.logFileName=logs/access.log
    weblogic.httpd.authRealmName=deas
    weblogic.system.logFile=logs/weblogic.log
    weblogic.jdbc.enableLogFile=false
    weblogic.jdbc.logFileName=logs/jdbc.log
    # allow users to disable cookies
    weblogic.httpd.session.URLRewriting.enable=true
    # register Deas Web Application
    weblogic.httpd.webApp.deas=/proj/devl/deasgui/deas.war
    #weblogic.httpd.webApp.deas=/proj/devl/deasgui/webapp
    # This property says to use LDAP
    weblogic.security.realmClass=weblogic.security.ldaprealm.LDAPRealm
    #weblogic.httpd.authRealmName=deas
    # The following two properties are for debugging ldap only.
    weblogic.security.ldaprealm.verbose=false
    weblogic.security.cache.debug=false
    # This property points to the UrlAcl policy file
    weblogic.security.URLAclFile=weblogicURL.policy
    Does anyone have any ideas what is causing this error?
    Thanks,
    Heather

    I can't get weblogic 5.1, SP8 to work with the os390 ldap server. I can
    get it to work fine with a Netsape ldap server, but unfortunately I
    really need it to work with the os390 ldap server. I get the following
    error when trying to start weblogic:
    Unable to initialize server:
    weblogic.security.ldaprealm.LDAPRealmException: caught unexpected excepti
    on - with nested exception:
    [netscape.ldap.LDAPException: error result (87)]
    fatal initialization exception
    weblogic.security.ldaprealm.LDAPRealmException: caught unexpected
    exception - with nested exception:
    [netscape.ldap.LDAPException: error result (87)]
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code) at
    java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at
    weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.java:23)
    at
    weblogic.security.ldaprealm.LDAPRealmException.<init>(LDAPRealmException.java:27)
    at
    weblogic.security.ldaprealm.LDAPDelegate.handleException(LDAPDelegate.java:865)
    at weblogic.security.ldaprealm.LDAPDelegate.getGroup(Compiled Code)
    at weblogic.security.ldaprealm.LDAPRealm.getGroup(LDAPRealm.java:75)
    at
    weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1507)
    at
    weblogic.security.acl.CachingRealm.getPrincipal(CachingRealm.java:1092)
    at weblogic.security.acl.CachingRealm.addPermission(Compiled Code)
    at weblogic.security.acl.CachingRealm.setupAcls(Compiled Code)
    This is my ldaprealm.properties file:
    server.alias=os390
    os390.server.host=tsys
    os390.server.principal=racfid=weblogic,profiletype=user,sysplex=testplex
    os390.server.credential=xxxxxxx
    os390.user.dn=profiletype=user,sysplex=testplex
    os390.user.filter=(&(racfid=%u)(objectclass=racfUser))
    os390.group.dn=profiletype=group,sysplex=testplex
    os390.group.filter=(&(cn=%g)(objectclass=groupofnames))
    os390.membership.filter=(&(member=%M)(objectclass=groupofnames))
    This is my weblogic.properties file:
    # weblogic.properties for DEAS V03 on Weblogic 5.1
    # TCP/IP port number at which the WebLogic Server listens for connections
    weblogic.system.listenPort=7001
    weblogic.httpd.enableLogFile=true
    weblogic.httpd.logFileName=logs/access.log
    weblogic.httpd.authRealmName=deas
    weblogic.system.logFile=logs/weblogic.log
    weblogic.jdbc.enableLogFile=false
    weblogic.jdbc.logFileName=logs/jdbc.log
    # allow users to disable cookies
    weblogic.httpd.session.URLRewriting.enable=true
    # register Deas Web Application
    weblogic.httpd.webApp.deas=/proj/devl/deasgui/deas.war
    #weblogic.httpd.webApp.deas=/proj/devl/deasgui/webapp
    # This property says to use LDAP
    weblogic.security.realmClass=weblogic.security.ldaprealm.LDAPRealm
    #weblogic.httpd.authRealmName=deas
    # The following two properties are for debugging ldap only.
    weblogic.security.ldaprealm.verbose=false
    weblogic.security.cache.debug=false
    # This property points to the UrlAcl policy file
    weblogic.security.URLAclFile=weblogicURL.policy
    Does anyone have any ideas what is causing this error?
    Thanks,
    Heather

  • Update from Oracle Indentity Manager 9.0.1.0 to 9.0.2.0, Missing XML

    Hi!
    im trying to upgrade my OIM from 9.0.1.0 to 9.0.2.0 using the patches p8484010 and then p13116984, but when im trying to upgrade OIM in my testing VM some errors appear when i try to execute the step *3.2.3 Loading Metadata into the Database* , during the first patch (p8484010) installation, the file in question is the LoadXML.bat.
    it says that several XML's could not be loaded. Are they critical? I have continued the installation and no further errors appear...
    My system specs are:
    Microsoft windows server 2003
    Oracle Database
    and im trying to pass from OIM 9.0.1.0 to 9.0.2.0
    Where goes the console output(errors are in bold):
    C:\patch\9010-9020\db\Metadata>LoadXML.bat jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UserResourceAccess REP_XML_META ..\Metadata\UserResourceAccess.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm AUD AUD_CLASS com.thortech.xl.audit.userprofileaudit.UserProfileAuditor AUD_METADATA_XML ..\Metadata\UserProfileAuditMetadata.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ResourceAccessList REP_XML_META ..\Metadata\ResourceAccessList.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE EntitlementSummary REP_XML_META ..\Metadata\EntitlementSummary.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE PolicyList REP_XML_META ..\Metadata\PolicyList.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE GroupMembershipProfile REP_XML_META ..\Metadata\GroupMembershipProfile.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE PolicyDetail REP_XML_META ..\Metadata\PolicyDetail.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE OIMPassExp REP_XML_META ..\Metadata\OIMPassExp.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ResPassExp REP_XML_META ..\Metadata\ResPassExp.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE GroupMembership REP_XML_META ..\Metadata\GroupMembership.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ApprovalStatusByApprover REP_XML_META ..\Metadata\ApprovalStatusByApprover.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UsersCreated REP_XML_META ..\Metadata\UsersCreated.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = UsersCreated_
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm AUD AUD_CLASS com.thortech.xl.audit.groupaudit.GroupAuditor AUD_METADATA_XML ..\Metadata\GroupAuditMetadata.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE ResourceActivity REP_XML_META ..\Metadata\ResourceActivity.xml
    Failed to load XML. Unable to find record in REP where REPCODE = ResourceActivity_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE OrganizationStructure REP_XML_META ..\Metadata\OrganizationStructure.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE FinanciallySigResources REP_XML_META ..\Metadata\FinanciallySignificantResources.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE AccountActivityInRes REP_XML_META ..\Metadata\AccountsActivityInResource.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = AccountActivityInRes_
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdminPermsByRes REP_XML_META ..\Metadata\DelegatedAdminPermsByRes.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE RequestsInitiated REP_XML_META ..\Metadata\RequestsInitiated.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE RequestsDetailsByStatus REP_XML_META ..\Metadata\RequestsDetailsByStatus.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdminByResource REP_XML_META ..\Metadata\DelegatedAdminByResource.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdminPermsByOrg REP_XML_META ..\Metadata\DelegatedAdminPermsByOrg.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE DelegatedAdministratorsByOrg REP_XML_META ..\Metadata\DelegatedAdministratorsByOrg.xml
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UsersUnlocked REP_XML_META ..\Metadata\UsersUnlocked.xml
    Failed to load XML. Unable to find record in REP where REPCODE = UsersUnlocked_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE UsersDeleted REP_XML_META ..\Metadata\UsersDeleted.xml
    Failed to load XML. Unable to find record in REP where REPCODE = UsersDeleted_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REPCODE UsersDisabled REP_XML_META ..\Metadata\UsersDisabled.xml_
    Failed to load XML. Unable to find record in REP where REPCODE = UsersDisabled_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE PassResetSuccessFail REP_XML_META ..\Metadata\PassResetSuccessFail.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = PassResetSuccessFail_
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE FineGrainedEntExcptByRes REP_XML_META ..\Metadata\FineGrainedEntExcptByRes.xml
    Failed to load XML. Unable to find record in REP where REPCODE = FineGrainedEntExcptByRes_*
    C:\patch\9010-9020\db\Metadata>"C:\Program Files\Java\jdk1.5.0_06\bin\java.exe" -cp "C:\u01\app\oracle\product\9.1.0.1\xellerate\ext\ojdbc14.jar";C:\u01\app\oracle\product\9.1.0.1\xellerate\lib\xlUtils.jar com.thortech.xl.util.LoadXML Oracle oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@10.0.2.15:1521:oim xladm xladm REP REP_CODE RogueAccountsByResource REP_XML_META ..\Metadata\RogueAccountsByResource.xml
    Failed to load XML. Unable to find record in REP where REP_CODE = RogueAccountsByResource_
    Thanks for your help, Cheers

    From which version are you upgrading ?
    Your thread subject says "Update from Oracle Identity Manager *9.0.1.0* to 9.0.2.0, Missing XML " but it seems that you are upgrading to 9102.
    Those errors are related to reports. Have you deleted any reports in your existing OIM like UserCreated Reports etc ? You can check in REP table.
    Note:
    Becareful while pasting logs:
    jdbc:oracle:thin:@<IP>:<Port>:<SID> <USER> <DB_USER_PASSWORD>

  • Closed Connection exceptions every day with WL813 SP3 and 10g

    Every day we get closed connection exceptions (which I think in turn leads to Heuristic Hazard exceptions), the first time we run the tests after restarting Weblogic and database.
    I tried various WL parameters so far but not with much luck. The parameters I tried include setting "Test Reserved Connections", "Test Created Connections", "Test Released Connections", "Connection Creation Retry Frequency", disabling "Allow Shrinking" etc.
    I tried weblogic support but so far not much progress. Any help is greatly appreciated. Following are the log traces.
    Server.log Fragment:
    ####<Mar 23, 2005 12:06:30 AM UTC> <Error> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001112> <Test "select count(*) from dual" set up for pool "TruthPool" failed with exception: "java.sql.SQLException: Closed Connection".>
    ####<Mar 23, 2005 12:06:30 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001128> <Connection for pool "TruthPool" closed.>
    ####<Mar 23, 2005 12:06:31 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001067> <Connection for pool "TruthPool" refreshed.>
    ####<Mar 23, 2005 12:06:31 AM UTC> <Error> <JTA> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <BEA1-1B44D3A1A2E1DF26344B> <BEA-110412> <Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,activeThread=Thread[ExecuteThread: '26' for queue: 'default',5,Thread Group for Queue: 'default'],XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection)) >
    ####<Mar 23, 2005 12:06:31 AM UTC> <Error> <EJB> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+): javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection))
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:294)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
         at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:110)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    .>
    JDBC Log:
    JDBC log stream started at Tue Mar 22 22:44:30 UTC 2005
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
    DriverManager.getDriver("jdbc:oracle:oci:@")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@1c68b20]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@f0b51d]
    SQLException: SQLState(23000) vendor code(1)
    java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1)
    java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1)
    java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1)
    java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(42000) vendor code(936)
    java.sql.SQLException: ORA-00936: missing expression
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CStatement.execute_for_describe(T2CStatement.java:841)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:894)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1124)
         at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
         at com.opsware.impl.servergroup.ServerGroupSQL.refreshLocalCoreMemberships(ServerGroupSQL.java:897)
         at com.opsware.ejb.session.ServerGroupFacadeBean.refreshMembershipsInLocalCore(ServerGroupFacadeBean.java:497)
         at com.opsware._gen.sejb.ejb.session._ServerGroupFacadeBean._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeBean.java:10715)
         at com.opsware._gen.sejb.ejb.session.ServerGroupFacade_686jy5_EOImpl._opsw__refreshMembershipsInLocalCore(ServerGroupFacade_686jy5_EOImpl.java:8902)
         at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5096)
         at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub.refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5091)
         at com.opsware.impl.groupevent.Recalc.performFullRecalc(Recalc.java:204)
         at com.opsware.impl.groupevent.Recalc$1.run(Recalc.java:573)
         at java.lang.Thread.run(Thread.java:534)
    SQLException: SQLState(60000) vendor code(600)
    java.sql.SQLException: ORA-00600: internal error code, arguments: [kpofdr-long], [], [], [], [], [], [], []
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.doDefineExecuteFetch(T2CPreparedStatement.java:1135)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1010)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:913)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2885)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2926)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:92)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:652)
         at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
         at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
         at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
         at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
         at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
         at weblogic.jdbc.wrapper.PreparedStatement.reCreateStatement(PreparedStatement.java:48)
         at weblogic.jdbc.wrapper.Statement.checkStatement(Statement.java:237)
         at weblogic.jdbc.wrapper.Statement.close(Statement.java:300)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseStatement(RDBMSPersistenceManager.java:3419)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResources(RDBMSPersistenceManager.java:3300)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:703)
         at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
         at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
         at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
         at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
         at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
         at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:632)
         at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
         at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
         at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
         at com.opsware.impl.device.DeviceUtil.getLockComment(DeviceUtil.java:316)
         at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:43)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
         at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
         at com.opsware.ejb.RoleClassWads_opugk0__WebLogic_CMP_RDBMS.ejbFindByRoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads__WL_(RoleClassWads_opugk0__WebLogic_CMP_RDBMS.java:1510)
         at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersistenceManager.java:378)
         at weblogic.ejb20.manager.BaseEntityManager.wrapperSetFinder(BaseEntityManager.java:1888)
         at weblogic.ejb20.manager.BaseEntityManager.localWrapperSetFinder(BaseEntityManager.java:1859)
         at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.populateCache(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:111)
         at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.iterator(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:177)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:35)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:964)
         at weblogic.jdbc.wrapper.JTSConnection.internalCommit(JTSConnection.java:404)
         at weblogic.jdbc.wrapper.JTSXAResourceImpl.commit(JTSXAResourceImpl.java:56)
         at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:1251)
         at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:482)
         at weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:421)
         at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1803)
         at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2434)
         at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2365)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:278)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
         at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:110)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection

    Durga Gokina wrote:
    Every day we get closed connection exceptions (which I think in turn leads to Heuristic Hazard exceptions), the first time we run the tests after restarting Weblogic and database.
    I tried various WL parameters so far but not with much luck. The parameters I tried include setting "Test Reserved Connections", "Test Created Connections", "Test Released Connections", "Connection Creation Retry Frequency", disabling "Allow Shrinking" etc.
    I tried weblogic support but so far not much progress. Any help is greatly appreciated. Following are the log traces.
    Server.log Fragment:Hi. The jdbc log shows that some native code error is killing your type-2 JDBC connection,
    and depending on what C bug it is, it could corrupt any other native connection or code.
    I highly recommend you switch to a type-4 driver.
    Joe
    ####<Mar 23, 2005 12:06:30 AM UTC> <Error> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001112> <Test "select count(*) from dual" set up for pool "TruthPool" failed with exception: "java.sql.SQLException: Closed Connection".>
    ####<Mar 23, 2005 12:06:30 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001128> <Connection for pool "TruthPool" closed.>
    ####<Mar 23, 2005 12:06:31 AM UTC> <Info> <JDBC> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-001067> <Connection for pool "TruthPool" refreshed.>
    ####<Mar 23, 2005 12:06:31 AM UTC> <Error> <JTA> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <BEA1-1B44D3A1A2E1DF26344B> <BEA-110412> <Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,activeThread=Thread[ExecuteThread: '26' for queue: 'default',5,Thread Group for Queue: 'default'],XAS
    erverResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:102
    6+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection)) >
    ####<Mar 23, 2005 12:06:31 AM UTC> <Error> <EJB> <m184.dev.opsware.com> <twist> <ExecuteThread: '26' for queue: 'default'> <<anonymous>> <> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)],Xid=BEA1-1B44D3A1A2E1DF26344B(6341523),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=119,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceI
    nfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=twist),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@c806dc,re-Registered = false),SCInfo[twist_domain+twist]=(state=committed),properties=({weblogic.transaction.name=[EJB com.opsware.list.PaginatedListBean.getList(int,int)], weblogic.jdbc=t3://192.168.198.5:1026}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=twist+192.168.198.5:1026+twist_domain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=twist
    +192.168.198.5:1026+twist_domain+t3+): javax.transaction.HeuristicMixedException: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: Closed Connection))
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:294)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
         at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:299)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:110)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    .>
    JDBC Log:
    JDBC log stream started at Tue Mar 22 22:44:30 UTC 2005
    DriverManager.initialize: jdbc.drivers = null
    JDBC DriverManager initialized
    registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
    DriverManager.getDriver("jdbc:oracle:oci:@")
    trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
    getDriver returning driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@29a046]
    registerDriver: driver[className=weblogic.jdbc.jts.Driver,weblogic.jdbc.jts.Driver@1c68b20]
    registerDriver: driver[className=weblogic.jdbc.pool.Driver,weblogic.jdbc.pool.Driver@f0b51d]
    SQLException: SQLState(23000) vendor code(1)
    java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1)
    java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$ACCT_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterAcctIds(SQLHelper.java:45)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:178)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1)
    java.sql.SQLException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_describe(T2CPreparedStatement.java:851)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1012)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8661)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(23000) vendor code(1)
    java.sql.BatchUpdateException: ORA-00001: unique constraint (TRUTH.TMP$DATA_CENTER_ID_PK) violated
         at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367)
         at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8726)
         at weblogic.jdbc.wrapper.PreparedStatement.executeBatch(PreparedStatement.java:137)
         at com.opsware.utils.SQLHelper.setFilterIds(SQLHelper.java:90)
         at com.opsware.utils.SQLHelper.setFilterDcIds(SQLHelper.java:36)
         at com.opsware.list.impl.device.DeviceBaseList.getQuery(DeviceBaseList.java:196)
         at com.opsware.list.impl.device.DeviceBaseList.getIds(DeviceBaseList.java:50)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getDeviceIds(DeviceServerGroupViewList.java:145)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getIds(DeviceServerGroupViewList.java:47)
         at com.opsware.list.PaginatedListBean.init(PaginatedListBean.java:77)
         at com.opsware.list.PaginatedListBean.getSize(PaginatedListBean.java:216)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getSize(PaginatedList_mywl9s_EOImpl.java:154)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(42000) vendor code(936)
    java.sql.SQLException: ORA-00936: missing expression
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CStatement.execute_for_describe(T2CStatement.java:841)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:894)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1124)
         at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:345)
         at com.opsware.impl.servergroup.ServerGroupSQL.refreshLocalCoreMemberships(ServerGroupSQL.java:897)
         at com.opsware.ejb.session.ServerGroupFacadeBean.refreshMembershipsInLocalCore(ServerGroupFacadeBean.java:497)
         at com.opsware._gen.sejb.ejb.session._ServerGroupFacadeBean._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeBean.java:10715)
         at com.opsware._gen.sejb.ejb.session.ServerGroupFacade_686jy5_EOImpl._opsw__refreshMembershipsInLocalCore(ServerGroupFacade_686jy5_EOImpl.java:8902)
         at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub._opsw__refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5096)
         at com.opsware._gen.client.ejb.session._ServerGroupFacadeStub.refreshMembershipsInLocalCore(_ServerGroupFacadeStub.java:5091)
         at com.opsware.impl.groupevent.Recalc.performFullRecalc(Recalc.java:204)
         at com.opsware.impl.groupevent.Recalc$1.run(Recalc.java:573)
         at java.lang.Thread.run(Thread.java:534)
    SQLException: SQLState(60000) vendor code(600)
    java.sql.SQLException: ORA-00600: internal error code, arguments: [kpofdr-long], [], [], [], [], [], [], []
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:630)
         at oracle.jdbc.driver.T2CPreparedStatement.doDefineExecuteFetch(T2CPreparedStatement.java:1135)
         at oracle.jdbc.driver.T2CPreparedStatement.execute_for_rows(T2CPreparedStatement.java:1010)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:913)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2885)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2926)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:92)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:652)
         at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
         at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
         at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
         at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
         at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
         at weblogic.jdbc.wrapper.PreparedStatement.reCreateStatement(PreparedStatement.java:48)
         at weblogic.jdbc.wrapper.Statement.checkStatement(Statement.java:237)
         at weblogic.jdbc.wrapper.Statement.close(Statement.java:300)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseStatement(RDBMSPersistenceManager.java:3419)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.releaseResources(RDBMSPersistenceManager.java:3300)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:703)
         at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
         at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
         at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
         at com.opsware.impl.device.DeviceUtil.getLockUser(DeviceUtil.java:308)
         at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:42)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
         at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.ejbFindByDvcRoleAndKey(DeviceRoleConfig_bbuo9g__WebLogic_CMP_RDBMS.java:632)
         at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.scalarFinder(RDBMSPersistenceManager.java:294)
         at weblogic.ejb20.manager.BaseEntityManager.scalarFinder(BaseEntityManager.java:1662)
         at weblogic.ejb20.manager.BaseEntityManager.localScalarFinder(BaseEntityManager.java:1611)
         at weblogic.ejb20.internal.EntityEJBLocalHome.finder(EntityEJBLocalHome.java:462)
         at com.opsware.ejb.DeviceRoleConfig_bbuo9g_LocalHomeImpl.findByDvcRoleAndKey(DeviceRoleConfig_bbuo9g_LocalHomeImpl.java:132)
         at com.opsware.impl.device.DeviceUtil.getAttributeNL(DeviceUtil.java:224)
         at com.opsware.impl.device.DeviceUtil.getLockComment(DeviceUtil.java:316)
         at com.opsware.vo.DeviceBaseVO.<init>(DeviceBaseVO.java:43)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:21)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:698)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:615)
         at weblogic.jdbc.common.internal.ConnectionEnv.makeStatement(ConnectionEnv.java:1133)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:966)
         at weblogic.jdbc.common.internal.ConnectionEnv.getCachedStatement(ConnectionEnv.java:905)
         at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:350)
         at weblogic.jdbc.wrapper.JTSConnection.prepareStatement(JTSConnection.java:479)
         at com.opsware.ejb.RoleClassWads_opugk0__WebLogic_CMP_RDBMS.ejbFindByRoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads__WL_(RoleClassWads_opugk0__WebLogic_CMP_RDBMS.java:1510)
         at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.collectionFinder(RDBMSPersistenceManager.java:378)
         at weblogic.ejb20.manager.BaseEntityManager.wrapperSetFinder(BaseEntityManager.java:1888)
         at weblogic.ejb20.manager.BaseEntityManager.localWrapperSetFinder(BaseEntityManager.java:1859)
         at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.populateCache(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:111)
         at com.opsware.ejb.RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.iterator(RoleClasses_nx2si8__WebLogic_CMP_RDBMS_roleClassWads_Set.java:177)
         at com.opsware.vo.DeviceSWVO.<init>(DeviceSWVO.java:35)
         at com.opsware.list.impl.device.DeviceServerGroupViewList.getList(DeviceServerGroupViewList.java:173)
         at com.opsware.list.PaginatedListBean.getSubList(PaginatedListBean.java:173)
         at com.opsware.list.PaginatedListBean.getList(PaginatedListBean.java:124)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl.getList(PaginatedList_mywl9s_EOImpl.java:100)
         at com.opsware.list.PaginatedList_mywl9s_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:90)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    SQLException: SQLState(null) vendor code(17008)
    java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:964)
         at weblogic.jdbc.wrapper.JTSConnection.internalCommit(JTSConnection.java:404)
         at weblogic.jdbc.wrapper.JTSXAResourceImpl.commit(JTSXAResourceImpl.java:56)
         at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:1251)
         at weblogic.transaction.internal.XAServerResourceInfo.commit(XAServerResourceInfo.java:482)
         at weblogic.transaction.internal.ServerSCInfo.startCommit(ServerSCInfo.java:421)
         at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ServerTransactionImpl.java:1803)
         at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2434)
         at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2365)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:278)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:244)
         at weblogic.ejb20.internal.Bas

  • JDBC message in logging

    Hi all,
    I've read this before but never saw a comprehensive response on the issue.
    We're getting repeatedly the following message in our Java runtime and Coldfusion engine logging:
    [Macromedia][Oracle JDBC Driver] OS Authentication was requested, but is not supported by this server.
    Now I can imagine this message is not critical but it's clogging up our logfiles. We do the authentication through the DSN with the Oracle ODBC drivers and there is no username/password hardcoded in the DSN. But for some reason the engine tries to authenticate through the JDBC driver (Even if it's not used) at which the connection fails.
    Does anyone know how to stop these messages from appearing in our logging? We do not use the JDBC driver so we have no clue why it's trying to authenticate with that driver, as far as I know it's not even installed on the server so he is probably trying to use the provided internal Coldfusion driver.
    Our Coldfusion version is Coldfusion 8.0.1 Enterprise edition running on a Windows 2003 Server 32-bit.
    Thanks

    I got the same thing using SQLDeveloper shipped with 11g. It is every annoying since sqlplusw.exe is not available anymore, neither iSQLPLUS or SQLPLUS.exe is good enough all of the sudden that I found not much choice of accessing the database on windows ...

  • JDBC notes in OPMN log

    Hello, the $OHOME/opmn/logs/OC4J_foobar.default.island.1 is filled with entries like this:
    name = JDBC type = null
    name = Driver type = JDBC_Driver
    name = CONNECTION_1 type = JDBC_Connection
    name = JDBC type = null
    name = Driver type = JDBC_Driver
    name = CONNECTION_2 type = JDBC_Connection
    name = JDBC type = null
    name = Driver type = JDBC_Driver
    name = CONNECTION_3 type = JDBC_Connection
    name = JDBC type = null
    name = Driver type = JDBC_Driver
    name = CONNECTION_150 type = JDBC_Connection
    name = JDBC type = null
    name = Driver type = JDBC_Driver
    name = CONNECTION_151 type = JDBC_Connection
    What does this mean? Has oc4j opened 151 Database connections? Is these cached?

    Hi Charles
    tahnks for ur reply
    when i click on error log  it shows the the following errors
    @5B\QInformation@     40     10     Item 000010, matl staging date 05.01.12  replaced by current date
    @5B\QInformation@     40     10     Only 0 KG of material MATE6  available
    @5D\QWarning@     40     10     Delivery quantity must be entered for the item
    @5B\QInformation@     40          Outbound delivery  is on backorder (check shipping deadline)
    @5B\QInformation@     40          Outbound delivery  is on backorder (check shipping deadline)

Maybe you are looking for

  • Log files in DB folder

    Hello! Does anyone know if it is necessary to keep all of the .log files in the \zenworks\inv\db folder? There are numerous .log files, created daily, from the very first day that we installed the database on the server (over 2 years ago). Each file

  • Workgroup Manager doesn't show groups in drawer

    OSX Server 10.6.8 on an Xserve. Trying to migrate (manually) a 10.5 setup to a 10.6 system. I exported WM users, then imported them. On the surface all looks well. On the 10.6 system, viewing the list of users, I select a user, then the Groups tab. I

  • Indesign missing fonts, please help!

    Hi! i I just switched from windows 8 to a mac mini. I had indesign CC trial on the PC and now that I switched to a mac fonts are missing n my document. Both versions of indesign were up to date. How do I get my fonts back please help. The font I real

  • Problem mit Digital Editions 4.03. beim Laden von Ebooks

    Ich habe ein Problem mit Digital Editions 4.03. Ich möchte Bücher laden - egal ob über einen Downloadlink eines Ebooksanbieters oder ob ich die downgeloadete Verknüpfung in die DE Bibliothek einfüge (die Ebooks sind schon bezahlt! : ständig öffnet si

  • DEV MII in multiplant context

    Hi, We have a Corporate server installed centrally and MII at each 3 sites.Should there be a single development server for all sites, or a separate development environment for each site? If we can use a single development server for all sites (from a