Some problems with Oracle and XA in WLS 6.1

Hi,
I am using WLS6.1 SP4 with Oracle Thin driver 8.1.7 and TxDataSources with ConnectionPools
using XA.
I am getting the following error:
java.sql.SQLException: ORA-00604: error producido a nivel 1 de SQL recursivo
ORA-01000: número máximo de cursores abiertos excedido
     at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
     at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
     at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
     at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
     at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:822)
     at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1657)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
     at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
     at weblogic.jdbc.jta.PreparedStatement.executeQuery(PreparedStatement.java:69)
     at weblogic.jdbc.rmi.internal.PreparedStatementImpl.executeQuery(PreparedStatementImpl.java:56)
     at weblogic.jdbc.rmi.SerialPreparedStatement.executeQuery(SerialPreparedStatement.java:42)
     at delta.beans.common.DBQueriesRemesa.getSecuencia(DBQueriesRemesa.java:55)
     at delta.beans.remesas.ImportarRemesa2.remesaRATSB(ImportarRemesa2.java:858)
     at delta.beans.remesas.ImportarRemesa2.execute(ImportarRemesa2.java:122)
     at java.lang.reflect.Method.invoke(Native Method)
     at delta.servlet.contrl.service(contrl.java:161)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
     at delta.servlet.VolverFiltro.doFilter(VolverFiltro.java:101)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2643)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
I have read about this issue in the newsgroup and I know it seems to be a bug
in Oracle Driver.
So, as a workaround, I'm trying to use the Oracle's prepared statement cache features
in order to avoid creations of new statements for each query. I noticed that the
WebLogic prepared statement cache does not work properly, because I put a value
of 10 but when inspecting with WLShell it haven't any hit in the statement cache.
In order to use Oracle's prepared statement cache I have to enable it in the physical
connection, but I don't found in weblogic.jar the class weblogic.jdbc.extensions.WLConnection
which have the method getVendorConnection. In the documentation available at http://edocs.beasys.com/wls/docs61/javadocs/index.html
there is a reference to that class and it haven't any notice since which service
pack it becomes available.
So, is there any way to obtain the physical connection?
Can anybody help me about any of these problems??
Thanks in advance.
Jesús.

The line of code that brings up this exception is:
multiReq = new
= new MultipartRequest((ServletRequest)request,
"c:\\temp", 10485760);
try this: MultipartRequest multiReq = new MultipartRequest((ServletRequest)request,
"c:\\temp", 10485760);
(not sure if that is the problem or not..)

Similar Messages

  • Hi! Everyone, I have some problems with JOIN and Sub-query; Could you help me, Please?

    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!

    Hi,
    fac30d8e-74d3-42aa-b643-e30a3780e00f wrote:
    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!
    As the others have said, the execution plan will give you a better idea about which is faster.
    If you're trying to see how using (or not using) a sub-query affects performance, make the rest of the queries as similar as possible.  For example, include field3 in both queries, or ignore field3 in both queries.
    In this particular case, I guess the optimizer would do the same thing either way, but that's just a guess.  I can't see your execution plans.
    In general, simpler code is faster, and better in other ways, too.  In this case
    tableB
    is simpler than
    (SELECT field1, field2  FROM tableB)
    Why do you want a sub-query in this example?

  • I am not able to download ITunes. I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don

    I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don't see any thing else. Now not sure what else I have to do.
    Thanks,
    Ranjit

    See the further information area of Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Dual G5 late 2004. Some problems with fan and freeze and now can't start

    I just purchased a late 2004 Dual 2.5 Gig, with PCI-x and 1 gig ethernet. 1 Gig of what I presume to be factory ram and blue toothe. Connected to a new 23" Apple display.
    The problems I have been having pale to where I stand now. I am stuck and can't move forward. At this point, the computer is off. When I try to turn it on, it does little to nothing and gradually the fan speed increases until the computer sounds like it wants to take off. The screen either stays dark, or sometimes I see the ? briefly, and then the grey screen with logo and that is where it stops. Currently I can't get past a lot of fan noise??
    Can I get this thing started?? I have tried both starting from CD and hard drive. No luck.
    This whole mess started yesterday and has continually gotten worse. Those details I can get into if needed, but for now, what can I do to see the screen and start over.
    I just bought the machine, and I was doing a clean install that was acting funny. Hard drive sleep mode would cause the machine to not wake up. Specifically it was the monitor that would not wake up. The keyboard and the computer would still respond when I adjusted the volume. The screen was black.
    I narrowed the problem to drive sleep, or monitor sleep by using the energy saver preferences. Just the monitor sleeping wasn't the probem. The computer would wake up. But if the hard drive went to sleep, then I could never get the screen back and the computer acted dormant. The only thing I could get was the volume sound from the computer and lights on the keyboard.
    I ran Techtool Pro 4.1.2 ( i think ) and it reported possibe problems on the hard drive with the volume. I made the changes hoping that would fix the problem? No.
    I decided to flush it all and start over with the install cd, make sure firmware was good, reformat the drive, and then install the System. But instead, I got caught is this loop of death that I can't get out of.
    It had a kernal panic the first day I turned it on, but that was the last one. (dark screen with white message) The computer ran rather sluggish at times. I was shocked at times. Very slow finder response.
    So? Suggestions? I have searched Apple support and tried anything I can think of. This is my first G5, but I have had some exposure to OSX beginning around 10.2. I am at my wits end and would greatly appreciate some input. For now I have to get some sleep.
    Is my battery bad? It just won't start?
    Thank you for any help you can provide, or links to articles!!

    Hi Lawson, and a Warm Welcome to the Power Mac G5 Forum!
    You could try a PMU/SMU reset
    http://docs.info.apple.com/article.html?artnum=300341
    Use the second procedure if you have a button as shown in the photo - use the first method if you don't. You may not have to remove the intake fan assembly to get at the button. Observe static precautions and make sure to press the button once only.
    Then try to start up on the CD/DVD.
    If it fires up ok you could then proceed with the 10.4 install as before, and then combo update to 10.4.8
    http://www.apple.com/support/downloads/macosx1048comboupdateppc.html
    I would connect only a display, wired keyboard and mouse to start with - and disable any of the sleep, etc. Options in Energy Saver.
    You may wish to use the Disk Utility on the 10.4 retail disc(under Utilities in the menu) to Erase and zero(select Security Options) the drive before the install.
    The kernel panic and other problems could have been caused by a corrupted system on the boot drive, or by hardware problems, such as RAM, video card, battery, etc. Some of the hardware stuff is linked-to further down the post here
    http://discussions.apple.com/thread.jspa?messageID=3084827&#3084827
    However, try the PMU/SMU reset and erase/install first, and post again with details if you still have problems.

  • Some problem with Music and Picture application

    Guys please let me know if u had the same problem and how to fix it:
    after installing the IOS 4.1 everything actually works fine until serveral months i notice something was missing and i notice that in the past when we listen to music try to rotate our iphone vertically, the song list will automatically turn to cover artwork, now this features are gone.
    second i notice is the pics, in the past when we turn the phone vertically the pics will also follow the direction we turn the phone, now these feature once again does not function after updating to ios 4.1, i wonder if any of us had the same problem i face and know how to solve the issues.

    Is orientation lock on? Double tap the home button, swipe left to right, far left is the orientation lock button, tap it to lock or unlock.

  • A lot of problems with Oracle and ASP

    Hi, i need to develop a system using ASP and Oracle. I should have started this about 3 weeks ago and I can't in any way connect these 2 technologies.
    First, I tried through ODBC and it could not be done.
    Next, I tried through OLEDB and when I thought that the problem was found...
    set objSessao = Server.CreateObject("OracleInProcServer.XOraSession")
    set objConexao = OraSession.DbOpenDatabase("mozart", "jacto_revendas/bolinha",cint(0))
    These 2 lines seems to be correct, then I had the error "access to object denied", and I read in some forum that it was because some DLLs of %oracle_home%\bin were without permission. I scanned all of them, and gave full access. OK. Then, an error ASP 0177 (error accessing DLL library) appeared and I could not find solution over the Internet.
    And the incredible part is that the error only happens as soon as I start the OS... the second time I try, the script stops and does not show any errors or results... the page keeps processing without an end.
    Please, I can't find anyone that can help me... you are my last hope...
    thanks
    Mozart

    I agree with your suggestion about needing more documentation for APS.NET & Oracle connections. And so the next question is who knows where to find such docs? I've scoured the Oracle & MSDN sites, and have found nothing addressing these permission problems -- at least nothing that fixes the problem. See my recent postings about "access denied exceptions". I've been trying for several weeks to get it fixed, w/o success although I think I'm getting closer & just about to give the ASPNET user total control over EVERYTHING in the oracle home directory tree.

  • Connection Problem with Oracle and Tomcat.

    I was able to enter Oracle using scott/tiger when I did not connect Tomcat.But when I connect tomcat I am unable to log onto Oracle.
    When I logged to the database then I tried to start the Tomcat but it gave an exception.So I went to the task manager and ended the running processes like isqlplus.exe, oracle.exe, tomcat.exe, apache.exe.When I ended all the processes except oracle.exe, tomcat gave an exception. But when I ended oracle.exe Tomcat started working but Oracle stopped working. I don't know what the problem is.
    Can anyone help me out?
    Thanks,
    Sravanthi.

    > Can anyone help me out?
    Yeah sure. Is there a SQL or PL/SQL related question in there.. somewhere.. hiding away?
    After all, you do realise that the name of this forum is SQL and PL/SQL and that it deals with the SQL and PL/SQL languages in the Oracle server.. right?

  • Having some problems with ImageIcons and JLabels

    I'm making a checkers game, and so far it's going pretty well.
    I've got the basic game down, and you can move pieces, jump, your turn ends when you can't jump anymore, etc...
    However, I've had three problems:
    1.) I'm using JLabels to display my board (8 x 8.. well actually 9 x 9 for an outer row labelled A,B,C,D.. 1,2,3,4...) Anyway, I create the JLabels using something that looks like \:
    JLabel square = new JLabel(new ImageIcon("pic.png"));
    Now, the picture loads properly, but it seems like the picture is being cropped, and the top and bottom are getting chopped off, so my 36 x 36 pixel *.gif appears to be 36 x 30.
    You can see how there is a gap created in:
    http://img235.imageshack.us/img235/7765/prob13ky.jpg
    Now the problem may be with the GridLayout I am using, but I set the distance between the components in the container to be 0, 0 so I don't think that GridLayout is chopping my icons. I've also tried setPreferredSize(new Dimension(36,36))
    for both my ImageIcons and JLabels and for my container (which I set to size 2000,2000, just to make sure there was room). If anyone can help me, it's be appreciated.
    2.) I used to be able to view my outside row/column of squares that said A,B,C,D.... and 1,2,3,4... with the square in the corner having a random pic. For some reason now (have no clue why) I now see only the pic in the corner, and then a little gray smudge diagonally under it.
    Pic:
    http://img347.imageshack.us/img347/8308/prob24im.jpg
    I don't know what's wrong. I'm pretty sure it's none of the new methods I've written, as those are all in my static void main (String[] ar) ...... and if I comment all the methods in my main except where I first make the JFrame and set it visible, it still turns out like that. repaint() doesn't help.
    3.) For some reason, when I move another window (AIM, the console window, etc...) over my Swing window, it "erases" (turns gray, just wipes clean) the part where I have my squares that have pieces.
    What's weird is that:
    The border pieces (err.. my one visible corner piece from my second problem) don't get wiped, and some debugging text and JLabels (in a different JPanel) are fine. I don't think the JPanel matters though; the border pieces and the playing squares (which get wiped) are in the same JPanel and same array of squares.
    repaint(); also erases ALL of my playing squares, whereas moving a window over them would only erase the part that the window covered.
    Also, I added a mouseListener so that whenever I move the mouse over a square, it changes the image (to a tinted version, so you know the mouse is over it) and when you move the mouse away, it returns to normal. However, if I wildly swing the mouse around the area, it seems to lock up and freeze for a few seconds. Is there anything I can do to prevent this??
    Thanks in advance.

    It is hard to tell what your problems are without any code at all (I saw your images, but that doesn't make it easy to see what is wrong in your code). If you do post code, please use code tags (see button above posting box).
    I've seen your MouseListener problem before--we had the exact same issue in our code at work. It would freeze up while it processed all of the mouse events (unbearably slow). I'm not at work right now, so I don't recall how it was fixed. Essentially, you need to only process the event periodically. You need to only update the image if the mouse switches squares. Or, only update the image if the distance from the last mouse event is more than some specified amount. We might also have checked the time difference between mouse events before processing a new one. I could look at the code at work tomorrow, if you are still having trouble.

  • Using xorg 1.5 in testing with some problem with keyboard and mplayer

    I have the following lines in my xorg's log file:
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (WW) RADEON(0): R500 support is under development. Please report any issues to [email protected]
    (WW) RADEON(0): LVDS Info:
    (WW) RADEON(0): Unknown vendor-specific block f
    (WW) RADEON(0): Unknown vendor-specific block f
    (WW) RADEON(0): DRI init changed memory map, adjusting ...
    (WW) RADEON(0): MC_FB_LOCATION was: 0xdbffd800 is: 0xdbffd800
    (WW) RADEON(0): MC_AGP_LOCATION was: 0x003f0000 is: 0xffffffc0
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) Warning, couldn't open module evdev
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (WW) RADEON(0): Unknown vendor-specific block f
    (WW) RADEON(0): Unknown vendor-specific block f
    1. my notebook's keyboard works well now, but when I see above error, I installed xf86-input-evdev package, then strange thing happened: when I press the up arrow key, gnome-screenshot was opened, so I cannot use the "Up" key,:( then I have to uninstall the xf86-input-evdev, but I donot know why there are error messages as shown above.
    2. The radeon driver works fine for me ---- at least I think so ----, but I cannot use mplayer -vo gl:yuv=4:lscale=1 somemediafile to play, cause it is too slow
    it says:
    do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
    Try adjusting the vblank_mode configuration parameter.
    my video card is x1300 on Lenovo T60.
    here is my xorg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Synaptics Touchpad" "SendCoreEvents"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "extmod"
    Load "dbe"
    Load "xtrap"
    Load "dri"
    Load "glx"
    Load "drm"
    Load "freetype"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    # Option "Protocol" "auto"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/input/mice"
    Option "Emulate3Buttons"
    Option "Emulate3Timeout" "50"
    Option "EmulateWheel" "on"
    Option "EmulateWheelButton" "2"
    Option "EmulateWheelTimeOut" "200"
    Option "YAxisMapping" "4 5"
    Option "XAxisMapping" "6 7"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    # Option "Device" "/dev/input/mouse2"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "TouchpadOff" "1"
    Option "SHMConfig" "true"
    EndSection
    Section "Monitor"
    #DisplaySize 290 210 # mm
    Identifier "Monitor0"
    VendorName "LEN"
    ModelName "4020"
    Option "DPMS"
    # 1024x768 96dpi
    DisplaySize 270 203
    EndSection
    Section "Device"
    Identifier "Card0"
    Driver "radeon"
    VendorName "ATI Technologies Inc"
    BoardName "M52 [Mobility Radeon X1300]"
    BusID "PCI:1:0:0"
    Option "DRI" "true"
    Option "AGPMode" "4"
    Option "EnablePageFlip" "on"
    Option "ColorTiling" "on"
    Option "DynamicClocks" "on"
    Option "AccelMethod" "EXA"
    EndSection
    Section "DRI"
    Mode 0666
    EndSection
    Section "Extensions"
    # Option "Composite" "0"
    Option "XVideo" "Enable"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1024x768"
    EndSubSection
    EndSection

    sm4tik wrote:Have a look at http://bbs.archlinux.org/viewtopic.php?id=54568
    I decided to keep the old drivers and just ignore the error. I read a dozen mail list entries etc before reverting back, and it seems laptop keyboards are often quite tricky to get working correctly. Also using a non english layout will cause some extra effort.. My suggestion is to uninstall evdev and stick to the old drivers until there's a real reason to switch to evdev.
    Well, after follow the post you gave.
    I think that evdev now is really sucks!
    I agree with you, as long as my whole computer works, I donot care such errors.

  • Having some problems with Xcode and C++

    hi guys , I am learning C++ and I am having the following problem when trying to use .h files.
    Example. I make a new document using Xcode2.3.
    in the source folder I got my main.cpp and i 2nd click it, choose add/file/BSD/header file.
    main.cpp
    #include "funtest.h"
    int main ()
    print_num ( 9 );
    return 0;
    funtest.h
    void print_num (int iNum);
    When I compile with Cmd+R , I get:
    [Session started at 2006-06-26 01:59:31 -0400.]
    ZeroLink: unknown symbol '_Z9printnumi'
    complex2 has exited due to signal 6 (SIGABRT).

    Thanks a lot! I don't recommend you to code too early in the morning :P
    The program now looks like this:
    funciones.cpp
    #include "funciones.h"
    #include <iostream>
    int main ()
    print_num ( 9 );
    return 0;
    funciones.h
    /*funciones utilizadas en el programa*/
    #include <iostream.h>
    void print_num (int iNum)
    std::cout << iNum << endl;
    now it builds and prints a fine "9" as output.
    The only thing that is killing me , is in funciones.h, if I don't use #include <iostream.h> the app doesn't run. And if I include it , it runs but Xcode gives me a warning of old headers.
    thanks again.

  • Some problems with jackdmp and rosegarden

    Hello ,
    I try to build a sound work station with archaudio, here is my configuration:
    kernel= 3.2.16-rt27-1-rt
    jack = 1.9.8
    My /etc/security/limits.d/99-audio.conf
    @audio - rtprio 99
    @audio - memlock unlimited
    I have sound with applications like Qsynth but when i launch Jack with Qjackctl I have these stranges messages:
    14:46:43.202 Baie de brassage désactivée.
    14:46:43.204 Réinitialisation des statistiques.
    14:46:43.254 Changement des connexions ALSA.
    Cannot connect to server socket err = Aucun fichier ou dossier de ce type
    Cannot connect to server socket
    jack server is not running or cannot be started
    14:46:43.265 Changement du graphique des connexions ALSA.
    14:46:46.163 Script de démarrage...
    14:46:46.164 artsshell -q terminate
    Cannot connect to server socket err = Aucun fichier ou dossier de ce type
    Cannot connect to server socket
    jack server is not running or cannot be started
    sh: artsshell : commande introuvable
    14:46:46.618 Script de démarrage terminé avec statut de sortie=32512.
    14:46:46.618 JACK démarre...
    14:46:46.619 /usr/bin/jackd -P84 -dalsa -r44100 -p128 -n3 -D -Chw:0 -Phw:0
    14:46:46.621 JACK a été démarrer avec le PID=959.
    no message buffer overruns
    no message buffer overruns
    no message buffer overruns
    jackdmp 1.9.8
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2011 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK server starting in realtime mode with priority 84
    Jack: Create non RT thread
    Jack: ThreadHandler: start
    Jack: apparent rate = 44100
    Jack: frames per period = 128
    Jack: capture device hw:0
    Jack: playback device hw:0
    Jack: JackDriver::Open capture_driver_name = hw:0
    Jack: JackDriver::Open playback_driver_name = hw:0
    Jack: Check protocol client = 8 server = 8
    Jack: JackEngine::ClientInternalOpen: name = system
    Jack: JackEngine::AllocateRefNum ref = 0
    Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_system val = 0
    Jack: JackEngine::NotifyAddClient: name = system
    Jack: JackGraphManager::SetBufferSize size = 128
    Jack: JackConnectionManager::DirectConnect first: ref1 = 0 ref2 = 0
    Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 0 ref2 = 0
    Jack: JackDriver::SetupDriverSync driver sem in flush mode
    control device hw:0
    control device hw:0
    audio_reservation_init
    Acquire audio card Audio0
    creating alsa driver ... hw:0|hw:0|128|3|44100|0|0|nomon|swmeter|-|32bit
    control device hw:0
    configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 3 periods
    ALSA: final selected sample format for capture: 32bit integer little-endian
    ALSA: use 3 periods for capture
    ALSA: final selected sample format for playback: 32bit integer little-endian
    ALSA: use 3 periods for playback
    Jack: JackSocketServerChannel::Open
    Jack: Bind: addr.sun_path /dev/shm/jack_default_1000_0
    Jack: JackSocketServerChannel::BuildPoolTable size = 1
    Jack: JackEngine::Open
    Jack: Connect: addr.sun_path /dev/shm/jack_default_1000_0
    Jack: JackEngine::ClientInternalOpen: name = freewheel
    Jack: JackEngine::AllocateRefNum ref = 1
    Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_freewheel val = 0
    Jack: JackEngine::NotifyAddClient: name = freewheel
    Jack: JackDriver::ClientNotify ref = 1 driver = system name = freewheel notify = 0
    Jack: JackDriver::ClientNotify ref = 0 driver = freewheel name = system notify = 0
    Jack: JackConnectionManager::DirectConnect first: ref1 = 1 ref2 = 1
    Jack: JackGraphManager::ConnectRefNum cur_index = 0 ref1 = 1 ref2 = 1
    Jack: JackDriver::SetupDriverSync driver sem in flush mode
    Jack: JackGraphManager::SetBufferSize size = 128
    Jack: JackAlsaDriver::Attach fBufferSize 128 fSampleRate 44100
    Jack: JackEngine::PortRegister ref = 0 name = system:capture_1 type = 32 bit float mono audio flags = 22 buffer_size = 128
    Jack: JackGraphManager::AllocatePortAux port_index = 1 name = system:capture_1 type = 32 bit float mono audio
    Jack: JackConnectionManager::AddOutputPort ref = 0 port = 1
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackAlsaDriver::Attach fCapturePortList[i] 1
    Jack: JackEngine::PortRegister ref = 0 name = system:capture_2 type = 32 bit float mono audio flags = 22 buffer_size = 128
    Jack: JackGraphManager::AllocatePortAux port_index = 2 name = system:capture_2 type = 32 bit float mono audio
    Jack: JackConnectionManager::AddOutputPort ref = 0 port = 2
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackAlsaDriver::Attach fCapturePortList[i] 2
    Jack: JackEngine::PortRegister ref = 0 name = system:playback_1 type = 32 bit float mono audio flags = 21 buffer_size = 128
    Jack: JackGraphManager::AllocatePortAux port_index = 3 name = system:playback_1 type = 32 bit float mono audio
    Jack: JackConnectionManager::AddInputPort ref = 0 port = 3
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 3
    Jack: JackEngine::PortRegister ref = 0 name = system:playback_2 type = 32 bit float mono audio flags = 21 buffer_size = 128
    Jack: JackGraphManager::AllocatePortAux port_index = 4 name = system:playback_2 type = 32 bit float mono audio
    Jack: JackConnectionManager::AddInputPort ref = 0 port = 4
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackEngine::NotifyClient: no callback for event = 9
    Jack: JackAlsaDriver::Attach fPlaybackPortList[i] 4
    Jack: Clock source : system clock via clock_gettime
    Jack: JackServer::Start
    Jack: JackThreadedDriver::Start
    Jack: Create non RT thread
    Jack: ThreadHandler: start
    Jack: JackThreadedDriver::Init real-time
    Jack: JackPosixThread::AcquireRealTimeImp priority = 84
    Jack: Create non RT thread
    Jack: ThreadHandler: start
    Jack: JackSocketServerChannel::ClientCreate socket
    Jack: JackSocketServerChannel::BuildPoolTable size = 2
    Jack: fSocketTable i = 1 fd = 11
    Jack: fPollTable i = 1 fd = 11
    Jack: JackRequest::Notification
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackGraphManager::RecalculateLatency port_index = 3
    Jack: JackGraphManager::RecalculateLatency port_index = 4
    Jack: JackGraphManager::RecalculateLatency port_index = 3
    Jack: JackGraphManager::RecalculateLatency port_index = 4
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackGraphManager::RecalculateLatency port_index = 1
    Jack: JackGraphManager::RecalculateLatency port_index = 2
    Jack: JackGraphManager::RecalculateLatency port_index = 1
    Jack: JackGraphManager::RecalculateLatency port_index = 2
    14:46:48.700 Changement des connexions JACK.
    14:46:48.702 Configuration du serveur enregistrée dans « /home/music/.jackdrc ».
    14:46:48.703 Réinitialisation des statistiques.
    14:46:48.710 Client activé.
    14:46:48.718 Changement du graphique des connexions JACK.
    Jack: fPollTable i = 1 fd = 11
    Jack: JackSocketServerChannel::ClientCreate socket
    Jack: JackSocketServerChannel::BuildPoolTable size = 3
    Jack: fSocketTable i = 1 fd = 11
    Jack: fSocketTable i = 2 fd = 12
    Jack: fPollTable i = 1 fd = 11
    Jack: fPollTable i = 2 fd = 12
    Jack: Poll client error err = Success
    Jack: JackSocketServerChannel::ClientKill ref = -1
    Jack: Client was not opened : probably correspond to server_check
    Jack: JackClientSocket::Close
    Jack: JackSocketServerChannel::BuildPoolTable size = 2
    Jack: fSocketTable i = 1 fd = 11
    Jack: fPollTable i = 1 fd = 11
    Jack: JackSocketServerChannel::ClientCreate socket
    Jack: JackSocketServerChannel::BuildPoolTable size = 3
    Jack: fSocketTable i = 1 fd = 11
    Jack: fSocketTable i = 2 fd = 12
    Jack: fPollTable i = 1 fd = 11
    Jack: fPollTable i = 2 fd = 12
    Jack: JackRequest::ClientCheck
    Jack: Check protocol client = 8 server = 8
    Jack: JackRequest::ClientOpen
    Jack: JackSocketServerChannel::ClientAdd
    Jack: JackEngine::ClientExternalOpen: uuid = 0, name = qjackctl
    Jack: JackEngine::AllocateRefNum ref = 2
    Jack: JackPosixSemaphore::Allocate name = jack_sem.1000_default_qjackctl val = 0
    Jack: JackSocketNotifyChannel::Open name = qjackctl
    Jack: Connect: addr.sun_path /dev/shm/jack_qjackctl_1000_0
    Jack: JackShmMem::new index = 2 attached = 67cce000 size = 384
    Jack: JackExternalClient::Open name = qjackctl index = 2 base = 67cce000
    Jack: JackProcessSync::TimedWait time out = 5000000
    Jack: JackProcessSync::TimedWait finished delta = 2269.0
    Jack: JackEngine::NotifyAddClient: name = qjackctl
    Jack: JackDriver::ClientNotify ref = 2 driver = system name = qjackctl notify = 0
    Jack: JackExternalClient::ClientNotify ref = 0 client = qjackctl name = system notify = 0
    Jack: JackDriver::ClientNotify ref = 2 driver = freewheel name = qjackctl notify = 0
    Jack: JackExternalClient::ClientNotify ref = 1 client = qjackctl name = freewheel notify = 0
    Jack: JackSocketServerChannel::BuildPoolTable size = 3
    Jack: fSocketTable i = 1 fd = 11
    Jack: fSocketTable i = 2 fd = 12
    Jack: fPollTable i = 1 fd = 11
    Jack: JackRequest::Notification
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackGraphManager::RecalculateLatency port_index = 3
    Jack: JackGraphManager::RecalculateLatency port_index = 4
    Jack: JackGraphManager::RecalculateLatency port_index = 3
    Jack: JackGraphManager::RecalculateLatency port_index = 4
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackGraphManager::RecalculateLatency port_index = 1
    Jack: JackGraphManager::RecalculateLatency port_index = 2
    Jack: JackGraphManager::RecalculateLatency port_index = 1
    Jack: JackGraphManager::RecalculateLatency port_index = 2
    Jack: fPollTable i = 2 fd = 12
    Jack: JackClient::SetupDriverSync driver sem in flush mode
    Jack: JackPosixSemaphore::Connect name = jack_sem.1000_default_qjackctl
    Jack: JackPosixSemaphore::Connect sem_getvalue 0
    Jack: Clock source : system clock via clock_gettime
    Jack: JackLibClient::Open name = qjackctl refnum = 2
    Jack: jack_set_graph_order_callback ext_client 14285d0 client 14285d0
    Jack: JackClient::Activate
    Jack: fPollTable i = 1 fd = 11
    Jack: fPollTable i = 2 fd = 12
    Jack: JackRequest::ActivateClient
    Jack: JackEngine::ClientActivate ref = 2 name = qjackctl
    Jack: JackProcessSync::TimedWait time out = 58040
    Jack: JackProcessSync::TimedWait finished delta = 2411.0
    Jack: JackExternalClient::ClientNotify ref = 2 client = qjackctl name = qjackctl notify = 2
    Jack: JackClient::ClientNotify ref = 2 name = qjackctl notify = 2
    Jack: JackClient::kActivateClient name = qjackctl ref = 2
    Jack: WaitGraphChange...
    Jack: fPollTable i = 1 fd = 11
    Jack: JackRequest::Notification
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackEngine::NotifyClient: no callback for event = 4
    Jack: JackExternalClient::ClientNotify ref = 2 client = qjackctl name = qjackctl notify = 4
    Jack: JackGraphManager::RecalculateLatency port_index = 3
    Jack: JackGraphManager::RecalculateLatency port_index = 4
    Jack: JackGraphManager::RecalculateLatency port_index = 3
    Jack: JackGraphManager::RecalculateLatency port_index = 4
    Jack: JackClient::ClientNotify ref = 2 name = qjackctl notify = 4
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackClient::kGraphOrderCallback
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackDriver::ClientNotify ref = 1 driver = freewheel name = freewheel notify = 18
    Jack: JackGraphManager::RecalculateLatency port_index = 1
    Jack: JackGraphManager::RecalculateLatency port_index = 2
    Jack: JackGraphManager::RecalculateLatency port_index = 1
    Jack: JackGraphManager::RecalculateLatency port_index = 2
    Jack: fPollTable i = 2 fd = 12
    Jack: fPollTable i = 1 fd = 11
    Jack: fPollTable i = 2 fd = 12
    The last one don't stop to appears 12 11 12 11 etc ...
    When I launch Rosegarden I have this:
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    Jack: JackGraphManager::GetTotalLatency port_index = 5 total latency = 384
    And it never stop ...
    I can't choose a soundfont in fluidsynth-dssi, nothing appears.
    When I minimise rosegarden, the window seems to be infinite by the right ...
    Thank you to help me
    PS sorry for my bad English
    Last edited by leyoy (2012-05-10 20:18:26)

    You can try sth like this.import java.awt.Component;
    import java.awt.Container;
    import java.util.ArrayList;
    import java.util.List;
    public abstract class ContainerTemplate extends Container {
         private static final long serialVersionUID = 3479036542874375087L;
         private ContainerList<ContainerTemplate> containers = new ContainerList<ContainerTemplate>();
         @Override
         public Component add(Component c) {
              if (c instanceof ContainerTemplate) {
                   containers.add((ContainerTemplate) c);
              return super.add(c);
         @Override
         public void remove(Component c) {
              if (c instanceof ContainerTemplate) {
                   containers.remove((ContainerTemplate) c);
              super.remove(c);
         public void printContainers() {
              for (ContainerTemplate ct : containers.list()) {
                   System.out.println(ct);
         private class ContainerList<T extends ContainerTemplate> {
              private List<T> containers;
              public void add(T container) {
                   if (containers == null) {
                        containers = new ArrayList<T>();
                   containers.add(container);
              public boolean contains(T container) {
                   return containers.contains(container);
              public boolean remove(T container) {
                   return containers.remove(container);
              public List<T> list() {
                   return new ArrayList<T>(containers);
    }

  • Iphone 4s has some problems with iMessage and Siri...

         Okay, so I have a iPhone 4s (working on Verizon) and about 3 days ago it wouldn't allow me to txt my friend to her ipad through imessage... I tried it with my other friends too and so when they reply I don't recieve it, they actually have to txt me from their cellphones to get a txt to me. I've looked all over google and now I'm just going to restore/reset it. I was wondering if anybody knew a way to fix this... (also if anybody knows why siri won't ever help me but only give error messages). If the only other option is to try to reset it then will it keep my phone number on it or will I have to take it to the Verizon store to get it to be reactivated with my old cell number? I would call apple but since I didn't get apple care they keep trying to charge me $60 for a free technical call... of course I'm not going to pay that, thats just plain ol' crap. I know this is complicated to follow but if you can follow this then please help me out... (also I'm going to the verizon store later today to see what they can do... hopefully it isn't anything where i have to actually replace the phone...)
                                       THANKS! (Date, July 21,2012 1:00pm)

    By chance, has iMessage been disabled?  To check this, go to settings, scroll down and tap messages, and the first thing you'll see is if iMessage is on or off. 

  • Problem with ORACLE database

    Hi all,
    I am facing some problem with ORACLE database while configuring one JDBC scenario in the receiver side. I have configured one JDBC scenario like FILE TO JDBC. As JDBC is at receiver side i have provided the input file with the following format ,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>employee</table>
              <access>
                    <flag>NO</flag> 
                    <ID>567</ID>
             <NAME>134</NAME>
                 </access>
         </dbTableName>
      </StatementName1>
    </root>
    But in the ORACLE database all my columns are in the uppercase.
    So when i have tried to send this input file to process through JDBC receiver side then i have faced the below error :
    FATAL ERROR: Column 'flag' does not exist in table 'employee'
    Then I have tried to check with sender side processing of JDBC adapter. By using the SQL statements as
    SELECT * FROM EMPLOYEE WHERE flag='NO'
    UPDATE EMPLOYEE SET Flag='YES'  WHERE flag='NO'
    Here it worked fine.
    Now my question is,
    If the same adapter is working when we are writing a query directly(sender side), then we must also allow case independence in the auto generated SQL part(receiver side).
    The JDBC drivers for both SQL server and Oracle, supports the same java code, for accessing the DB, irrespective of the case of the column names.
    Please clarify this doubt as soon as possible.
    Thanks,
    Soorya.

    Hi Dharmaveer,
    When I go with the following input file,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>EMPLOYEE</table>
              <access>
                    <FLAG>NO</FLAG> 
                    <ID>666</ID>
                    <NAME>SSS</NAME>
                 </access>
             </dbTableName>
      </StatementName1>
    </root>
    I will get the following query with succesfull processing.
    INSERT INTO  EMPLOYEE (FLAG, ID, NAME) VALUES (NO, 666, SSS)
    when i go with this input file,
    <root>
      <StatementName1>
         <dbTableName action="INSERT">
             <table>EMPLOYEE</table>
              <access>
                                    <flag>NO</flag> 
                                   <ID>777</ID>
                        <NAME>TTTT</NAME>
                        </access>
                   </dbTableName>
      </StatementName1>
    </root>
    Then i am facing this problem,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'EMPLOYEE' (structure 'StatementName1'): java.sql.SQLException: FATAL ERROR: Column 'flag' does not exist in table 'EMPLOYEE'
    Here I cant get any SQL statement as it is not successfull.
    I have gone through your link but it also says to modify the column in the input file which is not possible for me. Can you please help me in this regard?
    Thanks,
    Soorya

  • Problem with Unicode and Oracle NCLOB fields

    When I try to INSERT a new (N)CLOB into an Oracle database, all is fine until I use a non-ASCII character, such as an accented roman letter, like the "�" (that's '\u00E9') in "caf�" or the Euro Currency symbol "?" (that's '\u20AC' as a Java character literal, just in case the display is corrupted here too). This doesn't happen with "setString", but does happen when streaming characters to the CLOB; however, as Oracle or the driver refuse strings larger than 4000 characters, and as I need to support all the above symbols (and many more), I'm stuck.
    Here's the background to the problem (I've tried to be detailed, after a lot of looking around on the web, I've seen lots of people with similar problems, but no solutions: I've seen and been able to stream ASCII clobs, or add small NCHAR strings, but not stream NCLOBs...).
    I'm using Oracle 9.2.0.1.0 with the "thin" JDBC driver, on a Windows box (XP Pro). My database instance is set up with AL32UTF8 as the database encoding, and UTF8 as the national character set.. I've created a simple user/schema, called LOBTEST, in which I created two tables (see below).
    The basic problems are :
    - with Oracle and JDBC, you can't set the value of a CLOB or NCLOB with PreparedStatement's setString or setCharacterStream methods (as it throws an exception when you send more than 4000 characters)
    - with Oracle, you can only have one LONG VARCHAR-type field per table (according to their documentation) and you MUST read all columns in a set order (amongst other limitations).
    - with a SQL INSERT command, there's no way to set the value of a parameter that's a CLOB (implementations of the CLOB interface can only be obtained by performing a SELECT.... but obviously, when I'm inserting, the record doesn't exist yet...). Workarounds include (possibly) JDBC 4 (doesn't exist yet...) or doing the following Oracle-specific stuff :
    INSERT INTO MyTable (theID,theCLOB) VALUES (1, empty_clob());
    SELECT * FROM MyTable WHERE theId = 1;
    ...and getting the empty CLOB back (via a ResultSet), and populating it. I have a very large application, that's deployed for many of our customers using SapDB and MySQL without a hitch, with "one-step" INSERTS; I can't feasibly change the application into "three-step INSERT-SELECT-UPDATE" just for Oracle, and I shouldn't need to!!!
    The final workaround is to use Oracle-specific classes, described in:
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/index.html
    ...such as CLOB (see my example). This works fine until I add some non-ASCII characters, at which point, irrespective of whether the CLOB data is 2 characters or 2 million characters, it throws the same exception:
    java.io.IOException: Il n'y a plus de donn?es ? lire dans le socket
         at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
         at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
         at oracle.jdbc.driver.OracleClobWriter.flush(OracleClobWriter.java:204)
         at scratchpad.InsertOracleClobExample.main(InsertOracleClobExample.java:61)...where the error message in English is "No more data to read from socket". I need the Oracle-specific "setFormOfUse" method to force it to correctly use the encoding of the NCLOB field, without it, even plain ASCII data is rejected with an exception indicating that the character set is inappropriate. With a plain CLOB, I don't need it, but the plain CLOB refuses my non-ASCII data anyway.
    So, many many thanks in advance for any advice. The remainder of my post includes my code example and a simple SQL script to create the table(s). You can mess around with the source code to test various combinations.
    Thanks,
    Chris B.
    CREATE TABLE NCLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING NCLOB,
         PRIMARY KEY (ID)
    CREATE TABLE CLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING CLOB,
         PRIMARY KEY (ID)
    package scratchpad;
    import java.io.Writer;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.util.Properties;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.sql.CLOB;
    public class InsertOracleClobExample
         public static void main(String[] args)
              Properties jdbcProperties = new Properties();
              jdbcProperties.setProperty( "user", "LOBTEST" );
              jdbcProperties.setProperty( "password", "LOBTEST" );
    //          jdbcProperties.setProperty("oracle.jdbc.defaultNChar","true");
              Driver jdbcDriver = new OracleDriver();
              PreparedStatement pstmt = null;
              Connection connection = null;
              String tableName = "NCLOBTEST";
              CLOB clob = null;
              try
                   connection = jdbcDriver.connect("jdbc:oracle:thin:@terre:1521:orcl", jdbcProperties);
                   pstmt = connection.prepareStatement("DELETE FROM NCLOBTEST");
                   pstmt.executeUpdate();
                   pstmt.close();
                   pstmt = connection.prepareStatement(
                        "INSERT INTO "+tableName+" (ID,SOMESTRING) VALUES (?,?);"
                   clob = CLOB.createTemporary(pstmt.getConnection(), true, CLOB.DURATION_SESSION);
                   clob.open(CLOB.MODE_READWRITE);
                   Writer clobWriter = clob.getCharacterOutputStream();
                   clobWriter.write("Caf? 4,90? TTC");
                   clobWriter.flush();
                   clobWriter.close();
                   clob.close();
                   OraclePreparedStatement opstmt = (OraclePreparedStatement)pstmt;
                   opstmt.setInt(1,1);
                   opstmt.setFormOfUse(2, OraclePreparedStatement.FORM_NCHAR);
                   opstmt.setCLOB(2, clob);
                   System.err.println("Rows affected: "+opstmt.executeUpdate());
              catch (Exception sqlex)
                   sqlex.printStackTrace();
                   try     {
                        clob.freeTemporary();
                   } catch (SQLException e) {
                        System.err.println("Cannot free temporary CLOB: "+e.getMessage());
              try { pstmt.close(); } catch(SQLException sqlex) {}
              try { connection.close(); } catch(SQLException sqlex) {}
    }

    The solution to this is to use a third-party driver. Oranxo works really well.
    - Chris

  • Problem with installing and running some applications or drivers

    When installing and installing some items, towards the end of the installation I get this message:
    /System/Library/Extensions/comcy_driver_USBDevice.kext
    *was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update*
    The end result is that some things do not seem to work properly, such as my HP printer. Would anybody have any ideas on how to fix this problem?

    Thank you for your response. Originally, I had a problem with Airport and ended up reinstalling Snow Leopard. Since then, when downloading upgrades etc, such as HP printer drivers, iTunes etc., towards the end of the download when its running the script, I get this message: /System/Library/Extensions/comcy_driver_USBDevice.kext
    +was installed improperly and cannot be used. Please try reinstalling it or contact product's vendor for update+
    Sometimes, the download hangs and is unable to complete. The main problem I've encountered so far with an application is when I use the printer to scan an image via Preview, it's blank: there's nothing there.

Maybe you are looking for