Anyone get CLOB.createTemporary to work in WebLogic w/ Ora 9.0.1?

I've got code that works in java for temporary CLOB in Oracle 9.0.1. It works using JDBC Client API or Oracle connection pooling. But when I deploy to WebLogic App Server, I get
"java.lang.reflect.InvocationTargetException null" on the statement:
myClob = CLOB.createTemporary(conn, false, CLOB.DURATION_SESSION);
I read that temporary clob was an Oracle extension. That would lead one to believe that WebLogic may not support it. And I tried tweeking classpath/path to use Oracle's jars first, etc. I've also tried different ways of connecting: JDBC Client, straight RMI, and JNDI lookups, trying to get around "WebLogic"... Is this a losing battle and do I have to modifiy my code to use the EMPTY_CLOB() functions, or has someone gotten this to work? THANKS!

I've talked with BEA on this issue. They say that the CLOB.createTemporary() method signature indicates that it takes a
generic JDBC object, but it in fact takes an Oracle-specific object. They say "Oracle is lying to us" and say that
as a result, my code will not work if using a WebLogic Connection Pool. I realize the risks of using vendor-specific
extension methods, but I would think that if I configure the WL app server to use the oracle classes12.zip and put it in
front of CLASSPATH, etc. that this would work. It does not, with the BEA reason stated above. I really like this
CLOB.createTemporary method and refuse to change my code. Any words of wisdom, especially from an
Oracle insider? Thanks!
I've got code that works in java for temporary CLOB in Oracle 9.0.1. It works using JDBC Client API or Oracle connection pooling. But when I deploy to WebLogic App Server, I get
"java.lang.reflect.InvocationTargetException null" on the statement:
myClob = CLOB.createTemporary(conn, false, CLOB.DURATION_SESSION);
I read that temporary clob was an Oracle extension. That would lead one to believe that WebLogic may not support it. And I tried tweeking classpath/path to use Oracle's jars first, etc. I've also tried different ways of connecting: JDBC Client, straight RMI, and JNDI lookups, trying to get around "WebLogic"... Is this a losing battle and do I have to modifiy my code to use the EMPTY_CLOB() functions, or has someone gotten this to work? THANKS!

Similar Messages

  • Anyone Get Live Update to Work on Win XP 64 Bit?

    The following happened when I installed MIS Live Update from both the MB's cd and the latest version of Live Update (v 3) downloaded from the MSI website.
    Installed Liveupdate.  Installation went fine.
    Said to restart comp.  Restarted comp.
    Windows booted.  Got error message "The service was not started".
    Computer restarted with no input from me.
    Windows booted and got same error message.
    Comp restarted again.
    This infinite restart loop continued.
    Pressed F8.  Went to Safe Mode. Uninstalled LIveupdate from Add/Remove Programs in CP.
    Restarted.
    Comp back to normal but no Live Update (as expected).
    Anyone else see this and/ or get Live Update to work with XP 64 bit edition?

    Yes you are right.  The system drive will always be Drive C, but I am not sure if D will be my storage drive or the other sytem drive.  I could always try and find out but just havn't.
    In the past, I had lots of virtual drives (partitions), and HDD's (as many as 10 total IDE devices).  But when the larger drives became more affordable, I prefer running with just 2, the system and storage for the sake of simplicity.  Since I do beta testing, I have having to reformat and reinstall a lot, so this system has worked great for me.

  • X48C - Anyone get 1N timing to work?

    Hey there guys and gals,
    Just recently picked up an X48C -converted over from Nvidia based boards as i didnt like the 780\790s-  I am genuinely impressed with this board and what it can do thus far but there is just ONE snag -isnt there always-   
    No matter what I do or RAM chip I try I cant get the command rate to run at 1N.
    I have manually entered 1N in the BIOS....no deal
    Tried AUTO... it picks 2N of course
    Tried 2N for fun -maybe they were somehow backwards? -...  I got 2N...yay
    Tried Kingston DDR2 667s on the approved mem list...worked at 1T in my 680i board...not here tho...2N all settings above tried
    Tried Corsair DDR2 800s on the list... same results...ALWAYS 2N timing.
    I currently use Patriot 1333's 7-7-7-20s -6-6-6-16 using XMP-  I thought the XMP profiles and settings were messing with things but these dont exist on DDR2 667 and 800 so I'm stumped.
    Anyone get 1N actually working?  if so how the hell?  and pls pls pls tell me    
    Thanks alot guys
    My system:
    E6700 2.66@ 3.37
    2G Patriot 1333 @ 6-6-6-18
    MSI NX8600GTS OC
    SafePower 550 PSU

    Quote from: RemusM on 01-June-09, 19:07:31
    Are you looking for troubles?
    p.s.
    You won't see any performance boost between 1N and 2N on Intel (northbridge) based mainboards.
    On contrary: 1N is a bad choice (stability issues).
    cheers
    WOW     I cant beleive this thread has been replied to after all this time   lol Over a year later....that has to be EPIC in some fashion   
    anywho....I stated my specs at the time in that message -i think it was cuz I just signed up and hadnt filled out my profile fully yet- and I'm glad I did now.   
    As you can see my system has gone thru a few changes since then.  The DDR3 and the X48C havent been replaced or RMA'd and are still running at same speed, same volts.  Tuff lil chips and they arent on the QVL Hey MSI ya might wanna add em!   My retarded cooling helps stave off the heat or I'm sure they'd bake. 
    I disagree with your thoughts on 1N timing tho.  On previous builds and ones for friends etc I have noticed improvements using 1N \ 1T timing.  I will conceed that gain is never constant, meaning I cant claim "It's almost twice as fast!" or some other concrete measurement.  It depends on the board maker, chipset used -ie X48, i975, BX440 ect- and RAM vendor \ chips used -qimonda, samsung etc-.  As for stability, I have only known crappy value priced RAM to ever have issue with the 1N setting and not very often, these are also usually the chips to display the least amount of gain on that setting. Also , a value mobo from any manufacturer could also cause this....the 45 dollar mobo might not be the board for you if ya wanna run with as high settings as possible in other words. One could also compound the issue by combining the 2, somethin I never do   
    I had this same conversation @ guru3d.com in their forums etc I think it was.... neithere of us managed to convince the other tho  lol   It was fun 
    Zyro
    PS   
    Just outta curiosity...what led you guys to this thread after all this time?   

  • Did anyone get RFC callback to work?

    Netters,
    I cannot get a simple RFC callback to work. From an earlier post, the steps were:
    1. Create the client class.
    2. Create the server class.
    3. Assign the "CallbackServer" property of the client class to the server class.
    Sounds simple enough. However, there is one thing that is confusing. The generated server class takes two arguments in the constructor. The first argument is the list of string arguments and the second argument is an instance of ServerHost class. I guess these arguments make sense if I am writing a standalone server. In case of RFC callback, are we supposed to pass null as the arguments?
    I tried using null parameters but still couldn't get the callback to work. Does anyone have a trivial example that you don't mind sharing?
    Even though the connector is in beta stage, we have already started using it for our customers. The hope is that we would get the callback to work.
    Thank you in advance for your help.
    Pradeep

    I just set mine up this evening. I bought it for the same reason as you (to stack). Worked Fine right out of the box. (My Mac wont read the CD that came with it though)
    If you want to rename then you need to connect direct to the Mac.
    One thing I am sure that I read in one post is that you may get interference from the hard drive which can effect the performance of the AEBS. I noticed this as well but have not experimented further.

  • Anyone get Advanced Actions to work after HTML5 conversion?

    Using the HTML5 converter strips out all the Advanced Actions right? - also the Timer widget does not display because no animations allowed? Anyone got Advanced Actions to work in HTML5?
    Many thanks guys.

    Please, read the release notes for the converter, you'll see that nor widgets, nor advanced actions will be converted.
    Lilybiri

  • How to get remote ejb client working with Weblogic 8.1?

    I have Weblogic 8.1 running on a WinXP box behind my firewall. Port 7001 is open to WL and remote browsers can access the console.
    I have a client machine running WinXP on a different network that is remote to the WL server. It can ping the WL server machine.
    I use JVM 1.4.2_08 on all machines.
    If I put my client machine on the LAN with the WL server, then my EJB test client works fine. If I put the client machine on the remote network then the test client fails with a ClassCastException when trying to do a PortableRemoteObject.narrow on the bean home.
    I had this running fine on JBoss 3.22 using RMI over HTTP. I added an HTTP invoker service to my jboss.xml file. I don't know if something similar is needed on the Weblogic side - any ideas on that? All I've done on the WL side is turn on Tunneling - which obviously works because the remote client gets a correct home object when doing a lookup on the bean - based on the IOR string of the home obj.
    Below I include my client code, exception, ejb-jar.xml and my weblogic-ejb-jar.xml.
    Any ideas on what else needs to be done so that a remote client can do a PortableRemoteObject.narrow? My client.jar has all of the EJB classes, and runs fine when run from LAN.
    Thanks,
    --BobC
    Client Code
    Properties p = new Properties();
    p.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    p.put("java.naming.provider.url", "http://66.114.140.213:7001");
    InitialContext ic = new InitialContext(p);
    // Test register bean
    Object homeObj = ic.lookup("tacplanner/register");
    RegisterHome home = (RegisterHome) PortableRemoteObject.narrow(homeObj, RegisterHome.class); // <<< ClassCastException here
    Exception
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    at com.nimblus.tacplanner.test.TestUtils.<init>(TestUtils.java:60)
    at com.nimblus.tacplanner.test.TestUtils.main(TestUtils.java:196)
    ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
    <ejb-jar>
    <enterprise-beans>
    <session>
    <ejb-name>register</ejb-name>
    <home> com.nimblus.tacplanner.server.ejb.stateless.RegisterHome</home>
    <remote> com.nimblus.tacplanner.server.ejb.stateless.Register</remote>
    <ejb-class>com.nimblus.tacplanner.server.ejb.stateless.RegisterSession</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    <resource-ref>
    <description>The Oracle Datasource</description>
    <res-ref-name>java:/OracleDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>register</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </ejb-jar>
    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>register</ejb-name>
    <stateless-session-descriptor>
    <pool>
    <max-beans-in-free-pool>100</max-beans-in-free-pool>
    </pool>
    </stateless-session-descriptor>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/OracleDS</res-ref-name>
    <jndi-name>OracleDS</jndi-name>
    </resource-description>
    </reference-descriptor>
    <enable-call-by-reference>True</enable-call-by-reference>
    <jndi-name>tacplanner/register</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    --------------------

    Problem solved.
    For remote clients you need to generate and use the stub classes for EJB interfaces using Weblogic's appc utility.
    See: "http://e-docs.bea.com/wls/docs81/ejb/appc_ejbc.html#1151900"
    --BobC                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Can't get JSP debugging to work with WebLogic 6.0 and Eclipse 2.1.1

    Is native JSP debugging supported in WebLogic 6.0? If so, what are
              the steps involved in getting it to work? I'm in debug mode and my
              servlets will catch at my breakpoints but the JSP pages' breakpoints
              are ignored. I am using compliance level 1.3 and a JRE 1.3. I tried
              to start WebLogic with the 1.4.2 JRE but I get an exception error on
              the WLS JDK name" field. What am I missing here?
              Thanks!
              

    I appear to have solved it, but it is not clear to me why.
    I created a jar file of the required classes, and placed it in the same directory as the jsp file. My jsp code then looked like:
    <jsp:plugin type="applet" code="nz.astarte.ganttapplet.GanttApplet"
    codebase="."
    archive="GanttApplet.jar"
    jreversion="1.3.1"
    width="400" height="175">
    <jsp:fallback>
    Plugin support could not be determined
    </jsp:fallback>
    </jsp:plugin>
    This works fine. However I would expect to be able to move the jar file to some other directory, so that the jar file and jsp files are separated. I spent hours trying to work out why it wouldn't work when I had the jar
    file in WEB-INF/classes (under the jsp file directory) and had codebase="WEB-INF/classes/". In the end I put the jar file into a directory I defined separately called wotnot and defined codebase="wotnot/"
    Now it works. However I still think I should be able to have the jar file anywhere, including WEB-INF/classes and would love for someone to tell me why not!
    Thanks, Andrew

  • Anyone get X99S Gaming 7 working with an XP941?

    This FB post by MSI seems to indicate that an XP941 would work well with a new X99S board, but I can't get my new Gaming 7 board to even recognize that it has the drive in the M.2 slot. Has anyone gotten this board/drive combination working? I'm trying to figure out if the drive or the motherboard is faulty or maybe if the bios just isn't compatible with it yet.
    Before you ask, yes I have the latest bios available on the download page, which supposedly adds support for more m.2 devices. I assume that with the popularity of the Samsung m.2 drives, the XP941 must be tested/working by now. Anyone know?

    HALF-FIX found!
    But another problem rises
    Alright here goes: disable XMP
    I bought two MSI x99s SLI PLUS, in part because I wanted to use the XP941 and it was recommended by MSI
    One of the board strangely was not offering any XMP settings, on the first one when booting to UEFI it would display an XMP button, on the first board I activated it, on the second one it was just not available even if the exact same ram was used (Corsair vengeance DDR4 2800). When installing windows I noticed the XP941 was showing up, I was very happy and basically assumed the other one was defective.
    The RAM thing kept being annoying me though and I noticed in MSI Intel extreme utility that when running the RAM stress test it would just fill 3112MB of memory rather than the whole 16GB, I thought maybe my RAM was defective in some way so I plugged the first workstation back and turned it on and ran the stress test on it again only to notice it would not fill the RAM on this system either. Happy that this was normal I rebooted disable XMP and entered 2666 as the speed leaving the processor at base value, this way both station would be identical.
    That's where the magic happened, the XP941 suddenly showed up in the disk management utility and I was able to format it.
    I still cannot booth from it though but as far as my needs are concerned using it as a data drive is all I wanted.
    the 2nd problem remain; why is one board offering me an XMP option and not the other, should I worry about having defective RAM? (BIOS version are identical 1.10, the latest).

  • Anyone get H.264 to work in Handbrake?  Others?

    On the MAC has anyone gotten H.264 encoded video to transfer to the iPod (I detest the term V-iPod, vPod or any of the other tacky names people are giving it)???
    MPEG-4 encoded video via Handbrake or Toast works fine, but I'd like to transfer H.264. QT Pro is the only app to do this, but it will not transfer direct from DVD like Handbrake does....
    If you did get H.264 to the iPod other than QT Pro, please post here.
    Thanks,
    Jason

    This works. I have tried it. http://www.kaisakura.com/fortytwovx.php
    I second this program. Just tried it and am very satisfied with the results. However, the previous responder did not tell the whole story. Unlike HandBrake, this application does not decrypt, so you would need to runt it through something like MacTheRipper, DVDBackUp, or 0SEx 0.0110a1 first. On the good side, this new version of a somewhat older program is probably one of the most functional you will find for the Mac. Once all of the needed modules are loaded, you can automatically prepare .m4v files for the iPod directly from the DVD or from other files (e.g., QuickTime, etc.), select chapter segments (e.g., chapter clips, TV episodes, etc.), select audio tracks (if more than one available), and then preview your selections in a player.
    This latter has been of great benefit to me where I have had to make multiple passes to extract individual episodes or selected the wrong video and/or audio segments in the past and not discovered my mistake until the encoding was finished. Encoding in the default 1-pass mode is less than 1-to-1 on a G5 and the 2-pass mode is about 1.5-to-1 on my original 2.0GHZ model. Audio/Video in h.264 remains clear, sharp, and crisp despite my use of lower data rates (typically 540-550 kbits/sec which equates to targeting a 24-25 minute Doctor Who episode to a 100MB file. In addition, unlike Handbrake, the queue option in this application is fully functional. Finally, every test I've made using the preset iPod output selection has sync'd without problem.
    I consider the $14.99 spent on the program to be well worth the investment.

  • Anyone get this thing to work on an iPhone?

    I can read posts, but I can’t reply. The reply screen loads, but I can’t enter any text in the main text field. Original iPhone running 3.13.

    Scott Falkner wrote:
    I can read posts, but I can’t reply. The reply screen loads, but I can’t enter any text in the main text field. Original iPhone running 3.13.
    You can get it to work. Read my response on the thread asking about the iPad (here). The iPad Safari and iPhone Safari work the same way
    Posted from my iPhone 4
    Message was edited by: CR Henderson to add link

  • TableSorter -- anyone get the icon to work?

    Has anyone used the TableSorter code (found here: http://java.sun.com/docs/books/tutorial/uiswing/components/example-1dot4/TableSorter.java) ...and had the "Arrow" icons work??
    thanks

    nevermind...i forgot to remove the line that was using a diff. table header renderer

  • Did anyone get the Minimax to work as an airdisk?

    I can only find a few posts about the Minimax not working.. Maybe the people who have good experiences with this drive are not yet sharing them with us? Please let me know since I really like the fact that the minimax and the AE can be stacked.
    Thx!
    Olav
    MacBook Core2 Duo 2.0   Mac OS X (10.4.8)   1 Gb SDRAM

    I just set mine up this evening. I bought it for the same reason as you (to stack). Worked Fine right out of the box. (My Mac wont read the CD that came with it though)
    If you want to rename then you need to connect direct to the Mac.
    One thing I am sure that I read in one post is that you may get interference from the hard drive which can effect the performance of the AEBS. I noticed this as well but have not experimented further.

  • Did anyone get DTS Connect (encoder) working on non-Titanium XFi's (PCI

    Wondering if the DTS Neo6 and DTS Interacti've package works on older PCIe XFIs as well...
    Any luck Did anyone try

    You guys have DDL now, I think you should also pay for DTS. What reason would there to upgrade? I am taking my hats off to creative lately, they have really stepped up their game. I just hope and pray that they keep up with regular driver release now.

  • Anyone get iPhone VPN to work?

    I've been able to successfully configure the iPhone's VPN so that it connects to my corporate VPN, but it won't pass any network traffic. I've tried to use my corporate mail account, intranet web sites (both by fqdn hostname and ip address) and no tcp/ip traffic is passed.
    I have the very same username/password PPTP+MSCHAPv2 based VPN connection on my iMac at home and it works just fine.
    Any ideas?
    macbook pro   Mac OS X (10.4.10)  

    I was having similar problems where were resolved by changing the encryption setting (which is bugged).
    For more info check out this thread...
    http://discussions.apple.com/thread.jspa?threadID=1018007&tstart=15
    PowerMac   Mac OS X (10.4.8)  

  • Anyone Get bfile aging to work?? (cmsdk / 9.0.3)

    Subject says it all.
    I think I've turned it on. As in baseball: no hits, no runs, one man left. I can't find any log entries about it. If it is running - it isn't doing anything. Anyone know the definitions of:
    IFS.SERVER.AGENT.CONTENTAGENT.MaxFoldersPerActivationPeriod
    IFS.SERVER.AGENT.CONTENTAGENT.RetentionPeriod
    IFS.SERVER.Class
    IFS.SERVER.SESSION.User
    IFS.SERVER.TIMER.ActivationPeriod
    IFS.SERVER.TIMER.InitialTimeOfDay
    I've RTFM to the point of being blue in the face - please post a pointer in the docs if you have found this. Sheesh, I wish CMSDK had good, thorough documentation.
    ...jlg (Jim)

    1) Export your project to a mdl file using the OWB 9.0.3 client.
    2)Use the "OWB MDL File upgrade utility" which you will find in your 904 installation
    3) Create a new repository for OWB904, and import the upgraded mdl file.
    As far as I know there is no utility that can upgrade the repository directly.
    Roald

Maybe you are looking for

  • Notifications suddenly not appearing at all - help!

    Hello, I have an iPhone 4 running iOS5. Everything has been working just fine for the past few months, including notifications. Then, I noticed over the last few days that I'm just not getting any notifications... not apps like Facebook and Twitter,

  • Passing Blanks instead of  ' # ' in Replacement Path query.

    Hi Experts, I have a main query which gets its cost center values from another query with replacement path variable. The variable should return BLANK to the main query inorder to display all costcenters. But blank is interpreted as '#' and the main q

  • X305-705 no sound to TV

    I have the Qosmio X305-705, and my TV is the Samsung HP-T4254 Plasma. I am having a issue with the audio, I used the HDMI for video and it works great. I was told by a PC rep to use a Monstor 1/8 mini stereo to RCA Cable, which I purchased, and attem

  • Diffrence between TDS report and actual TDS

    A report required which will show diffrence between TDS report and actual TDS, to get status of tds (liability/receivable) or to compare it. so, how to get it in system??? I want information/ suggestions for standard and Z development both.... waitin

  • Where is the best place to put programs to start on X/Openbox startup?

    Hi, There are several places to put programs to startup when you start X or a WM.  I'm using Openbox and presently have placed these into my .xinitrc file, but I'm not sure this really the best place.  Openbox has a autostart file, which sorta looks