JDBC connection verification for admin user

Could someone suggest any easy method of checking to see first of all if you have established a connection and secondly what the permissions of that connection are to the database.
I have code now that established a connection as an admin user...I need to now throw in some code to do a check to make sure that they now have access to admin privileges of the database.
Thank you.

you could use connection.isClosed() to see if the connection is available in the first place. But i don't know of any easy method to find out about the rights(privileges). This is same for even Native Database clients. you would have to go to the system tables in the database to find out.
May you should try a typical query which could define the rights of the user. (If user doesn't have rights, you would get a SQLException!)

Similar Messages

  • How to stop pwsswd  change option for Admin user id or SLD or monitor ID

    Hello frineds,
    As I know we do have one option to disable password change prompt using J2EE Admin tool ( Go to security provider->Usermanagement and search for the user
    Select the user and check "No password change required") but this option checked for all user users by default and it prompting password change after 90 days (default).
    Is there any other way to stop change password prompt for admin user ID's?
    Any help is a great help
    Thanks and regards,
    Venkat

    Hi,
    I think we  need to change the parameter value in the document type definition.
    Check this: http://www.atg.com/repositories/ContentCatalogRepository_en/manuals/ATG6.0.0/intframe/intframe0210.html
    Please check with your BASIS team regarding this.
    Thanks,

  • Crystal add on works for admin user on server but not regular user

    Hi
    The crystal add on has been installed and working for months. Another colleague was working with it, not sure what happened but it stopped working. I was able to re-register and get it working on a user's workstation using fat client. It is installed on the server. Some users user remote desktop to connect to the server.
    If I login to the server as an admin user - i login to SAP as manager and can use the add on. Works fine.
    If I login to the server as a regular user, login as manager into SAP, I get an installation error with the Crystal add on. Since it is already installed and working - why when i login to the same server as a different windows login but SAME manager SAP user - why would it not work?
    I'm using crystal reports full version on the server because that is where I edit the reports.
    The workstations have the runtime installed.
    HELP!

    hi
    the error when I login as the user on the server is :
    Add-on Crystal Reports for SAP Business One: Add-on %s - uninstall failed.
    Which I don't understand at all b/c if I login on the same server as a different windows login
    with admin rights it works fine.
    What log file are you speaking of? I'm new to add on installs.
    I don't even install SAP I work with crystal reports but got stuck dealing with this add on.
    thanks!

  • Anyconnect client and clientless connections hang for two users

    ASA 5525, v. 9.1(5)19
    Anyconnect client 3.1.02026
    I have two users who are unable to connect via the AC client or clientless through the web portal. Using the client, it will get stuck in a loop of "checking for updates". On the portal, the connection will proceed to the point of "Cisco Secure Desktop successfully validated... Success.. Reloading..please wait." Then it hangs there.
    The issue occurs for the user regardless of which company laptop she logs onto. A help desk tech can use her laptop and successfully connect, but she cannot connect on her own laptop or on another laptop. (Same for the other user.) So the issue doesn't seem to be related to her laptop or the AC installation. (Help desk did reimage her machine early in the troubleshooting process before they realized that the issue seemed to follow the user.)
    I've updated the hostscan file - no change in results.  Client and clientless connections seem to be working fine for all other users. We're stumped.  Suggestions, anyone?  thanks!

    The LDAP should be server folks -- Active Directory.  Chances are whoever manages the ASA's should have access to at least look in Active Directory to look that up.  If they don't they need it.
    I obviously don't know a lot about what devices you are using, but if you are using ISE, there should be some type of MNT device (Monitoring and Troubleshooting) -- which is collecting the logs and, hopefully, sending them to some type of syslog aggregate collection tool (splunk?).
    Otherwise, there should be a device called a CAM (Clean Access Manager) that is collecting logs -- which may also be propagated to a syslog aggregate tool -- although with CAM's, you can pull the reports right out of them in a comma deliminated file (.csv) and go through them that way.
    -- The thing that gets me is that it happens to two users no matter what computer they try to connect from, no matter what network they connect from, and other users can authenticate and gain network access on those same devices.
    -- That is why it is rather perplexing.  Pretty much saying it has to be something with:
    - the IP pool they are getting an IP from
    - their AD credentials
    - their username
    - something along those lines, if the information provided was fully accurate.

  • 3.1 upgrade, no access for admin user

    We have been using ARD3 Admin on a single machine, controlling 10 clients, all 10.4.8. Ran software update and got ARD3.1. Now the admin user appears to have been relegated to a guest user with no admin abilities.
    All clients are managed by 10.4.8 server Open Directory and set up using Workgroup Manager. The admin user is in the ard_admin group as advised when ARD3 was originally installed.
    Anyone seen this?
    Thanks for your time - Erich

    Hi Folks.
    A few suggestions to stream-line this process of un-installing the old client...
    1. If you don't want to type in the whole line of text to uninstall the old RDClient, open a terminal window, type sudo (and then a space), and then locate the file specified by the path, in a Finder window.
    E.g. locate "/System/Library/CoreServices/RemoteManagement/ARDAgent.app"
    Then do a right-click on the file, and select 'Show Package Contents'.
    Then explore the contents, go through to Resources, and locate the 'kickstart' file.
    Drag the kickstart file, into your terminal window.
    That will give you "sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart"
    All you have to do then is type " -uninstall -files" on the end of that string. And press Return, and your password.
    2. Now, to reinstall the old RD3.0 client...
    Locate your original installer CD, and insert it.
    Locate the ARD3 installer.
    Select it (highlight it), and select 'Show Package Contents' via a right-click.
    You can now examine the installer's contents, and locate the stand-alone Apple Remote Desktop 3 client installer, without having to re-install Apple Remote Desktop Admin.
    Copy the Client 3.0 installer off the CD, and install it as required!
    Hope that helps, and thanks for the original solution too! Worked for me.
    Cheers,
    Derek

  • Authorization for User Creation for Admin user

    Dear All,
    We have Cronacle 6.0.2.
    We have a requirement where in we want to create an admin user with all access to Redwood (in order to avoid using SYSJCS). We have and created an admin role with which our criteria is almost met. After assigning this admin role to our newly created admin user, everything work except user & role authorization. I am not able to create, delete or alter any user or role with this user.
    I have seen that we have the oracle system privileges related to user and role authorization (create user, alter role, etc), but when we are trying to assign the same to the admin user, its not allowing us to do so. We have tried the assignment using sysjcs from both RWE and from the shell using the SYJCS, RSI users.
    How can I achieve this? with which user?
    Any pointers on this would be highly appreciated.
    Thanks in advance for your help.
    Warm Regards
    Rajeet

    Hi Rajeet,
    This is because SYSJCS has the privileges to create users and roles in the database, but not the right to actually give out these privileges to other users.
    For that, you need a user with the DBA role in the database, or with the "create user" and "create role" privileges "with admin option". A user with the admin option on a privilege can hand out this privilege to other users.
    If you don't have any own users with these privileges yet, the SYSTEM user will work as well.
    Regards,
    Anton.

  • Sharing and Permissions for Admin Users Home Folder

    Staff user group deleted from Admin User home folder.  User groups listed are the user as read/write, admin as read and everyone as read.  If you create a new Admin user the group "staff" is listed instead of "admin"????  How do i get it back to how it was?  It also seems to be effecting stored passwords in my keychain and other apps.

    Hi, i think it depends who are you serving for, if you are just serving for a small office or home server or a big organization. The following quick thinking just came to me:
    I think cups set automatically a system  user of its own, and runs as it, so no trouble there. Cups also has the option to set users and it uses the system users as default, i think it depends in in how many printers/users your have in your server.Users that can manage cups are in the lp group. 
    For nfs every user should have their home, samba is also a good option if you have  windows computer in your network and it integrates better with graphical file  managers like nautilus in the clients side, but it is a hassle to configure.
    You should run the web server (owncloud ) as it own user, maybe you can manage to set something up for owncloud in the filesystem, but owncloud uses a database, and the users for owncloud are stored in there, and they are not system users.
    You can configure ssh for local use only enabling the corresponding subnets in your /etc/sshd.conf and optionally but recommended you can set a firewall and permissions. You can use iptables but i prefer ufw for simple setup.
    I think you should read the wiki:
    https://wiki.archlinux.org/index.php/users_and_groups
    and the other respective topics in the wiki.
    Also as an advice i know that arch linux is a great distribution, but you have to do more work to mantain a stable server. I would recommend debian or another more conservative distro, but of course it is your choice.
    Last edited by hydrosIII (2014-11-06 06:26:45)

  • JDBC CONNECTION POOL FOR WEBLOGIC 8.1 TO ORACLE 8.1.6

    I am having problems with my connection pool. When I try to use the classes12 driver I get periodic TNS:connection closed errors and I can not set my initial pool size very high because one will fail with this error. When I try to use the ojdbc14 driver I get a character set not supported error. I am using the nls_charset12.jar file
    I am running weblogic 8.1 sp2. I am connecting to an Oracle 8.1.6 database.
    Any suggestions would be greatly appreciated.
    Thanks
    Eric

    eric brantingham wrote:
    Hi, thanks for your assistance. Here is the log dump.You should add a 1-second login delay for the pool. (loginDelaySeconds=1).
    Oracle can get swamped and ocasionally fail valid connection requests if
    too many are sent in a short time, such as when a pool is being initially
    populated. This setting will put a delay between successive connection
    requests, and should solve the problem.
    Joe
    >
    ####<Aug 30, 2004 9:45:15 AM EDT> <Warning> <JDBC> <sun1523.daytonoh.ncr.com> <s
    moaServer> <ExecuteThread: '22' for queue: 'weblogic.kernel.Default'> <<anonymou
    s>> <> <BEA-001129> <Received exception while creating connection for pool "nolo
    aConnectionPool": ORA-12537: TNS:connection closed
    >
    ####<Aug 30, 2004 9:45:15 AM EDT> <Info> <JDBC> <sun1523.daytonoh.ncr.com> <smoa
    Server> <ExecuteThread: '22' for queue: 'weblogic.kernel.Default'> <<anonymous>>
    <> <BEA-001156> <Stack trace associated with message 001129 follows:
    java.sql.SQLException: ORA-12537: TNS:connection closed
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java:1503)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:175)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Con
    nectionEnvFactory.java:111)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourceP
    oolImpl.java:1103)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourceP
    oolImpl.java:1040)
    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(Resourc
    ePoolImpl.java:320)
    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(Resourc
    ePoolImpl.java:252)
    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.j
    ava:428)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(Connectio
    nPoolManager.java:78)
    at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiData
    Source.java:288)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
    ce.java:310)
    at user.User.getDbPoolConnection(User.java:174)
    at order.OrderMasterCustomer.dbRetrieveOrderCustomerHeaderData(OrderMast
    erCustomer.java:1181)
    at order.OrderMasterCustomer.dbRetrieveOrderCustomer(OrderMasterCustomer
    java:1108)
    at order.OrderMasterCustomer.dbSetPropertiesFromOrder(OrderMasterCustome
    r.java:1660)
    at order.Order.dbSetPropertiesFromOrder(Order.java:1031)
    at servlets.submitPages.OpenOrderSubmit.actionSearch(OpenOrderSubmit.jav
    a:367)
    at servlets.submitPages.OpenOrderSubmit.service(OpenOrderSubmit.java:107
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

  • JDBC Connection Pool For Oracle 8.1 In Weblogic 6.1

    Hi,
    Can any of u help me by giving the code for configuring the oracle thin driver
    for oracle 8.1 in config.xml of weblogic 6.1.
    Thank You
    Ram

    Hi Ram,
    An example of the config.xml entry is:
    <JDBCConnectionPool CapacityIncrement="2"
    DriverName="oracle.jdbc.driver.OracleDriver" MaxCapacity="10"
    Name="thinPool"
    Properties="user=scott;password=tiger;dll=ocijdbc8;protocol=thin"
    Targets="myserver" TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true" TestTableName="dual" URL="jdbc:oracle:thin:@rwallace:1521:ORCL"/>
    I found this out by running the utils.dbping utility to get the correct driver/url
    details then creating the connection pool in the WLS console.
    Regards,
    Richard Wallace
    Senior Developer Relations Engineer
    BEA Support.
    "Ram" <[email protected]> wrote:
    >
    Hi,
    Can any of u help me by giving the code for configuring the oracle
    thin driver
    for oracle 8.1 in config.xml of weblogic 6.1.
    Thank You
    Ram

  • Error while creating JDBC connection pool for MSSQL database

    Hi,
    From my windows m/c, I am trying to configure a connection pool to connect to
    an MSSQL database on another m/c. While setting the targets, i get the error :-
    <Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
    pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
    I have added the path of the jars for the driver in the classpath.
    Any help would be appreciated.
    Thanks.

    Hi. Read the weblogic startup script, and follow how it creates
    a classpath argument for the server. You must get the driver jars
    into that classpath.
    Joe
    Neha wrote:
    Hi,
    From my windows m/c, I am trying to configure a connection pool to connect to
    an MSSQL database on another m/c. While setting the targets, i get the error :-
    <Mar 11, 2004 6:17:52 PM GMT+08:00> <Error> <JDBC> <Cannot startup connection
    pool "gcdb_connpool" Cannot load driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver>
    I have added the path of the jars for the driver in the classpath.
    Any help would be appreciated.
    Thanks.

  • Premiere Elements 12 opens for admin users but not general users.

    Error: Premiere Elements has encountered an error....Src\Core\Preferences.cpp-347
    Windows 7 box.
    Any suggestions? Users have rights to all Adobe folders...

    Im facing more or less the same issue.
    APE 12 was installed on a Windows 8.1 System as a bundle with Photoshop Elements 12.
    Photoshop is able to run as expected. But APE 12 could never being started.
    I recieved during the installation the request to register the product (but im not able to find it under my Adobe account til yet).
    I could only once choose to start at next time without opening organizer popup but now I´m getting always
    the message
    "Premere Elements Debug Entry:
    Premere Elements has encountered an error.
    ...\src\core\preferences.cpp-347
    I tried to uninstall and reinstall.
    I have updated Windows 8.1 to the newest available software fixes.
    Also Quicktime is updated yesterday to the latest version.
    I also tried to start APE by using the "start as admin" feature.
    I have also tried to change the user permissions in the folder D:\Program Files\Adobe\Adobe Premiere Elements 12 as mentioned in other threads.
    The used Windowws 8.1 client system is member of a Domain.
    The user is a local administrator user and uses local ressources only.
    I have also updated yesterday the Grafic Card Adapter driver for the installed
    NVIDIA Geforce GT 440.
    The Processor is INtel Core i7 870 @ 2,9 GHz (6 cores)
    6 GByte Memory is installed.
    I thought it would be feasible to download pathces for the software but I was not able to find such a place like it is known from other software vendors.
    I would kindly ask for your support.

  • Rfc(Syn)- BPM- JDBC connection breaks for job in 2Hrs

    Hi All,
    I have a scenario Rfc(Syn)->BPM->JDBC.
    Problem i am facing is after 2Hr of execution of scenario. SAP & XI connectivity breaks down.
    But to process full data it requires 5-6Hr connectivity because store procedures taking time(for 500 records).
    Is there any solution for above problem?
    Can we use ABAp Proxy instead of Rfc(i.e. ABAP Proxy->BPM->JDBC), If possible How?
    Thanks & Regards

    hi,
    >>>>I have a scenario Rfc(Syn)->BPM->JDBC.
    sync??? you can/should only use sync
    if the response time is around 30 seconds
    so change the interface to async
    >>>>Can we use ABAp Proxy instead of Rfc(i.e. ABAP Proxy->BPM->JDBC), If possible How?
    yes but you still have to do it in an async way
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Disk images won't unmount/eject for admin user, DVDs & iDisk also affected

    This problem started when I was on Tiger, and seemed to follow me onto Leopard.
    It only affects me, the primary user on my Mac. *One other user on the computer; she also has admin level access and does not have any of these problems.*
    Here's the deal:
    *Once mounted, disk images won't eject/unmount.*
    - Dragging to the trash can doesn't work. The eject icon appears, but nothing happens.
    - Ctrl-click does not show Eject as an option when highlighting the mounted image.
    - CMD-E doesn't work
    - EJect doesn't appear as an option in the finder menu
    - Clicking on the Eject button in the sidebar of the Finder window doesn't work.
    - I've logged out, rebooted, repaired permission, and installed a new OS (clean install of 10.5, then did the import of my old user settings. Since I had the problem in Tiger, it's clear the problem followed me, but what the heck causes it?)
    *The only way to unmount/eject a disk image is to use the Disk Utility Program.*
    *DVDs also can only be ejected via Disk Utility*
    The iDisk connection can only be killed by opening Activity Monitor and killing the webdavfs_agent process.
    Would love some help. I've searched a lot and have a fair amount of folks with this problem, but no real solution.

    That'll work; however, then the OP has to reset all of his preferences. Easier would be to log into the newly created admin account, backup the bad account's folder, delete the bad account, selecting the save data option (which is stored in /Users/Deleted Users/ as a disk image), recreate the bad account using the same username/password combo, log out and back into the recreated original account. Mount the saved data dmg file in /Users/Deleted Users/, open the /Library/Preferences/ folder from the saved data, open the current /Users/restored account/Library/Preferences/ folder, and slowly copy plist files from the saved data folder to the current one. Log out and back in to ensure there's no conflict and things still work correctly. Resolving these kinds of conflicts is a laborious process, but not as laborious as resetting preferences or even remembering what you set weeks, months, or years ago.

  • Jdbc connection pool for oracle problem - not creating

    hi,
    iam not able to connect to oraclepool, iamusing weblogic 5.1 ,i started the
    server but i am able to connect oracle pool
    iam getting a sqlexception as
    Sat Jul 22 01:46:09 PDT 2000:<I> <JDBC Pool> Creating connection pool oraclePool
    with:
    {refreshMinutes=10, poolName=oraclePool, loginDelaySecs=1, testTable=dual, maxCa
    pacity=10, props=user=SCOTT;password=tiger;server=DEMO, allowShrinking=true, dri
    ver=weblogic.jdbc.oci.Driver, aclName=weblogic.jdbc.connectionPool.oraclePool,
    c
    apacityIncrement=2, initialCapacity=4, url=jdbc:weblogic:oracle, shrinkPeriodMin
    s=15}
    Delaying 1 seconds before making a oraclePool pool connection.
    java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'no weblogicoci36 in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    can anyone tell me why is this happening ,thanks in advance
    san

    Place the bin/oci815_5 in the weblogic installation in your path. You can set this path in
    your startweblogic script. If you are on a unix environment, set this in the LD_LIBRARY path.
    Shiva.
    san wrote:
    hi shiva,
    iam using oralce8i , so what i hv to do to rectify this problem, any idea, suggestions,
    san
    Shiva Paranandi <[email protected]> wrote:
    Your path should contain the oracle libraries and the oci815_8 directory
    (if say you
    are using oracle 8i).
    Shiva.
    san wrote:
    hi,
    iam not able to connect to oraclepool, iamusing weblogic 5.1 ,i startedthe
    server but i am able to connect oracle pool
    iam getting a sqlexception as
    Sat Jul 22 01:46:09 PDT 2000:<I> <JDBC Pool> Creating connection pooloraclePool
    with:
    {refreshMinutes=10, poolName=oraclePool, loginDelaySecs=1, testTable=dual,
    maxCa> >> pacity=10, props=user=SCOTT;password=tiger;server=DEMO, allowShrinking=true,> >dri> >> ver=weblogic.jdbc.oci.Driver, aclName=weblogic.jdbc.connectionPool.oraclePool,> >> c> >> apacityIncrement=2, initialCapacity=4, url=jdbc:weblogic:oracle, shrinkPeriodMin> >> s=15
    Delaying 1 seconds before making a oraclePool pool connection.
    java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
    with the message 'no weblogicoci36 in java.library.path'.
    at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
    nectionEnvFactory.java:149)
    can anyone tell me why is this happening ,thanks in advance
    san

  • JDBC Connection String for MS Sql Server 2000 with Instance Name

    Hi All,
    I am having problems connecting to a MS Sql Server 2000 database using MSSqlServer4
    driver when the database server has an Instance Name. If the database server has
    no instance name then I am able to connect using the connection string
    connection=jdbc:weblogic:mssqlserver4:hansa:1433
    But when I have the MS Sql Server DB with an instance name such as "TestInstance",
    then I am unable to connect with any of the connection strings given below
    connection=jdbc:weblogic:mssqlserver4:hansa\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa\\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:1433:TestInstance
    Can anybody help me in resolving this issue. Appreciate your help.
    Thanks in advance.
    Vikram

    Vikram wrote:
    Hi All,
    I am having problems connecting to a MS Sql Server 2000 database using MSSqlServer4
    driver when the database server has an Instance Name. If the database server has
    no instance name then I am able to connect using the connection string
    connection=jdbc:weblogic:mssqlserver4:hansa:1433
    But when I have the MS Sql Server DB with an instance name such as "TestInstance",
    then I am unable to connect with any of the connection strings given below
    connection=jdbc:weblogic:mssqlserver4:hansa\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa\\TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:TestInstance:1433 or
    connection=jdbc:weblogic:mssqlserver4:hansa:1433:TestInstance
    Can anybody help me in resolving this issue. Appreciate your help.Hi. No type-4 jdbc driver is going to be able to use a name for a DBMS instance.
    Let's assume you have two DBMS instances running on the machine hansa. One
    of them may be listening for tcp connections on port 1433, but the other must not.
    The other most be listening on some other port number you have chosen.
    Therefore, to choose which DBMS instance you want to connect to, use the
    working URL you have, and switch the port number as desired.
    Joe Weinstein
    >
    >
    Thanks in advance.
    Vikram

Maybe you are looking for