Anyone successful at using Oracle 9.0.1's XMLType in WebLogic 700?  Works outside of WL

I have code working that uses Oracle's new XMLType column (CLOB implementation).
It works as straight
java with JDBC connection, but fails with "InvocationTargetException null " error
on line :
myClob = CLOB.createTemporary( conn, false, CLOB.DURATION_SESSION );
when I deploy it to WebLogic 700 app server. I cannot use EMPTY_CLOB() - this give
type mismatch
because column is defined as XMLType, not CLOB. How can I make this work in WebLogic?
Thanks!

Hi,
Did you figure out?? I also faced the same problem as you..... Any work
around?
Thanks,
Danny.
"Mary Russell" <[email protected]> wrote in message
news:3d051f7a$[email protected]..
>
I have code working that uses Oracle's new XMLType column (CLOBimplementation).
It works as straight
java with JDBC connection, but fails with "InvocationTargetException null" error
on line :
myClob = CLOB.createTemporary( conn, false, CLOB.DURATION_SESSION );
when I deploy it to WebLogic 700 app server. I cannot use EMPTY_CLOB() -this give
type mismatch
because column is defined as XMLType, not CLOB. How can I make this workin WebLogic?
Thanks!

Similar Messages

  • Has anyone successful​ly used the Blackboard Academic Suite on their BB Curve?

    I cannot get the Blackboard app to function properly and was wondering if anyone has it working on their BB Curve????
    Solved!
    Go to Solution.

    i downloaded "Bolt" browser.  blackboard works perfectly on that browser.  will the BB browser not let you log in to blackboard? that was my problem

  • Anyone out there using Oracle Apps for Non Profit Organizations

    Can anyone tell me what I need to get started to "market" quarterly guest speakers and an annual forum with 8 keynote speakers and other speakers and workshops, all as a non profit business.
    It is non profit 301(c)education - we pay for the travel and accommodation expenses of the speaker/presenters of researcher/scientists, researcher professionals to present their research findings, and pay for the forum coordinator and all other pertinent "business" expenses.

    http://www.adobe.com/aboutadobe/volumelicensing/nonprofit/
    Bob

  • Trying to use Oracle Label Security with a XMLType

    Hi everybody.
    I'm trying to apply some of the Oracle Label Security functionalities to a table created from the annotations of a XML Schema
    (Below I show part of this XML Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xdb="http://xmlns.oracle.com/xdb"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified">
    <xs:element name="FILE_INFO" xdb:SQLType="FILE_INFO" xdb:defaultTable="TABLE_FILE_INFO">
    <xs:complexType>
    <xs:choice>
    <xs:element name="FILE_INFO_DICOM"
    type="FILE_INFO_DICOM_TYPE" />
    <xs:element name="FILE_INFO_ANALYZE"
    type="FILE_INFO_ANALYZE_TYPE" />
    </xs:choice>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="FILE_INFO_DICOM_TYPE" xdb:SQLType="FILE_INFO_DICOM_TYPE">
    <xs:sequence>
    <xs:element name="ELEMENT_INFO_DICOM"
    type="ELEMENT_INFO_DICOM_TYPE"
    minOccurs="0"
    maxOccurs="unbounded"
    xdb:defaultTable="TABLE_ELEMENT_INFO_DICOM"
    xdb:SQLInline ="false"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ELEMENT_INFO_DICOM_TYPE" xdb:SQLType="ELEMENT_INFO_DICOM_TYPE">
    <xs:all>
    <xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1" />
    <xs:element name="GroupTag" type="xs:string" minOccurs="0" maxOccurs="1" />
    <xs:element name="ElementTag" type="xs:string" minOccurs="0" maxOccurs="1" />
    <xs:element name="VR" type="xs:string" minOccurs="0" maxOccurs="1"/>
    <xs:element name="Value" type="xs:string" minOccurs="0" maxOccurs="1"/>
    </xs:all>
    </xs:complexType>
    ................etc
    I've created a security policy that I have tested on relational tables (not based on any object type) and works correctly.
    BEGIN
    SA_POLICY_ADMIN.APPLY_TABLE_POLICY(policy_name => 'policy1',
    schema_name => 'oe',
    table_name => 'TABLE_FILE_INFO',
    table_options => 'LABEL_DEFAULT, READ_CONTROL, WRITE_CONTROL',
    label_function => NULL,
    predicate => NULL);
    END;
    When I try to apply this policy to the XMLSchema-created table (TABLE_FILE_INFO) I get next error messages:
    ORA-22856: cannot add columns to object tables
    ORA-00604 error occurred at recursive SQL level 1
    ORA-12445: cannot change HIDDEN property of column.
    ORA-06512: in "LBACSYS.LBAC_POLICY_ADMIN", line 257
    ORA-06512: in line 2
    I suppose that the main problem is that the apply_plicy procedure is trying to add an extra column to a table created from a defined type.
    So my questions are: It's that true? Is it possible to apply a policy to the content of XML documents, I mean, if I want to restrict that some users see some subset of a XML document based on a specific policy, is there anything similar to Oracle Label security for XML? (as defined with the annotations in the XML Schema, some elements will be mapped to rows of a XMLType-based table when a XML document is inserted into the XMLDB repository (marked to follow the previous XML Schema of course)
    Hope someone can help to solve my doubts...
    Thanks,
    Marcos.

    Have you ever answered this question? If not, have you tried to use the "HIDE" property on your table_options?

  • "Not in a transaction" errors when using Oracle Thin Driver 9.0.1 with Weblogic 6.1

    Within a Tx data source by administered by Weblogic, I receive these
    errors when trying to access a Stored Procedure (that returns a
    resultset) through JDBC.
    The code fails at line ***, with the call to getObject;
    Any ideas?
    -H
    Here's an example of some code:
    try {
    stmt = getConnection().prepareCall(getTarget());
    stmt.registerOutParameter(1, OracleTypes.CURSOR);
    // set the input param
    stmt = JDBCHelper.paramSetter(stmt, getParameters());
    // execute and retrieve the result set
    stmt.execute();
    *** rs = (ResultSet)stmt.getObject(1);
    crs = new CachedRowSet();
    crs.populate(rs);
    a.add(crs);
    setResult(a);
    catch (Exception e) {

    Humphrey,
    Support of a feature means that it's gone though the full QA and
    PM approval cycle and it has been officially declared as supported.
    Feature may work well even if it's not supported. It just means you use
    it at your own risk.
    Regards,
    Slava Imeshev
    "Humphrey" <[email protected]> wrote in message
    news:[email protected]..
    According to the BEA documentation, this version of the driver is not
    supported due to "Known Issues" - does anyone know of what these
    issues are, perhaps there's a list somewhere?
    This is particularly strange since another document from BEA at
    http://e-docs.bea.com/wls/docs61/jdbc/thirdparty.html does mention how
    to upgrade the driver to 9.0.1, with no mention of any problems.

  • RE: (forte-users) Does anyone have experience using OracleLarge Objects

    hi ,
    A few months ago, I tried a oracle stored procedure with a BLOB parameter,
    but Forte(3.l2) could not recognize the blob variable. I used oracle 8.0
    hth
    suma
    -----Original Message-----
    From: Amin, Kamran [mailto:kamran.aminlendware.com]
    Sent: Thursday, March 29, 2001 2:40 PM
    To: 'Forte User Group'
    Cc: Magaliff, Bill
    Subject: (forte-users) Does anyone have experience using Oracle Large
    Objects (LOB's)?
    Does anyone have experience using Oracle Large Objects (LOB's) -
    specifically the CLOB datatype? Forte supports Oracle LONG's but given that
    Oracle is going to phase out that datatype and they're trying to push users
    towards CLOB's instead of LONG's, I want to find out if Forte can handle it
    and, if so, what we should know about mapping Forte datatypes to the Oracle
    CLOB. [Their compatibility matrix for v3.5 indicates suppport under Oracle
    8.1.x, and CLOB's were introduced back in 8.0.x - but the word from Forte is
    that they currently don't support it.]
    thanks in advance.
    ka
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Hi,
    Did you get any solution to this. If yes, please share.
    Thanks,
    Tints

  • Experience using Oracle Forms 10g w IBM Rational Clear Case & Build Forge

    Does anyone have experience using Oracle Forms 10g w IBM Rational Clear Case & Build Forge for configuration mgmt?
    Janice

    Hi,
    We had also different Installation (Win2k3 R2 32Bit and 64Bit.).
    1.) For me personally I didn't recognize benefits with 64 bit
    2.) when using Itanium you defenitely have to recompile. We had one Itanium at one of our customers; As Itanium is not x86 compatible you need to recompile on Itanium. it got kicked out and used for another purpose in cause of this and as mentioned the performance weren't so much higher (or in other words not noticeable). Another reason for getting rid of the damn Itanium was that Forms/Reports on Itanium Platform had some annoying bugs; but this was 10.1.2.0.2 maybe in 10.1.2.3 they're fixed.
    3.) If you want to use Itanium you simply have to transfer your fmb/mmb/pll to your Itanium IAS, and use forms and reports compiler which comes with it to recompile them.
    Generally at the moment we suggest our customers to use 32bit.
    just my 10 cents ;)
    regards

  • How are you Using Oracle Lite?

    I'm doing a little research and am curious how people are using Oracle Lite...any feedback would be helpful, thanks!

    Hi Laurie,
    First, Robert - Lite'n up. This a "user forum" and open to any question, right? If we start chastising people for posting what read to me as a rather innocent question you might not expect to get many questions from newbies and responses from the gurus.
    Laurie, I have ported a J2EE application that uses Oracle enterprise as the database and BEA WebLogic as the server to an "off-line" accessible application that uses OLite and Apache Tomcat. Since this application was already written and we did not want to rewrite any [significant] portion, so I decide on Tomcat instead of OLite's Java engine. However, I will most likely use OLite "Web" application(s) for other apps that we are considering porting to this platform. So far, it seems like a great platform for an application that works with a rdbms.
    Hope this helps with your thesis ; )

  • Has anyone successfully used Oracle EM as a Monitoring Solution??

    Hi All,
    This might be a wrong place to post ;) but anyways. My question is can we use Oracle EM as a Monitoring Solution? If so has anyone successfully used it?
    I have used Oracle EM over the years for mostly managing Databases. Eventually with the Middleware Support I have tried to use it to monitor Middleware Servers, earlier OC4J and recently WebLogic Servers. I however find that most people when talk about EM they think of it as a Business Transaction Monitoring Solution. (Lets keep BTM out for a while I know about that plugin but it is another full set of questions)
    Mostly I get questions as to can we "drill down the transactions" and see who initiated it and "what is being processed at this moment". Here transaction means Business Transaction as opposed "this thread is executing this particular piece of code". People want to know this piece of code is being executed "for Purchase Order XYZ" as opposed to just knowing that purchase order is being processed. If you know what i mean.
    No doubt OEM is great tool for an Admin but does it really sell itself as a monitoring solution? I have not seen a successful implementation so far with OEM being a central monitoring solution. If anyone has any experiences to share it would be great.

    I tried to look at that option. It is available only for the Database. I was looking something more towards say the web Services hosted or the Web Applications hosted on Weblogic instances. Can we find say the Web Service call which had the Purchase Order XYZ in its request, etc.

  • Anyone successfully using WL 6.0 and oracle.jdbc.xa.client.OracleXADataSource?

    My final goal is to have two xa pools pointing to different db's and
    have them in the same user transaction and do a 2 phase commit. I
    can't get past connecting to a single xa datasource. I have "Grant
    Select on DBA_PENDING_TRANSACTIONS to public".
    My config.xml snippet:
    <JDBCConnectionPool
    Name="ModelXaPool"
    Targets="WebApp"
    URL="jdbc:oracle:thin:@SERVER1:1521:DB"
    DriverName="oracle.jdbc.xa.client.OracleXADataSource"
    InitialCapacity="2"
    MaxCapacity="10"
    CapacityIncrement="2"
    Properties="user=uid;password=pw"
    RefreshMinutes="10"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="ModelManagerTxDataSource"
    Name="ModelManagerTxDataSource"
    PoolName="ModelManagerXaPool"
    Targets="WebWORKS"
    />
    My code snippet:
    UserTransaction tx = msgCtx.getUserTransaction();
    tx.begin();
    java.sql.Connection conn =
    (DataSource)ctx.lookup("ModelManagerTxDataSource")).getConnection();
    Statement stmt = conn.createStatement();
    The connection seems to be gotten just fine. On the createStatement,
    I get the following exception.
    java.sql.SQLException: Internal error: Cannot obtain XAConnection
    Creation of XAConnection for pool ModelXaPool failed after
    waitSecs:298
    at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:772)
    at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130)
    at weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
    at weblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.java:71)
    at weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:42)
    Any suggestions/advice?
    Thanks,
    Dale

    Hi Dale,
    What version of Oracle are you using at least 8.1.7 is need to be able to
    use Oracle thin driver/XA. Also the JDBCConnectionPool and TxDataSource tags
    dont seem to match here. Both need to be targeted on to the same server. And
    the name of the pool in TxDataSource need to match the pool you have on the
    server.
    To setup oracle for XA you need to make sure this script is run on the
    server, initjvm.sql (It should be in your oracle installation rdbms scripts)
    and then grant select permission on dba_pending_transactions.
    Are you able to setup a connection pool with a non-XA driver?
    sree
    "Dale Bronk" <[email protected]> wrote in message
    news:[email protected]...
    My final goal is to have two xa pools pointing to different db's and
    have them in the same user transaction and do a 2 phase commit. I
    can't get past connecting to a single xa datasource. I have "Grant
    Select on DBA_PENDING_TRANSACTIONS to public".
    My config.xml snippet:
    <JDBCConnectionPool
    Name="ModelXaPool"
    Targets="WebApp"
    URL="jdbc:oracle:thin:@SERVER1:1521:DB"
    DriverName="oracle.jdbc.xa.client.OracleXADataSource"
    InitialCapacity="2"
    MaxCapacity="10"
    CapacityIncrement="2"
    Properties="user=uid;password=pw"
    RefreshMinutes="10"
    />
    <JDBCTxDataSource
    EnableTwoPhaseCommit="true"
    JNDIName="ModelManagerTxDataSource"
    Name="ModelManagerTxDataSource"
    PoolName="ModelManagerXaPool"
    Targets="WebWORKS"
    />
    My code snippet:
    UserTransaction tx = msgCtx.getUserTransaction();
    tx.begin();
    java.sql.Connection conn =
    (DataSource)ctx.lookup("ModelManagerTxDataSource")).getConnection();
    Statement stmt = conn.createStatement();
    The connection seems to be gotten just fine. On the createStatement,
    I get the following exception.
    java.sql.SQLException: Internal error: Cannot obtain XAConnection
    Creation of XAConnection for pool ModelXaPool failed after
    waitSecs:298
    atweblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:772)
    at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:130)
    at weblogic.jdbc.jta.Connection.createStatement(Connection.java:201)
    atweblogic.jdbc.rmi.internal.ConnectionImpl.createStatement(ConnectionImpl.jav
    a:71)
    atweblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:42)
    >
    Any suggestions/advice?
    Thanks,
    Dale

  • Has anyone successfully used a "WD My Book for Mac" via NAS (plugged into USB port on router) as a Time Machine back-up drive?

    Has anyone successfully used a "WD My Book for Mac" via NAS (plugged into USB port on router) as a Time Machine back-up drive? Apple support tech tried to tell me it wasn't possible and that the only NAS Time Machine could back up to is the Time Capsule, but I'm not buying it. I know it's doable, but I'm having a hard time figuring out which External HDDs will work and which ones won't.  If not My Book for Mac, is there an External HDD that will work? (Running OS X 10.9.1 - Mavericks, btw...)

    Given the nature of backups, my recommendation has always been to use a strategy that is unequivocally supported by Apple. As you already determined Apple Support unequivocally informed you that your proposal will not work, unless your router is an Apple AirPort Extreme or Time Capsule.
    The exhaustive list of devices supported by Time Machine amounts to the following:
    AirPort Time Capsule's built-in hard disk (any model)
    External USB hard disk drive connected to a Time Capsule (any model)
    External USB hard disk drive connected to an AirPort Extreme (current model only)
    A hard disk drive directly connected to your Mac
    That is all.
    Use whatever backup device you want, but you should be aware that this site is full of reports of misery from hapless individuals who had been using NAS devices for Time Machine backups, only to find that they were incomplete, corrupted, or useless when they were required. Apple won't care if you lose your data while using a Time Machine configuration specifically excluded from their technical support documents.

  • Anyone used Oracle 8i/9i AQ?

    Hi, has anyone here used Oracle AQ with it's java interface?
    We are currently using OpenJMS and it dies every week due to memory leak. As we already have an Oracle license so AQ is the next natual product to try.
    Anyone has other free/cheap recommendations for JMS implementations? Has anyone had any bad experience with Oracle AQ?
    Thanks in advance for your feedback.

    See my post at http://forum.java.sun.com/thread.jsp?forum=29&thread=306969.

  • Has anyone been successful in using a HP scanjet on Windows 7 Professional XP Mode?

    has anyone been successful in using a HP scanjet on Windows 7 Professional XP Mode?

    Hi there,
    Could you provide the community with a little more information to help narrow troubleshooting? Which scanjet are you using?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Has anyone successfully used the ZTE Open C with an AT&T microcell?

    I have a ZTE Open C and have had no issues with initial setup w/AT&T. However, like most newer phones the voice signal reception is very weak.
    I've had an AT&T Microcell before, but I don't have one now. For those that are unaware, the microcell allows 3G phones to connect via a 3G signal, but the call is routed through a home broadband internet connection.
    Has anyone successfully used a ZTE Open C w/Firefox OS AND used an AT&T microcell? If yes, did you need to do anything special on the phone or with Firefox OS.

    I don't use a ZTE Open C, however, I do have a ZTE Open (Original) on AT&T and so I'll see if I can help ;D
    I know someone who has a Microcell, and I have used it myself a few times. However, the microcell only works if you have entered in your phone number into settings of the Microcell.
    Check the Microcell settings.
    Check the data connection settings on your FxOS device
    Make sure your Microcell is properly connected to WiFi
    and check the AT&T support page for more info
    For a while, it actually hasn't actually worked for me. I apologize if this doesn't solve your problem :D

  • Has anyone successfully used the Intuit Quicken compatible with Lion upgrade for investment tracking?

    Has anyone successfully used the Intuit Quicken compatible with Lion upgrade for investment tracking?

    Although I gave up investment tracking for personal reasons (I had used Quicken Deluxe 2002 for many years for that reason), my understanding is that the new Quicken 2007 for Lion/Mt. Lion is completely the same feature wise as Quicken 2007 for PPC.  It will run on Snow Leopard, too.
    For $15, why not download it and just try it and LET US KNOW!

Maybe you are looking for

  • Why does my Macbook Pro keep freezing with the spinning beach ball?

    Hi, This issue started yesterday. Every minute or so or less, my Mac will freeze up and I cant do anything, and then the beach ball will pop up for 5-60 seconds before going away, my machine unfreezes, and it happens again pretty quickly. EtreCheck v

  • Oracle table export ot Excel

    Dear folks, I am looking to export some oracle tables into excel format. I tried using sql developer but since the table has huge rows (>12L), it is taking too much time. I tried to export it in csv format also but not getting enough benefit. We do n

  • JTable column movement and scroll bar

    Hello: I have a JTable with about 30-40 columns. Sometimes I would like to drag the column from rightmost to closer to the left end. I am not able to do that in one shot. and instead have to do it in multiple steps. Is there a way for the scroll bar

  • Error when trying to activate ODS

    I am trying to activate an ODS and get an error.  Is there a program that I can run to try and activate.  I know there is an OSS not on this but cannot remember the number.  Error message is Message Type X.  Thanks

  • I can't see in the Kaleidoscope...

    I downloaded the Kaleidoscope Full installer from their site, http://www.kaleidoscope.net. I extracted the .bin file with Stuff It. But the resulting "installer" says its an "Internet Tools Installer". I tried opening it, but I have no application th