Database connection without username

Hello,
Using JDeveloper Database connection wizard, can we create
a connection to the database without using user name and
password? That is, I need to login with a "/".
Murali

The thick drivers need a client side install of SQL*Net and the relevant oracle /bin directory containing that the ocijdbc9.dll will need to be in your library path.
So the question is - do you want OPS$ functionality enought to do a client side SQL*Net install on each machine?

Similar Messages

  • JDev TP4 - Test Database Connection without password

    Hi,
    I create a new database connection for an application,
    if I specify that password is not saved and press Test Connection button with an empty password, the "connection information" dialog for username and password is displayed behind the "connecting" dialog. It is not possible to switch to "connection information" dialog.
    Although there is a Cancel button on the "connecting" dialog, it is also not possible to press it. To close JDeveloper, it is killed from Task Manager.
    If Save Password on the create database connection is checked and an empty password is given pressing Test Connection button, "Test failed: Password cannot be null or empty" error message is given.
    Without testing the connection, I can save the connection in both situations.
    regards,
    Bahar

    Bahar,
    indeed this is annoying ;-( I checked with a later build and the bug is fixed meanwhile.
    Thanks for posting this
    Frank

  • Creating database connection without administrator

    I need to create a new database connection for coldfusion mx
    7 on winblows 2003 but coldfusion administrator is broken. Is there
    any way to create a new JDBC connection without it? Perhaps some
    registry or ini file editing? How about for ODBC?

    You can code a template to create a datasource using the
    adminAPI. The examples do just that. View the MSSQL example on this
    page,
    Administrator
    API.
    However, you might just want to fix you CFAdmin. Got to a
    working CFMX7 server of the same version. Zip up all of CFIDE
    (usually under wwwroot of cfusion or your docroot). Delete the
    'broken' one on your server. Unzip the CFIDE zip to replace.

  • Why is the data source not getting database connection without  exception?

    experts,
    I am trying to config server.xml to get database connection. i am now getting no exception duing the connection, but the returned connection is NULL, why? thanks/ this is my codes:
    public synchronized Connection getConnection()
    try{
    Context ctx = new InitialContext();
    if (ctx == null)
    throw new Exception("Context is null");
    Context initContext = new InitialContext();
    Context envContext = (Context)initContext.lookup("java:/comp/env");
    DataSource ds = (DataSource)envContext.lookup("test");
    Connection conn = ds.getConnection();
    }catch(Exception ex)
    ex.printStackTrace();
    return conn;
    }

    Remove the first slash after "java:".
    Context envContext =(Context)initContext.lookup("java:comp/env");

  • Connection without username, password or database name

    I'm trying to find an automated way (for a given dbms) to check whether a server name and port number correctly identifies that the given dbms is running at that location.
    For example, in MySQL, I can do something like:
    DriverManager.getConnection("jdbc:mysql://" + serverName + ":" + port + "/");
    So, I havent specified a username, password or database name. And this works (at least on my installation) by simply checking for an exception.
    My question is: Can I always rely on this for MySQL or does it depend on how the MySQL dbms is configured?
    What about MS SQL Server and Oracle?
    Any help, much appreciated.

    Your question was "Can I always rely on this for MySQ"No it wasn't. My question was:
    "Can I always rely on this for MySQL or does it depend on how the MySQL dbms is configured?"
    Its the bit between the "My question is: " and the question mark. I understand that if you chop the question in half then "no" is a valid answer but then thats not the same question.
    and the answer is[i] No! If your abilitydepends on the MySQL configuration then the answer to
    your question is still No because it means you
    can't always rely on it.
    Wrong again!
    If I was to ask "does it depend on how the MySQL dbms is configured?" then the answer is yes.
    I think "No, yes" is a better answer to the question. Although I think masijade answer is best.
    But anway, thanks for your constructive reply.

  • Database connectivity without using Class.forName()

    Hi,
    Can anyone please tell how we can connect to a database without in java without using the Class.forName() method , and then how the database driver gets loaded.
    Regards,
    Tanmoy

    Hi,
    I recently wrote code that connects to a database without using Class.forName() in order to be compatible with Microsoft's JVM. I read about it here:
    http://www.idssoftware.com/faq-e.html#E1
    Basically, you create a new Driver object and use its connect method.
    Here's what my particular code ended up being:
    String url = "jdbc:mysql://localhost:3306/test?user=root&password=mypass";
    Driver drv = new org.gjt.mm.mysql.Driver();
    Connection con = drv.connect(url,null);

  • Database connection without driver? pl. help

    Hello there
    is it possible connecting databases without having jdbc or jdbc-odbc driver? anybody has any idea or thought?
    mortoza

    Use JNI. This requires that an native interface to the database exists (what a jdbc driver would use.)
    Use RunTime.exec(). Although that would not really be a 'connection'. This requires that command line tools exist for OS that can provide whatever functionality you need.
    Use a socket. This requires that the database provides some sort of socket interface, and that you can get the documentation for it, and then can write the code to use it. For example Oracle and MS SQL Server both have a socket interface. I am not sure if Oracle provides docs and the MS SQL Server interface is probably documented only in fragmented terms (there is probably more than one.)

  • How TO use configurable Database connection with ADF BC

    I have developed a simple JSF/ ADF BC web application that connects to a database and read/display data from the db tables. I have successfully deployed the application to Tomcat 5.5.17. However, now i need to change the database the application is connecting to. My question is How can I change the Database connection without having to change the application modules or rebuild the war file ??? In other words, is there a specific file (xml) where the database connection can be changed?

    If you set up the application with a data source (I am not sure if this is possible using another app server, I use OC4J), then you would just change it there. However if you created a database connection in the JDEV and pointed your data model to that, then you will have to change and rebuild.
    You might be able to edit the xml file that contains the setttings, I am not sure my CM guys dont allow this, all of our changes have to go through our code repository.

  • Database connection via ftp

    I only have FTP access to a server that runs JSPs.
    Is there any way to get a database connection without physically going to the server?

    Correct.
    The dsn will be provided by administrator of ur server.
    Call him. He might have given u a list of parameters.
    Check it. It must be there.
    Bye,
    Samir

  • GLDI/ADI6 database connection

    GLDI is installed on a number of PC's (70)and we have recently upgraded to
    Release 11 and ADI6. The database name for Release 10.7 is the same as the new
    Release 11 database (Version 8.0.5). The problem arises when the users try to
    logon to ADI6. Because the old database name is the same as the new one, then
    the logon is not successful.
    Could you suggest a method of rolling out the new database connection for
    ADI6 to approx 70 users and remove the old GLDI database connection (without depending on user intervention.)?
    The settings are stored in Registry - HKEY_CURRENT_USER/SOFTWARE/ORACLE/GLDI/GLDI90 APPSINSTANCES
    Note:
    As a result of unsuccessful logons a file is generated on the server in
    /ph01/app/oracle/admin/PHP1/cdump.
    This could potentially cause problems on the server by filling up the file
    system.

    user13465498 wrote:
    issue 1 - Database connection not found
    In HFR, when I am running a report, which uses lot of attributes to fetch data, it is giving me error - "Database connection not found".Have you ever run this report successfully? Looks like it is not mapped to the correct database. Login to Workspace and either create or modify the db connection and map it to the report.
    issue 2 - Performance of report
    Another issue - similar report, the report, takes approx 30 mins to run, and then it returns approx 30 rows of data.(which is present in the system), is there a way the performance can be improved, because in real life, the user shall have lot of rows of data. Couple of things that could improve the performance:
    - Suppress zero and missing data if you haven't already.
    - If it is possible, let the users select dimension members from the POV or Page.
    Cheers,
    Mehmet

  • I run Dev 6i on Windows 2008 R2 64-bit,the forms are working fine after connection to the database but the reports continue to request for username, password and database connection string every time i try to open a report.

    I receive REP-0501: Unable to connect to specified database. I run developer 6i application on windows 2008 r2. I have applied the nn60.dll and nnb60.dll files to the \BIN directory. The forms are working fine. The reports will only display after the correct user id (username, password and database connection string) is supplied. This is happening to all attempts to open already complied form. Pls, help.

    If you are connecting to an Oracle 11g database, remember that by default the passwords are case sensitive. To disable that, run
    ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

  • Export to PDF from populated c# Dataset without Database connection

    I have Crystal Reports Developer Full version 11.5.12.1838, all versions of Visual Studio and about 100+ reports targeting printed paper.
    They were developed over the last decade with the Developer Designer (and it's predecessors) and are based on SQL Server Stored Procedures. In the past, they were produced at runtime using a MS Access VBA application that either printed them or exported them to PDF files. I have successfully converted that application to C#, however a few problems: despite loading a populated dataset and setting all parameters, the runtime still wants to refresh the dataset. That works for 95% of all reports, but some just use null values for the parameters (despite having set them correctly), others mix the sequence of the parameters (despite querying them correctly) and some don't use the provided credentials. But that is not the main problem.
    Now I need a way to produce (export to PDF) these reports at runtime based on a populated C# Dataset without database connectivity for the Crystal environment. The structure of the data in the Dataset is identical to what the stored procedure return in the development environment.
    The question is: is that possible and what do I need in terms of version, SDK etc. Any advice (sample links) would be much appreciated.

    Hi Ludek;
    Thanks for the hints. After many many hours of research and trial and error here are my findings:
    Assigning a dataset to CR does NOT work - seems CR is just ignoring it completely. What does (partially) work is assigning a DataTable, however, if you try to do that with a main report and more than ONE sub-report, it fails with likely unrelated error messages (not yet implemented).
    I took one of my reports and deleted all sub-reports. Assigned a DataTable at runtime - works fine. Added one sub-report that has a single field (picture) and loaded at runtime with a DataTable. No problem.
    Removed that subreport and added another subreport that has a single text field. All good.
    Now: having both sub-reports and having both subreports loaded from a DataTable fails. It works if one of the datasets is empty. It also works with 2 sub-reports returning text into their single field.
    The DataTables are populated from the exact same stored procedures (and data source) that are embedded in the report from the design (CR XI) - essentially this should be a swap from internal to external fetch with no consequences.
    I tried assigning using subDocument.SetDataSource and subDocument.Databas.Tables[0].SetDataSource  - no difference.
    The background of this: all my reports work just fine using VBA (Access), but that app will be retired and replaced by something C# based. In the meantime, the same report file has to work with both engines.
    If I cannot get the DataTable assignment for sub-reports to work, there is a plan-b type possibility: replacing the stored procedure for some sub-reports at runtime - which works using SubReport.Database.Tables[0].Location.= "newSPName" as long as the new sp has no parameters like the old one.
    The problem is that the new procedure has 2 parameters and I did not find a way to add them to the parameters collection (not allowed in sub-reports)
    Anything that comes to your mind ?
    Any help will be much appreciated
    Thanks
    Rolf

  • Publish ESB without username/password of connection using Jdeveloper

    Hi,
    I have used jdeveloper10.1.3.3 to developer BPEL Process and ESB services.
    I have created a Application Server Connection in jdeveloper with hostname, url path and RMI Port right, but without username and password.
    I have created a Integration Server Connection mapping the connection above. I tested this Integration Server and the result was:
    Application Server: FAILED
    BPEL Process Manager Server: OK
    ESB Server: OK
    After the test of Integration Serve Connection , I tried register my ESB project using the action "Register witn ESB" from Jdeveloper and the result was the error:
    "Reload services from ESB Server failed while trying to query service definitions from server."
    After the registry, I saw in the ESB Crontol that the ESB Service was publish.
    Question:
    Is possible resgistry a ESB service with URL connection correct, but without username and password of Application Server Conncetion from Jdeveloper?
    Is there any configuration for validat of username and password of Application Server Connection in the publish of ESB service?
    Is a bug of jdeveloper?
    Thanks,
    Fabrício.

    Hello. I'm pretty sure you cannot register an ESB with no username/password - it uses the username/password information in the integration server connection properties to login and deploy. We were surprised that BPEL uses ant build properties so you can specify the name/password, ESB does not - it only uses the integration server connection info.
    In 10.1.3.4 (which we don't have yet) the ability to use ant for ESB deploys has been added.
    Daren
    Edited by: djcasey on Jan 30, 2009 11:12 AM

  • How to work offline without the database connection

    The first thing that make me do not like this tool is it is not possible to work offline or at least that I find out easily.
    Why should I need the database connection to write PL/SQL, SQL or whatever.

    Thanks Duncan,
    I want exactly what I said. To have the ability to modify the PL/SQLor SQL code, of course stored in the local file system or some kind of version control system.
    This happens because I was at home and could not create stupid file to just put main methods and SQL's I want while not having the connection.
    I do not want to use 3 different tools to do simple things. I am expecting from this tool to do all things for me that are meaningful as I am in Oracle more then 10 years and know exactly how robust Oracle tools are usually covering more then simple things.
    Offline work is more then simple requirement.
    Source control is more then simple requirement as sql developer is extracted from JDeveloper.
    It is so obvious that it is not possible to modify PL/SQL code inside the database without having the connection :)
    What are you doing when the database is not available or you need to work from home and no VPN or so, in the plane (never did that but there are people that will do), ...?
    Both TOAD and if you want SQL*Plus can do it without connection of course.
    sqlplus /nolog will do it :)
    Oracle SQL*Developer is the same but you need first to create manually some SQL or other file somewhere and then open it.
    While we are here SQL*Developer is not source control aware and that is not good.

  • CCP connect without database

    Hi,
    I am trying to replicate in LabView a function which our other CCP tool (Vector CANape) does.  Our product has variable internal software, and therefore variable databases.   The method has been described to me as:
            CANape                                Product
    1)    CCP connect                         Product responds with success or failure
    2)    Exchange ID                          Product sets its pointer to the software build ID and returns the length of the SW build ID
    3)    Short upload                         Product transmits as many bytes as can fit into a short upload
    4)    repeat short upload until you have enough bytes.
    The received SW build ID then acts as a reference to the database to load. 
    How do I establish a CCP session for this without first loading a database?
    I have LabView 8.6 RT, with ECU MC Toolkit 2.1.2
    Thanks,
    Ian

    I have worked out why I am getting no response.  Using the example as provided, with an empty database path into the MC ECU Open block, the code generates error -301032, realted to an invalid ECU reference in the A2L file.  Given that there is no A2L file I try to ignore (clear) that error and continue.  But the next block (MC Set property|ECU CCP CRO Id) generates error -301002, invalid reference handle. If I replace the empty database file path with a path to the correct database for this ECU, all works fine. 
    It seems that I cannot fool the system into connecting without first identifying a database.  Unless anyone has any other ideas about how to do this, I will proceed with an alternative route: generate stripped-down A2L files for each family of ECUs, and use these to make the initial connection, before loading the more specific A2L file for that level of software. 
    Thanks,
    Ian

Maybe you are looking for

  • How can i find something that i have accidently replaced and saved. Thanks

    i accidently replace a paper i was working on with another on pages, can i still retrieve the old paper if i replaced it and did not save it?

  • DMA2200 video playback skip pauses with Windows 7

    Had DMA2200 connected to Vista Media center and all was working fine. Have upgraded to Windows 7 and when playing back recorded TV and trying to skip forward or back it has big pauses. Playback will stop for about 10 sec and often when it starts agai

  • I have a continual reoccuring pop up Script: . how can I get rid of it

    file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/Mozilla/Firefox/Profiles/26l77goa.default/extensions/%7B635abd67-4fe9-1b23-4f01-e679fa7484c1%7D/components/nsYahooFileIO.js:26

  • Mac pro and viewsonic vp930b lcd display

    mac pro and viewsonic vp930b lcd display i have two monitors set up, a viewsonic vp191b and a vp930b lcd, connected via both dvi ports on the mac pro. the vp930b when the computer goes to sleep cycles on and off with the input message. if i put the m

  • Assign Mighty Mouse Button to "Back"

    Ok, this isn't perfect, but it works "natively" without shareware or special installation. Create a new Applescript, with one line "tell "System Events" to keystroke (ASCII character 8)", then save as an Application in a folder somewhere (maybe ~/Lib