Why getting WebLogic Connection when using Oracle Driver?

Does anyone know why I would be getting back an instance of weblogic.jdbc.rmi.SerialConnection
when retrieving a connection out of the connection pool, via my JDBC TX DataSource,
when my JDBC Connection pool is configured to use oracle.jdbc.OracleDriver. Seems
that since I'm using the Oracle driver I should not be getting back this WebLogic
connection.
Any insight is appreciated :)
thanks,
Dan

innumonenu wrote:
Even we are facing the same problem of ClassCastException when we try to cast to
OracleCallableStatement from the weblogic pool made of Oracle JDBC driver.
What is the URL which explains,
"Our wrappers do provide access to various non-standard
Oracle methods, and we document how to cast (to our concret class or to an interface
we define) in order to access these calls." as said by Joseph.http://e-docs.bea.com/wls/docs70/jdbc/thirdparty.html#1043705
>
>
"Dan Branley" <[email protected]> wrote:
Joseph,
Thanks for the insight. This answers a lot of questions. I appreciate
the thorough
explanation. Your assumption is correct. I am trying to use an Oracle
extension,
specifically I need to call PreparedStatement.setBlob() passing an instance
of
an Oracle BLOB.empty_lob(). I'll take a look at the WLS documentation
for an
alternative.
thanks,
Dan Branley
Joseph Weinstein <[email protected]> wrote:
We never give application code direct access to pooled connections.We
always
supply a wrapper class. These wrapper classes have various extra functionality,
such as cooperating under-the-covers with the transaction coordinator
to provide
EJB/UserTransaction transactional semantics/guarantees, regardless of
the number
of EJBs involved in a given transaction. For instance, when in an EJB/UserTransaction,
our wrapper will cheerfully ignore if application code calls a Connection.commit().
The
application code has no idea really when the transaction is done and
commitable, only
the transaction coordinator does. Most simply, our pools guarantee that
whatever
application reserves a pool connection will have sole use of it until
they close the connection
to return it to the pool. If we allowed direct access to a pooled connection,
one application
could cache the reference, and re-use it later when we presumed to allow
another user to
use it from the pool. Some of our wrapper objects are RMI-enabled so
they work in
external client JVMs and will do JDBC over the wire to the weblogicserver
and it's
pool connections. This wayt application code need not change to work
inside or
outside weblogic.
I suspect this question is because you want to use some of Oracle's
non-standard
extensions to JDBC. Our wrappers do provide access to various non-standard
Oracle methods, and we document how to cast (to our concret class or
to an interface we
define) in order to access these calls. Not all calls can be successfully
proxied by our wrappers
because some Oracle methods (which claim to take java.sql object asarguments)
actually
require oracle specific classes, and reject our proxies, even if they
are standard JDBC objects.
Joe
Dan Branley wrote:
Does anyone know why I would be getting back an instance of weblogic.jdbc.rmi.SerialConnection
when retrieving a connection out of the connection pool, via my JDBCTX DataSource,
when my JDBC Connection pool is configured to use oracle.jdbc.OracleDriver.Seems
that since I'm using the Oracle driver I should not be getting backthis WebLogic
connection.
Any insight is appreciated :)
thanks,
Dan

Similar Messages

  • Oracle Text: How to add/get stopwords list when using Oracle Text world lexer?

    I have a use case that we currently use Oracle Text World Lexer to index and search multilingual documents. As we know that World Lexer does the language auto detection. I would like to know the following questions:
    Is there anyway I can get the current document's language that Oracle Text detected?
    Is there anyway to get the language's stopwords list?
    Any thoughts and points will be appreciated.
    - Charles

    1. If you're using 12c, you can use ctx_doc.policy_languages. (https://docs.oracle.com/database/121/CCREF/cdocpkg011.htm#CCREF24102)
    2. If you want multiple stoplists based on each document's language, you have to use the multi-lexer. For world_lexer, there is one stoplist; since the stoplists are somewhat dynamic (you can add but not remove them), the most accurate way to fetch the list is using ctx_report.describe_index or ctx_report.create_index_script and parse the report.

  • Problem with path length when using oracle drive

    Hello!
    Does anybody else experience this problem with Oracle Drive?
    When I create a deep or nested hierarchy in which the path length is longer than 250 (the limit might be 255) characters, I cannot access the deeper subpages.
    Example:"X:\INET\START1\pfadlaengentest\das istein langer ordnername mit etwa 50 zeichen\and this is another veryveryvery long\and this is another veryveryvery lon2\and this is another veryveryvery lon3\and this is another veryveryvery lon4\and this is another veryveryvery lon5".
    I can access the page "and this is another veryveryvery lon4" but not "and this is another veryveryvery lon5"
    Is this problem due to WebDAV?
    What can I do - I think it is a critical error / bug?
    Regards Joerg.

    I opened a service request and oracle support could help me.
    The problem is the windows file system: the path length cannot be longer than 256 chars.
    There's a workaround with MS-Webfolders.
    More information is available via metalink: watch out for SR-Number 5659267.992.
    PS: Thanks to Bert
    bye :-j (joerg)

  • Problem getting db connection when using virtual hosts / tomcat / apache

    Hello,
    I have servlets that use a connection pool to query an oracle database. When running Tomcat 5.5 stand-alone, everything works fine. But the same servlets do not work when running them on a server tomcat and apache integrated with jk and using virtual hosts. The problem is the connection pool, because servlets not using the pool also work fine.
    Does anybody have any idea why this is happening?
    Thank you.
    Logan

    Hi Saish,
    Thank you for helping.
    Try connecting with the machinen's IP, if this is a viable strategy for you (meaning the database IP is not dynamically assigned).I'm not sure how to do this. Here is a copy of my context.xml:
    <Context path="" docBase="" debug="0">
    <Resource name="jdbc/CraigsList" auth="Container"
    type="javax.sql.DataSource" username="craigslist" password="xxxxxx"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    url="jdbc:oracle:thin:@localhost:1521:GRI"
    maxActive="8" maxIdle="4"/>
    </Context>
    Does this help?
    Thanks.

  • LabView 6.1 crashes now and then when I try to get rid of an accidential starting connection when using the wiring tool.

    Sometimes when using my labtop it happens that I get unwanted connections when using the wiring tool because my labtop notices mouse clicks that never happend. Usually you can get rid of those connections by pressing ESC. But unfortunately now and than LabView crashes completely when pressing ESC to get rid of the connection.
    How can I stop LabView from crashing in that case?
    Thanks for anybodies help!

    Yes, I see this problem on both my LabView-Computers but more often on the labtop because of the strange integrated mouse.
    Yes, I get an error message but I can't really translate it in english. It says something about memory access to a special address.
    I might try reinstalling LabView one day if I have the time. I don't want to try LabView 7.0. I'm afraid it would be great. Unfortunately my boss alreday told me, we don't have money for the new version.
    Thanks for your help!

  • Why do I get bright colors when using the smudge tool?

    Why do I get bright colors when using the smudge tool?

    Thank you!!!
    *Caryl  *
                               (my flickr page ↓)
    *https://www.flickr.com/photos/feathersarenice/
    <https://www.flickr.com/photos/feathersarenice/>*
    We were all born mad. Some remain so.
    "Reality is whatever refuses to go away after I stop believing in it."
    Philip K. Dick

  • I use Symbaloo but since I installed FF4 I get no connection when I choose a radiostation. Something with my settings?

    I use Symbaloo but since I installed FF4 I get no connection when I choose a radiostation ( i.e. no sound ). Wrong settings?

    Each has a p/w but it is input only once at when I set it up. I get no prompts for p/w since they are in prefs. Is this safe?
    Yes, as long as the wireless network required you to enter a password the first time that you connected.

  • Problems with Drive Mapping using Oracle Drive

    It seems as though we are having some trouble with oracle drive. The install was a piece of cake, as was the configuration. The problem arises when at times we connect with the proper credentials, Oracle Drive logs the user in, but then the appropriate drive does not map. Nothing shows up under "My computer". The window will launch for the user to use Oracle Drive, but they get error messages including, "Cannot support long file names." (AKA, anything longer than 8 characters).
    Has anyone else come across these issues? Any ideas how to resolve. The issues we get with the long file names seem to only be when the drive doesn't properly map.
    Any thoughts would be helpful.
    Also, I have heard rumors of a Production version of Oracle Drive. Anyone have some news on that?

    We are very pleased to announce the Production Release 10.1.2.0 of Oracle Drive.
    You can download the software from here:
    http://www.oracle.com/technology/software/products/cs/index.html
    Note:
    - This version is production for English only. Other languages are Beta.
    - Oracle Drive 10.1.2.1 for ALL languages is expected soon.
    Find more information on Installation and Configuration as well as a Viewlet that shows Oracle Drive in Action here:
    http://www.oracle.com/technology/products/ias/portal/content_management_10gr2.html
    regards,
    Christian

  • DatabaseMetaData.getTypeInfo ()=NULL when use JDBC Driver 9.2.0.5

    Why DatabaseMetaData.getTypeInfo () is NULL when use JDBC Driver 9.2.0.5 to connect Oracle 9.0.1.1.1 database?
    In the following links
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#02_02
    the segment "Which JDBC drivers support which versions of Oracle Database?" tells us that JDBC Driver 9.2.0.5 can support Oracle 9.0.1.1.1 database.
    thanks!

    ERROR --- java.sql.SQLException: ORA-01722: &#26080;&#25928;&#25968;&#23383;

  • OS 10.4.6. has broken dialup connectivity when using fast user switching

    I installed OS 10.4.6. It seems to have broken dialup connectivity when using fast user switching when switching from one user to the next.
    For dialup, it is extreamly annoying that I can not resume downloading a file from were it got cut off, but now, if another user wants to check their email, my download always gets broken and has to be restarted. Dialup is slow enough with out having to start from scratch even more frequently, now.
    Also, in earlier versions of 10.2 or 10.3 (I don't remember which), I was able to switch users and maintain listening to a single users' iTunes.
    I would like to be able to switch users and not lose either my dialup network connection or the primary users currently playing iTunes songs.
    Perhaps for iTunes, one should be able to chose to mute another users' instance of iTunes, if it is currently playing.
    Mini-Mac 1.42GHz 80GB BT/AE   Mac OS X (10.4.6)  

    I have not tried replicating this but might be able to provide some additional information.
    We use network login accounts on our desktop computers. Fast User switching deliberately will not work for multiple network login accounts. (Remember network login accounts normally also have an associated network home directory mounted via AFP.)
    Now a bit of background about volumes and mount points under Mac OS X. Under Mac OS X, any additional drive (or more accurately 'volume') is listed under the 'Volumes' folder, remember also that Mac OS X is a Unix operating system. So just as normal for Unix, the boot drive is '/' or the root level and Volumes is a folder in it. The underlying Mac OS X software automatically 'attaches' and additional volumes as sub-folders in the 'Volumes' folder (in Unix speak these are called 'Mount Points'), if you have an external hard-disc called 'Fred' then this would be represented by the following path
    /Volumes/Fred
    If you happen to have two volumes with the same name connected at the same time then while in the Finder they may show up with the same name, in Unix they would have different names automatically assigned to keep them separate like so
    /Volumes/Fred
    /Volumes/Fred 1
    Now getting back to the Fast User switching problem and AFP volumes, when you login to a File Server volume it also is automatically added to the Volumes folder, so if we have a File Server volume called 'Shared' it would look like
    /Volumes/Shared
    With Fast User switching potentially both user accounts could be accessing the same /Volumes/Shared which means both user accounts would be talking to the server via the same File Server login, hence the possibility for one of the Fast User accounts to be using the 'wrong' permissions.

  • Unable to get Windows User Name using Oracle Forms 6i, Jinitiator 1.3.1.17

    Hi,
    Requirement: Get Windows User Name using Oracle Web Forms 6i.
    Tools Using: Windows NT, Oracle web forms 6i, Oracle 10g DB.
    Description: I am using GetClientInfo JBean from otn.oracle.com, which gets windows user name, IP address and machine name. The demo I got from oracle web site uses Jinitiator version 1.1.7.18. While we are using the latest version Jinitiator 1.3.1.17. Due to this reason, I am unable to use Javakey which comes with older version but doesn't come with newer version, that's why I can't create the new JavaBean Java identity (PJC).
    Please advise what to do. All environment variables are set everything is done, this is the only thing bothering me.
    I went through the article 202768.1 from metalink, but on step 5, it gives an error keytool error: java.lang.Exception: Input not an X.509 Certificate.
    Also, please let me know if there is any other workaround for this requirement.
    Thanks & Best Regards,
    Mo

    Hi,
    Thanks for your kind reply. Actually there was a problem in creating a certificate, now it is okay with the same method. Certificate got imported on client and everything is ready.
    Now, the problem is when I try to set Bean Area Implementation Class property with oracle.forms.demos.GetClientInfo, it gives an error FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.GetClientInfo'.
    I went through the articles 1072329.6, 196824.1, and set ClassPath and Path variables with proper values. Also, I have copied jar file and signature file in forms60/java folder. I don't see any problems. Please let me know what I am doing wrong. My limitation is that I have to do all this in forms6i.
    I searched forums on metalink and found out that someone installed Patch 15, and everything went okay for him. Do you think I should install Patch 15? if YES, how will I do it, I mean should I first uninstall my forms and then install patch15 or install the patch on my forms?
    Thanks so much for your help.
    Thanks & Best Regards,
    Mo

  • My Application gets Error 37 when using Serial Port VIs.

    My Application works fine developed with LV 6.1. Then I updated to LV 7.1 and now the Executable of my application gets error 37 when using the old serial port functions. The "serpdrv" file is located in the application directory and is from 02/2002. The application runs well in the development environment after I placed the "serpdrv" file in the LabView directory. I tried to put a line with "serialDevices=..." in the .ini-file of my application but this did not cause an improvement. I also tried to rebuild the EXE with this line in the "labview.ini" file but nothing changes.
    Does anybody have another idea ?
    Many thanks for help
    Thomas

    >Did you actually replace the old serial functions that come with 7.1 with the functions from 6.1?
    Yes. E.g. "open serial driver.vi" uses "open device" with "serpdrv" as device string.
    I had the same problem running my application as VI´s. After the copy of serpdrv into the LV 7.1 directory everything works fine.
    I don´t understand why the application running as a .exe doesn´t find the serpdrv when it is in the same directory....
    Nevertheless many thanks for your answer
    Thomas

  • How can we get ADFSecurity work when used in OC4J, OID and OAM?

    I am getting error in http server log "mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context."
    But I am not using Oracle SSO and my client doesn't want to use it either, I am using OAM SSO(CoreIDSSO) in my configuration. Please read the details below.
    I am using ADFSecurity in an app that is protected by OAM. To migrate ADFSecurity permissions from
    system-jazn-data.xml to OID, I used JAZNMigrationTool to populate OID with Grantees and Permissions. OAM gives login page, and authentication works fine.
    But ADFSecurity is not working. ADFComponent Delete button is enabled even for roles that dont have permissions for the iterator delete.
    - The app works fine when I use without OAM. ADF Security permissions work fine.
    - The app works fine when used with OAM, but with ADFSecurity disabled (enforce=false).
    - When I enforce ADFSecurity alongwith OAM, ADFSecurity is not working.
    In the doc "Oracle Containers for J2EE Security Guide b28957", there is a mention of use of CoreIDPrincipal for permissions. Our OID Permissions entries show
    LDAPRealmRole for attribute orcljaznprincipal. I am not sure if this could be the reason.
    We have configured AccessServerSDK for the SOA instance and have policy for the urls in the policy manager. We have entries in orion-application.xml, orion-web.xml and system-jazn-data.xml as per the documentations.
    How can we get ADFSecurity work when used with OID and OAM?

    Have you been able to successfully integrate OAS with OAM & OID? We have similar requriement and so far we have not been able to get it working.
    We have application specific roles which we map to OID roles using orion-application.xml.
    Any pointers to achieve this would be greatly appreciated.
    thanks,
    Dipal

  • Error when using oracle.j2ee.ws.StatelessJavaRpcWebService as ws wrapper

    I have a problem when using Oracle oracle.j2ee.ws.StatelessJavaRpcWebService as a web service wrapper. I get the exception below in the server.log:
    java.lang.IllegalStateException: Data has already been written to the OutputStream
         at com.evermind.server.http.EvermindHttpServletResponse.setBufferSize(EvermindHttpServletResponse.java:1965)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:541)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    The server response with “500 Internal Server Error” when contacted as a web service.
    The error only occurs patriotic on the server.
    If anyone have experience with this error please response :-)

    Hi,
    can you point me to the "FSCM TUD" doc you follow so I can reproduce the issue ? Is it a JDeveloper tutorial? Also, which version of JDeveloper do you use ?
    Frank

  • Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

    I'm trying to migrate a Sql Server 2k database to an Oracle 8i schema using OMWB. After using BCP to collect metadata information on the source database, I tried to capture the source data model and got a "Capture aborted" message on the progress screen (even though then it appears a dialog window reporting "0 errors and 0 warnings", funny!). Down there is the error log OMWB generated. After reading some posts, I changed some columns of the OMWB dictionary that holds the source database name, but still got the same error. If someone can enlighten me on this toppic, I'd greatly appreciated it.
    Here's the error log of OMWB:
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: D:\Datos\Download\Oracle\Oracle Migration Workbench\omwb
    ** user language: es
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows 2000
    ** o.s. version: 5.0
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Fri Feb 23 17:18:48 GMT-03:00 2007
    ** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@ServerCms:1521:sigcewbc
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 7.0 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : SQLServer2K
    EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
    ** Shutdown : Fri Feb 23 18:00:50 GMT-03:00 2007

    Duplicate thread
    Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

Maybe you are looking for

  • One-time account - customer

    Hello All, Need some clarity on how one-time customer is useful. i have an one-time account customer, i want to know if this one-time customer is repeatedly ordering orders as normal sold to party, in this situation can i how do i handle this custome

  • Checkbox does not appear??!!

    Hi guys, I have this report: SELECT ID , FILE_NAME , FILE_SIZE , MIME_TYPE , APEX_ITEM.CHECKBOX (1,ID,'CHECKED') DEL FROM BMW WHERE FORE = :P9_ID but , in the report , the checkbox item does not appear. Instead, I see this line in the check box colum

  • What should we call the new iMac G5 ?

    The first G5's are referred to as Rev. A The next were Rev. B I like what OWC calls the new iMac's, "iMac Slim" Any other good names?

  • No ocijdbc11 in java.library.path

    Good day, I am trying to set up SQL Developer to use TAF; I am frequently getting the error in this subject and am pulling my hair out trying to get to the bottom of it. My environment: freshly downloaded Instant Client 11.2.0.3 Full Oracle Client 11

  • Remote connect to Windows Internal Database from another server

    Hello, I have a WSUS server which has Windows Internal Database installed. Now If I have to manage the database using SQL Server management studio, then I need to connect using the Server Name as \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query Now, if I wan