Call SQLDeveloper.exe with connection details

Hi there..
I am trying to use SQLDeveloper from windows command prompt with DB server IP address, port number and SID.
i.e .....
sqldeveloper.exe userid/[email protected]:1521/sid
Can some one help me?
Thank You
Sridhar

Hi Sridhar,
That is not currently supported, but I see multiple feature requests on the SQL Developer Exchange (sqldeveloper.oracle.com) for command line logon and other actions. For example https://apex.oracle.com/pls/apex/f?p=43135:7:103357436289732::NO:RP,7:P7_ID:8341
The closest thing to it already implemented would be to use the sdcli command line interface which supports the use of connection names.  The 4.0 release supports command line batch processing in the following areas:
C:\Tools\ide\sqldeveloper\bin>sdcli
Available features:
cart: Database Cart Batch Tasks
dba: Basic Batch DBA Tasks
format: SQL Format Task
migration: Database Migration Tasks
reports: Basic Batch Reporting Tasks
unittest: Unit Testing Batch Tasks
Otherwise, when running sqldeveloper.exe from sqldeveloper\bin you can only pass a sql file name as a parameter.  For example,
sqldeveloper abc.sql 
which works if abc.sql is in the sqldeveloper\bin directory.  Or just provide a fully qualified path name for sql file.  It will open in a worksheet with the toolbar and connection selector drop-down list active.
Regards,
Gary
SQL Developer Team

Similar Messages

  • Call gcc.exe with java

    Hi there:
    I need help. I am trying to write a program that compiles *.c file(s) and capture the compilation result. Here is what I tried:
    BufferedReader br = new BufferedReader(new FileReader(srcFile));
    fileName = br.readLine();
    System.out.println(fileName);
    Runtime rt1 = Runtime.getRuntime();
    Process proc1 = rt1.exec("cmd /c C:/jdk1.3.1_07/bin/gcc "+fileName); //***here is the problem ***
    InputStream inp = proc1.getInputStream();
    int charIn1;
    while( (charIn1 = inp.read()) != -1 )
    System.out.print( (char)charIn1 );
    Here GCC should show compilation errors because I planted syntax errors in my test *.c file. But for some reason nothing gets displayed on the screen. Is there a way to know whats going on behind the scene! Or do I need to pursue something else such as JNI instead of directly calling gcc program !
    Please help if possible.
    -JCodda

    Don't invoke gcc throught the 'cmd' command shell; invoke it directly like this --
    String gcc= "C:/jdk1.3.1_07/bin/gcc";
    Process rt1.exec(new String[] { gcc, filename });
    // etc.
    [/code
    I've used this form of exec() just because 'filename' might contain whitespace which gets tokenzed out and splits up the file name.
    kind regards,
    Jos                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • LDAP list of DB Services contains duplicate name, with wrong connect detail

    Sqldeveloper 2.1.1.64 (running on Vista, or Linux)
    Using LDAP to define a db connection, connection to the ldap server is successful and returns a list of ~360 database entries.
    Within this list 2 database names appear twice with the next db name is missing. Of concern is the connection details supplied with the database
    are for the next (omitted) db!
    The work around is to use the basic connection type when defining the 4 databases.
    Is this a known problem ? Is there a fix available ?

    Mugunthan
    Yes we have applied 11i.AZ.H.2. I am getting several errors still that we trying to resolve
    One of them is
    ===========>>>
    Uploading snapshot to central instance failed, with 3 different messages
    Error: An invalid status '-1' was passed to fnd_concurrent.set_completion_status. The valid statuses are: 'NORMAL', 'WARNING', 'ERROR'FND     at oracle.apps.az.r12.util.XmlTransmorpher.<init>(XmlTransmorpher.java:301)
         at oracle.apps.az.r12.extractor.cpserver.APIExtractor.insertGenericSelectionSet(APIExtractor.java:231)
    please assist.
    regards
    girish

  • Native process calling exe with admin role

    Hi,
    I´m developing an AIR extended desktop application that call some executables (.exe) and receive data from them via STDOUT.
    problem: I must call a executable with admin privilegies and receive data from it.
    Does anybody faced this problem?
    I developed another C# Console application that uses manifest to run under admin privilegies and this console app call my desired executable. It opened, but it´s not sending data via STDOUT to AIR .
    any suggestion will be very welcome.
    thanks.

    I ran into the extact same problem. When you launch a program using cmd.exe from AIR you are hooking the stdout for cmd.exe instead ofthe program launched by cmd.exe.
    The only way I accomplished what you are trying to do is to write 2 separate C# apps. The first does not require admin rights and AIR will launch this app and listen for the stdout. The first app then launches the second app (which does require admin rights) and connects to it via a created named pipe. So the second app writes out to the created named pipe, the first app recieves the info and writes it to stdout, AIR then receives the info and you can finally get some sleep.
    Ridiculous? YES!
    Does it work? YES!

  • After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    After I've upgraded my iPhone iOS to 5.0.1, I got problems with connectivity. If my iPhone lose network, then it gets frozzen and I cannot make calls. After restart the telephone still does not work.

    1. Download the iOS 5.0.1: http://www.tobias-hartmann.net/2011/11/download-ios-5-0-1-veroffentlicht-direkte -downloadlinks/
    2. open itunes,Click in iTunes while holding down the Shift key (on Windows) or Alt key (Mac) to restore and firmware

  • How do you get your iPhone to stop connecting to face time while on a voice call? And it also does this when I'm on the phone with someone who doesn't have an iPhone. I look down at my phone while on a call and it says connecting to face time

    How do you get your iPhone to stop connecting to face time while on a voice call? And it also does this when I'm on the phone with someone who doesn't have an iPhone. I look down at my phone while on a call and it says connecting to face time

    How are you dialing these calls?

  • HT4993 How do you get your iPhone to stop connecting to face time while on a voice call? And it also does this when I'm on the phone with someone who doesn't have an iPhone. I look down at my phone while on a call and it says connecting to face time

    How do you get your iPhone to stop connecting to face time while on a voice call? And it also does this when I'm on the phone with someone who doesn't have an iPhone. I look down at my phone while on a call and it says connecting to face time

    How are you dialing these calls?

  • FaceTime not working on my Macbook Pro. I am able to sign in successfully and add contacts.  When I try to call a contact with an iPhone, its connecting then fails.  When someone try to FaceTime me,I try to access but it says connecting then fail

    FaceTime not working on my Macbook Pro. I am able to sign in successfully and add contacts.  When I try to call a contact with an iPhone, it says connecting then fails by ending automatically.   When someone try to FaceTime me,I accept but it says connecting then fail.  I only have a MacBook Pro to FaceTime and not an iPhone.  I was informed that I should be able to FaceTime from my laptop via video call without an iPhone.
    Please advise.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    1. The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    2. Connect to a different network, such as a public Wi-Fi hotspot, and try again.

  • Decision Service calls failing with connection refused

    Hi All,
    Breifing of the bpel process - Async bpel process XX_BPEL_ASYNC_002 calls decision services and a sync bpel process XX_BPEL_SYNC_001.
    We have moved to cluster 10.1.3.5.0 from 10.1.3.3.0 and the deployement of the bpel process and the decision service done on two nodes i.e., node51 and node55.
    But the bpel process is able to call the decision service only when the node 51 is UP and running, but if node 51 is down and node 55 is up and running it is failing with connection refused error. It is also working when 55 is DOWN and 051 is UP.
    the exact error is:
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused.
    We are using file based repository.
    It is failing when it tries to call particular url:
    http://loadbalancerurl:7777/orabpel/domain001/XX_BPEL_ASYNC_002/1.0/decisionservices.decs
    Can anyone please help me or advice me for finding some solution.
    Thanks
    Sreejit

    Hi Fatsah,
    It has been a while since we resolved this problem. But these were  the basic steps that we had taken.
    The receiver was configured a File adatpter with FTP:
    Port: 10021
    Connection security : FTPS (FTP using SSL/TLS) for Control and Data Connection
    Command Order: AUTH TLS,USER,PASS,PBSZ,PROT
    Problem: The message was blocked in our firewall.
    FTPS in this case used 10021 as the control port and the firewall allowed to pass the control request.
    Once the connection was accepted at the control level, it generated a random port number  to pass data on the channel.
    This random port number was blocked in the firewall.
    We monitored the data port numbers generated at firewall. Then we configured the firewall to open any port number  between the specific IP addresses of the sender and the receiver. That resolved the problem.
    Hope this helps!
    Please give points if this is helpful.
    Thank you.
    Dharmasiri Amith

  • Stored Procedure Call with Connection Pools

    Hi everybody,
    I have changed my Database-Connection to Connection Pooling.
    No I try to call a stored procedure like this:
    Connection connection;
    CallableStatement callStmt;
    Integer sp_result;
    //--- Set callable stored procedure
    String call = "{?=call myStoredProcedure(?,?,?)}";
    try {
    if( connection != null ) {
    callStmt = connection.prepareCall( call );
    callStmt.registerOutParameter( 1, java.sql.Types.INTEGER );
    callStmt.setInt( 2, 3 );
    callStmt.setString( 3, plz );
    callStmt.setString( 4, ort );
    callStmt.execute( call );
    sp_result = new Integer( callStmt.getInt(1) );
    callStmt.close();
    result = sp_result.intValue();
    } else {
    log.error( "Connection = null" );
    } catch( SQLException ex ) {
    log.error( ex.toString() );
    ServletUtils.forwardRequest(this, request, response,
    "/error.jsp", "errorMsg", ex.toString() );
    Without Connection Pooling, my Connection is of
    'weblogic.jdbc.mssqlserver4.MicrosoftConnection'
    With Connection Pooling my Connection is of
    'weblogic.jdbc2.rmi.SerialConnection'
    And now, the stored procedure can't be found anymore.
    There comes an SQLException:
    Gespeicherte Prozedur 'myStoredProcedure' konnte nicht gefunden werden.
    Severity 16, State 62, Procedure 'myDBServer null', Line 5
    One possibility is that the SerialConnection can't call the stored procedure
    like the Microsoft-specific Connection (I use MS-SQL-Server)
    Another is that the call have to be another stucture.
    I would be pleased if somebody is expirienced in this behaviour.
    Thousand thanx,
    Hammer.

    You need to use a DataModifyQuery as your query does not return anything.
    James : http://www.eclipselink.org

  • When i call someone who already connected with another call it doesn't show any wating notification. why? it is very important. all other mobiles have this potion. Please give me some solution.

    when i call someone who already connected with another call it doesn't show any wating notification. why? it is very important. all other mobiles have this option. Please give me some solution.

    Your iPhone can take multiple calls. If you answer your phone from one person or call someone and another call comes into you, you will hear a beep and if you pull your phone away from your ear, you will see that you can hang up the call with the 1st person or answer the 2nd call and then swap between the two.
    I have no idea what you mean by you calling someone who is already talking to someone. I've never been able to see on my iPhone that someone I'm calling is already talking to someone else.

  • Hi i recently bought a used iphone 4 on orange in the uk and although everything seems to be working fine it will not send or receive calls and texts or connect to the internet, its like its been blocked, i have spent time resseting it with apple

    i recently purchaced a used iphone4 on orange in the uk and although everything seems to work it will not send or recieve calls and texts or connect to internet,i have spent time resetting it through itunes myself and with an apple technician, iv done all the usual reset network and stuff and the sim works in my other phone. its like the phone has been blocked but it hasnt as iv done all the checks to see if it was stolen or blacklisted.please if anyone can help id b very grateful

    i bought the phone from someone who lives in my village, there is no error code, when apple did a diagnostic on the phone they said it was running perfect. when you say carrier locked what exactly do you mean as i put a brand new orange sim in the phone and everything seems fine but the sim dosnt seem to activate so i tried it in my unlocked 4s and i got missed calls and txt's that id sent to it while it was in the 4, when i try ring it in the 4 it says sorry calls are currently not being connected to this number then goes to orange answerphone

  • Call Labview generated EXE with Parameters

    Hi
    I have generated an exe  in a Lab project(bcos of the no of VIs = 300) 
    I want  to call this EXE in   Teststand  with  Parameters
    how to achive this
    mytry1)   as  executable  but  the cluster outs cant be exported to teststand 
    mytry2)  as a dll   called in Teststand  ->  I cant see  the outs (it just provides one return value)
    Attachments:
    sapouterror.PNG ‏190 KB

    Dear aparab,
    does the following article help with the DLL call?
    http://digital.ni.com/public.nsf/allkb/22BF02003B4​588808625717F003ECD67
    Kind regards

  • How can I automate the multi-step process of looking up a caller's contact details when a telephone call comes in with caller ID?

    How can I automate the multi-step process of looking up a caller's contact details when a telephone call comes in with caller ID. I want to be able to see more than just the first & last name when a client calls me. I would like the caller ID to pull up the same information that shows up when you search for and find a contact name and then click on the right arrow.
    My workaround is to force/enter both the last name and the address in the last name field since then the address will show up.
    The only computerized way to look up this additional information is to put the client on hold, memorize the first and last name and correctly enter it in the search field of the contact database and hopefully find it before the client gets tired of waiting.
    Note that I go to about 48 small jobs per week. So far I have about 9,000 contacts. It's easy to make a mistake and have the client wondering what I'm doing and what's taking so long.
    The second workaround is to use paper and pencil and ask the client for name, address, cross street and phone number again, repeating what I did some time previously.
    Please help meautomate this process.

    You don't have to put anyone on hold. When the call comes in, tap the Home button, then tap contacts, go to the contact. Tap Home button when finished, tap the top banner to return to the call screen.

  • OniPhone 6 Plus. Connectinge 6 Plus. Connecting Bluetooth to my Prius bluetooth has been successful However, I am unable to answer or place calls via the bluetooth connection even though the connection has been established. Can anyone help with this?

    With my new iPhone 6 Plus. Connectinge 6 Plus. Connecting Bluetooth to my Prius bluetooth has been successful. However, I am unable to answer or place calls via the bluetooth connection even though the connection has been established. It worked well with my previous iPhone 4S. Can anyone help with this?

        I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
    Thank you,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Is there an easy way of creating an ACL for denying users?

    Hi All, I like to create an ACL that would prevent about 50 users from accessing a particular network in our MPLS network.  I do not want to create another vlan for this.  Let's say I want to deny this range 10.12.16.20 - 50   from accessing 10.3.0.0

  • RECOVERY FAILURE!!!

    my HP Pavillion G6 2102TX is also unable to complete the restoration from the genuine windows 7 dvds. it fails at the last step of restoration, when the system rerstarts, it fails to boot. now i've installed a trial version of windows 7, it works fin

  • BAPI to change invoice document status from deleted to something else

    Hi experts, When the document is deleted thorugh MR8M, the invoice status(rbstat) in rbkp table of the invoice doument(MIRO) change to 2 i.e. deleted. I want to use the same data for parking again by using standard BAPI_INCOMINGINVOICE_GETDETAIL. But

  • CS4 extended-Installation-English Language Pack error

    i just upgraded from photoshop CS3 to CS4. The installation went fine, except a the end, an error message was in the additional info box, saying: Adobe Photoshop CS4 English Language Pack Error: Error 2. LangPack (English) for DeviceCentral Error: I

  • Airport Extreme Base Station as NTP local time server?

    Hi, I saw here: http://www.macosxhints.com/article.php?story=20040809162009908 that an airport express can act as a local time server for your LAN. However I tried setting 10.0.1.1 on my computer to use an AEBS the same way and get this in the log: n