8.1.6 (Thin) drivers with J2EE???

Hello all,
I am trying to use the 8.1.6 THIN drivers as an XA datasource in J2EE. Has anyone else made this work? I keep getting a ClassCastException thrown while starting the J2EE server. It DOES work if I create an older NON-XA datasource, so I know that my connection and URL are valid.
Any help/examples would be immensely helpful.
Thanks in advance,
Randy

all jdbc oci drivers require the matching client install on the same platform.
(i.e. The 817 JDBC oci driver requires the RDBMS 817 client install, etc.)

Similar Messages

  • Account Password Changed When Using OCI Drivers With WebLogic 6.0

    Hello all,
    Could be I am losing my mind but I saw some strange bahavior and I was wondering if anyone could offer an explination. We're running BEA WL6.0sp2 on an HPUX box with both an 8.1.7 client and server installation for development. We noticed that when we try to use the OCI driver to connect to our database, the password for our account is being changed on connection. This is definitely repeatable as we demonstrated it for the DBAs while they yelled at us. I highly doubt there is anything in WL that would cause the problem and everything works fine with the Thin drivers, with the JDrivers provided by BEA and with the credentials from SQL+.
    Our problem is we need the Layer 2 OCI support. Is there something in the OCI client installation that would cause this behavior?

    Hello all,
    Could be I am losing my mind but I saw some strange bahavior and I was wondering if anyone could offer an explination. We're running BEA WL6.0sp2 on an HPUX box with both an 8.1.7 client and server installation for development. We noticed that when we try to use the OCI driver to connect to our database, the password for our account is being changed on connection. This is definitely repeatable as we demonstrated it for the DBAs while they yelled at us. I highly doubt there is anything in WL that would cause the problem and everything works fine with the Thin drivers, with the JDrivers provided by BEA and with the credentials from SQL+.
    Our problem is we need the Layer 2 OCI support. Is there something in the OCI client installation that would cause this behavior?

  • Problems writing from BLOB to File with Thin-drivers

    I'm having problems when I'm trying to put a blob to a file
    using jdbc-thin drivers(8.1.5).
    It works perfectly well with the oci-drivers but not with thin.
    When I execute the same code with the thin-drivers I get:
    Error: java.io.IOException: ORA-21560: argument 2 is null,
    invalid, or out of range
    ORA-06512: at "SYS.DBMS_LOB", line 640
    ORA-06512: at line 1
    Please help me...
    /Stefan Fgersten
    lob_loc = ((OracleResultSet)rset).getBLOB(1);
    in = lob_loc.getBinaryStream();
    FileOutputStream file =
    new FileOutputStream("d:/dir/picture.jpg");
    int c;
    while ((c = in.read()) != -1)
    file.write(c);
    file.close();
    in.close();
    null

    Has anyone managed to find a solution (other than switching drivers) for this? I too am using the 8.1.5 thin driver on an 8.1.5 database and receive the same error. Please help!!
    Nkem
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Stefan Fgersten ([email protected]):
    I'm having problems when I'm trying to put a blob to a file
    using jdbc-thin drivers(8.1.5).
    It works perfectly well with the oci-drivers but not with thin.
    When I execute the same code with the thin-drivers I get:
    Error: java.io.IOException: ORA-21560: argument 2 is null,
    invalid, or out of range
    ORA-06512: at "SYS.DBMS_LOB", line 640
    ORA-06512: at line 1
    Please help me...
    /Stefan Fgersten
    lob_loc = ((OracleResultSet)rset).getBLOB(1);
    in = lob_loc.getBinaryStream();
    FileOutputStream file =
    new FileOutputStream("d:/dir/picture.jpg");
    int c;
    while ((c = in.read()) != -1)
    file.write(c);
    file.close();
    in.close();<HR></BLOCKQUOTE>
    null

  • How to configure oracle thin drivers for SUN APPLICATION SERVER

    hi all,
    I am working with EJB with oracle as back-end. I wants to know how to configure oracle thin drivers for the SUN APPLICATION SERVER. Please explain me breifly.
    Advanced thanks to all the replies.
    with regards,
    /kumaraswamy.n

    Kumaraswamy,
    Did you try searching the Internet? Here are the results of my Internet search:
    http://tinyurl.com/zo4gk
    And one of the first hits in the list was this:
    Deploying to a Sun Java System Application Server
    Good Luck,
    Avi.

  • JDBC thin drivers for oracle 8.0.5 for linux

    I want to use Java SDK 1.2.2 and need the oracle thin drivers.
    I have trouble with the 816 thin drivers connecting to the 8.0.5
    server.
    when using statement.executeQuery(..... I get the following
    Exception.
    Exception error: java.sql.SQLException: ORA-03120: two-task
    conversion routine:integer overflow
    I think my solution is to upgrade to a 8.1.6 server or use the
    java 1.1.6 driver on the JDK1.1.6
    I tried downoading the 8.1.5 enterprise server but this fails to
    complete.
    Can someone help me to this version on CDROM or to the JDBC thin
    driver for the 8.0.5 server?
    null

    You must include "classes12.zip" instead of "classes111.zip".
    Since "classes111.zip" is required only for Java 1
    and "classes12.zip" is required for Java 2 which means from J2SE 1.2 on forward.
    In adition you might need to inlcude "nls_charset12.zip" as well. Try it first without and if it is not working include it as well.
    The required files can you get from the OTN.
    This should help
    Roger

  • JDBC Thin Drivers

    Hi,
    I have downloaded Oracle thin drivers for jdk1.2.2 from oracle's site. But when i tried to hit the Database with it iam getting "Network Adapter error". I ahd given the url correctly. I checked up the application by running on the system where oracle is installed and it is running perfectly but when i access the database by installing thin drivers on some other machine and testing it, iam not able to connect to database. Iam getting Network adapter error and i also checked up with the network people and the assured me that there are no network problems as i am able to oracle server by pinging and thru telnet also. Any help will be greatly appreciated and Thanx in Advance.

    Marcelo,
    You can download JDBC 2.0 - friendly drivers from Openlink
    Software (http://www.openlinksw.com). Our latest 3.2 versions
    that support JDK 1.2 can be found at
    ftp://ftp.openlinksw.com/pre-3.2/index.html
    ... if you scroll to the NT / 95 section at the bottom of the
    page, you'll find the "opljdbc2.jar" in the list.
    Best regards,
    Stephen
    Marcelo Malagutti (guest) wrote:
    : Hello.
    : I3d like to know when will be released the JDBC thin drivers
    for
    : Oracle 8.0.4, compatible with the JDK 1.2. I need it to use
    the
    : new Java BLOB features of the JDK 1.2. Thanks.
    null

  • JDBC-Thin-Drivers on different Platforms

    Hello,
    Is there a difference between the JDBC thin drivers for Win NT and IBM AIX when using the same driver version (8.1.7) ?
    thanks in advance
    Joachim Helf

    the jdbc thin driver spec requires platform indepenedence.
    so you should not have a problem.
    if you do have a problem, then oracle support wants to hear about it.
    in that case, log a tar with your local oracle support center.

  • JDBC thin drivers for 8.0.4 and JDK 1.2

    Hello.
    I3d like to know when will be released the JDBC thin drivers for
    Oracle 8.0.4, compatible with the JDK 1.2. I need it to use the
    new Java BLOB features of the JDK 1.2. Thanks.
    null

    Marcelo,
    You can download JDBC 2.0 - friendly drivers from Openlink
    Software (http://www.openlinksw.com). Our latest 3.2 versions
    that support JDK 1.2 can be found at
    ftp://ftp.openlinksw.com/pre-3.2/index.html
    ... if you scroll to the NT / 95 section at the bottom of the
    page, you'll find the "opljdbc2.jar" in the list.
    Best regards,
    Stephen
    Marcelo Malagutti (guest) wrote:
    : Hello.
    : I3d like to know when will be released the JDBC thin drivers
    for
    : Oracle 8.0.4, compatible with the JDK 1.2. I need it to use
    the
    : new Java BLOB features of the JDK 1.2. Thanks.
    null

  • JDBC Thin Drivers and Tom Cat Compatibility Error

    I tried to use thin drivers in JDK 1.4 and Oracle 9i. The Oracle 9i has got a jar file named classes12.jar.
    i usually compile my .java files with the command:
    javac -classpath D:\oracle\jdbc\lib\classes12.jar <nameOfFile.java>
    the same is run in the console by the command
    java -classpath D:\oracle\jdbc\classes12.jar; <nameOfClassFile>
    I am giving the entire code that I want to compile and run below.
    The problem thing I am facing is ..... When even I try to start TOMCAT v5.0 I have to close the TSNListener of Oracle 9i and let the Oracle database only running. But when I request for a execution of a servlet that uses the class file, it gives an error. Telling ClassNotFound. If I add up the classes12.jar file in the classpath then tom cat does not run properly.
    So may anyone help me out of the situation of how to use the thin drivers, compile and run servlets and jsp's in TomCat v5.0.
    If not the solution of my above problem, then I want to know how can I use the Thin Drivers and implement a MVC architechture using TOMCAT and JDK1.5 and JRE1.5

    Where did you add the classes12.jar file reference in Tomcat?
    You need not add it to classpath. Just drop the jar file into the path":
    <TomCatInstallDir>\common\lib
    Tomcat loads all Jars inside this folder and then uses it for Runtime. It does not look at your machine's Classpath attribute

  • JDK1.3 and Oracle thin drivers

    I see that the latest version of the thin drivers (Oracle8i 8.1.6.0.1) are "validated" for jdk1.2.x use.
    Now that jdk1.3 is out for both Solaris and Windows, can I assume that the drivers will function properly with jdk1.3? or will Oracle release new drivers for jdk1.3?
    /Magnus

    I have found that the 1.3 jdk (I am using the RC for linux) works very well with the jdbc thin driver. The performance is exceptional using the hotspot server vm.
    slag

  • JDBC 2 thin drivers

    Hi.
    On Jun 08 I3ve asked you about JDBC 2 thin drivers for Oracle.
    I3ve been told that by the end of the month (June, I understod)
    the 8.1.6 thin driver would be released. I3m already using Oracle
    8.1.5. What I want to know is:
    1) When will actually be released the new drivers ?
    2) Will it be necessary to upgrade the server ?
    3) Is there any Tech Track I should sign to receive updated
    information about thin drivers ?
    Thank you for your answer.
    null

    Marcelo,
    You can download JDBC 2.0 - friendly drivers from Openlink
    Software (http://www.openlinksw.com). Our latest 3.2 versions
    that support JDK 1.2 can be found at
    ftp://ftp.openlinksw.com/pre-3.2/index.html
    ... if you scroll to the NT / 95 section at the bottom of the
    page, you'll find the "opljdbc2.jar" in the list.
    Best regards,
    Stephen
    Marcelo Malagutti (guest) wrote:
    : Hello.
    : I3d like to know when will be released the JDBC thin drivers
    for
    : Oracle 8.0.4, compatible with the JDK 1.2. I need it to use
    the
    : new Java BLOB features of the JDK 1.2. Thanks.
    null

  • How to use j2se 1.4 logging features with j2ee 1.3

    Hi,
    We have developed an EJB that will run in the j2ee 1.3 container of weblogic 5.0
    We would like to use the logging features of j2se 1.4 in our ejb.
    Can this be done ?
    How do I install and use j2se 1.4 a long side of j2ee 1.3 ?
    Is this a recognised configuration ?
    Many Thanks,
    Mark.

    Is it possible to install j2se 1.4 on the same machine
    that is running weblogic with j2ee 1.3 ? Yes.
    If it is.... How do we do it ?Just install it in different directory - the installer will do this for you by default anyway.
    How do we protect our code running in the j2ee 1.3 container from
    mistakenly using the classes provided with j2se 1.4 ?Thats what PATH and CLASSPATH environment variables are for. Read the tutorials on the left there for more information.
    Do we end up with 2 separate VMs one a implementing
    j2ee 1.3 and one a j2se 1.4 ?You end up with as many as you run.
    Every time you run java (java.exe on windows, just plain java on UNIX) you run the version of the VM that's on your PATH.
    It's quite normal to have (on the same machine) a 1.3 VM running Weblogic and a number of 1.4 VM's as clients of that Weblogic installation.
    I think I'm right in saying that 1.4 VM's are (in some cases) regarded by BEA as supported clients of a Weblogic server running in a 1.3 VM, but you'd have to check their e-docs site for exact details.

  • The problem is occurred with J2ee server node which is disabled it from MMC

    Dear SAP Consultants,
    The problem is occurred with J2ee server node which is disabled J2ee server node from MMS Console and the abap work process is working fine but the dispatcher is yellow status and I can login to the abap system but Iu2019m not able to start the j2ee from Tcode u201CSmicmu201D as well
    The system parameters are:
    BI 7.0 System as ABAP & JAVA add on, windows 2003 on Oracle database, 24 GB Ram
    Paging files: Driveu201D Os system: minimum: 1525, maximum: 3048
    Driveu201DEu201D application: minimum: 70855, maximum: 70855
    I can see the log files as follow:
    From dev_disp:
    Sun Jun 21 13:10:28 2009
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 2892
      argv[0] = E:\usr\sap\BWD\DVEBMGS00\exe\jcontrol.EXE
      argv[1] = E:\usr\sap\BWD\DVEBMGS00\exe\jcontrol.EXE
      argv[2] = pf=E:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS00_cai-bwdev
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64990
      argv[5] = -DSAPSYSTEM=00
      argv[6] = -DSAPSYSTEMNAME=BWD
      argv[7] = -DSAPMYNAME=cai-bwdev_BWD_00
      argv[8] = -DSAPPROFILE=E:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS00_cai-bwdev
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Sun Jun 21 13:10:29 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 6 / sock 1032
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1362) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2892)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Sun Jun 21 13:10:48 2009
    DpEnvCheckJ2ee: switch off j2ee start flag
    From dev_jcontrol :
    [Thr 2124] Sun Jun 21 13:10:29 2009
    [Thr 2124] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx.c   1642]
    [Thr 2124] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)
    [Thr 2124] JControlCloseProgram: started (exitcode = 66)
    [Thr 2124] JControlCloseProgram: good bye... (exitcode = 66)
    From dev_bootstrap :
    JHVM_BuildArgumentList: main method arguments of node [bootstrap]
    -> arg[  0]: com.sap.engine.bootstrap.Bootstrap
    -> arg[  1]: ./bootstrap
    -> arg[  2]: ID0072573
    -> arg[  3]: -XX:NewSize=57M
    -> arg[  4]: -XX:MaxNewSize=57M
    -> arg[  5]: -Xms256M
    -> arg[  6]: -Xmx256M
    -> arg[  7]: -XX:+DisableExplicitGC
    -> arg[  8]: -verbose:gc
    -> arg[  9]: -Djava.security.policy=.java.policy
    -> arg[ 10]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 11]: -Djco.jarm=1
    [Thr 5216] JLaunchIExitJava: exit hook is called (rc = 66)
    [Thr 5216] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 5216] JLaunchCloseProgram: good bye (exitcode = 66)
    From server.0.log :
    #1.5 #001E4F208703008A0001C7470000092000046A4414D60A1F#1242740546634#/System/Server##com.sap.caf.eu.gp.schedule.impl.ScheduleWorker#J2EE_GUEST#0##n/a##27772ea0447811deb9bf001e4f208703#SAPEngine_Application_Thread[impl:3]_25##0#0#Error#1#com.sap.caf.eu.gp.schedule.impl.ScheduleWorker#Plain###ERROR_ACQUIRE_CONNECTION
    com.sap.caf.eu.gp.base.exception.EngineException: ERROR_ACQUIRE_CONNECTION
         at com.sap.caf.eu.gp.base.db.ConnectionPoolJ2EE.getConnection(ConnectionPoolJ2EE.java:92)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleDbImpl.getScheduleToProcess(ScheduleDbImpl.java:1936)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleService.getScheduleToProcess(ScheduleService.java:432)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleWorker.work(ScheduleWorker.java:77)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleWorker.run(ScheduleWorker.java:63)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..
         at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:59)
         at com.sap.caf.eu.gp.base.db.ConnectionPoolJ2EE.getConnection(ConnectionPoolJ2EE.java:89)
         ... 8 more
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:193)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:338)
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:267)
         at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:51)
         ... 9 more
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:117)
         ... 12 more
    Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should.
         at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
         at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
         at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
         at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
         ... 14 more
    Please advice with the right solution,
    Regards,
    Ahmed

    thanks

  • I have a mid 2009 macbook pro and my issue is that I installed windows 7 and when I wan to install the drivers it says " bootcamp x64 is unsupported on this computer model" I tried installing the drivers with the bootcamp 4 but it did not work either

    I have a mid 2009 macbook pro and my issue is that I installed windows 7 and when I wan to install the drivers it says " bootcamp x64 is unsupported on this computer model" I tried installing the drivers with the bootcamp 4 but it did not work either it says that i have a newer bootcamp version. I tried a few tricks but they didnot work. I hope to be helped

    Welcome to Apple Support Communities
    You can install a 64-bit Windows 7 or Vista version in your Mac. Make sure you downloaded these drivers > http://support.apple.com/kb/DL1630 Also, if you have the Snow Leopard DVD you used to upgrade your Mac or the OS X DVD that came with your Mac, you can use it to install the Boot Camp drivers

  • I'm using a pc, (windows 8.1,) and I cannot get a thick and thin line with CS6. None of the brush tool settings have any effect, even in the preview. Is there a setting I need because I'm using a pc?

    I'm using a pc, (windows 8.1,) and I cannot get a thick and thin line with CS6. I want to draw, but I cannot get any linework like I should. I also use Sketchbook Pro, and ToonBoom, and I get wonderful linework. But not with Photoshop.
    None of the brush tool settings have any effect, even in the preview. Is there a setting I need because I'm using a pc and not a mac?

    Thanks for your response,
    I'm using a Fujitsu T901 laptop, with a stylus pen. Painting works great in Photoshop, but for drawing there is no sensitivity at all.  Frans Vischer
    author and illustrator of Fuddles, A Very Fuddles Christmas and Jimmy Dabble
    www.fransvischer.com
    pamperedfatcat.wordpress.com

Maybe you are looking for

  • Compound filtering xslt list view web part with _dopostback using javascript/jquery

    Hello, I am filtering list view web part as same as the below post, http://dcsharepointchick.blogspot.in/2013/05/filter-sharepoint-list-with-partial-postback.html here I need to filter the web part with some another condition . I am trying to write a

  • How to send a mail in html format from a send mail workflow node ?

    Dear all, Do you know if it is possible to send an e-mail in HTML format (instead of RAW) from a "send mail" node in a workflow ?  ... if "yes", please, let me know. (I need to do that because I want to use the "href" tag to insert an hyperlink insid

  • JAVA pricing exit in CRM

    Hi all, I'm new to CRM and have been working in ABAP but have only basic knowledge of JAVA. Right now, I have to convert pricing routine in R3 to java in CRM VMC AP 7.0. I have read OSS note about this ( the one with attached PDF on how to implement)

  • Indesign wrong Bleed Area in PDF

    Hi, I'm going to publish a book through a book-on-demand online service and I wanted some informations because I think there are problems with my Bleed Area in the PDF's exported from Indesign. My book is about 190 pages in A4, so I set its dimension

  • Problem in executing query in RSCRM_BAPI  & output in application server!

    hi Experts, We executed a query using RSCRM_BAPI transaction and write it to the application server.We found the following problem. In the query we have restricted the keyfigures such that each have 2 decimal places but when we execute the query usin