Cannot display the results in SQL Developer

Hello Experts - I installed Oracle SQL Developer, just ran simple query. Nothing appears in the results window. Can you please let me know why?

Select * of the double

Done «I installed...» "mean you use 4.1.0? Or is it an older version, perhaps even an Early Adopter version? Have you installed in an empty folder? Were there no migration of user settings step?  Did you run the SQL statement (even if it is technically incorrect, as posted here, I guess the Oracle manages Analyzer) using the declaration of implementation (Ctrl + Enter) or run (F5) Script?

So, you do not have much to do, but...

1. try to use the latest version of production, installed in an empty folder.  In fact, the 4.1.1 patch comes out.

2. try to click on the little black down, arrow down to the left of the box of the spreadsheet to see if that exposes a results pane.

3. try window > Windows reset factory settings if you think that the layout of fenestration of the product is somehow screwed up.

4. try view > log to see which makes its appearance in the statements of the Log pane tab when you run the SQL (version 4.1.0 & upward).

Tags: Database

Similar Questions

  • Cannot display the results to the database during "Update": SQL statement

    Hello

    I get this error trying to update a VO via the UI or BCBrowser.

    Cannot display the results to the database during "Update": SQL statement

    This is a default single front & right THAT VO creates on the object of the entity (Database Table)

    On the same table and with the same credentials of DB, I could update the record.

    Any guess on what went wrong?

    Thanks in advance for any help.

    p.s Jdev 11.1.1.6

    Journal:

    oracle.jbo.DMLException: Houston-26041: could not publish data from database in "Update": SQL statement "START the CAR UPDATED CarEO SET SEL_ITEM =: 1 WHERE TXN_NO =: 2 AND LOGID =: AND SEQNO = 3: 4 POLL DELIVERY_MODE, CERTIFICATION_REQ, SOFT_COPY_IND, SELITEM IN: 5,: 6,: 7,: 8; END; ».

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)

    at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)

    at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)

    at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)

    at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)

    at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)

    at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)

    at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)

    at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)

    at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)

    at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)

    at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)

    to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

    at java.awt.Component.processMouseEvent(Component.java:6289)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

    at java.awt.Component.processEvent(Component.java:6054)

    at java.awt.Container.processEvent(Container.java:2041)

    at java.awt.Component.dispatchEventImpl(Component.java:4652)

    at java.awt.Container.dispatchEventImpl(Container.java:2099)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

    at java.awt.Container.dispatchEventImpl(Container.java:2085)

    at java.awt.Window.dispatchEventImpl(Window.java:2478)

    at java.awt.Component.dispatchEvent(Component.java:4482)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)

    to java.awt.EventQueue.access$ 000 (EventQueue.java:85)

    in java.awt.EventQueue$ 1.run(EventQueue.java:603)

    in java.awt.EventQueue$ 1.run(EventQueue.java:601)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)

    in java.awt.EventQueue$ 2.run(EventQueue.java:617)

    in java.awt.EventQueue$ 2.run(EventQueue.java:615)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Caused by: java.sql.SQLException: invalid column type

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterInternal(OracleCallableStatement.java:150)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:399)

    at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:581)

    at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParameter(OracleCallableStatementWrapper.java:1765)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindUpdateStatement(OracleSQLBuilderImpl.java:2243)

    at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:10524)

    at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:412)

    ... 52 more

    The problem is solved now.

    new columns added to the database table, after the creation of the entity object. Those changes were not picked up in the entity object.

    I found this difference after object entity with the DB Table comparison.

    And when I added these new columns to EO & VO, I don't get this error more.

    Thanks to all who tried to help

  • Cannot display the results in the SQL Developer tool

    Hello Experts - I installed Oracle SQL Developer (version 1.5.5), just run a simple query. Nothing appears in the results window. Can you please let me know why?

    Select * of the double

    You have an error message in the message area.

    White spaces are important in SQL!

    Good bye

    DPT

  • When my friend l. a automatic updates for Windows Vista, it can no longer browse the web, well connected (as evidenced by Skype and diagnostics) the message "internet explore cannot display the page" coming up. Is there a way to fix this?

    Explore cannot display the page
    Vista updates
    Restart

    Hello

    Welcome to Microsoft Windows Vista Forums.

    I suggest you follow these steps:

    Method 1: See if you can view another Web page

    To do this, follow these steps:

    Start Internet Explorer.

    In the top of the browser address bar, enter one of the following addresses:

    http://www.Microsoft.com

    http://www.MSN.com

    http://support.Microsoft.com

    If you do not receive a similar error message after entering one of these addresses in the address bar, contact the owner of the Web site where you see the problem. The website is maybe temporarily unavailable or other problems.
     
    If you receive the same error message, go to the next method.

    Method 2: Run the Network Diagnostics tool in Internet Explorer

    To do this, follow these steps:

    Start Internet Explorer, and then try to access the Web page that displays the error message.

    On the page that displays an Internet Explorer error message, click diagnose connection problems . The Network Diagnostics tool will run. When the tool has finished, it will notify if you one of the following results:

    He was unable to find a problem.

    It has detected a problem. In addition, the tool will provide guidance on the next steps to take to resolve the problem.

    Note Users of Internet Explorer 6, click on detect network settings

    Click IP address , and note the IP address. You may have to it for future troubleshooting.

    Follow the steps in the Network Diagnostics tool to fix any connection problems.

    Start Internet Explorer.

    If you receive the same error message, go to the next method.

    Method 3: Use the delete browsing history

    If resetting the modem or the router has not resolved the problem, delete your browsing history might help. Follow these steps to delete your temporary Internet files, history and form data:

    Internet Explore 7

    Start Internet Explorer.

    On the Tools menu, click delete browsing history .

    Select the check box next to Temporary Internet files .

    Select the check box next to the history .

    Select the check box next to form data .

    Select the check box next to Cookies .

    At the bottom of the window, click delete .

    Close Internet Explorer and restart Internet Explorer, and then try to access the Web page.

    Internet Explorer 6

    Start Internet Explorer.

    On the Tools menu, click Internet Options .

    In the Temporary Internet files section, click delete files and then click to select the text box delete all offline content , and then click OK .

    In the history section, click clear history , and then click Yes .

    Close Internet Explorer and restart Internet Explorer, and then try to access the Web page.

    If you receive the same error message, go to the next method.

    Method 4: Use the Internet Explorer (No Add-ons) mode

    To do this, click Start , point to programs , point to Accessories , point to System Tools and then click Internet Explorer (No Add-ons) .

    Note The Internet Explorer (No Add-ons) mode is only available for Internet Explorer 7 and Internet Explorer 8.

    If this resolves the problem, follow these steps to isolate the browser add-on that is causing the problem:

    Click Tools and then click Internet Options .

    Click on the programs tab, and then click Manage Add-ons .

    Click an add-on in the name list, and then click disable .

    Repeat step 3 until you identify the add-on that is causing the problem.

    If the methods in the "Resolution" section General did not resolve your issue, you can try to use the methods in the "Advanced Troubleshooting" section If you are not comfortable with advanced troubleshooting, you can ask for help or contact support. For information about how to contact support, please visit the Microsoft Web site at the following address:

    http://support.Microsoft.com/OAS/default.aspx?PRID=12357

    For more information follow the link below:

    http://support.Microsoft.com/kb/956196

    Hope this information is helpful

    Suresh G

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Error manually running Windows updates "the website has encountered a problem and cannot display the page you are trying to view. The options provided below might help you solve the problem.

    Original title - manual update of Windows XP via "Windows Update" fails

    07/01/14: click on "Windows Update" on the desktop (XP Home) and XP Tablet

    Result: 'the site has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. »

    This office has begun on about 3 days ago and just this morning appeared on the Tablet

    I do McAfee and Microsoft updates manually every morning after the startup of computers so that they will not automatically be updated when I'm busy with other things

    I suspect that the McAfee via Verizon security package is the culprit since the 'look' of their package and procedures changed end of December

    Since then, they have had updates almost every day

    And around the same time, my problem appeared on XP Home Edition, I was not able to access Adobe PDF files and had to re-download Adobe Reader XI

    Any body else having the same problem?

    And help get the update of Windows XP to run again?

    It would not be the first step to disable automatic updates in Control Panel and manually download and install the most recent cumulative security update for internet explorer since without first, everything in the way of troubleshooting will be futile?

    Download and install the latest cumulative security for IE8 update and manually restart the computer.

    visit windows update via the shortened link in your Start menu.

    Assuming that you have Win XP SP3 and IE8, it will be the necessary file

    http://download.Microsoft.com/download/1/9/A/19A6AC47-9EA0-455F-B918-A44D25B5304C/IE8-WindowsXP-KB2898785-x86-enu.exe

  • Windows XP update error: 0x8024D001, the site has encountered a problem and cannot display the page you are trying to view.

    Original title: Windows XP ~ Windows Update problem.
     
    During three days of solid, and I slept then work, sleep and then working to solve a problem I have with the functionality of Windows XP Windows Update - this is the error message I get constantly

    [Error number: 0x8024D001]

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    I installed a new copy of Windows XP on a hard disk nine, installed Service Pack 1, Service Pack 2 and Service Pack 3, installed Internet Explorer 8 installed .NET Framework 2.0 as Microsoft requested, modified popup settings to allow Windows Update page to be free to scan my system for updates, etc... and I even enabled all Active X permissions BUT I still can't Windows Update to allow me to download all updates, patches, etc... Windows Update has generally

    I also turned on automatic updates requirement also BUT no dice - I can't just not update Windows to activate and start as normal, no matter how many times I format the drive and do a fresh install.

    I had to get a new drive hard as my old crashed.

    Now, I have to install Windows XP again but I noticed how old, easy to update somehow has been paralyzed.

    It's as IF Microsoft is crippling of Windows Update to start simple as pie, then now we users HAVE to jump through hoops to get our operating system Windows XP set to day and repeatedly queries Microsoft asks us or install 'FIX IT' service does not work and it is impossible to reach by phone about Microsoft , and the live online help runs into errors when it is installed, so I have to hit the Internet Forum here for advice.

    How, in words simple Windows XP allow Windows Update to run the scan, to download and install the process what it is supposed to do?

    What exactly is missing to allow the screen to show the green bar and scan the notificiation there have updates available?

    What I am doing wrong?

    I really hate to say this, BUT I'm literally at the edge of tears.

    Help!

    Is there a maintenance program master as an "all-in-One rollup patch" that will search the lack of programs, applications, and settings of Windows XP and makes a one-way relay to set everything right and ensure that the programs needed to make Windows Update work are knitted in Windows XP, including all programs missing subprogrammes and to settings then check their self errors or incorrect version but it provides goes off to FIND the RIGHT version of What is needed?

    Or better yet a disc Compilation of master i.e. Final Service Pack 4.0 that contains all fixes known on DVD that would be found in the downloaded Windows Update but rather is purchased for $10.00 that contains each hotfix and update known for Windows XP so that we can manually update Windows XP on the side of the user of the Internet without having to go on the internet?

    You need 3 things to WU work.

    WindowsXP-KB892130-ENU - x 86 .exe   KB892130 Windows Genuine Advantage Validation v1.9.42.0
    WindowsXP-KB898461x86 - ENU.exe   KB898461 Installs a permanent copy of the Package for Windows Installer

    And and unofficial WUA.

    He's right on obsolete dll of WUA that MS is not updated once sometimes for some unknown reason... even the WU Fix there don't solve it. I ran a few tests in the fall and virtual machine on the same issue yesterday. You must install the unofficial Windows UPDATE agent.
    Windows Update Agent below... MS last isn't the last. Boo Ms.
    Download WindowsUpdateAgent7.6.7600.256 - 257.zip to your desktop (MS does not have the latest version of Windows Update Agent. Only 7.4.7600.243 so make us with this).

    Unzip it, go to the folder and double-click RunMe - MakeInstallWindowsUpdateAgent.bat.

    It will download, MS, the files needed to create the Windows Update Agent 7.6.7600.256/257 and then install it. The files that it contains are 100% Microsoft. He uses just a few third-party tools to make it.

    You will be left with the installer, WindowsUpdateAgent7.6.7600.256 - 257.exe. Keep or delete. Your choice.

    Analysis antivirus for WindowsUpdateAgent7.6.7600.256 - 257.zip

    Information for network administrators about how to obtain the latest Windows Update Agent

    Taken from the newsletter above...
    View
    There is no stand-alone installer for the latest version of the Windows Update Agent (7.6.7600.256)

    EDIT: I forgot to mention. It took 1 hour before the scan finished for me. A guy that I was helping on another forum just let WU scan of the day to the next. When he awoke, the scan had the results. So please be patient.

    "Or better yet a disc Compilation of master i.e. Final Service Pack 4.0 that contains all fixes known on DVD that would be in the downloaded Windows Update, but instead is purchased for $10.00 that contains each hotfix and update known for Windows XP so that we can manually update Windows XP on the side of the user of the Internet without having to go on the internet?

    You can create a CD to date and does not deal with all the hassles during the fresh installation. You need nLite and my script of the UDC. You will only need SP3 when "slipstreaming". No SP1 or SP2.

  • Cannot install "Express updates" online, get the message "site has encountered a problem and cannot display the page, you are you are trying to view.

    I try to install my Windows updates on my Windows XP machine. I go to the windows update site, click on "Express" method to install. And get the error message "site has encountered a problem and cannot display the page, you are you are trying to view. I rebooted several times and tried several times, always with the same result. Also, there is an error number in the dialog box. The error number is 0 x 80070424

    Any suggestions?

  • After the removal of the malware "IE cannot display the webpage" - a user only

    After removing various malware with Symantec Endpoint Protection 11, MalwareBytes 1.46 and the Microsoft Malicious Software Removal Tool, the user who received the malware (all detected instances are found on their profile or in the system restore points) can not access all the Web sites with IE 7:

    "IE cannot display the webpage."

    The administrator account, or another standard account have the problem.

    I tried to open IE with 'no Add-ons' when you are connected to the consumer - same result.

    I have reset the Internet Explorer settings on the tab 'Advanced' Internet Explorer (inetcpl.cpl) - same result.

    Once more, the other two users can access Internet without problem.

    The 'user' can access the network otherwise - e-mail, drives mapped to the server, etc...

    One option: delete and re-create the profile of the user in question.

    But before resorting to that, is there another option?

    If I deleted Internet Explorer components in his profile, would they be recreated (correctly)?

    System Restore is not an option, because the troubleshooting procedure indicated that we should delete because they could just bring back the malware. And indeed, the malware has been detected in several snapshots.

    Have you tried to double check the proxy in Internet Explorer?

    Try going to the Internet Option-> setting connection and LAN, check the setting and be sure to correctly configure other users.

    You can also try to contact Symantec Support for more help with this problem.

  • RV120W ROUTER/firewall "cannot display the webpage".

    I have a small LAN using a T1 of One Communications line.  Static IP address.

    30 workstations.  Windows 2003 DHCP server.

    Installed new RV-120W firewall router last week replacing an old unit of Netgear.

    Configure VPN tunnel on the unit, have remote access for about 10 users.

    This part works well.  A little slow, but acceptable.

    My question: is internet connectivity on internal LAN in and out.  She's very agitated.

    Upload and download speed has been consistent (~2.5M/sec)

    External Pings see the very minimal loss.

    Users have seem intermittent loss of web streams and corrupt downloads.  web activity 90% is ok, but we continue then getting "cannot display the webpage error."

    NSLOOKUP displays the DNS, but occasssionally "TIMEOUT" occurs.

    I got the provider perform loopback tests and replace WIC on CISCO 1841 router T1, but I still see the behavior.

    I see by reading other forms, that it is an ongoing problem with the routers of RV.

    My settings...

    Public static IP / DNS on the router.

    Reverses the MTU to 1500.  I have adjusted downwards by increment to 1350.

    Windows Server 2003 has RV120W address as the router / gateway.

    T1 to CISCO 1841 ROUTER... to CISCO RV120W... to LAN CISCO SLM248G interrrupteurs (2).

    I do not configure all redirects the port.

    I continue the line tests on my end, but as I said this problem was not existing with Netgear unit.

    Please indicate any change of setting / suggestions.

    Hi Jason et al...

    In my view, the technician are now experiencing a UDP on the Rv120W question.

    The internal discussions on the issue of R & D and development seems to be;

    1. default on RV120W a UDP Flood attack control that limit 25 UDP by customer connections in one case there, IE to a particular instance of time a PC behind the router can establish only 25 UDP Transactions, if we exceed router drops packets UDP.

    2. we have a script that sends dns queries to search at a very high pace that the router deletes the entries in the UDP, in this way, that we accumulate the UDP entry in the router table (IE 25 entries)

    3. once 25 limit is reached, we are unable to resolve DNS queries, in addition to using the script or by using the browser.

    4. in real-world scenarios it could be a PC behind the router and open a website where all the elements on the Web page are related to the different website, if you open this type of Web site, it may have links to over 25 different site and clog the table routers UDP for the PC and the user may not able to solve queries DNS additional and impossible of browse all new Web sites. This inability to browse happens until the UDP entries on the router time dead and are deleted.

    5. this limit of 25 is because of the feature called raw block UDP on the router that is enabled by default.

    6. once we disable the block UDP Flood, router does not check 25 connections limit UDP and dns resolution is continuous, without interruption.

    This is a customers in the area could be to see breaks in the DNS resolutions and browse site failed.

    Some customers talked explicitly about DNS failures.

    Jason I see that you have placed a service call, so I hope that CCORAL who posted August 15 should be helping you.

    So people, if the technician finds the problem not a hardware issue requiring an RMA, the technician will intensify the call for our people of level 2 in the Irvine case, probably CCORAL.  You will get a help to solve this problem.

    The small business support center, should be aware of the problem. Please do not hesitate to show them this announcement, I am ready to discuss with them to get things moving.

    Yet once, if you have not already done, please contact the HWC and place a request for service and keep a copy of this number they give you as a reference (you can need). My apologies for the inconvenience that you all had.

    concerning

    Dave Hornstein

    Small businesses, channel system engineer

    Cisco - Research Triangle Park.  U.S..

    http://www.Cisco.com/en/us/support/tsd_cisco_small_business_support_center_contacts.html

  • to access https URLs EBS R12.1.3 leads to "Internet Explorer cannot display the webpage"


    Hi all

    DB: 11.2.0.3.0

    EBS:12.1.3

    O / S:Solaris 64-bit SPARC

    IE browser: 9.0

    Description of the problem

    Cloned target database TEST1 TEST2 source RMAN full backup database. But the access to the url https EBS R12.1.3 leads to "Internet Explorer cannot display the webpage"?

    AutoConfig results on DB and Apps Tier and also ran ojspcompile, but still the same issue.

    $ perl ojspCompile.pl - compile - hunting Pei 2

    set of log file: / t000/test1/inst/apps/TEST1_Hostname/logs/appl/rgf/ojsp/ojsp

    from... (by him compiling all)

    using 10i internal ojsp worm: 10

    synchronization of dependency:

    deplist loading... 8095

    enumeration of JSP pages... 8095

    update dependency... 0

    initialization of compilation:

    eliminating the children... 6024 (-2071)

    translation and compilation:

    translate JSP pages... 6024/6024 in 7m50s

    the jsp compilation... 6024/6024 in 35m17s

    Finished!

    Bounced A services after always the same question. Could someone please share the fix if encountered such a problem before.

    Thanks for your time,

    user10088255

    Problem is solved.

  • How to display the result sqlplus in java?

    I want to call sqlplus to run some commands sql in java, but how can I print the result of sqlplus?

    In java code, I call sqlplus as:

    Process of p;
    Run the command
    p = Runtime.getRuntime () .exec (commandString);
    print the result of the command
    InputStream inputStream = p.getInputStream ();

    How to display the result of the execution?

    Published by: Yi on February 26, 2012 23:41

    You can use ProcessBuilder. Copy the following code starts sql * more and runs the script in the variable "filename". It displays the results in the console of NetBeans.

    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.File;
    import java.util.Map;
    
    public class test1 {
    
        public static void main (String args []) {
    
            test_script();
        }
    
        public static void test_script () {
    
            String fileName = "@test_table.sql";
            String sqlPath = "E:\\";
    
            String sqlCmd = "sqlplus";
    
            String arg1   = "user/password@sid"; -- plug in your user, password and db name
            String arg2   = fileName;
            try {
                String line;
                ProcessBuilder pb = new ProcessBuilder(sqlCmd, arg1, arg2);
                Map env = pb.environment();
                env.put("VAR1", arg1);
                env.put("VAR2", arg2);
                pb.directory(new File(sqlPath));
                pb.redirectErrorStream(true);
                Process p = pb.start();
              BufferedReader bri = new BufferedReader
                (new InputStreamReader(p.getInputStream()));
              BufferedReader bre = new BufferedReader
                (new InputStreamReader(p.getErrorStream()));
              while ((line = bri.readLine()) != null) {
                System.out.println(line);
              }
              bri.close();
              while ((line = bre.readLine()) != null) {
                System.out.println(line);
              }
              bre.close();
              System.out.println("Done.");
            }
            catch (Exception err) {
              err.printStackTrace();
            }
    
        }
    
    }
    

    Here is the content of the script at E:\\test_table.sql

    Prompt drop TABLE ANOTHER_TEST;
    DROP TABLE ANOTHER_TEST CASCADE CONSTRAINTS
    /
    
    Prompt Table ANOTHER_TEST;
    CREATE TABLE ANOTHER_TEST
    (
      BATCH_SEQ             NUMBER,
      BATCH_GROUP_ID        NUMBER,
      STATUS_FLAG           VARCHAR2(30 BYTE),
      OBJ_BEING_PROCESSED   VARCHAR2(80 BYTE),
      BATCH_RUN_START_DTTM  DATE,
      BATCH_RUN_END_DTTM    DATE,
      CREATE_DTTM           DATE,
      CREATE_USER           VARCHAR2(30 BYTE),
      UPDATE_DTTM           DATE,
      UPDATE_USER           VARCHAR2(30 BYTE)
    )
    LOGGING
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING
    /
    
    COMMENT ON TABLE ANOTHER_TEST IS 'This is a test table.'
    /
    
    EXIT
    /
    
  • IE cannot display the page. When calling to report

    Hi all
    I developed a simple report 'emp.rdf '.
    and copied to the runtime folder (which contains plx, fmx, rdf) files on the server
    I do a form contains a button to run this report. the output is pdf.
    When I click on the report button to run the browser display "page not found".

    This is the code I use to run the report
       DECLARE
        v_url varchar2(2000):=NULL; 
         v_name       varchar2(30);  
         repid        report_object := find_report_object('syntax'); 
         v_rep        varchar2(200);
         v_ref_num    varchar2(20);
         v_rep_status varchar2(20); 
         v_form       varchar2(8);
         v_rep_svr    varchar2(100);
         v_rep_HOST   varchar2(100);
         v_rep_port    varchar2(100);
         v_prnt_svr   varchar2(100); 
         v_user_name  varchar2(100) := get_application_property(username);
         v_disposition varchar2(100):='inline';
         v_job varchar2(100):='preview';
    
    BEGIN
        v_prnt_svr :=  gnr_util.GET_SYSTEM_PARAMETER('REP_SERVER');-- to get report server name  
        v_name   := 'emp.rdf';-- report name    
        
        SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
        SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
        SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
        SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT, 'HTMLCSS');
        --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
        SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_prnt_svr);
          SET_report_OBJECT_PROPERTY(repid,report_OTHER,'paramform=no&P1='||:block.item1);  
        SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,v_name);
        if :p_rep_type = 'SPR' then
          --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'SPREADSHEET');
          SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTMLCSS');
        elsif :p_rep_type='PDF' then 
          SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
        else
          SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTMLCSS');  
        end if;
        v_rep := RUN_REPORT_OBJECT(repid);
        
        if v_rep IS NULL then
            message('Report failed for destination type CACHE.');
        else
          v_rep_status := report_object_status(v_rep);
          WHILE v_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
            v_rep_status := report_object_status(v_rep);
          END LOOP;
          IF v_rep_status = 'FINISHED' THEN                
            /*Display report in the browser*/
            v_rep_svr          := get_report_object_property(repid,REPORT_SERVER);
            v_rep_HOST         := gnr_util.GET_SYSTEM_PARAMETER('REPORT_HOST');
            v_rep_port         := gnr_util.GET_SYSTEM_PARAMETER('REPORT_PORT');
            -- Call Report output to be displayed in a seperate window 
            v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port||')||'/reports/rwservlet/getjobid'
                              ||substr(v_rep,instr(v_rep,
                              '_',-1)+1)||'?'||'server='||v_rep_svr;      
                WEB.SHOW_DOCUMENT(v_url,'_blank');       
          ELSE
            MESSAGE('Report failed with error message '||v_rep_status);
          END IF;
        end if;
      
    END;
    
    the url is:
    http://hv1.almothanna-mb.edu.qa:7777/reports/rwservlet/getjobid4?server=rep_hv1_oraapps
    but internet explorer cannot display the page
    Note:
    application server is version 10g 2
    Operating system: MS windows server 2008
    Adope acropat version: 5
    Enter the net Explorer vesion: 8

    Hello

    The string is not properly trained (a quote and a concatenation):

    Your url:
    v_url: = nvl (v_rep_port,'http: / /'| v_rep_HOST |': ' | v_rep_port |') | "/ Reports/rwservlet/getjobid ' | substr (v_rep, InStr(v_rep,'_',-1) + 1) |'? ' |' server =' | v_rep_svr;

    Correction:
    v_url: = nvl (v_rep_port,'http: / /'| v_rep_HOST |': ' | v_rep_port) | "/ Reports/rwservlet/getjobid ' | substr (v_rep, InStr(v_rep,'_',-1) + 1) |'? ' |' server =' | v_rep_svr;

    It may be useful

    Mohamed Dadi

  • The website cannot display the page

    Hello

    I create a custom component and add it to project as a library, when I add to the page, and then deploy it (successfully deploy) the result page will be empty *(The website cannot display the page) * without exception, have idea about this problem?

    Note that I use JDeveloper 11 g & ADF

    Have you looked into the app server logs? You really do jsf components custom or do declarative adf elements? What is your code looks like (all of it)? You app was working before you put the reference in our custom component? What is your hat size?

  • ODI - cannot display the Essbase data?

    I just installed ODI and Essbase has been installed in my PC a long time ago. I find a document called: odiess_getting_started.pdf, this document is a sample for ODI and Essbase. I followed the steps described in the document,..., later, when I want to see Essbase data of the ODI Designer see the example Essbase application database such as: scenario, market, it appears the error message: "Cannot display the data in the table", "java.sql.SQLException: Driver must be specified."
    java.sql.SQLException: Driver must be specified
    at com.sunopsis.sql.SnpsConnection.a (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.testConnection (SnpsConnection.java)
    at com.sunopsis.graphical.frame.b.jc.bD (jc.java)
    at com.sunopsis.graphical.frame.bo.bz (bo.java)
    at com.sunopsis.graphical.frame.b.ja.dj (ja.java)
    to com.sunopsis.graphical.frame.b.ja. < init > (ja.java)
    to com.sunopsis.graphical.frame.b.jc. < init > (jc.java)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.sunopsis.graphical.frame.bb.b (bb.java)
    at com.sunopsis.graphical.tools.utils.swingworker.v.call (v.java)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at com.sunopsis.graphical.tools.utils.swingworker.l.run (l.java)
    to edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:665)
    to edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:690)
    at java.lang.Thread.run(Thread.java:619)

    What is the problem with me? Thank you!

    This is one of the many 'characteristics' of ODI.

    Data preview works for SQL and just about everything (well, I think it works for text, but nothing Hyperion files).

    I have this trouble, John Goodwin to correct.
    Kind regards

    Cameron Lackpour

  • Display the results in the String form: dosen't work based on the example

    Hello

    To understand How to display the results as a string, I tried to reproduce this:
    [http://apex.oracle.com/pls/otn/f?p=31517:84 | http://apex.oracle.com/pls/otn/f?p=31517:84]

    I have my emp table
    EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO 
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
     7839  KING PRESIDENT -  81-11-17 5000 -  10 
     7698 BLAKE MANAGER 7839 81-05-01 2850 -  30 
     7782 CLARK MANAGER 7839 81-06-09 2450 -  10 
     7566 JONES MANAGER 7839 81-04-02 2975 -  20 
     7788 SCOTT ANALYST 7566 82-12-09 3000 -  20 
     7902 FORD ANALYST 7566 81-12-03 3000 -  20 
     7369 SMITH CLERK 7902 80-12-17 800 -  20 
     7499 ALLEN SALESMAN 7698 81-02-20 1600 300 30 
     7521 WARD SALESMAN 7698 81-02-22 1250 500 30 
     7654 MARTIN SALESMAN 7698 81-09-28 1250 1400 30 
     7844 TURNER SALESMAN 7698 81-09-08 1500 0 30 
     7876 ADAMS CLERK 7788 83-01-12 1100 -  20 
     7900 JAMES CLERK 7698 81-12-03 950 -  30 
     7934 MILLER CLERK 7782 82-01-23 1300 -  10 
    I've created with the wizard, on my page, a new AREA of REPORT
    -Selected SQL - RESULTS
    -Name: Test
    -Area Source Type: SQL Query
    -Model region: region report


    IN function enter SQL Query or PL/SQL returns a SQL query, I COPY-PASTE the following code to [http://apex.oracle.com/pls/otn/f?p=31517:84 | http://apex.oracle.com/pls/otn/f?p=31517:84]

    DECLARE
       p_vc_arr2   htmldb_application_global.vc_arr2;
       p_string    VARCHAR2 (2000);
    BEGIN
       SELECT ename
       BULK COLLECT INTO p_vc_arr2
         FROM emp
        WHERE deptno = :p84_select_deptno;
    
       p_string := 
         HTMLDB_UTIL.table_to_string (p_vc_arr2, ':');
       HTP.p (p_string);
    END;
    AND I have this error:

    + 1 error has occurred.
    Invalid query, no found select statement

    Is not a PL/SQP selected?

    Do I did wrong?


    Thank you

    Roseline Paquin
    Montreal, Canada

    1 error has occurred
    Invalid query, no found select statement

    What happens if you try

    DECLARE
       p_vc_arr2   htmldb_application_global.vc_arr2;
       p_string    VARCHAR2 (2000);
    BEGIN
       SELECT ename
       BULK COLLECT INTO p_vc_arr2
         FROM emp
        WHERE deptno = :p84_select_deptno;
    
        return 'select ''' ||  HTMLDB_UTIL.table_to_string (p_vc_arr2, ':') || ''' str from dual';
    
    END;
    

    ??

Maybe you are looking for