MSDOS command window
I know that this doesnt apply to LabVIEW, but there isn't an 'Off topic' board on the forums to post under, and you guys know more about computers than anyone else I know so I decided to ask this question here.
I have windows vista (if it matters for anything), and tend to use the command prompt for a lot of things out of habit.
For absolutely no (apparent) reason whatsoever, my command prompt has stopped working.
Whenever I type a command, I get:
" (command) is not recognized as an internal or external command, operable program, or batch file" , which pretty much means it has no idea what I'm typing.
Does anyone know what could have caused this?
Is there anywhere I can reinstall the program files for the MSDOS command prompt if there is such a thing?
Thanks
Cory K
Solved!
Go to Solution.
I don't have access to Vista right now, but I am assuming that you are getting to a command prompt via cmd.exe. If you are getting these errors and the file doesn't exist in the directory you're currently in, your Path variable may have gotten changed. Try manually changing the diretcory to where the exe is, and confirm whether it runs fine. If it does, then your Path environment variable is messed up. In XP, it's under your System Properites, but I don't remember off the top of my head where it is in Vista (I'm sure Google will have it somewhere).
If the file is in the directory you are in, perhaps it is a User Priveledge problem. Try running the command prompt as an Administrator and see if this fixes the problem.
Similar Messages
-
Workflow 2.6.4.0.0 configuration problem - Command window does not close
I am trying to install Oracle Workflow 2.6.4.0.0. as part of Warehouse builder using the details mentioned in this link
http://www.oracle.com/technology/obe/10gr2_owb/owb10gr2_gs/owb/lesson4/etl-mappings.htm
From the Start menu click Programs > Oracle <Database HOME> > Configuration and Migration Tools >
Workflow Configuration Assistant. The Assistant is started.
Accept the default for Install Option
Workflow Account: (Accept the default ) owf_mgr
Workflow Password: owf_mgr
SYS Password : <Enter the SYS account password>
TNS Connect Descriptor: localhost:1521:orcl
Click Submit.
However following this document, the command window did not close, and I did not get any message stating that Workflow Configuration has successfully completed.
The command window displays this message as the final step and does not close-
WorkflowCA: Executing :C:\oracle\product\10.2.0\db_1\jdk\bin\java -jar C:\oracle
\product\10.2.0\db_1\oc4j\j2ee\home\admin.jar ormi://localhost:6041 admin welcome -application WFALSNRSVCApp -testDataSource -location jdbc/WorkflowDS -username OWF_MGR
Is this installation complete? How to resolve this?
Please can any one help?
Thanks very much
AllanI ran into this problem. And it took me while to get it fixed, but It does work.
First the TNS Desc is misleading. One would think that it would be host:port:sid. What it is really looking for is host:port:servicename. But if you want to use the "Change Tablespace" drop down list you need to, enter the sys password, change it to host:port:sid - Then use the drop list. And change it back before you press submit.
The second thing that I found is that it wants to use the SYSTEM tablespace as temporary tablespace. THis is becuase it is looking for a temp tablespace called TEMP. If you look a the line default_temp = SYSTEM. And if you dont supply a tablespace it wanted to change it in the wfsysgnt.sql script in the $OH\wf\sql directory. You would think that what ever the default database tbs and temp tbs is - that owf would use that. No, it wanted to change it. Oracle needs to fix this.
So here is how i fixed it. I had to create a temporary tablespace called TEMP, does not need to be big as I dropped it after it was done. Then i had to modify the wfinstall.csh script and use the install options. Not the /tablespace this option is obayed but it will try to use the SYSTEM as the temp tbs. Here is my example that I appended:
/wfacct "owf_mgr" /wfpasswd "my_owf_mgr_pwd" /debug "true" /tnsConnDesc "my_host_ip:my_port:my_servicename" /syspasswd "change_on_install" /tablespace "OWF_TBS" -
How to get rid of the command window....
How to get rid of the command window, automatically, once the .bat file which execute the .jar has been executed?
ZnxIf you don't want the command window to show, use:
javaw yourClass
instead of...
java yourClass -
Output jframe information to command window
Hi all I have a program that tracks the assets of a customer, kind of like a cart that holds cds, appliances, etc...
I wanted to be able to print out the results to the command window after they enter the number of how many items from what the user enters after they press "current status" or if they "delete" their current items. I want it to keep doing this until they close the window and exit the program. People have told me to add the System.out.println to where it says "delete" or "current status" but Im not sure how to add it in I will attach the code here. Thanks
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class TestProgram extends JFrame implements ActionListener{
JLabel column1, column2;
JLabel totalItems, totalCost;
JLabel serialNum;
JLabel electronics, autos, furnitures, cds;
JButton TrackAssets, delete;
JPanel panel;
JTextField electronicsAsset, autosAsset, furnituresAsset, cdsAsset;
JTextField serialNumber;
JTextArea items, cost;
// constructor to initialize the top variables/fields
public TestProgram()
column1 = new JLabel("Select Items");
column2 = new JLabel("Specify Quantity");
electronics = new JLabel("Electronics");
electronicsAsset = new JTextField();
electronicsAsset.addActionListener(this);
autos = new JLabel("Autos");
autosAsset = new JTextField();
autosAsset.addActionListener(this);
furnitures = new JLabel("Furnitures");
furnituresAsset = new JTextField();
furnituresAsset.addActionListener(this);
cds = new JLabel("Compact Discs");
cdsAsset = new JTextField();
cdsAsset.addActionListener(this);
serialNum = new JLabel("Serial Number input here");
serialNumber = new JTextField();
electronicsAsset.setNextFocusableComponent(serialNumber);
//Create labels and text area components
totalItems = new JLabel("Total Items:");
totalCost = new JLabel("Total Cost:");
items = new JTextArea();
cost = new JTextArea();
//Create buttons and make action listeners
TrackAssets = new JButton("Current Status");
TrackAssets.addActionListener(this);
delete = new JButton("Delete all");
delete.addActionListener(this);
//Create a panel for the components
panel = new JPanel();
//Set panel layout to 2-column grid
//on a white
panel.setLayout(new GridLayout(0,4));
panel.setBackground(Color.white);
// add details
getContentPane().add(panel);
panel.add(column1);
panel.add(column2);
panel.add(electronics);
panel.add(electronicsAsset);
panel.add(autos);
panel.add(autosAsset);
panel.add(furnitures);
panel.add(furnituresAsset);
panel.add(cds);
panel.add(cdsAsset);
panel.add(furnitures);
panel.add(furnituresAsset);
panel.add(totalItems);
panel.add(items);
panel.add(totalCost);
panel.add(cost);
panel.add(serialNum);
panel.add(serialNumber);
panel.add(delete);
panel.add(TrackAssets);
public void actionPerformed( ActionEvent event ){
// variables for method actionPerformed
String output, output2;
Object source = event.getSource();
Integer electronicsNo, autosNo, furnituresNo, cdsNo, serialNum;
// class responsible for showing different items
AssetTracker tracker = new AssetTracker();
Double cost;
// program is instance of TestProgram creates a new file
TestProgram program = new TestProgram();
// if they track assets...
if(source == TrackAssets){
tracker.serialNum = serialNumber.getText();
tracker.electronics = electronicsAsset.getText();
tracker.autos = autosAsset.getText();
tracker.furnitures = furnituresAsset.getText();
tracker.cds = cdsAsset.getText();
if(tracker.electronics.length() > 0){
//statement that might throw an exception
try{
electronicsNo = Integer.valueOf(tracker.electronics);
tracker.itotal += electronicsNo.intValue();
//find invalid number
catch(java.lang.NumberFormatException e){
electronicsAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
if(tracker.autos.length() > 0){
//find invalid again
try{
autosNo = Integer.valueOf(tracker.autos);
tracker.itotal += autosNo.intValue();
catch(java.lang.NumberFormatException e){
System.out.println("Invalid Value");
else {
tracker.itotal += 0;
if(tracker.furnitures.length() > 0){
//seek invalid numbers
//statement that might throw an exception.
try{
furnituresNo = Integer.valueOf(tracker. furnitures);
tracker.itotal += furnituresNo.intValue();
// statements to be executed if a matching Java exception occurs in try.
catch(java.lang.NumberFormatException e){
furnituresAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
if(tracker.cds.length() > 0){
//check then find invalid
try{
cdsNo = Integer.valueOf(tracker.cds);
tracker.itotal += cdsNo.intValue();
catch(java.lang.NumberFormatException e){
cdsAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
// display
serialNum = new Integer(tracker.itotal);
output = serialNum.toString();
this.items.setText(output);
tracker.icost = (tracker.itotal * 300.00);
cost = new Double(tracker.icost);
output2 = cost.toString();
this.cost.setText(output2);
// electronics, autos, furnitures, cds
// if user delete all items from assets
if(source == delete){
serialNumber.setText("");
electronicsAsset.setText("");
autosAsset.setText("");
furnituresAsset.setText("");
cdsAsset.setText("");
serialNumber.setText("");
tracker.icost = 0;
cost = new Double(tracker.icost);
output2 = cost.toString();
this.cost.setText(output2);
tracker.itotal = 0;
serialNum = new Integer(tracker.itotal);
output = serialNum.toString();
this.items.setText(output);
// main method
public static void main( String[] args )
TestProgram frame = new TestProgram();
// title of JFrame
frame.setTitle("Asset tracking program");
// mew window created
WindowListener l = new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);// exit
// add window from package then show window
frame.addWindowListener(l);
frame.pack();
frame.setVisible(true);I don't understand the question. Are you telling us you don't understand how to use System.out.println(...);? How do you debug programs without using this method?
Usually the first program someone learns to write is something like:
public static void main(String[] args)
System.out.println("Hello World");
after they press "current status" or if they "delete" their current itemsYou want to do some activity when the above actions occur. You must already have code in your program to do something in the above cases. So simply add the System.out.println(..) statements in the same part of code. -
Variable used in OS Command (windows) not Resolving?
In my package:
1st Step: Declare Variable FILENAME
2nd Step: Set Varaible FILENAME=testcopy.txt
3rd Step: OS Command (windows), Text of your command=cmd C:\copy #CPE.FILENAME c:\temp
(CPE is the project name)
However the variable does not get resolved?
ODI 11g, hangs on the 3rd Step (Green lightning) and the code in operator is shown as: cmd C:\copy #CPE.FILENAME c:\temp
Anything additional to resolve variables in an Windows OS Command?Try with OdiOSCommand.
-
Hide command window from transactions in sap portal
Dear experts
sir i want to hide command window from transactions iview in sap portal when i using sap gui for windows sir i know very well settings for sap gui for html. so is there any possiblity for hiding command window from transactions iview when i use sap gui for windows
please help...............
Edited by: mousam jaini on Nov 1, 2010 12:11 PMHi Mousam
You can get solution from the SAP Note: 1010519
If ur system doesnot meet the pre-requiste, then you can set the below parameter under transaction sicf:
~webgui_simple_toolbar=1
Pls go through the below article to display the SAP Transaction as SAP GUI
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e046cb5c-711a-2a10-95a9-81b365901b95
Thanks
Keshari -
Printing out to command window project
hi all, i have a question on this cart program i am making, i wanted to know how to output the results to the command window every time a person clicks on the "current status" of their purchase. I want it to print out like ( 5 boxes purhcased, 4 cds bought, serial number is 1234...... ) i want it to do this until the person exits out of the program.
i have pasted the code below thanks :)
(copy and paste )
import java.awt.Color;
import java.awt.GridLayout;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
public class TestProgram extends JFrame implements ActionListener{
JLabel column1, column2;
JLabel totalItems, totalCost;
JLabel serialNum;
JLabel electronics, autos, furnitures, cds;
JButton TrackAssets, delete;
JPanel panel;
JTextField electronicsAsset, autosAsset, furnituresAsset, cdsAsset;
JTextField serialNumber;
JTextArea items, cost;
public TestProgram()
column1 = new JLabel("Select Items");
column2 = new JLabel("Specify Quantity");
electronics = new JLabel("Electronics");
electronicsAsset = new JTextField();
electronicsAsset.addActionListener(this);
autos = new JLabel("Autos");
autosAsset = new JTextField();
autosAsset.addActionListener(this);
furnitures = new JLabel("Furnitures");
furnituresAsset = new JTextField();
furnituresAsset.addActionListener(this);
cds = new JLabel("Compact Discs");
cdsAsset = new JTextField();
cdsAsset.addActionListener(this);
serialNum = new JLabel("Serial Number input here");
serialNumber = new JTextField();
electronicsAsset.setNextFocusableComponent(serialNumber);
totalItems = new JLabel("Total Items:");
totalCost = new JLabel("Total Cost:");
items = new JTextArea();
cost = new JTextArea();
TrackAssets = new JButton("Current Status");
TrackAssets.addActionListener(this);
delete = new JButton("Delete all");
delete.addActionListener(this);
panel = new JPanel();
panel.setLayout(new GridLayout(0,4));
panel.setBackground(Color.white);
getContentPane().add(panel);
panel.add(column1);
panel.add(column2);
panel.add(electronics);
panel.add(electronicsAsset);
panel.add(autos);
panel.add(autosAsset);
panel.add(furnitures);
panel.add(furnituresAsset);
panel.add(cds);
panel.add(cdsAsset);
panel.add(furnitures);
panel.add(furnituresAsset);
panel.add(totalItems);
panel.add(items);
panel.add(totalCost);
panel.add(cost);
panel.add(serialNum);
panel.add(serialNumber);
panel.add(delete);
panel.add(TrackAssets);
getContentPane().add(panel);
panel.add(column1);
panel.add(column2);
panel.add(electronics);
panel.add(electronicsAsset);
panel.add(autos);
panel.add(autosAsset);
panel.add(furnitures);
panel.add(furnituresAsset);
panel.add(cds);
panel.add(cdsAsset);
panel.add(furnitures);
panel.add(furnituresAsset);
panel.add(totalItems);
panel.add(items);
panel.add(totalCost);
panel.add(cost);
panel.add(serialNum);
panel.add(serialNumber);
panel.add(delete);
panel.add(TrackAssets);
if(tracker.electronics.length() > 0){
try{
electronicsNo = Integer.valueOf(tracker.electronics);
tracker.itotal += electronicsNo.intValue();
catch(java.lang.NumberFormatException e){
electronicsAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
if(tracker.autos.length() > 0){
try{
autosNo = Integer.valueOf(tracker.autos);
tracker.itotal += autosNo.intValue();
catch(java.lang.NumberFormatException e){
autosAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
if(tracker.furnitures.length() > 0){
try{
furnituresNo = Integer.valueOf(tracker. furnitures);
tracker.itotal += furnituresNo.intValue();
}catch(java.lang.NumberFormatException e){
furnituresAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
if(tracker.cds.length() > 0){
try{
cdsNo = Integer.valueOf(tracker.cds);
tracker.itotal += cdsNo.intValue();
catch(java.lang.NumberFormatException e){
cdsAsset.setText("Invalid Value");
else {
tracker.itotal += 0;
serialNum = new Integer(tracker.itotal);
output = serialNum.toString();
this.items.setText(output);
tracker.icost = (tracker.itotal * 300.00);
cost = new Double(tracker.icost);
output2 = cost.toString();
this.cost.setText(output2);
if(source == delete){
serialNumber.setText("");
electronicsAsset.setText("");
autosAsset.setText("");
furnituresAsset.setText("");
cdsAsset.setText("");
serialNumber.setText("");
tracker.icost = 0;
cost = new Double(tracker.icost);
output2 = cost.toString();
this.cost.setText(output2);
tracker.itotal = 0;
serialNum = new Integer(tracker.itotal);
output = serialNum.toString();
this.items.setText(output);
public static void main( String[] args )
TestProgram frame = new TestProgram();
frame.setTitle("Asset tracking program");
WindowListener l = new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
frame.addWindowListener(l);
frame.pack();
frame.setVisible(true);If you want to print out to the commmend line all you need to do if put in
System.out.println(....whatever......);Add this line of code to whereever you click the button to display the users "current Status". In hte brackets is whre you put the details of what you want ot print out e.g. boxes purchaesd etc.
Chris -
Output plsql variable to command window
I am executing a PLSQL stored procedure from my java class. I want to know how to output a variable within the PLSQL to the command window?
thanksI don't understand the question. Are you telling us you don't understand how to use System.out.println(...);? How do you debug programs without using this method?
Usually the first program someone learns to write is something like:
public static void main(String[] args)
System.out.println("Hello World");
after they press "current status" or if they "delete" their current itemsYou want to do some activity when the above actions occur. You must already have code in your program to do something in the above cases. So simply add the System.out.println(..) statements in the same part of code. -
Why it automatically recover current redo log in RMAN command window?
Firstly, I restore controlfile and datafiles from a backupset.
Then when I recover database in RMAN command window like below:
RMAN> recover database;
Starting recover at 15-AUG-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=156 devtype=DISK
starting media recovery
archive log thread 1 sequence 9 is already on disk as file /u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_9_90sd0slz_.arc
archive log thread 1 sequence 10 is already on disk as file
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_10_90sd0tsb_.arc
archive log thread 1 sequence 11 is already on disk as file
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_11_90sd110b_.arc
archive log thread 1 sequence 12 is already on disk as file
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_12_90sd2ksr_.arc
archive log thread 1 sequence 13 is already on disk as file
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_13_90sd2mc6_.arc
archive log thread 1 sequence 14 is already on disk as file
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_14_90sd2qrm_.arc
archive log thread 1 sequence 15 is already on disk as file
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_15_90sd2s0w_.arc
archive log thread 1 sequence 16 is already on disk as file /u01/app/oracle/oradata/lonion/redo03.log
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_9_90sd0slz_.arc thread=1 sequence=9
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_10_90sd0tsb_.arc thread=1 sequence=10
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_11_90sd110b_.arc thread=1 sequence=11
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_12_90sd2ksr_.arc thread=1 sequence=12
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_13_90sd2mc6_.arc thread=1 sequence=13
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_14_90sd2qrm_.arc thread=1 sequence=14
archive log filename=/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_15_90sd2s0w_.arc thread=1 sequence=15
archive log filename=/u01/app/oracle/oradata/lonion/redo03.log thread=1 sequence=16
media recovery complete, elapsed time: 00:00:04
Finished recover at 15-AUG-13
RMAN>
But, when I recover database in SQL*Plus command window like below:
[oracle@lonion ~]$ uniread sqlplus /nolog
[uniread] Loaded history (2178 lines)
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Aug 15 19:25:38 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL>
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database using backup controlfile;
ORA-00279: change 2147842454 generated at 08/15/2013 18:34:28 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_9_%u_.a
rc
ORA-00280: change 2147842454 for thread 1 is in sequence #9
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00279: change 2147842651 generated at 08/15/2013 18:40:25 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_10_%u_.
arc
ORA-00280: change 2147842651 for thread 1 is in sequence #10
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_9_90sd
0slz_.arc' no longer needed for this recovery
ORA-00279: change 2147842653 generated at 08/15/2013 18:40:26 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_11_%u_.
arc
ORA-00280: change 2147842653 for thread 1 is in sequence #11
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_10_90s
d0tsb_.arc' no longer needed for this recovery
ORA-00279: change 2147842656 generated at 08/15/2013 18:40:32 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_12_%u_.
arc
ORA-00280: change 2147842656 for thread 1 is in sequence #12
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_11_90s
d110b_.arc' no longer needed for this recovery
ORA-00279: change 2147842684 generated at 08/15/2013 18:41:21 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_13_%u_.
arc
ORA-00280: change 2147842684 for thread 1 is in sequence #13
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_12_90s
d2ksr_.arc' no longer needed for this recovery
ORA-00279: change 2147842686 generated at 08/15/2013 18:41:23 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_14_%u_.
arc
ORA-00280: change 2147842686 for thread 1 is in sequence #14
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_13_90s
d2mc6_.arc' no longer needed for this recovery
ORA-00279: change 2147842689 generated at 08/15/2013 18:41:27 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_15_%u_.
arc
ORA-00280: change 2147842689 for thread 1 is in sequence #15
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_14_90s
d2qrm_.arc' no longer needed for this recovery
ORA-00279: change 2147842691 generated at 08/15/2013 18:41:28 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_16_%u_.
arc
ORA-00280: change 2147842691 for thread 1 is in sequence #16
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_15_90s
g0or9_.arc' no longer needed for this recovery
ORA-00279: change 2147842986 generated at 08/15/2013 19:14:29 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_17_%u_.
arc
ORA-00280: change 2147842986 for thread 1 is in sequence #17
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_16_90s
g0os5_.arc' no longer needed for this recovery
ORA-00308: cannot open archived log
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_17_%u_
.arc'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
SQL> recover database using backup controlfile;
ORA-00279: change 2147842986 generated at 08/15/2013 19:14:29 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_08_15/o1_mf_1_17_%u_.
arc
ORA-00280: change 2147842986 for thread 1 is in sequence #17
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/u01/app/oracle/oradata/lonion/redo01.log ---- Yon see, proceeding this process, it can't automatically apply the current redo log.
Log applied.
Media recovery complete.
SQL>
Question Coming:
Now, my question is that 「Why it automatically recover current redo log in RMAN command window but not in SQL*Plus」?
BTW: Please pay attention to the red font.It also seems not work.
SQL> recover automatic database using backup controlfile;
ORA-00279: change 2148632889 generated at 09/26/2013 12:45:22 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_09_26/o1_mf_1_48_%u_.
arc
ORA-00280: change 2148632889 for thread 1 is in sequence #48
ORA-00278: log file
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_09_26/o1_mf_1_48_%u_
.arc' no longer needed for this recovery
ORA-00308: cannot open archived log
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_09_26/o1_mf_1_48_%u_
.arc'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00308: cannot open archived log
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_09_26/o1_mf_1_48_%u_
.arc'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-00308: cannot open archived log
'/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_09_26/o1_mf_1_48_%u_
.arc'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file
or directory
Additional information: 3
SQL>
It must specify the redo log.
SQL> recover database using backup controlfile;
ORA-00279: change 2148632889 generated at 09/26/2013 12:45:22 needed for thread
1
ORA-00289: suggestion :
/u01/app/oracle/flash_recovery_area/LONION/archivelog/2013_09_26/o1_mf_1_48_%u_.
arc
ORA-00280: change 2148632889 for thread 1 is in sequence #48
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/u01/app/oracle/oradata/lonion/redo02.log
Log applied.
Media recovery complete.
SQL> -
Error in WC dot 8 command window
Hello - I am struggling with this issue. I have created Managed Bean in WebCenter Portal Extension project (designwebcenterspaces) in Jdev 11.1.1.7 (just one method and register the bean request scope in faces-config).deployed the managed bean as WAR. Managed Bean has OPSS API implementation and interacts with LDAP (against Default Provider in weblogic)
updated the weblogic.xml with the above shared library (managed bean name) and deployed as extend.spaces.war .. have restarted the servers as required
but as soon as i login to webcenter 8888 i get following error even before the home page show up.. Pl help what might go wrong OR is it a BUG in designwebcenterspaces ?
Following is the stack from webcenter managed server command window I get the very moment I hit the URL http://localhost:8888/webcenter in browser
<Mar 7, 2015 10:33:52 PM PST> <Warning> <oracle.adf.share.ADFContext> <BEA-00000
0> <Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initializati
on is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent
For more information please enable logging for oracle.adf.share.ADFContext at FI
NEST level.>
<Mar 7, 2015 10:33:52 PM PST> <Warning> <oracle.webcenter.framework.view.support
.impl.DeviceSupportUtils> <BEA-000000> <
java.lang.NullPointerException
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1252)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:795)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getVa
lue(DeviceSupportUtils.java:214)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getSe
ededOptionalAttributes(DeviceSupportUtils.java:231)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getMa
tchingSeededAttr(DeviceSupportUtils.java:3640)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.conve
rtSupportAttribtuesToAttribtues(DeviceSupportUtils.java:3608)
at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.conThere are two more bugs filed in Dot8 & Dot8 BP4 respectively :
Bug 17173341 - NULLPOINTEREXCEPTION SEEN WHEN CREATING A PORTAL
Bug 19682876 - NPE AT STARTUP.
which are closed as a duplicate of the following bug pointed out by Kingsley_R
Bug 17528953 - PORTAL CREATION THROWS NPE IN LOGS: DEVICESUPPORTUTILS.GETVALUE
[ Source :: KM Note - NullPointerException seen in logs when starting up WebCenter Portal (Doc ID 1933824.1) ]
FYI, The exception seen in the bug 19682876 is the closest match to the stack trace or exception from your query.
The above bug 17528953 is already fixed in 11.1.1.9.0. You can request for a backport / one-off patch on top of Dot8 to see if it resolves the issue.
I hope it helps! -
How do I keep the command window open?
I want to write a batch file that will leave the window open after running so I can see what the output is.
I kind of remember having to use %k
But I'm not sure exactly how to do it.
UPDATE: I found what I was looking for, it's /k when you execute the command file.
If anyone has any additional comments about scripting and keeping the command window open, please comment.Add "pause" to the end of the batch.
¯\_(ツ)_/¯ -
Java exec spawns command window
Hello,
I am using JRE 1.4.2 (Eclipse runtime environment). Whenever I execute the following command:
System.getRuntime().exec("<some command>");
I am getting a Command Window that pops up while the process executes and closes afterwords.
Is there any way to prevent this command window from appearing. I have chained all Error and Output streams within the java program but no luck. I guess the only other solution is to not make the exec calls by making native calls from the java program, but that would be a huge undertaking.
Thanks in advance.Yes, I think you are correct.
When I do the same with say calc.exe or notepad.exe, I do not get this dos command prompt.
The command that I am trying to execute here is PCLI.exe (for PVCS). Do you have an idea of how I can deal with this program so that I do not get that annoying comand prompt? -
Using Labview 6i and Matlab 6.1. I want to be able to see Matlab warnings and error messages either in the Matlab Command Window or in Labview itself. Currently Matlab is called by Labview (which is working). However I would like to debug and/or modify my Matlab script file to better understand how the two programs are interfacing. It is difficult since no data or messages can be displayed currently to the Matlab command window. I would like to change that if it is possible - Labview is suppressing that from happening. If not possible to send these
messages to Matlab Command Window can I make it at least possible to see Matlab's actual warnings and/or error messages in Labview?I don't think you can debug your Matlab script from labVIEW. The following webpage talks about this:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/19106e318c476e608625670b005bd288?OpenDocument
My suggestion would be to write a script in Matlab and thoroughly test it before calling the script from a Matlab script node in LabVIEW.
Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect -
How to redirect standard output/error of a ucb function to matrixx command window
Is there a way to redirect standard output/error of a ucb function to matrixx command window?
I know that the recommended way is to use stdwrt or XmathDisplay commands. However, we have some
libraries that already exists which uses printf calls and I would like to redirect their output
to the matrixx command window.
ThanksHi,
What you need to do is create a printf function that will print the information into a string, then you can use stdwrt to display it in Xmath.
Then you tell the UCB linking process to compile and link with this version of printf.c
I am including the printf.c that we used to test the function you needed.
Hope this helps.
Attachments:
printf.c 1 KB -
Hi,
i wrote a bunch of code that writes stuff into the command window (using that system.println thing) But now i've made a gui (just a jframe with a little text area, a menu and some buttons) how do i get everything thats written in the command window to get written into the gui inside that little text area without me changing lots of code?
So in other words is there a way i get the command window to be inside my gui? Is this possible?
Thanx :)you might be able to get the command window in your gui using a lot of native coding and C++ but I agree with Noah it would probably be a lot easier to just use TextArea.append() instead of System.out.println() then all your ouput will just get written in the text area on your gui.
Maybe you are looking for
-
Google earth and google earth plugin not working on
Hi, I have a macbook 2006 with Intel GMA 250 and OS 10.6.8, and I cannot manage to make google eart work properly, nor google earth's plugin on safari, firefox, or google chrome. It worked fine previously, but stoped at a certain point (since several
-
Using a Mac Mini with an iMac (11,1)
Hi, I am considering buying a Mac Mini to replace an old netbook I use as a development server. The old netbook runs Ubuntu and was a cheap but excellent machine that I utilized to develop customized software. Unfortunately that machine is starting
-
How to enable logging of changes (SA38)
Hi everyone! I am checking the change log for a program (RSVTPROT) for table MARV. However, there was no logs. When I checked the status (Logging: Display status button), the message is this: Logging in system XXX Logging is switched off Logging of t
-
I am having problem with playback of my videos that have been imported into iMovie. They keep freezing a frame while the music keeps playing and the play button is highlighted. If iclick somewhere else on the time line it starts again but then keeps
-
Hi, I have created New Bar code using standard code 39, with Linear Height 00150 and width 06. When I assign my new bar code into the Smart styles, it was showing Width 50.00mm and Height 20.00mm. How can i reduce my new bar code width and height. Th