BeginRequest on previously used DataControls (for Oracle guys/Steve Muench)

Hi,
We are using JDeveloper 10g (10.1.2.1.0) and ADF BC+JSP in our application.
In our developer team, in tuning tasks we have detected, that all DataControls that were been used be the user in the past (same session) are activated each request (beginRequest) that user realizes, activated and taking an AM out of the pool and maybe this AM not will be used in this request, and maybe neither in any other future request from the user. Then we have that each AM that were used in the past by the user, must will be activated/passivated if pool is small size limited or pool must will be oversized (server big load situations).
When the user ends using this AM, we call its resetState method, like is recommended by Steve Muench at
Re: application modules and a logoff event (for Steve Muench)
but the next ones user requests will make the ADFBindingFilter call beginRequest on all previous AM anyway. Seems that initially the user BindingContext contains references to DataControls (DCDataControlReference) but when the user uses/gets an DataControl its reference is replaced with the real DataControl instance (DCJboDataControl), and seems that DCJboDataControl.beginRequest, gets an AM instance out of pool, I think that this will make that the AM will not be expired/cleared by the PoolMonitor.
We have hard coded a test in our application that seems to work with the normal ADF and application lifecycle (but I don't like this test too much, too much low level coding), basically the DataControl is replaced by its reference when the user ends using it.
And now the questions. Is it a normal situation? Why we must suppouse that all the AM/DataControl previously used by the user will be used in the current request? There's a normal way to do this, maybe a method that when the DataControl is marked with a flag releases it till the next time user needs it (I'd try release(int) and it didn't works in this way)? Any suggestions/explanations about this?
Comments will be very well received. Thanks in advanced.

Hi Steve,
firstly, thank you very much for your so fast answer.
Ok, I'll open a TAR in metalink. I've searched for the bug# 4566186 in metalink, but I didn't found nothing in metalink for this bug number.

Similar Messages

  • Export import - using TOAD FOR ORACLE  and ORACLE DATABASE 10G EXPRESS or s

    Hi all,
    Could you please kindly help me?
    I am using TOAD FOR ORACLE to export a table to flat file A. The tool just supports to distinguish fields by "spaces".
    And the web page of ORACLE DATABASE 10G EXPRESS to import the data from flat file A to another database. To load data to a table from a text file, the web page bases on "comma" to distinguish fields.
    So could you have any suggestion for me? I need to export data via TOAD FOR ORACLE. And then import it to another database by the home page of ORACLE DATABASE 10G EXPRESS or sqlplus.
    Thank you so much for your help!

    Dont use TOAD for exporting your data. Use PL/SQL. Below is the code given in Asktom.com that does what you want.
    create or replace function  dump_csv( p_query     in varchar2,
                                          p_separator in varchar2 default ',',
                                          p_dir       in varchar2 ,
                                          p_filename  in varchar2 )
    return number
    is
        l_output        utl_file.file_type;
        l_theCursor     integer default dbms_sql.open_cursor;
        l_columnValue   varchar2(2000);
        l_status        integer;
        l_colCnt        number default 0;
        l_separator     varchar2(10) default '';
        l_cnt           number default 0;
    begin
        l_output := utl_file.fopen( p_dir, p_filename, 'w' );
        dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
        for i in 1 .. 255 loop
            begin
                dbms_sql.define_column( l_theCursor, i, l_columnValue, 2000 );
                l_colCnt := i;
            exception
                when others then
                    if ( sqlcode = -1007 ) then exit;
                    else
                        raise;
                    end if;
            end;
        end loop;
        dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
        l_status := dbms_sql.execute(l_theCursor);
        loop
            exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
            l_separator := '';
            for i in 1 .. l_colCnt loop
                dbms_sql.column_value( l_theCursor, i, l_columnValue );
                utl_file.put( l_output, l_separator || l_columnValue );
                l_separator := p_separator;
            end loop;
            utl_file.new_line( l_output );
            l_cnt := l_cnt+1;
        end loop;
        dbms_sql.close_cursor(l_theCursor);
        utl_file.fclose( l_output );
        return l_cnt;
    end dump_csv;
    /Here is the link to this thread in asktom.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:95212348059

  • How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

    I created a virtual machine on vmware workstation 6 and installed OEL4.
    during first install I created 20 GB disk but now I want to add more disks.
    from vmware documentation I tried to add more 8 gb disk to the virtual host.
    under devices I see two lines;
    Hard Disk (SCSI 0:0) 20.0 GB
    Hard Disk (SCSI 0:2) 8.0 GB
    but I must be missing some step since I can not see 20 + 8 gb at df;
    [root@antuhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              13G  9.7G  2.3G  82% /
    none                  506M     0  506M   0% /dev/shm
    /dev/sda2             4.9G  851M  3.8G  19% /homeThank you.

    Oh the check the answer from Re: How to add additional disks on vmware OEL4 and use it for Oracle 10gR2?

  • Because it is better to use ADF for oracle SOA/BPM

    because it is better to use ADF for oracle SOA/BPM?
    TKY for your answers
    yango901

    Generally it is if you're comparing identical compressors & resolutions but there's something else happening here.  If you're worried about quality degrading; check the original file details on the camera (or card) either with Get Info or by opening in QuickTime and showing info. You should find the iPhoto version (reveal in a Finder) is a straight copy.  You can't really increase image quality of a movie (barring a few tricks) by increasing file size but Apple editing products create a more "scrub-able" intermediate file which is quite large.
    Good luck and happy editing.

  • Getting backup using "backint for Oracle" to work

    Hi
    We are trying to get the backups to work on MaxDB 7.6 using the backint for Oracle interface.
    I have created an environment/config file and set the variable NSR_ENV.  The contents of this file is as follows:
    NSR_HOST           cmsapapp01.csenergy.com.au
    NSR_HOME           "C:\Program Files (x86)\Legato\nsr\bin"
    NSR_POOL           SAPData
    NSR_EXPIRE         year
    NSR_EBIDTYPE        NSAVETIME
    NSR_USEOUTPUT        SAVE
    I have created a backup media with the following options:
    Backup Type:  Full Backup
    Device Type:  PIPE
    Backup Tool:  NSR
    Device File:  c:\temp\file.pipe0
    When I run this, I get the following error:
    Begin of error output of NetWorker (C:\WINDOWS\TEMP\temp1204089773-1)----
            save: VSS Enabler is requested from NetWorker License Manager.
            save: c:\temp\file.pipe0: No such file or directory
    Am I doing something wrong...
    OS is Windows 2003.
    Thanks
    Doug

    Hello Doug,
    on Windows the pipe syntax is as follows:
    .\pipe\<pipename>
    HTH,
    Melanie

  • Why should we use BRTOOLS for  oracle data backup?

    Hi there,
    Any one of you have any idea on specific advantages with using BRTOOLS for backup over using only Oracle RMAN?
    Are there any advantages using brbackup in databackups which we do not get with RMAN alone?
    thanks
    Arlin

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Have anyone used rejectedMessageHandlers for Oracle ESB 10.1.3.1---urgent

    Hi,
    I am using rejectedMessageHandlers property for Oracle ESB(10.1.3.1).
    I am reading data from a file and writing out the data into another file.I need to implement the following scenario:-
    If it enconters some error in the structure of the file or encountered any error while reading the source file then it will generate a file dumping the error message and the payload.
    For this I have used an endpoing property in "DefaultSystem_Read_RejectionHandler.esbsvc" (the esbsvc file for the File Adapter service for source file).
    *<endpointProperties>*
    *<property name="rejectedMessageHandlers" value="file://C:/jdevstudio10133/jdev/mywork/RejectionHandler/ESBRejectionHandler/reject"/>*
    *</endpointProperties>*
    But the file that is getting generated is "INVALID_MSG_null_Read_20081229_064024_0117.dat" with no data in it.
    Can I use the property rejectedMessageHandlers for version 10.1.3.1 for Oracle ESB?Did anyone tried it out?
    Can anyone also guide me with links or docs regarding usage of RejectedMessageHandler for Oracle ESB and Oracle BPEL.
    thanks
    Edited by: user612888 on Jan 5, 2009 9:17 PM

    Thanks Marc.
    I was not able to find the patch on metalink. Could you please give me the patch number specific to only ESB 10.1.3.4 if you have.
    I have the 10.1.3.4 patch number(7272722) for the complete SOA suite.
    Also please comment on adapters part.
    Thnaks.

  • Using ZFS for Oracle RAC 11gR2 binaries

    Hi,
    We have following scenario,
    Two Node Cluster: Oracle RAC 11Gr2 with Clusterware on Solaris 10
    We want to keep Oracle & Clusterware binaries on ZFS mirror file system on each node locally and for Data files, FRA, Voting disks & OCR on shared SAN using ASM.
    My question, is the above scenario certified by Oracle or can we keep Oracle binaries on ZFS...?
    Will appreciate your input.
    Thanks

    Well my confusion started after reading this doc on oracle support:
    Certification of Zeta File System (Zfs) On Solaris 10 for Oracle RDBMS [ID 403202.1]
    "Oracle database 10gR2 (10.2.0.3 and higher patches), 11gR1 (11.1.0.6 and higher patches) and 11gR2 (11.2.0.1 and higher patches) are certified with Solaris 10 ZFS on Sparc 64-bit and Solaris x84-64. See Solaris ZFS_Best_Practices_Guide. This is for single instance ONLY. ZFS is currently not applicable to RAC and not Certified to use it as a shared filesystem."

  • Oracle VM Manager: Includes a Restricted-use License for Oracle Database?

    I'm evaluating OVM and OL for building a small private cloud and - at this stage of the evaluation - am primarily focused on making sure that I understand the licensing requirements of Oracle virtualization.
    The Oracle® VM Installation and Upgrade Guide for Release 3.1.1 states that...
    Oracle VM Manager includes a restricted-use license of the
    Oracle Database (Standard Edition or Enterprise Edition) for use as
    the Oracle VM Manager Management Repository only. The supported
    version of Oracle Database are...
    Am I understanding this correctly? Does this mean that, for the purposes of implementing Oracle VM Manager, it will not be necessary to purchase a license for Oracle Database (11g) Standard Edition?
    Eric Pretorious
    Truckee, CA

    For the uninitiated and/or impatient: In order to use Oracle Database 11g SE/EE instead of Oracle Database XE...
    >
    Oracle VM Manager can be installed in a demo installation using Oracle XE, or as a production installation using Oracle SE or EE. The demo installation installs Oracle XE on the local host and configures it to use as the repository. *The production option collects information on the pre-installed Oracle Database* and uses it as the repository...><ol>
    <li>Go [url http://www.oracle.com/us/products/database/standard-edition/overview/index.html]the Oracel Database 11g product page.
    <li>Follow the link to [url http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html?ssSourceSiteId=ocomen]the Download Page.
    <li>Follow the link to your preferred architecture.
    <li>Review and accept the EULA.
    <li>Download the packages.
    <li>Follow the link to the Documentation Page:
    3. Installation guides and general Oracle Database 11g documentation are here.<li>Follow the link to the documentation about "Installing and Upgrading".
    <li>Download the Database Quick Installation Guide for your preferred architecture.
    </ol>
    Eric Pretorious
    Truckee, CA
    Edited by: epretorious on Sep 13, 2012 6:50 PM - Added a signature.

  • Anybody has a working customer case on using SLT for Oracle to HANA migration?

    Hi Team,
    We had a request for Oracle to HANA realtime.
    And we know that SLT supports the same.
    Would like to know if there was any customer case or Valuable points to be taken care for the same?
    PS: Writing this thread to get a quick help if anybody has done the same already. Meanwhile we are trying to setup the same and check.
    Regards,
    Krishna Tangudu

    Hello Tobias Koebler
    Request your help with this. Can you help me in understanding if there are any active customers or case studies where they have replicated the data from Oracle to SAP HANA?
    I got only this link:
    http://events.asug.com/2013AC/Business%20Integration%20Technology%20&%20%20Infrastructure/0603%20Implementing%20SAP%20HA…
    Awaiting your response
    Regards,
    Krishna Tangudu

  • Using Toad for Oracle

    Hi All,
    I am using Oracle 10g ver. I am able to connect to this database server using SQLDeveloper.
    I have recently installed Toad.
    I have installed Oracle Client 10.2.0 to run Toad.
    And as I have read tnsnames.ora needs to be created in $ORACLE_HOME/network/admin.
    But i do not see any network/admin directory structure in the $ORACLE_HOME.
    I have manually created this structure and placed tnsnames.ora here.
    The entries are as follows:
    DUMMY_LIVE =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (Host = xxxx)
    (Port = 1521)
    (CONNECT_DATA = (SID = xxx)
    When I run Toad, the oracle home (D:\oracle\product\10.2.0\client_1) is shown as valid.
    But when I connect to this database, the error "ORA-12154:TNS: could not resolve the connect identifier specified" comes up.
    Can somebody please tell me where am I going wrong?
    Where exactly should tnsnames.ora be placed?
    Thanks in Advance,
    Sandhya

    There is a list box and button on the Toad connection screen for setting the default oracle home. You must make sure that is set properly. The button next to the list box will open a little registry editor like interface to show you what homes are there and which one you have selected by default. Make sure you have chosen the correct home (the one you though it was supposed to use) - and maybe check the box back on the connection screen that say to make this the defailt for all future connections.

  • Benefits vs Disadvantages of using DNS for Oracle RAC (12c or 11g)

    For nearly all of my Oracle RAC Builds, I've used /etc/hosts and not DNS.  As such I've not been able to take full advantage of GNS and SCANS.
    Please note some of your experiences associated with the benefits of using DNS configuration for your Oracle 12c RAC Builds.   I'm building my 12c RAC now and I'm starting to configure DNS so that I can provide my customers with better value/add of High Availability.   I've used /etc/hosts in the past and one of my arguments in using /etc/hosts can be more secure because you only put in the /etc/hosts what you want the node to know.   I also beleave that using /etc/hosts is a lot more simple and perhaps that could be a potential vulnerability.   I've decided to start using DNS and to learn how to make it secure.
    Your experiences are appreciated.  Thanks in Advance!

    I see no disadvantages using DNS.
    What happens with your clients if your DNS goes down? It stop working?
    What is the cost to manage the host files from all host desktop and servers?
    I see no reason to not use DNS.
    > For nearly all of my Oracle RAC Builds, I've used /etc/hosts and not DNS.  As such I've not been able to take full advantage of GNS and SCANS.
    Wrong... Full advantage of Clusterware, because is not supported use GNS or SCAN without a DNS.

  • ConnectionString using ADO for Oracle 8

    Hi,
    Is is possible to connect to Oracle 8 using ADO? This connection string works using DAO:
    connect_string = "ODBC;DSN=DSN_NAME;UID=USERID;PWD=PASSWORD;APP=APP_NAME;DB=DATABASE;SRVR=SERVER" .
    Do you need an Oracle 10 database to use ADO?
    Thanks in Advance,
    Bill

    Take a look at this document:
    http://e-docs.bea.com/wls/docs61////jdbc/thirdparty.html
    Hope that helps,
    Nils
    S Gopikrishna wrote:
    >
    Hi
    Thanks a lot for the info. I would appreciate if you can tell me how to install
    and use the oracle thin client from WebLogic server.
    Thanks,
    S Gopikrishna
    "Sree Bodapati" <[email protected]> wrote:
    This variable is set on the machine where Weblogic is started. Also you
    will
    need an oracle client install on this machine. You can skip all this
    by
    using the oracle thin driver which does not need any special client
    environment setup.
    hth
    sree
    "S Gopikrishna" <[email protected]> wrote in message
    news:3c341f8a$[email protected]..
    We are running WebLogic server on Solaris machine. We need to access
    Oracle
    8 Database
    installed on another solaris machine from the weblogic server. Can some
    one
    tell
    me where and how to set the environment variable LD_LIBRARY_PATH to access
    the
    database.
    ============================
    [email protected]

  • Using JDriver for Oracle 8i from Weblogic server 6.1

    Hi
    We have solaris machine running Weblogic server 6.1 SP1 and another solaris running Oracle 8i. I have installed client libraries in machine running WLS 6.1. I have set the LD_SERVER_PATH in setEnv.sh file of weblogic. when i create coinnection pool from WLS CONSOLE and i restart it it is throwing an error
    Jan 3, 2002 4:48:21 PM GMT-05:00> <Error> <JDBC> <Cannot startup
    connection pool "OraclePool" weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: System.loadLibrary(weblogicoci37) threw
    java.lang.UnsatisfiedLinkError:
    /oracle8i/CAPS/bea/wlserver6.1/lib/solaris/oci816_8/libweblogicoci37.so:
    ld.so.1:
    /oracle8i/CAPS/bea/jdk131/jre/bin/../bin/sparc/native_threads/java:
    fatal: /oracle8i/product/8.1.6/lib64/libclntsh.so.8.0: wrong ELF class:
    ELFCLASS64
    at weblogic.jdbc.oci.Driver.loadLibraryIfNeeded(Driver.java:226)
    at weblogic.jdbc.oci.Driver.connect(Driver.java:76)
    at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connec
    tionEnvFactory.java:192)
    at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connec
    tionEnvFactory.java:134)
    at
    weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocat
    or.java:698)
    at
    weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java
    :282)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java
    :629)
    at
    weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploym
    entTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploy
    mentTarget.java:279)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploymen
    ts(DeploymentTarget.java:233)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Dep
    loymentTarget.java:193)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
    Impl.java:608)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
    va:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
    MBeanImpl.java:352)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy33.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployme
    nts(ServerMBean_CachingStub.java:2734)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(
    ApplicationManager.java:362)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMa
    nager.java:154)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
    Impl.java:608)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
    va:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
    MBeanImpl.java:352)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy46.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.st
    art(ApplicationManagerMBean_CachingStub.java:480)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1151)
    at weblogic.management.Admin.finish(Admin.java:570)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    at weblogic.Server.main(Server.java:35)
    at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connec
    tionEnvFactory.java:208)
    at
    weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connec
    tionEnvFactory.java:134)
    at
    weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocat
    or.java:698)
    at
    weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java
    :282)
    at
    weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java
    :629)
    at
    weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deploym
    entTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploy
    mentTarget.java:279)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploymen
    ts(DeploymentTarget.java:233)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Dep
    loymentTarget.java:193)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
    Impl.java:608)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
    va:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
    MBeanImpl.java:352)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy33.updateDeployments(Unknown Source)
    at
    weblogic.management.configuration.ServerMBean_CachingStub.updateDeployme
    nts(ServerMBean_CachingStub.java:2734)
    at
    weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(
    ApplicationManager.java:362)
    at
    weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationMa
    nager.java:154)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBean
    Impl.java:608)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.ja
    va:592)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configuration
    MBeanImpl.java:352)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at
    com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
    at
    weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
    at $Proxy46.start(Unknown Source)
    at
    weblogic.management.configuration.ApplicationManagerMBean_CachingStub.st
    art(ApplicationManagerMBean_CachingStub.java:480)
    at
    weblogic.management.Admin.startApplicationManager(Admin.java:1151)
    at weblogic.management.Admin.finish(Admin.java:570)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
    at weblogic.Server.main(Server.java:35)
    I would appreciate if you can offer some help.
    Thanks,
    S Gopikrishna

    IT WORKS FINE FOR ME.
    Script that starts the bwls...
    CTP=t3://wls_ip:port
    JAVA_HOME=/usr/j2se
    WL_HOME=/weblogic61
    ORACLE_HOME=/oracle/oracle_client
    NLS_LANG=american_america.WE8ISO8859P1
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    PATH=$PATH:$JAVA_HOME/bin:/usr/ccs/bin:/usr/ucb:$ORACLE_HOME/bin
    LD_LIBRARY_PATH=$WL_HOME/lib/solaris/oci815_8:$ORACLE_HOME/lib
    export LD_LIBRARY_PATH PATH ORA_NLS33 NLS_LANG ORACLE_HOME
    SET CLASSPATH
    START WLS
    weblogic.properties
    weblogic.jdbc.connectionPool.MyOraPool=\
    url=jdbc:weblogic:oracle,\
    driver=weblogic.jdbc.oci.Driver,\
    loginDelaySecs=1,\
    initialCapacity=3,\
    maxCapacity=9,\
    capacityIncrement=2,\
    allowShrinking=true,\
    shrinkPeriodMins=12,\
    refreshMinutes=10,\
    props=user=orausr;password=orafoousr;server=ORASERVER;weblogic.oci.min_bind_size=1000

  • Getting varchar objects as "???" while using struct for oracle object type

    Hi all.
    I have a problem whith VARCHAR values which is returned from an oracle function. The function returns an oracle type and I get it using STRUCT. I can get all non VARCHAR values of the TYPE like NUMBER and TIME without any problem. But when I get VARCHAR values, they all come as if equal to"???". I called the database function in TOAD and everything works perfect. It seems that somewhere in between we loose the information. Has anyone encountered such a strange problem?
    Part of the code look like:
    CallableStatement callState = null;
              ResultSet rs = null;
              UOAReturnType result= new UOAReturnType();
              try
                   callState = getConnection().prepareCall("{?=call Call.UACBS.GETREDL(?)}");
                   callState.registerOutParameter(1, OracleTypes.STRUCT,"CALL.TYPE_REDL_RO");
                   callState.setString(2,msisdn);
                   callState.execute();
                   Struct RedlRoStrct = (Struct)callState.getObject(1);
                   Object[] redlRo = RedlRoStrct.getAttributes();
                   Struct redlStruct = (Struct)redlRo[0];
                   Object[] redl =null;
                   if(redlStruct!=null){
                        redl = redlStruct.getAttributes();
                        result.setMsisdn(redl[0].toString());
                        try {
                             result.setTime(UtilDate.getDate(redl[1].toString(),dateFormat,custLocale));
                        } catch (NullPointerException e2) {
                             result.setTime(null);
                             e2.printStackTrace();
                        result.setReason(Integer.parseInt(redl[2].toString()));
                        result.setSource(redl[3].toString());
                   Struct opReturnStruct = (Struct)redlRo[1];
                   Object[] opReturn = opReturnStruct.getAttributes();
                   result.setResultCode(Integer.parseInt(opReturn[0].toString()));
                   result.setResultDescription(opReturn[1].toString());Any idea will be appreciated.
    Thanks.......

    Hi,
    I don't think it is a java problem.You can see time and number types because the characters are digits. My guess is that it has something to do with some settings on the client. Try to have the NLS_LANG environment variable appropriately set. Also try invoking your test script from sqlplus to see if the results actually work.
    Kiros

Maybe you are looking for