Can't use JDBC URL for multiple LDAPs

ColdFusion 8,0,1,195765 Enterprise (Trial)
We use Oracle OID (LDAP) instead of tnsnames.ora to resolve database connection strings. This is how I specify one LDAP JDBC URL. On the CF admin page, Server Settings, Java and JVM, ColdFusion Class Path is set to C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar. Under Data & Services, Data Sources, create a new source. Set JDBC URL to
jdbc:oracle:thin:@ldap://mdaoid1.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc= com
where mdaoid1 is one of the two Oracle OID servers that resolve connection strings, and mdad2 is an entry in the two OID's sync'ed to each other. That works.
According to many sources based on Google search for "space separated LDAP URLs", I should be able to add another LDAP server separated by space. Now I append " ldap://mdaoid2.mycompany.com:389/mdad2,cn=OracleContext,dc=mycompany,dc=com" (no quotes, added to indicate leading space) to that string. Upon clicking Submit, I get
Connection verification failed for data source: orcl10g3
java.sql.SQLException: For input string: "389 ldap:"
The root cause was that: java.sql.SQLException: For input string: "389 ldap:"
(orcl10g3 is the CF data source name I'm creating) Some say I need to replace space with %20 in the double LDAP URL. With %20, I get error
Connection verification failed for data source: orcl10g3
java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
The root cause was that: java.sql.SQLException: Io exception: JNDI Package failurejavax.naming.InvalidNameException: Invalid name: mdad2,cn=OracleContext,dc=mycompany,dc=com ldap://mdaoid2.mycompany.com:389
Question: How do I add more than one LDAP server to the JDBC URL so I can achieve failover and load balance?
Yong Huang
yong321 at yahoo.com

The message above was posted by me two years ago and was brought to my attention today. Here's a short update: The network team added a load balancer mdaoid in front of, and resolved to, mdaoid1 and mdaoid2 (in round-robin fashion). The problem described in this thread is bypassed because the JDBC URL can simply use one-OID format, in which mdaoid is used as the LDAP server.

Similar Messages

  • Help me! can not using JDBC driver for MS SQL server

    I can test sucess in connection, but create EJB when have follow error.
    04/05/19 12:23:04 SQL error: No suitable driver
    04/05/19 12:23:10 Error creating table: No suitable driver
    500 Internal Server Error
    java.lang.NoClassDefFoundError: oracle/jbo/html/HtmlServices
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:182)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)

    HI All,
    I am using JDBC driver to pull data from MS SQL Server
    2000 for my application Liaison Content Exchange, and
    which only accepts JDBC drivers to talk to databases.
    I dowloaded the driver from Microsoft website, and had
    a successful installation.What do you call "a successful installation"? Where was the JAR file places?
    But the application ask me for Driver Name, Class, URL, Time out and Data Source.What application do you mean? Liaison Content Exchange? I'm not familiar with that product.
    By default no driver is available in the drop down combo box. After using
    "com.microsoft.jdbcx.sqlserver.SQLServerDataSource" as
    class and
    jdbc:microsoft:sqlserver://192.168.17.2:1433; as url,
    the application throw me a error which states "Unable
    to instantiate an instance of the application driver"Sounds like it could be one of several things:
    (1) The JDBC JAR is not in the CLASSPATH where Liaison Content Exchange expects to find it.
    (2) You need to do something else to tell Liaison Content Exchange more information to define the data source.
    (3) The URL might be incorrect. Only you can know if the IP address of the host is correct. You don't supply a database name - perhaps you should. Are you sure that 1433 is the correct port number? I know that's true for SQL Server 7.0, but I remember that the default was changed to something else for SQL Server 2000. Ask your database admin what port this listener is assigned to for SQL Server 2000.
    (4) You might want to append ";selectmethod=cursor" to the end of your URL. (See the docs for this.)
    (5) Make sure you can connect to the database with something other than Java (e.g., the M$ SQL Server client).
    . I am not able to trouble shoot this problem, any one
    pls help me ASAP at [email protected]
    Thx.Bad idea to post an e-mail address. You're not supposed to communicate outside the forum. it's against the guidelines for using the forum.

  • Can I use Concatenate function for multiple rows?

    I have a lead list that contains 5000 leads. The format of this list contains address data that is saved in separate columns (ie: address, address 2, city, state, zip). I need this data in 1 column. I tried to use the concatenate function to combine the data for 1 row and it worked perfectly. I tried to do this for multiple rows and the function is greyed out. Is there a work around or way that I can combine this data for all 5000 rows without doing it 1 by one?

    Look at this table;
    In B9, the formula is;
    =B2&" "&C2&" "&D2&" "&E2&" "&B3&" "&C3&" "&D3&" "&E3
    Yvan KOENIG (VALLAURIS, France) dimanche 18 octobre 2009 20:51:47

  • How can I use a GL for multiple Cost Centers?

    Hello all,
    I would appreciate your comments on the following issue. POINTS AVIALABLE. I have setup several cost centers in my Sandbox. The cost centers represent departments that my client has eg Finance & Accounting, Marketing, Shipping/Warehouse.
    I have created cost elements for the P&L accounts using OKB2, OKB3, SM35. My client sometimes has situations where they use the same GL for several cost centers. For example, the Freight Expense GL acct is used by Shipping/Warehouse cost center. However, someone in the Accounting/Finance cost center could also use that same GL account as well if they were shipping some documents. I can’t use OKB9, since the GL is not used exclusively by the Shipping/Warehouse Cost Center.
    <b>If, for example, we create a Sales order, I want to be able to specify somewhere that the freight for that SO must go to the Shipping/Warehouse Cost center. Is there a field in an SO, Delivery document or billing document where we can tell the system that this freight is being used for Shipping/Warehouse cost center?</b>
    I know if the Accounting Cost center uses the Freight GL, we can specify the Cost Center in FB50, so that is not a big concern.
    Thanks in advance!

    Hello Sunil,
    Thanks for your response. I tried go to VL02N and selected the line item and then went to 'GOTO'-- 'Header' --'Financial Processing'. <b>I don't see a field 'Cost Center'.</b> All I see are the following:
    Billing block
    Billing status
    Totals status
    Paym.guar.proc.
    Financ.doc.no.
    Opening date
    Validity end
    Billing Date
    Billing date
    Depreciation
    PresentDate
    Number of days
    But if I select the item, won't the whole cost of the item be sent to the cost center? I am trying to just get the Freight charged on the item to get posted to the Shipping/Warehouse Cost center.
    <b>Please advise.</b>
    Thanks.
    Message was edited by:
            United 99

  • Use same URL for multiple SharePoint sites

    Hi there,
    Our requirement is to create multiple web applications in one Farm (which contains 1 Web Front End, 1 Application Server & 1 DB Server) using 80 port of Web Front End which is having single public IP.
    There are number of ways of doing this - One way is to create new domain name for each web application (like www.abc.com; www.xyz.com); another way is to create multiple sub domains in a single domain name like www.sub1.abc.com; www.sub2.abc.com, etc.
    However our requirement for URL naming convention for these web applications is "www.[Domain Name]/[Client Name]"  (like www.abc.com/client1, www.abc.com/client2, etc) 
    In SharePoint we can achieve this if we create one Parent site and others as Child site. However we don't want to us this. 
    So, is their any way where we can form URL of these web applications as "www.[Domain Name]/[Client Name]" 
    Regards,
    Adi

    Is there a reason for this?  I would think subdomains would be ideal, but just curious on the reasoning.  Also, do they need a full web application, or simply different site collections?  If you just need site collections, and assuming you
    don't have a massive number of them, you could use Managed Paths to explicitly allow a site collection immediately under the root url.  Be careful, though, Managed Paths can cause a lot of overhead after you go over 10-15 if you're hardware isn't up for
    it (I would assume you wouldn't put 10-15 web apps on the farm anyway, cause that's also not so great).
    There really isn't a way to do what you are asking for a full Web Application, only at the site collection level(which should be good from my limited understanding of your scenario)
    I am very curious why subdomains wouldn't work, though, as they can all point to the same IP and takes no additional purchasing of domains or anything.
    Christopher Webb MCM: SharePoint 2010 MCSM: SharePoint Charter MCT http://blog.christophermichaelwebb.com

  • How can I use custom urls for my clouds?

    Currently my clouds are [cloudname].adobecqcloud.com, but how do I redirect or point them to [mysite].com?  Or say, for my development cloud, how would I point it to dev.[mysite].com?  I need to be able to control this ASAP.  Thank you for your help.

    Hi,
    You have the choice between 2 topologies when creating your AWS account in Cloud Manager:
    1) Development/Testing
    2) Staging/Production
    In order to preserve your DNS record from changing and have it always pointing to your site, you need to use the Staging/Production topology that includes an ELB in front of the Dispatcher instance(s). In this scenario, you need to point your DNS CNAME record to the DNS name associated with the ELB, that you can retrieve from the AWS console (will be added to Cloud Manager UI soon). Even when you pause/start your cloud, the ELB remains up and running, therefore after restarting your cloud the mapping of your DNS CNAME record to the ELB DNS name will be functional with no delay.
    Using the Development/Testing topology, every time you pause/restart the cloud from Cloud Manager, the IP address of the instances change because it is using dynamic IPs. Therefore, even if you point your DNS CNAME record to the name of the instance (ex: mysite.com pointing to mysite.adobecqcloud.com), it will take some time for the new DNS/IP mapping (mysite.adobecqcloud.com / new IP address of Dispatcher) to propagate. Note: there is no ELB configured for this topology.
    The main reason for using this method is to eliminate the need for using EIP address (static IP address) when it's not really necessary and because they are hard to get from Amazon. But it's also for not paying for EIP address when they are not used (cloud is paused/stopped).
    Hope this helps answer your question.

  • Can I use Signal Express for multiple customers for only the one time $699?

    How do I go about distributing Signal Expresss applications to multiple customers?

    Hi Nutter,
    Unlike LabVIEW, Signal Express doesn’t have any file distribution capabilities.  If your application uses only basic features, you could install the free LE version of Signal Express on as many computers as necessary.  If you need the full capabilities of Signal Express, however, you would need to purchase a license for each customer.
    An alternative to paying for Signal Express for each customer deployment would be to generate LabVIEW code from the Signal Express project and create an executable.  This process is described in the Knowledge Base articles Generate LabVIEW VIs from Signal Express and Deploying VIs generated in Signal Express.  Note that this method requires that you have LabVIEW installed on your development computer with Application Builder capabilities.
    Regards,
    Message Edited by Luke G on 05-02-2007 12:23 PM
    Luke
    Applications Engineer
    National Instruments

  • If I buy creative cloud student plan, can I use the software on multiple computers. I have 2 laptops for school.

    If I buy creative cloud student plan, can I use the software on multiple computers. I have 2 laptops for school.

    Creative Cloud Help | Creative Cloud / Common Questions
    Can I use the software I download from Creative Cloud on more than one machine?
    Yes. Creative Cloud desktop applications can be downloaded and installed on multiple computers, regardless of operating system. However, activation is limited to two machines per individual associated with the membership. See the terms of use for more information. Learn how to deactivate a Creative Cloud license on a machine.

  • Can i use same licence for after effects 7 on multiple computers

    can i use same licence for after effects 7 on multiple computers

    you can install on any number of computers, but you can activate on, at most, two computers concurrently with a single user license.

  • Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0

    Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0
    Please help!!

    I dont think you can do this, because you have to name/url of the web application in realm. You have to add new realm for each web application.here is script to add another realm.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $sts = Get-SPTrustedIdentityTokenIssuer | where {$_.Name -eq "ADFS2.0"}
    $uri = new-object System.Uri("http://url/")
    $sts.ProviderRealms.Add($uri, "urn:sharepoint:Name")
    $sts.Update();
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Can I use 2 datasources for UME?

    Hi Experts,
    I want to use 2 datasources for UME, LDAP as primary DS, UME own DB as second DS.
    Actually, i want to do that if it can't find an account in LDAP, the system will try to retrieve this account in UME own DB.
    Can I do that in EP7.0??
    Regards,
    Sidney

    Sidney,
    You can configure UME with max user management/AD servers at a time.
    Its called multi-domain authentication
    It will require a change in the UME xml file.
    You can read more here -
    http://help.sap.com/erp2005_ehp_04/helpdata/en/af/0cfc3f09c2c442e10000000a1550b0/frameset.htm
    Can portal authenticate to multiple domains?
    http://help.sap.com/saphelp_nw70/helpdata/en/63/14f5b51a6eff429f2d8b2063400e82/frameset.htm
    Regards,
    Ritu

  • Can I use a domain for one site and mobile me for a different site?

    Can I use a domain for one site and mobile me for a different site?
    I have two sites, I would like to have up and I would like to do one through a domain and one through mobileme is this possible?

    Yes you can. You can use the CNAME method of forwarding for the first site (the top site in iWeb) and use the MMe URL for your account for the other site: http://web.me.com/YourAccount_Name/SiteName/
    OT

  • Can you use one PC for 2 different Ipods, with out erasing the others music from Itunes?

    Can you use one PC for different Ipod touch's , with out erasing the other persons Itunes music?

    Yes.  See:
    How to use multiple iPods, iPads, or iPhones with one computer

  • How can I use jbo:InputSelect for a char type filed?

    How can I use <jbo:InputSelect for a char type filed?
    I have two tables. One is room (primary key is room(type is char)), another table is responsibility (foreign ker is room(type is char)). Both tables have same length for room column.
    There is a problem:
    If I use (in the "DataEditComponent.jsp" file)
    <jbo:InputSelect multiple="false" datasource="dsEdit" displaydatasource="roomData" displaydataitem="ROOM" displayvaluedataitem="ROOM" ></jbo:InputSelect>
    to get the room input for responsibility from combobox(Datasource roomData is from room table). In the form the room field cannot bind the data in combobox, alway select the first item. And if I select one item and click the update button.There is an error message:
    Error Message: JBO-27010: Attribute set with value H409 for Room in Responsibility has invalid precision/scale
    I found If I changed the field type from char to varchar2 in database also change the entity objects, it works well. I wonder if there are any diffrence using <jbo:InputSelect tag in char and varchar2 type. How can I use <jbo:InputSelect for a char type filed as i don't want to change my datatype in database at this stage.
    I try this in JDeveloper 9.03, 9.034, 9.04. The result is the same.

    If I were in your shoes, here's how I would do it:
    <%-- Assuming you have dsRoom and dsResponsibility --%>
    <%-- Select is an HTML tag --%>
    <select name="ROOM" size="1">
    <% char roomID =""; // Init your character var
    // Open a rowsetIterator to get the records and add them to the LOV
    <jbo:RowsetIterate datasource="dsResponsibility" changecurrentrow="true" >
    <% roomID = (char)dsResponsibility.getRowSet().getCurrentRow().getAttribute("ROOM"); // Grab the char value
    // add the value to the LOV
    %>
    <option value="<%=roomID%>"><%=roomID%></option>
    </jbo:RowsetIterate>
    </select>
    If you are using this as part of an edit page you may want to utilize the "selected" option of the <option> tag. In one instance I am doing this on an edit page because the use may open an existing record. If I don't account for it, then it will change the DB to contain the first value from the list! You can do a simple check like:
    //Set the current record's char
    char curRecord = (char)rowEdit.getAttribute("ROOM");
    // inside the iterate:
    if (curRecord == roomID) {
    <option value="<%=roomID%>" selected><%=roomID%></option>
    } else {
    <option value="<%=roomID%>" ><%=roomID%></option>
    Hope that helps!

  • Can I use preview to export multiple page PDF as jpegs?

    Using Preview, I export multiple page PDF as jpeg and results are the first page only as jpeg. Can I use preview to export multiple page PDF as jpeg for every page?

    Automator is great for this if you need to export many pages to JPG, or just have to do this often.
    Two other quick and dirty way sto get it done:
    (1) Enable thumbnail view, click on the ONE PAGE you want to convert to jpg, then choose "export." If you choose more than one page, only the first will get exported to jpg.
    (2) Create a copy of the file, delete all the pages except the one you want to export to JPG, and export that page. You may be able to "undo" the delete, get all your pages back again, and re-delete all but the one you want to export, etc. I would not recommend doing this on the original version of the file because of Preview's autosave so-called "feature."

Maybe you are looking for

  • Flashing back MacBook 5,2

    I have a Firewire camera that will runs on a MacBook 5,2.  The system needs Boot ROM MB52.0088.B05. I have a number of Macbook 5,2 running the camera wil no trouble.  All have the Boot ROM I need and it works great. However I have more Macbooks 5,2 t

  • Issue with 'Show approval controls in task details only' in Human Task

    Hi, In human task, for the approval controls / outcomes to be displayed only in the task details (Not in the task summary, actions menu), the below option was selected and it was working perfectly in SOA BPM worklist application (11.1.1.5.0). But whe

  • Packed project Library Labview Class Issues

    I packed  my whole Labview project as a packed proj library during   teststand Deployment  I am using classes in my  labview project  unfortunalely by one of sub seq calls got the following error ! "Type mismatch. The LabVIEW Class does not match the

  • Generate new version of doc on each status or change in DIR

    how system can auto generate new veriosn of DIR on every change in DIR. for example i change the status of DIR ,system should generate new veriosn.

  • Another question about jerky QT

    I'm sorry if this has been covered already, but I have spent a couple of hours searching the forums and have not found this particular problem being addressed. I have a CD-R on which was recorded a QT movie that is used in my work. The disc plays fin